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
@@ -132,10 +132,10 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
public class RegisteredProfileTooltipLogic : ChromeLogic
|
||||
{
|
||||
[TranslationReference]
|
||||
const string LoadingPlayerProfile = "loading-player-profile";
|
||||
const string LoadingPlayerProfile = "label-loading-player-profile";
|
||||
|
||||
[TranslationReference]
|
||||
const string LoadingPlayerProfileFailed = "loading-player-profile-failed";
|
||||
const string LoadingPlayerProfileFailed = "label-loading-player-profile-failed";
|
||||
|
||||
readonly PlayerDatabase playerDatabase;
|
||||
PlayerProfile profile;
|
||||
|
||||
Reference in New Issue
Block a user