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
@@ -21,10 +21,10 @@ namespace OpenRA.Mods.Common.Commands
|
||||
public class PlayerCommands : IChatCommand, IWorldLoaded
|
||||
{
|
||||
[TranslationReference]
|
||||
const string PauseDescription = "pause-description";
|
||||
const string PauseDescription = "description-pause-description";
|
||||
|
||||
[TranslationReference]
|
||||
const string SurrenderDescription = "surrender-description";
|
||||
const string SurrenderDescription = "description-surrender-description";
|
||||
|
||||
World world;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user