Skip to content

Commit

Permalink
Merge pull request #880 from martinsvoboda/sync-gettext-plural-forms
Browse files Browse the repository at this point in the history
Synchronize Gettext plural forms with Django
  • Loading branch information
etianen committed Jul 7, 2021
2 parents 725d96b + cacf690 commit a238495
Show file tree
Hide file tree
Showing 31 changed files with 22 additions and 5 deletions.
Binary file modified reversion/locale/ar/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified reversion/locale/cs/LC_MESSAGES/django.mo
Binary file not shown.
3 changes: 2 additions & 1 deletion reversion/locale/cs/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n>1 && n<5 ? 1 : 2;\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n "
"<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"

#: admin.py:112 templates/reversion/change_list.html:8
#: templates/reversion/recover_list.html:10
Expand Down
Binary file modified reversion/locale/da/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified reversion/locale/de/LC_MESSAGES/django.mo
Binary file not shown.
1 change: 1 addition & 0 deletions reversion/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: admin.py:122 templates/reversion/change_list.html:8
#: templates/reversion/recover_list.html:9
Expand Down
Binary file modified reversion/locale/es/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified reversion/locale/es_AR/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified reversion/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion reversion/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n>1;\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#: admin.py:143 templates/reversion/change_list.html:7
#: templates/reversion/recover_form.html:10
Expand Down
Binary file modified reversion/locale/he/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 2 additions & 0 deletions reversion/locale/he/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % "
"1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"

#: admin.py:112 templates/reversion/change_list.html:7
#: templates/reversion/recover_list.html:10
Expand Down
Binary file modified reversion/locale/it/LC_MESSAGES/django.mo
Binary file not shown.
1 change: 1 addition & 0 deletions reversion/locale/it/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: .\admin.py:128
#: .\templates\reversion\change_list.html.py:7
Expand Down
Binary file modified reversion/locale/nb/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified reversion/locale/nl/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified reversion/locale/pl/LC_MESSAGES/django.mo
Binary file not shown.
3 changes: 3 additions & 0 deletions reversion/locale/pl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n"
"%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n"
"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"

#: admin.py:100
msgid "Initial version."
Expand Down
Binary file modified reversion/locale/pt_BR/LC_MESSAGES/django.mo
Binary file not shown.
1 change: 1 addition & 0 deletions reversion/locale/pt_BR/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#: .\admin.py:128
#: .\templates\reversion\change_list.html.py:7
Expand Down
Binary file modified reversion/locale/ru/LC_MESSAGES/django.mo
Binary file not shown.
3 changes: 3 additions & 0 deletions reversion/locale/ru/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Russian\n"
"X-Poedit-Country: RUSSIAN FEDERATION\n"
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n"
"%100>=11 && n%100<=14)? 2 : 3);\n"

#: admin.py:122
#: templates/reversion/change_list.html:8
Expand Down
Binary file modified reversion/locale/sk/LC_MESSAGES/django.mo
Binary file not shown.
3 changes: 2 additions & 1 deletion reversion/locale/sk/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n "
">= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"

#: admin.py:153
msgid "Initial version."
Expand Down
Binary file modified reversion/locale/sl_SI/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 2 additions & 0 deletions reversion/locale/sl_SI/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
"%100==4 ? 2 : 3);\n"

#: admin.py:66
msgid "Initial version."
Expand Down
Binary file modified reversion/locale/sv/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified reversion/locale/uk/LC_MESSAGES/django.mo
Binary file not shown.
6 changes: 4 additions & 2 deletions reversion/locale/uk/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ msgstr ""
"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<10 || n%100>=20) ? 1 : 2);\n"
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != "
"11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % "
"100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || "
"(n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
#: reversion/admin.py:83
msgid "Initial version."
msgstr "Початкова версія."
Expand Down
Binary file modified reversion/locale/zh_CN/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified reversion/locale/zh_Hans/LC_MESSAGES/django.mo
Binary file not shown.

0 comments on commit a238495

Please sign in to comment.