From: Savely Krasovsky <savely@krasovs.ky>
Signed-off-by: Savely Krasovsky <savely@krasovs.ky>
---
gtkgreet/proto.c | 2 +-
po/LINGUAS | 1 +
po/es.po | 5 -----
po/gtkgreet.pot | 5 -----
po/ru.po | 42 ++++++++++++++++++++++++++++++++++++++++++
5 files changed, 44 insertions(+), 11 deletions(-)
create mode 100644 po/ru.po
diff --git a/gtkgreet/proto.c b/gtkgreet/proto.c
index 688757c..5c35c27 100644
--- a/gtkgreet/proto.c
+++ b/gtkgreet/proto.c
@@ -181,7 +181,7 @@ struct response roundtrip(struct request req) {
struct json_object* json_resp = roundtrip_json(json_req);
if (json_resp == NULL) {
- snprintf(resp.body.response_error.description, 128, _("proto: roundtrip failed"));
+ snprintf(resp.body.response_error.description, 128, "proto: roundtrip failed");
goto done;
}
diff --git a/po/LINGUAS b/po/LINGUAS
index 8357fca..4cdd2ef 100644
--- a/po/LINGUAS
+++ b/po/LINGUAS
@@ -1 +1,2 @@
es
+ru
diff --git a/po/es.po b/po/es.po
index 455b8e3..553c03c 100644
--- a/po/es.po
+++ b/po/es.po
@@ -30,11 +30,6 @@ msgstr "Inicio de sesión fallido"
msgid "Username:"
msgstr "Nombre de usuario"
-#: gtkgreet/proto.c:184
-#, c-format
-msgid "proto: roundtrip failed"
-msgstr "Error de protocolo"
-
#: gtkgreet/window.c:122
msgid "Command to run on login"
msgstr "Comando a ejecutar al iniciar sesión"
diff --git a/po/gtkgreet.pot b/po/gtkgreet.pot
index 67b1e3c..a5c391e 100644
--- a/po/gtkgreet.pot
+++ b/po/gtkgreet.pot
@@ -29,11 +29,6 @@ msgstr ""
msgid "Username:"
msgstr ""
-#: gtkgreet/proto.c:184
-#, c-format
-msgid "proto: roundtrip failed"
-msgstr ""
-
#: gtkgreet/window.c:122
msgid "Command to run on login"
msgstr ""
diff --git a/po/ru.po b/po/ru.po
new file mode 100644
index 0000000..dce7346
--- /dev/null
+++ b/po/ru.po
@@ -0,0 +1,42 @@
+# Russian translations for gtkgreet package.
+# Copyright (C) 2023 THE gtkgreet'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the gtkgreet package.
+# Savely Krasovsky <savely@krasovs.ky>, 2023.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gtkgreet\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-12-14 14:12-0300\n"
+"PO-Revision-Date: 2023-05-09 12:40+0300\n"
+"Last-Translator: Savely Krasovsky <savely@krasovs.ky>\n"
+"Language-Team: none\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<12 || n%100>14) ? 1 : 2);\n"
+
+#: gtkgreet/actions.c:35
+msgid "Unexpected auth question"
+msgstr "Непредвиденный auth question"
+
+#: gtkgreet/actions.c:56
+msgid "Login failed"
+msgstr "Ошибка входа"
+
+#: gtkgreet/gtkgreet.c:129
+msgid "Username:"
+msgstr "Имя пользователя:"
+
+#: gtkgreet/window.c:122
+msgid "Command to run on login"
+msgstr "Команда для запуска при входе"
+
+#: gtkgreet/window.c:148
+msgid "Cancel"
+msgstr "Отмена"
+
+#: gtkgreet/window.c:158
+msgid "Log in"
+msgstr "Вход"
--
2.38.4