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,22 +26,22 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
enum PlayingVideo { None, Info, Briefing, GameStart }
|
||||
|
||||
[TranslationReference]
|
||||
const string NoVideoTitle = "no-video-title";
|
||||
const string NoVideoTitle = "dialog-no-video.title";
|
||||
|
||||
[TranslationReference]
|
||||
const string NoVideoPrompt = "no-video-prompt";
|
||||
const string NoVideoPrompt = "dialog-no-video.prompt";
|
||||
|
||||
[TranslationReference]
|
||||
const string NoVideoCancel = "no-video-cancel";
|
||||
const string NoVideoCancel = "dialog-no-video.cancel";
|
||||
|
||||
[TranslationReference]
|
||||
const string CantPlayTitle = "cant-play-title";
|
||||
const string CantPlayTitle = "dialog-cant-play-video.title";
|
||||
|
||||
[TranslationReference]
|
||||
const string CantPlayPrompt = "cant-play-prompt";
|
||||
const string CantPlayPrompt = "dialog-cant-play-video.prompt";
|
||||
|
||||
[TranslationReference]
|
||||
const string CantPlayCancel = "cant-play-cancel";
|
||||
const string CantPlayCancel = "dialog-cant-play-video.cancel";
|
||||
|
||||
readonly ModData modData;
|
||||
readonly Action onStart;
|
||||
|
||||
Reference in New Issue
Block a user