diff options
| author | Michael <[email protected]> | 2017-06-30 10:57:58 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-06-30 10:57:58 -0400 |
| commit | a1eb4b66997c6852b1629d592af8208a22fea219 (patch) | |
| tree | 01b604146f8c46094fd38c593fc8feb385b00670 /ShiftOS.WinForms/Applications/Shifter.cs | |
| parent | 5dcdd43f68927882a71ed554d051fe5e27c7fdc5 (diff) | |
| download | shiftos_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.cs | 5 |
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(); |
