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
@@ -23,19 +23,19 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
class GameInfoLogic : ChromeLogic
|
||||
{
|
||||
[TranslationReference]
|
||||
const string Objectives = "objectives";
|
||||
const string Objectives = "menu-game-info.objectives";
|
||||
|
||||
[TranslationReference]
|
||||
const string Briefing = "briefing";
|
||||
const string Briefing = "menu-game-info.briefing";
|
||||
|
||||
[TranslationReference]
|
||||
const string Options = "options";
|
||||
const string Options = "menu-game-info.options";
|
||||
|
||||
[TranslationReference]
|
||||
const string Debug = "debug";
|
||||
const string Debug = "menu-game-info.debug";
|
||||
|
||||
[TranslationReference]
|
||||
const string Chat = "chat";
|
||||
const string Chat = "menu-game-info.chat";
|
||||
|
||||
readonly World world;
|
||||
readonly ModData modData;
|
||||
|
||||
Reference in New Issue
Block a user