Extract a couple of untranslated strings
This commit is contained in:
committed by
abcdefg30
parent
6ccd000257
commit
56a9acd035
@@ -97,6 +97,12 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
[TranslationReference]
|
[TranslationReference]
|
||||||
static readonly string NoTeam = "no-team";
|
static readonly string NoTeam = "no-team";
|
||||||
|
|
||||||
|
[TranslationReference]
|
||||||
|
static readonly string Victory = "victory";
|
||||||
|
|
||||||
|
[TranslationReference]
|
||||||
|
static readonly string Defeat = "defeat";
|
||||||
|
|
||||||
static Filter filter = new Filter();
|
static Filter filter = new Filter();
|
||||||
|
|
||||||
readonly Widget panel;
|
readonly Widget panel;
|
||||||
@@ -331,8 +337,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
var options = new List<(WinState WinState, string Text)>
|
var options = new List<(WinState WinState, string Text)>
|
||||||
{
|
{
|
||||||
(WinState.Undefined, ddb.GetText()),
|
(WinState.Undefined, ddb.GetText()),
|
||||||
(WinState.Lost, "Defeat"),
|
(WinState.Lost, modData.Translation.GetString(Defeat)),
|
||||||
(WinState.Won, "Victory")
|
(WinState.Won, modData.Translation.GetString(Victory))
|
||||||
};
|
};
|
||||||
|
|
||||||
var lookup = options.ToDictionary(kvp => kvp.WinState, kvp => kvp.Text);
|
var lookup = options.ToDictionary(kvp => kvp.WinState, kvp => kvp.Text);
|
||||||
|
|||||||
@@ -467,6 +467,9 @@ duration = Duration: { $time }
|
|||||||
singleplayer = Singleplayer
|
singleplayer = Singleplayer
|
||||||
multiplayer = Multiplayer
|
multiplayer = Multiplayer
|
||||||
|
|
||||||
|
victory = Victory
|
||||||
|
defeat = Defeat
|
||||||
|
|
||||||
today = Today
|
today = Today
|
||||||
last-week = Last 7 days
|
last-week = Last 7 days
|
||||||
last-fortnight = Last 14 days
|
last-fortnight = Last 14 days
|
||||||
|
|||||||
Reference in New Issue
Block a user