mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
Localize skin applied text
This commit is contained in:
parent
5dcdd43f68
commit
a1eb4b6699
2 changed files with 6 additions and 1 deletions
|
@ -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();
|
||||
|
|
|
@ -109,6 +109,7 @@
|
|||
|
||||
//Window titles.
|
||||
"{TITLE_FILENOTFOUND}": "File not found.",
|
||||
"{TITLE_SKINAPPLIED}":"Shifter - Skin applied.",
|
||||
"{TITLE_PONG_YOULOSE}": "You lose",
|
||||
"{TITLE_CODEPOINTSTRANSFERRED}": "Codepoints transferred.",
|
||||
"{TITLE_INVALIDPORT}": "Invalid port number.",
|
||||
|
@ -156,6 +157,7 @@
|
|||
"{AL_GAMES}": "Games",
|
||||
|
||||
//Infobox prompt messages
|
||||
"{PROMPT_SKINAPPLIED}": "New skin values applied! You have earned %cp Codepoints.",
|
||||
"{PROMPT_PONGLOST}": "You lost this game of Pong. Guess you should've cashed out...",
|
||||
"{PROMPT_CODEPOINTSTRANSFERRED}": "%transferrer has transferred %amount Codepoints to your system.",
|
||||
"{PROMPT_INVALIDPORT}": "The Digital Society Port must be a valid whole number between 0 and 65535.",
|
||||
|
|
Loading…
Reference in a new issue