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:
Ivaylo Draganov
2022-11-10 13:46:51 +02:00
committed by Paul Chote
parent 46caa2d889
commit a0f17b15ec
89 changed files with 1095 additions and 1053 deletions

View File

@@ -20,11 +20,11 @@ namespace OpenRA.Mods.Common.Traits
{
[TranslationReference]
[Desc("Descriptive label for the creeps checkbox in the lobby.")]
public readonly string CheckboxLabel = "map-creeps.label";
public readonly string CheckboxLabel = "dropdown-map-creeps.label";
[TranslationReference]
[Desc("Tooltip description for the creeps checkbox in the lobby.")]
public readonly string CheckboxDescription = "map-creeps.description";
public readonly string CheckboxDescription = "dropdown-map-creeps.description";
[Desc("Default value of the creeps checkbox in the lobby.")]
public readonly bool CheckboxEnabled = true;