aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/Shifter.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-06-30 10:57:58 -0400
committerMichael <[email protected]>2017-06-30 10:57:58 -0400
commita1eb4b66997c6852b1629d592af8208a22fea219 (patch)
tree01b604146f8c46094fd38c593fc8feb385b00670 /ShiftOS.WinForms/Applications/Shifter.cs
parent5dcdd43f68927882a71ed554d051fe5e27c7fdc5 (diff)
downloadshiftos_thereturn-a1eb4b66997c6852b1629d592af8208a22fea219.tar.gz
shiftos_thereturn-a1eb4b66997c6852b1629d592af8208a22fea219.tar.bz2
shiftos_thereturn-a1eb4b66997c6852b1629d592af8208a22fea219.zip
Localize skin applied text
Diffstat (limited to 'ShiftOS.WinForms/Applications/Shifter.cs')
-rw-r--r--ShiftOS.WinForms/Applications/Shifter.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/Shifter.cs b/ShiftOS.WinForms/Applications/Shifter.cs
index cde0106..e82ad02 100644
--- a/ShiftOS.WinForms/Applications/Shifter.cs
+++ b/ShiftOS.WinForms/Applications/Shifter.cs
@@ -983,7 +983,10 @@ namespace ShiftOS.WinForms.Applications
Utils.WriteAllText(Paths.GetPath("skin.json"), JsonConvert.SerializeObject(LoadedSkin));
SkinEngine.LoadSkin();
CodepointValue = CodepointValue / 4;
- Infobox.Show("{SHIFTER_SKIN_APPLIED}", "{YOU_HAVE_EARNED} " + CodepointValue.ToString() + " {CODEPOINTS}.");
+ Infobox.Show("{TITLE_SKINAPPLIED}", Localization.Parse("{PROMPT_SKINAPPLIED}", new Dictionary<string, string>
+ {
+ ["%cp"] = CodepointValue.ToString()
+ }));
ShiftOS.Engine.Shiftorium.Silent = true;
SaveSystem.CurrentSave.Codepoints += CodepointValue;
SaveSystem.SaveGame();