Refactor translation files
- Add prefixes to all message keys to provide context - Use messages with attributes for some UI elements (dropdowns, dialogs, checkboxes, menus) - Rename some class fields for consistency with translation keys
This commit is contained in:
committed by
Paul Chote
parent
46caa2d889
commit
a0f17b15ec
@@ -18,37 +18,37 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
public class InputSettingsLogic : ChromeLogic
|
||||
{
|
||||
[TranslationReference]
|
||||
const string Classic = "classic";
|
||||
const string Classic = "options-control-scheme.classic";
|
||||
|
||||
[TranslationReference]
|
||||
const string Modern = "modern";
|
||||
const string Modern = "options-control-scheme.modern";
|
||||
|
||||
[TranslationReference]
|
||||
const string Disabled = "disabled";
|
||||
const string Disabled = "options-mouse-scroll-type.disabled";
|
||||
|
||||
[TranslationReference]
|
||||
const string Standard = "standard";
|
||||
const string Standard = "options-mouse-scroll-type.standard";
|
||||
|
||||
[TranslationReference]
|
||||
const string Inverted = "inverted";
|
||||
const string Inverted = "options-mouse-scroll-type.inverted";
|
||||
|
||||
[TranslationReference]
|
||||
const string Joystick = "joystick";
|
||||
const string Joystick = "options-mouse-scroll-type.joystick";
|
||||
|
||||
[TranslationReference]
|
||||
const string Alt = "alt";
|
||||
const string Alt = "options-zoom-modifier.alt";
|
||||
|
||||
[TranslationReference]
|
||||
const string Ctrl = "ctrl";
|
||||
const string Ctrl = "options-zoom-modifier.ctrl";
|
||||
|
||||
[TranslationReference]
|
||||
const string Meta = "meta";
|
||||
const string Meta = "options-zoom-modifier.meta";
|
||||
|
||||
[TranslationReference]
|
||||
const string Shift = "shift";
|
||||
const string Shift = "options-zoom-modifier.shift";
|
||||
|
||||
[TranslationReference]
|
||||
const string None = "none";
|
||||
const string None = "options-zoom-modifier.none";
|
||||
|
||||
static InputSettingsLogic() { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user