From 6b9cfd6c20f6f2f314f80817d795d0139addb62f Mon Sep 17 00:00:00 2001 From: MrVi Date: Fri, 16 Oct 2026 00:32:50 +0300 Subject: [PATCH 1/3] i18n: add Russian translation Add po/ru.po using GNOME Shell wording for Force Quit and register ru in po/LINGUAS. --- po/LINGUAS | 1 + po/ru.po | 169 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 170 insertions(+) create mode 100644 po/ru.po diff --git a/po/LINGUAS b/po/LINGUAS index aa9cb2e..76e3902 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -1,2 +1,3 @@ es pt_BR +ru diff --git a/po/ru.po b/po/ru.po new file mode 100644 index 0000000..f2265d4 --- /dev/null +++ b/po/ru.po @@ -0,0 +1,169 @@ +# Russian translation for Control Kill. +# Copyright (C) 2026 Lucas Motta +# This file is distributed under the same license as the control-kill package. +# +msgid "" +msgstr "" +"Project-Id-Version: control-kill +" +"Report-Msgid-Bugs-To: https://github.com/lucaswotta/control-kill/issues +" +"POT-Creation-Date: 2026-10-10 19:32-0300 +" +"PO-Revision-Date: 2026-10-15 21:30+0000 +" +"Last-Translator: mrvi0 +" +"Language-Team: Russian +" +"Language: ru +" +"MIME-Version: 1.0 +" +"Content-Type: text/plain; charset=UTF-8 +" +"Content-Transfer-Encoding: 8bit +" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); +" + +#: extension.js:134 +msgid "Force Quit" +msgstr "Завершить принудительно" + +#: extension.js:255 +msgid "Application force quit" +msgstr "Приложение завершено принудительно" + +#: extension.js:258 +#, javascript-format +msgid "%s was force quit" +msgstr "%s завершено принудительно" + +#: extension.js:286 +msgid "Control Kill is ready" +msgstr "Control Kill готов к работе" + +#: extension.js:287 +msgid "" +"Hold Ctrl in the overview and click a window’s X to force quit it. Running " +"apps also get Force Quit in their right-click menu." +msgstr "" +"Удерживайте Ctrl в обзоре и нажмите крестик окна, чтобы завершить его " +"принудительно. У запущенных приложений в контекстном меню тоже есть пункт " +"«Завершить принудительно»." + +#: prefs.js:76 +msgid "How to use" +msgstr "Как пользоваться" + +#: prefs.js:77 +msgid "" +"Open the Activities overview and hold Ctrl: every close button turns into a " +"kill button. Click one, or press Ctrl+Delete on a window selected with the " +"keyboard. Running apps also get Force Quit in their right-click menu." +msgstr "" +"Откройте обзор «Активность» и удерживайте Ctrl: каждая кнопка закрытия " +"становится кнопкой принудительного завершения. Нажмите её или Ctrl+Delete " +"на окне, выбранном с клавиатуры. У запущенных приложений в контекстном меню " +"тоже есть пункт «Завершить принудительно»." + +#: prefs.js:80 +msgid "Behaviour" +msgstr "Поведение" + +#: prefs.js:81 +msgid "Ask apps to quit first" +msgstr "Сначала предложить приложению выйти" + +#: prefs.js:82 +msgid "Wait three seconds for the app to exit before forcing it" +msgstr "Подождать три секунды, прежде чем завершать принудительно" + +#: prefs.js:83 +msgid "Show a notification" +msgstr "Показывать уведомление" + +#: prefs.js:84 +msgid "Name the app after it is force quit" +msgstr "Называть приложение после принудительного завершения" + +#: prefs.js:90 +msgid "About" +msgstr "О программе" + +#: prefs.js:91 +msgid "Version" +msgstr "Версия" + +#: prefs.js:92 +msgid "Source code" +msgstr "Исходный код" + +#: prefs.js:93 +msgid "Report a problem" +msgstr "Сообщить о проблеме" + +#: prefs.js:107 +msgid "Reset" +msgstr "Сбросить" + +#: prefs.js:114 +msgid "Armed colour" +msgstr "Цвет в режиме Ctrl" + +#: prefs.js:115 +msgid "Close buttons while Ctrl is held" +msgstr "Кнопки закрытия при удержании Ctrl" + +#: prefs.js:121 +msgid "Appearance" +msgstr "Внешний вид" + +#: prefs.js:127 +msgid "Play a sound" +msgstr "Воспроизводить звук" + +#: prefs.js:129 +msgid "Sound file" +msgstr "Звуковой файл" + +#: prefs.js:139 +msgid "Play" +msgstr "Воспроизвести" + +#: prefs.js:148 +msgid "Choose a file…" +msgstr "Выбрать файл…" + +#: prefs.js:151 +msgid "Use the default sound" +msgstr "Использовать звук по умолчанию" + +#: prefs.js:157 +msgid "Default sound" +msgstr "Звук по умолчанию" + +#: prefs.js:159 +msgid "File not found, the default sound plays instead" +msgstr "Файл не найден, воспроизводится звук по умолчанию" + +#: prefs.js:172 +msgid "Sound" +msgstr "Звук" + +#: prefs.js:173 +msgid "Follows the system setting for alert sounds." +msgstr "Следует системной настройке звуков оповещения." + +#: prefs.js:181 +msgid "Ogg Vorbis or WAV" +msgstr "Ogg Vorbis или WAV" + +#: prefs.js:188 +msgid "Choose a sound" +msgstr "Выбрать звук" + +#: prefs.js:198 +msgid "Only Ogg Vorbis and WAV files can be played." +msgstr "Можно воспроизводить только файлы Ogg Vorbis и WAV." From b64100e8c59490a1dcb86bf20fc73044810eaeb2 Mon Sep 17 00:00:00 2001 From: MrVi Date: Fri, 16 Oct 2026 00:33:38 +0300 Subject: [PATCH 2/3] fix: rewrite Russian PO with valid gettext escapes Header and msgstr lines need literal \n escapes; the first draft broke msgfmt. Keep GNOME Shell Force Quit wording. --- po/ru.po | 47 +++++++++++++++++++---------------------------- 1 file changed, 19 insertions(+), 28 deletions(-) diff --git a/po/ru.po b/po/ru.po index f2265d4..90b5b86 100644 --- a/po/ru.po +++ b/po/ru.po @@ -4,28 +4,17 @@ # msgid "" msgstr "" -"Project-Id-Version: control-kill -" -"Report-Msgid-Bugs-To: https://github.com/lucaswotta/control-kill/issues -" -"POT-Creation-Date: 2026-10-10 19:32-0300 -" -"PO-Revision-Date: 2026-10-15 21:30+0000 -" -"Last-Translator: mrvi0 -" -"Language-Team: Russian -" -"Language: ru -" -"MIME-Version: 1.0 -" -"Content-Type: text/plain; charset=UTF-8 -" -"Content-Transfer-Encoding: 8bit -" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); -" +"Project-Id-Version: control-kill\n" +"Report-Msgid-Bugs-To: https://github.com/lucaswotta/control-kill/issues\n" +"POT-Creation-Date: 2026-10-10 19:32-0300\n" +"PO-Revision-Date: 2026-10-15 21:35+0000\n" +"Last-Translator: mrvi0\n" +"Language-Team: Russian\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: extension.js:134 msgid "Force Quit" @@ -50,8 +39,8 @@ msgid "" "apps also get Force Quit in their right-click menu." msgstr "" "Удерживайте Ctrl в обзоре и нажмите крестик окна, чтобы завершить его " -"принудительно. У запущенных приложений в контекстном меню тоже есть пункт " -"«Завершить принудительно»." +"принудительно. У запущенных приложений в контекстном меню тоже есть " +"пункт «Завершить принудительно»." #: prefs.js:76 msgid "How to use" @@ -63,10 +52,11 @@ msgid "" "kill button. Click one, or press Ctrl+Delete on a window selected with the " "keyboard. Running apps also get Force Quit in their right-click menu." msgstr "" -"Откройте обзор «Активность» и удерживайте Ctrl: каждая кнопка закрытия " -"становится кнопкой принудительного завершения. Нажмите её или Ctrl+Delete " -"на окне, выбранном с клавиатуры. У запущенных приложений в контекстном меню " -"тоже есть пункт «Завершить принудительно»." +"Откройте обзор «Активность» и удерживайте Ctrl: каждая кнопка " +"закрытия становится кнопкой принудительного завершения. Нажмите её " +"или Ctrl+Delete на окне, выбранном с клавиатуры. У запущенных " +"приложений в контекстном меню тоже есть пункт «Завершить " +"принудительно»." #: prefs.js:80 msgid "Behaviour" @@ -167,3 +157,4 @@ msgstr "Выбрать звук" #: prefs.js:198 msgid "Only Ogg Vorbis and WAV files can be played." msgstr "Можно воспроизводить только файлы Ogg Vorbis и WAV." + From 9f3c4853d5bc6ed71afd249daa95af63c0cd48dc Mon Sep 17 00:00:00 2001 From: Lucas Motta <104871819+lucaswotta@users.noreply.github.com> Date: Thu, 15 Oct 2026 19:27:55 -0300 Subject: [PATCH 3/3] i18n(ru): use GNOME's terms and fix agreement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GNOME Shell translates "Force Quit" as «Принудительно завершить» and the Activities overview as «Обзор». The app name in "%s was force quit" can be of any gender or number, so wrap it in «Приложение». --- po/ru.po | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/po/ru.po b/po/ru.po index 90b5b86..8bdebee 100644 --- a/po/ru.po +++ b/po/ru.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: control-kill\n" "Report-Msgid-Bugs-To: https://github.com/lucaswotta/control-kill/issues\n" "POT-Creation-Date: 2026-10-10 19:32-0300\n" -"PO-Revision-Date: 2026-10-15 21:35+0000\n" +"PO-Revision-Date: 2026-10-15 22:30+0000\n" "Last-Translator: mrvi0\n" "Language-Team: Russian\n" "Language: ru\n" @@ -18,7 +18,7 @@ msgstr "" #: extension.js:134 msgid "Force Quit" -msgstr "Завершить принудительно" +msgstr "Принудительно завершить" #: extension.js:255 msgid "Application force quit" @@ -27,7 +27,7 @@ msgstr "Приложение завершено принудительно" #: extension.js:258 #, javascript-format msgid "%s was force quit" -msgstr "%s завершено принудительно" +msgstr "Приложение «%s» завершено принудительно" #: extension.js:286 msgid "Control Kill is ready" @@ -40,7 +40,7 @@ msgid "" msgstr "" "Удерживайте Ctrl в обзоре и нажмите крестик окна, чтобы завершить его " "принудительно. У запущенных приложений в контекстном меню тоже есть " -"пункт «Завершить принудительно»." +"пункт «Принудительно завершить»." #: prefs.js:76 msgid "How to use" @@ -52,11 +52,10 @@ msgid "" "kill button. Click one, or press Ctrl+Delete on a window selected with the " "keyboard. Running apps also get Force Quit in their right-click menu." msgstr "" -"Откройте обзор «Активность» и удерживайте Ctrl: каждая кнопка " -"закрытия становится кнопкой принудительного завершения. Нажмите её " -"или Ctrl+Delete на окне, выбранном с клавиатуры. У запущенных " -"приложений в контекстном меню тоже есть пункт «Завершить " -"принудительно»." +"Откройте «Обзор» и удерживайте Ctrl: каждая кнопка закрытия " +"становится кнопкой принудительного завершения. Нажмите её или " +"Ctrl+Delete на окне, выбранном с клавиатуры. У запущенных приложений " +"в контекстном меню тоже есть пункт «Принудительно завершить»." #: prefs.js:80 msgid "Behaviour"