From a1eb4b66997c6852b1629d592af8208a22fea219 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 30 Jun 2017 10:57:58 -0400 Subject: Localize skin applied text --- ShiftOS.WinForms/Applications/Shifter.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ShiftOS.WinForms/Applications/Shifter.cs') 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 + { + ["%cp"] = CodepointValue.ToString() + })); ShiftOS.Engine.Shiftorium.Silent = true; SaveSystem.CurrentSave.Codepoints += CodepointValue; SaveSystem.SaveGame(); -- cgit v1.2.3