Skip to content

Commit

Permalink
Fix zh_CN/zh_HK translate for 1 year %d (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Aug 20, 2024
2 parents 8d571be + 6c42f83 commit 4da8299
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/humanize/locale/zh_CN/LC_MESSAGES/humanize.po
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ msgstr "1年"
#, python-format
msgid "1 year, %d day"
msgid_plural "1 year, %d days"
msgstr[0] "%d年"
msgstr[1] "%d年"
msgstr[0] "1年又%d天"
msgstr[1] "1年又%d天"

#: src/humanize/time.py:210
msgid "1 year, 1 month"
Expand Down
4 changes: 2 additions & 2 deletions src/humanize/locale/zh_HK/LC_MESSAGES/humanize.po
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ msgstr "1 年"
#, python-format
msgid "1 year, %d day"
msgid_plural "1 year, %d days"
msgstr[0] "%d "
msgstr[1] "%d "
msgstr[0] "1 年又 %d "
msgstr[1] "1 年又 %d "

#: src/humanize/time.py:210
msgid "1 year, 1 month"
Expand Down

0 comments on commit 4da8299

Please sign in to comment.