Use “gettext” instead of “locale” for L10N

As the documentation on the “locale” module states, the “gettext” module
should be used instead. Therefore adjust the localization calls to use
gettext instead.

Additionally fix one button label which did not use localization at all
and update the message catalogues.
This commit is contained in:
coderkun 2019-02-17 00:03:57 +01:00
commit 202bfb424c
6 changed files with 27 additions and 26 deletions

View file

@ -1,15 +1,15 @@
msgid ""
msgstr ""
"Project-Id-Version: CoverGrid (mcg)\n"
"POT-Creation-Date: 2018-09-01 19:34+0200\n"
"PO-Revision-Date: 2018-09-01 19:34+0200\n"
"POT-Creation-Date: 2019-02-16 23:52+0100\n"
"PO-Revision-Date: 2019-02-16 23:52+0100\n"
"Last-Translator: coderkun <olli@suruatoel.xyz>\n"
"Language-Team: \n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.1.1\n"
"X-Generator: Poedit 2.2.1\n"
"X-Poedit-Basepath: ../../..\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: data/gtk.glade\n"
@ -265,23 +265,23 @@ msgstr "Cover Panel"
msgid "Library Panel"
msgstr "Library Panel"
#: mcg/utils.py:61 mcg/utils.py:71
#: mcg/utils.py:62 mcg/utils.py:72
msgid "{} feat. {}"
msgstr "{} feat. {}"
#: mcg/widgets.py:1227 mcg/widgets.py:1549
#: mcg/widgets.py:1267 mcg/widgets.py:1601
msgid "cancel"
msgstr "cancel"
#: mcg/widgets.py:1244 mcg/widgets.py:1566
#: mcg/widgets.py:1284 mcg/widgets.py:1618
msgid "play"
msgstr "play"
#: mcg/widgets.py:1247
#: mcg/widgets.py:1287
msgid "remove"
msgstr "remove"
#: mcg/widgets.py:1569
#: mcg/widgets.py:1604 mcg/widgets.py:1621
msgid "queue"
msgstr "queue"