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
@@ -20,13 +20,13 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
class GameInfoObjectivesLogic : ChromeLogic
|
||||
{
|
||||
[TranslationReference]
|
||||
const string InProgress = "in-progress";
|
||||
const string InProgress = "label-mission-in-progress";
|
||||
|
||||
[TranslationReference]
|
||||
const string Accomplished = "accomplished";
|
||||
const string Accomplished = "label-mission-accomplished";
|
||||
|
||||
[TranslationReference]
|
||||
const string Failed = "failed";
|
||||
const string Failed = "label-mission-failed";
|
||||
|
||||
readonly ContainerWidget template;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user