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
@@ -19,16 +19,16 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
public class GameTimerLogic : ChromeLogic
|
||||
{
|
||||
[TranslationReference]
|
||||
const string Paused = "paused";
|
||||
const string Paused = "label-paused";
|
||||
|
||||
[TranslationReference]
|
||||
const string MaxSpeed = "max-speed";
|
||||
const string MaxSpeed = "label-max-speed";
|
||||
|
||||
[TranslationReference("percentage")]
|
||||
const string Speed = "speed";
|
||||
const string Speed = "label-replay-speed";
|
||||
|
||||
[TranslationReference("percentage")]
|
||||
const string Complete = "complete";
|
||||
const string Complete = "label-replay-complete";
|
||||
|
||||
[ObjectCreator.UseCtor]
|
||||
public GameTimerLogic(Widget widget, ModData modData, OrderManager orderManager, World world)
|
||||
|
||||
Reference in New Issue
Block a user