Merge pull request #956 from DavidKopal/main
Czech language update and added new cs_expanded.js mod for stuff like Replace, Pause etc
This commit is contained in:
commit
588b39bf5e
14
lang/cs.json
14
lang/cs.json
|
|
@ -23,7 +23,7 @@
|
||||||
"shock":"Šok",
|
"shock":"Šok",
|
||||||
"paint":"Malovat",
|
"paint":"Malovat",
|
||||||
"sand":"Písek",
|
"sand":"Písek",
|
||||||
"water":"Voda",
|
"water":"Voda",
|
||||||
"salt_water":"Slaná_Voda",
|
"salt_water":"Slaná_Voda",
|
||||||
"sugar_water":"Sladká_Voda",
|
"sugar_water":"Sladká_Voda",
|
||||||
"seltzer":"Minerální_Voda",
|
"seltzer":"Minerální_Voda",
|
||||||
|
|
@ -305,7 +305,7 @@
|
||||||
"crumb":"Drobek",
|
"crumb":"Drobek",
|
||||||
"baked_batter":"Dort",
|
"baked_batter":"Dort",
|
||||||
"wheat":"Pšenice",
|
"wheat":"Pšenice",
|
||||||
"candy":"Sladkosti",
|
"candy":"Sladkost",
|
||||||
"coffee_bean":"Kávové_Zrna",
|
"coffee_bean":"Kávové_Zrna",
|
||||||
"coffee_ground":"Mletá_Káva",
|
"coffee_ground":"Mletá_Káva",
|
||||||
"nut":"Ořech",
|
"nut":"Ořech",
|
||||||
|
|
@ -444,7 +444,7 @@
|
||||||
"supernova":"Supernova",
|
"supernova":"Supernova",
|
||||||
"cook":"Vařit",
|
"cook":"Vařit",
|
||||||
"incinerate":"Spálit",
|
"incinerate":"Spálit",
|
||||||
"room_temp":"Teplota_Pokoje",
|
"room_temp":"Pokojová_Teplota",
|
||||||
"positron":"Pozitron",
|
"positron":"Pozitron",
|
||||||
"tnt":"TNT",
|
"tnt":"TNT",
|
||||||
"c4":"C-4",
|
"c4":"C-4",
|
||||||
|
|
@ -541,7 +541,11 @@
|
||||||
"tornado":"Tornádo",
|
"tornado":"Tornádo",
|
||||||
"earthquake":"Zemětřesení",
|
"earthquake":"Zemětřesení",
|
||||||
"tsunami":"Tsunami",
|
"tsunami":"Tsunami",
|
||||||
"blaster":"Blaster",
|
"blaster":"Lazerová_Pistole",
|
||||||
"propane_ice":"Zrmzlý_Propan",
|
"propane_ice":"Zrmzlý_Propan",
|
||||||
"molten_caustic_potash":"Rozteklý_Potaš"
|
"molten_caustic_potash":"Rozteklý_Potaš",
|
||||||
|
"spider": "Pavouk",
|
||||||
|
"web": "Pavučina",
|
||||||
|
"rice": "Rýže",
|
||||||
|
"midas_touch": "Midasův_Dotek"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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]
|
||||||
|
})
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue