Skip to content

Commit

Permalink
Croatian now passes validation!
Browse files Browse the repository at this point in the history
* Add hr to validation list to keep it that way
* Fix small validation error
  • Loading branch information
cdrini committed Apr 5, 2022
1 parent 0f6d9ff commit 069d404
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ test-py:

test-i18n:
# Valid locale codes should be added as arguments to validate
$(PYTHON) ./scripts/i18n-messages validate de es fr ja zh
$(PYTHON) ./scripts/i18n-messages validate de es fr hr ja zh

test:
make test-py && npm run test && make test-i18n
2 changes: 1 addition & 1 deletion openlibrary/i18n/hr/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -3516,7 +3516,7 @@ msgstr "od <a href=\"%(key)s\">%(owner)s</a>"
#, python-format
msgid "1 item"
msgid_plural "%(count)d items"
msgstr[0] "%(count)d element"
msgstr[0] "1 element"
msgstr[1] "%(count)d elementa"
msgstr[2] "%(count)d elemenata"

Expand Down

0 comments on commit 069d404

Please sign in to comment.