~kennylevinsen/greetd-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 3

[PATCH gtkgreet] feat: russian translation added, unnecessary translation removed

Details
Message ID
<168362711709.31544.3301801032268949165-0@git.sr.ht>
DKIM signature
missing
Download raw message
Patch: +44 -11
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

[gtkgreet/patches/.build.yml] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CSHO0M50HXEN.D88GV524EU6B@cirno2>
In-Reply-To
<168362711709.31544.3301801032268949165-0@git.sr.ht> (view parent)
DKIM signature
missing
Download raw message
gtkgreet/patches/.build.yml: SUCCESS in 38s

[feat: russian translation added, unnecessary translation removed][0] from [~lord][1]

[0]: https://lists.sr.ht/~kennylevinsen/greetd-devel/patches/40977
[1]: savely@krasovs.ky

✓ #986955 SUCCESS gtkgreet/patches/.build.yml https://builds.sr.ht/~kennylevinsen/job/986955
Details
Message ID
<65746413d97db19ffe97fc777d1f229ce20d3865.camel@krasovs.ky>
In-Reply-To
<168362711709.31544.3301801032268949165-0@git.sr.ht> (view parent)
DKIM signature
missing
Download raw message
In my opinion we don't need to translate internal errors, so I removed
it from .pot and Spanish translation.
Details
Message ID
<d965abde-e9ef-8412-7eee-380c55402582@kl.wtf>
In-Reply-To
<168362711709.31544.3301801032268949165-0@git.sr.ht> (view parent)
DKIM signature
missing
Download raw message
Applied, thanks!
Reply to thread Export thread (mbox)