Add files via upload

This commit is contained in:
DavidKopal 2025-01-24 16:50:43 +01:00 committed by GitHub
parent 5fd18f7526
commit b933951472
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 31 additions and 0 deletions

31
mods/cs_expanded.js Normal file
View File

@ -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]
})
}