From b93395147295347b5e2a51d7019dba5898d57879 Mon Sep 17 00:00:00 2001 From: DavidKopal <112717418+DavidKopal@users.noreply.github.com> Date: Fri, 24 Jan 2025 16:50:43 +0100 Subject: [PATCH] Add files via upload --- mods/cs_expanded.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 mods/cs_expanded.js diff --git a/mods/cs_expanded.js b/mods/cs_expanded.js new file mode 100644 index 00000000..8f83ff87 --- /dev/null +++ b/mods/cs_expanded.js @@ -0,0 +1,31 @@ +// Made by Kopalecek (also known as davistudios or sylas) + +/* + +If you would want to use this to make stuff like de_expanded.js, just put "Based off cs_expanded" in a comment at the top. And remove the previous comments in general. + +Ryan, if you see this, it would be great if you add ids for stuff like controls, the "Sandboxels Introduction" or menu items in like settings or mods. + +*/ + +const reqCode = 'cs' // Change this to the lang code you want. + +const menu = { // Just change the values in this. + pauseButton: 'Pauza', + resetButton: 'Reset', + replaceButton: 'Nahradit', + elemSelectButton: 'VE', + tpsButton: 'TZS', + infoButton: 'Info', + savesButton: 'Uložené', + modsButton: 'Módy', + settingsButton: 'Nastavení', + changelogButton: 'Změny', +} + + +if (langCode == reqCode) { + Object.keys(menu).forEach(key => { + document.getElementById(key).textContent = menu[key] + }) +} \ No newline at end of file