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
@@ -24,19 +24,19 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
public static class LobbyUtils
|
||||
{
|
||||
[TranslationReference]
|
||||
const string Open = "open";
|
||||
const string Open = "options-lobby-slot.open";
|
||||
|
||||
[TranslationReference]
|
||||
const string Closed = "closed";
|
||||
const string Closed = "options-lobby-slot.closed";
|
||||
|
||||
[TranslationReference]
|
||||
const string Bots = "bots";
|
||||
const string Bots = "options-lobby-slot.bots";
|
||||
|
||||
[TranslationReference]
|
||||
const string BotsDisabled = "bots-disabled";
|
||||
const string BotsDisabled = "options-lobby-slot.bots-disabled";
|
||||
|
||||
[TranslationReference]
|
||||
const string Slot = "slot";
|
||||
const string Slot = "options-lobby-slot.slot";
|
||||
|
||||
class SlotDropDownOption
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user