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,16 +20,16 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
public abstract class CommonSelectorLogic : ChromeLogic
|
||||
{
|
||||
[TranslationReference]
|
||||
const string None = "none";
|
||||
const string None = "options-common-selector.none";
|
||||
|
||||
[TranslationReference]
|
||||
const string SearchResults = "search-results";
|
||||
const string SearchResults = "options-common-selector.search-results";
|
||||
|
||||
[TranslationReference]
|
||||
const string All = "all";
|
||||
const string All = "options-common-selector.all";
|
||||
|
||||
[TranslationReference]
|
||||
const string Multiple = "multiple";
|
||||
const string Multiple = "options-common-selector.multiple";
|
||||
|
||||
protected readonly Widget Widget;
|
||||
protected readonly ModData ModData;
|
||||
|
||||
Reference in New Issue
Block a user