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,13 +21,13 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
public class ActorEditLogic : ChromeLogic
|
||||
{
|
||||
[TranslationReference]
|
||||
const string DuplicateActorId = "duplicate-actor-id";
|
||||
const string DuplicateActorId = "label-duplicate-actor-id";
|
||||
|
||||
[TranslationReference]
|
||||
const string EnterActorId = "enter-actor-id";
|
||||
const string EnterActorId = "label-actor-id";
|
||||
|
||||
[TranslationReference]
|
||||
const string Owner = "owner";
|
||||
const string Owner = "label-actor-owner";
|
||||
|
||||
// Error states define overlapping bits to simplify panel reflow logic
|
||||
[Flags]
|
||||
|
||||
Reference in New Issue
Block a user