.pot: "Translators" --> "translator-credits"

"translator-credits" as in Gtk.AboutDialog
This commit is contained in:
abakkk 2020-02-09 18:03:36 +01:00
parent c9bde10ff0
commit acb728a117
2 changed files with 6 additions and 6 deletions

View File

@ -19,17 +19,17 @@ msgstr ""
# Add your name here, for example: # Add your name here, for example:
# (add "\n" as separator if there is many translators) # (add "\n" as separator if there is many translators)
# msgid "Translators" # msgid "translator-credits"
# msgstr "Me" # msgstr "Me"
# or, with mail: # or, with mail:
# msgid "Translators" # msgid "translator-credits"
# msgstr "<a href=\"mailto:me@mail.org\">Me</a>" # msgstr "<a href=\"mailto:me@mail.org\">Me</a>"
# or, with page: # or, with page:
# msgid "Translators" # msgid "translator-credits"
# msgstr "<a href=\"https://...\">Me</a>" # msgstr "<a href=\"https://...\">Me</a>"
# else keep it empty. # else keep it empty.
# It will be displayed in about page # It will be displayed in about page
msgid "Translators" msgid "translator-credits"
msgstr "" msgstr ""
#: extension.js #: extension.js

View File

@ -154,11 +154,11 @@ var AboutPage = new GObject.Class({
creditBox.pack_start(rightBox, true, true, 5); creditBox.pack_start(rightBox, true, true, 5);
vbox.add(creditBox); vbox.add(creditBox);
if (_("Translators") != "Translators" && _("Translators") != "") { if (_("translator-credits") != "translator-credits" && _("translator-credits") != "") {
leftBox.pack_start(new Gtk.Label(), false, false, 0); leftBox.pack_start(new Gtk.Label(), false, false, 0);
rightBox.pack_start(new Gtk.Label(), false, false, 0); rightBox.pack_start(new Gtk.Label(), false, false, 0);
leftLabel = new Gtk.Label({ wrap: true, valign: 1, halign: 2, justify: 1, use_markup: true, label: "<small>" + _GTK("Translated by") + "</small>" }); leftLabel = new Gtk.Label({ wrap: true, valign: 1, halign: 2, justify: 1, use_markup: true, label: "<small>" + _GTK("Translated by") + "</small>" });
rightLabel = new Gtk.Label({ wrap: true, valign: 1, halign: 1, justify: 0, use_markup: true, label: "<small>" + _("Translators") + "</small>" }); rightLabel = new Gtk.Label({ wrap: true, valign: 1, halign: 1, justify: 0, use_markup: true, label: "<small>" + _("translator-credits") + "</small>" });
leftBox.pack_start(leftLabel, false, false, 0); leftBox.pack_start(leftLabel, false, false, 0);
rightBox.pack_start(rightLabel, false, false, 0); rightBox.pack_start(rightLabel, false, false, 0);
} }