From 816cb0aa3efd127965c2558275a15abe1227c347 Mon Sep 17 00:00:00 2001 From: Insurgent Date: Sat, 16 Nov 2024 20:37:40 +0300 Subject: [PATCH] Interface translation --- interface/interface.dm | 40 +++++++++++++++++------------------ interface/skin.dmf | 48 +++++++++++++++++++++--------------------- 2 files changed, 44 insertions(+), 44 deletions(-) diff --git a/interface/interface.dm b/interface/interface.dm index 4a999253e58..c2baab9d91a 100644 --- a/interface/interface.dm +++ b/interface/interface.dm @@ -1,76 +1,76 @@ //Please use mob or src (not usr) in these procs. This way they can be called in the same fashion as procs. /client/verb/wiki() set name = "wiki" - set desc = "Type what you want to know about. This will open the wiki in your web browser." + set desc = "Введите то, о чем вы хотите знать. После этого в вашем веб-браузере откроется вики-страница." set hidden = 1 if(CONFIG_GET(string/wikiurl)) - var/query = tgui_input_text(src, "Enter Search:", "Wiki Search", "Homepage") - if(query == "Homepage") + var/query = tgui_input_text(src, "Введите запрос:", "Поиск по вики-сайту", "Домашняя страница") + if(query == "Домашняя страница") src << link(CONFIG_GET(string/wikiurl)) else if(query) var/output = CONFIG_GET(string/wikiurl) + "/index.php?title=Special%3ASearch&profile=default&search=" + query src << link(output) else - to_chat(src, "The wiki URL is not set in the server configuration.") + to_chat(src, "URL-адрес wiki не задан в конфигурации сервера.") return /client/verb/forum() set name = "forum" - set desc = "Visit the forum." + set desc = "Посетите форум." set hidden = 1 if(CONFIG_GET(string/forumurl)) - if(tgui_alert(src, "Open the forum in your browser?", "Forum", list("Yes", "No")) != "Yes") + if(tgui_alert(src, "Откройте форум в своем браузере?", "Forum", list("Да", "Нет")) != "Да") return if(CONFIG_GET(string/forum_link_url) && prefs && !prefs.fuid) link_forum_account() src << link(CONFIG_GET(string/forumurl)) else - to_chat(src, "The forum URL is not set in the server configuration.") + to_chat(src, "URL-адрес форума не задан в конфигурации сервера.") /client/verb/rules() - set name = "Rules" - set desc = "View the server rules." + set name = "Правила" + set desc = "Просмотрите правила сервера." set hidden = 1 if(CONFIG_GET(string/rulesurl)) - if(tgui_alert(src, "This will open the rules in your browser. Are you sure?", "Rules", list("Yes", "No")) != "Yes") + if(tgui_alert(src, "После этого в вашем браузере откроются правила. Вы уверены?", "Правила", list("Да", "Нет")) != "Да") return src << link(CONFIG_GET(string/rulesurl)) else - to_chat(src, "The rules URL is not set in the server configuration.") + to_chat(src, "URL-адрес правил не задан в конфигурации сервера.") /client/verb/github() set name = "GitHub" - set desc = "Visit the GitHub page." + set desc = "Посетите страницу на GitHub." set hidden = 1 if(CONFIG_GET(string/githuburl)) - if(tgui_alert(src, "This will open our GitHub repository in your browser. Are you sure?", "GitHub", list("Yes", "No")) != "Yes") + if(tgui_alert(src, "Это откроет наш репозиторий на GitHub в вашем браузере. Вы уверены?", "GitHub", list("Да", "Нет")) != "Да") return src << link(CONFIG_GET(string/githuburl)) else - to_chat(src, "The GitHub URL is not set in the server configuration.") + to_chat(src, "URL-адрес GitHub не задан в конфигурации сервера.") /client/verb/discord() set name = "Discord" - set desc = "Join our Discord server." + set desc = "Присоединяйтесь к нашему серверу Discord." set hidden = 1 var/durl = CONFIG_GET(string/discordurl) if(CONFIG_GET(string/forum_link_url) && prefs && prefs.fuid && CONFIG_GET(string/discordforumurl)) durl = CONFIG_GET(string/discordforumurl) if(!durl) - to_chat(src, "The Discord URL is not set in the server configuration.") + to_chat(src, "URL-адрес Discord не задан в конфигурации сервера.") return - if(tgui_alert(src, "This will invite you to our Discord server. Are you sure?", "Discord", list("Yes", "No")) != "Yes") + if(tgui_alert(src, "Это пригласит вас на наш сервер Discord. Вы уверены?", "Discord", list("Да", "Нет")) != "Да") return src << link(durl) /client/verb/donate() set name = "Donate" - set desc = "Donate to help with hosting costs." + set desc = "Сделайте пожертвование, чтобы покрыть расходы на хостинг." set hidden = 1 if(CONFIG_GET(string/donationsurl)) - if(tgui_alert(src, "This will open the donation page in your browser. Are you sure?", "Donate", list("Yes", "No")) != "Yes") + if(tgui_alert(src, "После этого в вашем браузере откроется страница пожертвований. Вы уверены?", "Donate", list("Да", "Нет")) != "Да") return src << link(CONFIG_GET(string/donationsurl)) else - to_chat(src, "The rules URL is not set in the server configuration.") + to_chat(src, "URL-адрес донатов не задан в конфигурации сервера.") diff --git a/interface/skin.dmf b/interface/skin.dmf index 7c6631bc3bf..24aff251438 100644 --- a/interface/skin.dmf +++ b/interface/skin.dmf @@ -4,15 +4,15 @@ menu "menu" elem name = "&File" elem - name = "&Quick screenshot" + name = "&Быстрый снимок экрана" command = ".screenshot auto" category = "&File" elem - name = "&Save screenshot as..." + name = "&Сохраните скриншот как..." command = ".screenshot" category = "&File" elem "reconnectbutton" - name = "&Reconnect" + name = "&Повторно подключиться" command = ".reconnect" category = "&File" elem "debugmcbutton" @@ -21,17 +21,17 @@ menu "menu" category = "&File" is-disabled = true elem - name = "&Quit" + name = "&Выйти" command = ".quit" category = "&File" elem name = "&Icons" elem - name = "&Size" + name = "&Размер" category = "&Icons" saved-params = "is-checked" elem "stretch" - name = "&Stretch to fit" + name = "&Растянуть по размеру" command = ".winset \"mapwindow.map.icon-size=0\"" category = "&Size" is-checked = true @@ -80,7 +80,7 @@ menu "menu" can-check = true group = "size" elem - name = "&Scaling" + name = "&Изменение масштаба" category = "&Icons" saved-params = "is-checked;command" elem "NN" @@ -108,40 +108,40 @@ menu "menu" category = "&Icons" can-check = true elem - name = "&Options" + name = "&Настройки" elem - name = "&Open Volume Mixer" + name = "&Настройки звука" command = "Open-Volume-Mixer" - category = "&Options" + category = "&Настройки" elem "statusbar" name = "&Show status bar" - category = "&Options" + category = "&Настройки" can-check = true is-checked = true saved-params = "is-checked" command = ".winset \"menu.statusbar.is-checked=true?mapwindow.status_bar.is-visible=true:mapwindow.status_bar.is-visible=false\"" elem - name = "&Game Preferences" + name = "&Настройки игры" command = "Game-Preferences" - category = "&Options" + category = "&Настройки" elem - name = "&Help" + name = "&Помощь" elem - name = "&Admin help" + name = "&Помощь от администратора" command = "adminhelp" - category = "&Help" + category = "&Помощь" elem name = "&Fit Viewport" command = "Fit-Viewport" - category = "&Help" + category = "&Помощь" elem - name = "&Refresh TGUI" + name = "&Обновить TGUI" command = "Refresh-TGUI" - category = "&Help" + category = "&Помощь" elem - name = "&Fix Chat" + name = "&Исправить чат" command = "Fix-Chat" - category = "&Help" + category = "&Помощь" window "mainwindow" @@ -328,7 +328,7 @@ window "rpane" size = 40x16 is-checked = true saved-params = "is-checked" - text = "Info" + text = "Информация" command = ".winset \"rpanewindow.top=infowindow\"" group = "rpanemode" button-type = pushbox @@ -342,7 +342,7 @@ window "rpane" type = BUTTON pos = 211,7 size = 50x16 - text = "Rules" + text = "Правила" command = "rules" elem "githubb" type = BUTTON @@ -354,7 +354,7 @@ window "rpane" type = BUTTON pos = 313,7 size = 50x16 - text = "Map" + text = "Карта" command = "webmap" elem "changelog" type = BUTTON