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
@@ -22,13 +22,13 @@ namespace OpenRA.Mods.Common.Commands
|
||||
public class HelpCommand : IChatCommand, IWorldLoaded
|
||||
{
|
||||
[TranslationReference]
|
||||
const string AvailableCommands = "available-commands";
|
||||
const string AvailableCommands = "notification-available-commands";
|
||||
|
||||
[TranslationReference]
|
||||
const string NoDescription = "no-description";
|
||||
const string NoDescription = "description-no-description";
|
||||
|
||||
[TranslationReference]
|
||||
const string HelpDescription = "help-description";
|
||||
const string HelpDescription = "description-help-description";
|
||||
|
||||
readonly Dictionary<string, string> helpDescriptions;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user