Merge pull request #958 from Bufka2011/main

Update ru.json, create ru_expanded.js
This commit is contained in:
slweeb 2025-01-24 16:25:27 -05:00 committed by GitHub
commit 9597a87362
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 26 additions and 1 deletions

View File

@ -479,7 +479,7 @@
"prop":"реквизит",
"salt_ice":"солёный лёд",
"sugar_ice":"сладкий лёд",
"seltzer_ice":"селтизерный лёд",
"seltzer_ice":"минеральный лёд",
"dirty_ice":"грязный лёд",
"pool_ice":"лёд в бассейне",
"blood_ice":"кровяной лёд",

25
mods/ru_expanded.js Normal file
View File

@ -0,0 +1,25 @@
// Based off cs_expanded
// Made by Kopalecek (also known as davistudios or sylas) and Bufka2011
const reqCode = 'ru' // 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]
})
}