From f44001655fff4f1999aa2975223e2649a0565137 Mon Sep 17 00:00:00 2001 From: Bufka2011 <85364803+Bufka2011@users.noreply.github.com> Date: Fri, 24 Jan 2025 10:37:11 -0700 Subject: [PATCH] Create ru_expanded.js --- mods/ru_expanded.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 mods/ru_expanded.js diff --git a/mods/ru_expanded.js b/mods/ru_expanded.js new file mode 100644 index 00000000..f3d69d1e --- /dev/null +++ b/mods/ru_expanded.js @@ -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] + }) +}