sandboxels/mods/ru_expanded.js

26 lines
640 B
JavaScript
Raw Permalink Normal View History

2025-01-24 12:37:11 -05:00
// Based off cs_expanded
// Made by Kopalecek (also known as davistudios or sylas) and Bufka2011
2025-01-24 12:39:48 -05:00
const reqCode = 'ru' // Change this to the lang code you want.
2025-01-24 12:37:11 -05:00
const menu = { // Just change the values in this.
pauseButton: 'Пауза',
resetButton: 'Сброс',
replaceButton: 'Замена',
elemSelectButton: 'Э',
tpsButton: 'TPS',
infoButton: 'Инфо',
savesButton: 'Сохранения',
modsButton: 'Моды',
settingsButton: 'Настройки',
changelogButton: 'Чейнджлог',
}
if (langCode == reqCode) {
Object.keys(menu).forEach(key => {
document.getElementById(key).textContent = menu[key]
})
}