Skip to content

Commit

Permalink
fix: "Plural-Forms" to nplurals=2 for french djangojs locale (#7783)
Browse files Browse the repository at this point in the history
* FIX: Djangojs locales should have Plural-Forms nplurals=2 in french
(see: https://www.gnu.org/savannah-checkouts/gnu/gettext/manual/html_node/Plural-forms.html)

* FIX: Django locales should have Plural-Forms nplurals=2 in french
    (see: https://www.gnu.org/savannah-checkouts/gnu/gettext/manual/html_node/Plural-forms.html)
  • Loading branch information
pierreben committed Jan 26, 2024
1 parent 52be978 commit c3b4756
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified cms/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fr\n"
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

msgid "All"
msgstr "Tout"
Expand Down
Binary file modified cms/locale/fr/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/fr/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fr\n"
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

msgid "/"
msgstr ""
Expand Down

0 comments on commit c3b4756

Please sign in to comment.