- 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.
25 lines
789 B
JSON
25 lines
789 B
JSON
{
|
|
"minutes_plural" : "$0 minutes",
|
|
"minutes_singular" : "$0 minute",
|
|
"seconds_plural" : "$0 seconds",
|
|
"seconds_singular" : "$0 second",
|
|
"input_button_a": "the A button",
|
|
"input_button_b": "the B button",
|
|
"input_button_c": "the C button",
|
|
"input_button_l": "the L button",
|
|
"input_button_r": "the R button",
|
|
"input_button_z": "the Z button",
|
|
"input_button_c_up": "C Up",
|
|
"input_button_c_down": "C Down",
|
|
"input_button_c_left": "C Left",
|
|
"input_button_c_right": "C Right",
|
|
"input_analog_stick": "the Analog Stick",
|
|
"input_d_pad": "the D-Pad",
|
|
"input_d_pad_up": "D-Pad Up",
|
|
"input_d_pad_down": "D-Pad Down",
|
|
"input_d_pad_left": "D-Pad Left",
|
|
"input_d_pad_right": "D-Pad Right",
|
|
"yes": "Yes",
|
|
"no": "No"
|
|
}
|