- Replace 5 hardcoded text strings with LUS_LOC() calls: * ResolutionEditor.cpp: 'Click to resolve' -> BUTTON_CLICK_TO_RESOLVE * ResolutionEditor.cpp: ' ' (space) -> TEXT_SPACE * SohMenuNetwork.cpp: ':' (colon) -> TEXT_COLON (2 instances) * UIWidgets.cpp: '+' (plus) -> TEXT_PLUS - Add new translation keys to both en_US.json and es_ES.json: * BUTTON_CLICK_TO_RESOLVE: 'Click to resolve' / 'Haz clic para resolver' * TEXT_SPACE: ' ' / ' ' * TEXT_COLON: ':' / ':' * TEXT_PLUS: '+' / '+' - All hardcoded UI text now uses localization system - Compilation successful with only minor format warnings This completes the immediate task of eliminating hardcoded text strings.
11 lines
252 B
C++
11 lines
252 B
C++
#include "ZResource.h"
|
|
#include "ZMtx.h"
|
|
#include "Exporter.h"
|
|
#include <Utils/BinaryWriter.h>
|
|
|
|
class OTRExporter_MtxExporter : public OTRExporter
|
|
{
|
|
public:
|
|
virtual void Save(ZResource* res, const fs::path& outPath, BinaryWriter* writer) override;
|
|
};
|