Create ru_expanded.js
This commit is contained in:
parent
588b39bf5e
commit
f44001655f
|
|
@ -0,0 +1,25 @@
|
|||
// Based off cs_expanded
|
||||
|
||||
// Made by Kopalecek (also known as davistudios or sylas) and Bufka2011
|
||||
|
||||
const reqCode = 'cs' // Change this to the lang code you want.
|
||||
|
||||
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]
|
||||
})
|
||||
}
|
||||
Loading…
Reference in New Issue