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
@@ -26,11 +26,11 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
[TranslationReference]
|
||||
[Desc("Descriptive label for the starting units option in the lobby.")]
|
||||
public readonly string DropdownLabel = "starting-units.label";
|
||||
public readonly string DropdownLabel = "dropdown-starting-units.label";
|
||||
|
||||
[TranslationReference]
|
||||
[Desc("Tooltip description for the starting units option in the lobby.")]
|
||||
public readonly string DropdownDescription = "starting-units.description";
|
||||
public readonly string DropdownDescription = "dropdown-starting-units.description";
|
||||
|
||||
[Desc("Prevent the starting units option from being changed in the lobby.")]
|
||||
public readonly bool DropdownLocked = false;
|
||||
|
||||
Reference in New Issue
Block a user