1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Remove extraneous plurals from po/de*, add msgfmt checks

This commit is contained in:
Juhani Numminen 2019-07-18 19:57:51 +03:00 committed by Shlomi Fish
parent 45f8c312a4
commit acbf11de31
5 changed files with 11 additions and 38 deletions

View file

@ -40,7 +40,7 @@ mo:
for lang in ru de pl it; do \
mkdir -p locale/$${lang}/LC_MESSAGES; \
msgcat --use-first po/$${lang}_games.po po/$${lang}_pysol.po > po/$${lang}.po; \
msgfmt -o locale/$${lang}/LC_MESSAGES/pysol.mo po/$${lang}.po; \
msgfmt --check -o locale/$${lang}/LC_MESSAGES/pysol.mo po/$${lang}.po; \
done
pretest:

View file

@ -1,20 +1,15 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: PySol 0.0.1\n"
"POT-Creation-Date: Thu Jul 18 18:25:19 2019\n"
"PO-Revision-Date: 2007-09-05 17:43+0400\n"
"Last-Translator: H. Schaekel <Holger.Schaekel@web.de>\n"
"Language-Team: German\n"
"Language: \n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"#-#-#-#-# de_games.po (PySol 0.0.1) #-#-#-#-#\n"
"Generated-By: Holger Schaekel\n"
"#-#-#-#-# de_pysol.po (PACKAGE VERSION) #-#-#-#-#\n"
"Generated-By: Holger Schaekel\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"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid " 3x3 Matrix"
msgstr "3x3 Matrix"

View file

@ -1,21 +1,16 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: PySol 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-07-18 19:21+0300\n"
"PO-Revision-Date: 2007-09-05 17:43+0400\n"
"Last-Translator: H. Schaekel <Holger.Schaekel@web.de>\n"
"Language-Team: German\n"
"Language: \n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"#-#-#-#-# de_games.po (PySol 0.0.1) #-#-#-#-#\n"
"Generated-By: Holger Schaekel\n"
"#-#-#-#-# de_pysol.po (PACKAGE VERSION) #-#-#-#-#\n"
"Generated-By: Holger Schaekel\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"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: pysollib/actions.py:232 pysollib/kivy/toolbar.py:191
#: pysollib/tile/toolbar.py:176 pysollib/tk/toolbar.py:176
@ -1060,7 +1055,6 @@ msgid "%d card"
msgid_plural "%d cards"
msgstr[0] "%d Karte"
msgstr[1] "%d Karten"
msgstr[2] "%d Karten"
#: pysollib/stack.py:1832 pysollib/games/larasgame.py:159
#, python-format
@ -1089,7 +1083,6 @@ msgid "%d readeal"
msgid_plural "%d redeals"
msgstr[0] "%d Wiederholung"
msgstr[1] "%d Wiederholungen"
msgstr[2] "%d Wiederholungen"
#: pysollib/stack.py:1950
msgid "Talon."
@ -1818,7 +1811,6 @@ msgid_plural ""
"for %d moves."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: pysollib/game/__init__.py:1936 pysollib/game/__init__.py:1952
#: pysollib/pysolgtk/soundoptionsdialog.py:71
@ -1902,7 +1894,6 @@ msgid_plural ""
"Game solved in %d moves.\n"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: pysollib/game/__init__.py:2478 pysollib/game/__init__.py:2492
#: pysollib/game/__init__.py:2506
@ -3532,10 +3523,6 @@ msgstr[1] ""
"%d frei\n"
"passende\n"
"Paare"
msgstr[2] ""
"%d frei\n"
"passende\n"
"Paare"
#: pysollib/games/mahjongg/mahjongg.py:880
#: pysollib/games/mahjongg/shisensho.py:415
@ -3560,11 +3547,6 @@ msgstr[1] ""
"Steine\n"
"entfernt\n"
"\n"
msgstr[2] ""
"%d\n"
"Steine\n"
"entfernt\n"
"\n"
#: pysollib/games/mahjongg/mahjongg.py:883
#: pysollib/games/mahjongg/shisensho.py:418
@ -3589,11 +3571,6 @@ msgstr[1] ""
"Steine\n"
"verbleibend\n"
"\n"
msgstr[2] ""
"%d\n"
"Steine\n"
"verbleibend\n"
"\n"
#: pysollib/games/special/memory.py:170 pysollib/games/special/poker.py:185
#, python-format
@ -4559,7 +4536,6 @@ msgid "This game can be hinted in %d move."
msgid_plural "This game can be hinted in %d moves."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: pysollib/ui/tktile/solverdialog.py:189
#, python-format
@ -4567,7 +4543,6 @@ msgid "This game is solvable in %d move."
msgid_plural "This game is solvable in %d moves."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: pysollib/ui/tktile/solverdialog.py:197
msgid "I could not solve this game."

View file

@ -9,11 +9,12 @@ msgstr ""
"PO-Revision-Date: 2011-05-12 18:46+0200\n"
"Last-Translator: Giuliano Colla <giuliano.colla@gmail.com>\n"
"Language-Team: Italiano <it@li.org>\n"
"Language: \n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: ./scripts/all_games.py 0.1\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: KBabel 1.11.4\n"
msgid " 3x3 Matrix"

View file

@ -14,6 +14,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: utf-8\n"
"Generated-By: ./scripts/all_games.py 0.1\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"
msgid " 3x3 Matrix"
msgstr "Матрица 3x3"