From 6c42f83b5a8b8172da80d69a6ff0e6ff71441de9 Mon Sep 17 00:00:00 2001 From: "L.Lu" Date: Tue, 20 Aug 2024 11:30:52 +0800 Subject: [PATCH] Fix zh_CN/zh_HK translate for 1 year %d --- src/humanize/locale/zh_CN/LC_MESSAGES/humanize.po | 4 ++-- src/humanize/locale/zh_HK/LC_MESSAGES/humanize.po | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/humanize/locale/zh_CN/LC_MESSAGES/humanize.po b/src/humanize/locale/zh_CN/LC_MESSAGES/humanize.po index c5b08123..52d718d6 100644 --- a/src/humanize/locale/zh_CN/LC_MESSAGES/humanize.po +++ b/src/humanize/locale/zh_CN/LC_MESSAGES/humanize.po @@ -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" diff --git a/src/humanize/locale/zh_HK/LC_MESSAGES/humanize.po b/src/humanize/locale/zh_HK/LC_MESSAGES/humanize.po index eff6fd6f..842815ce 100644 --- a/src/humanize/locale/zh_HK/LC_MESSAGES/humanize.po +++ b/src/humanize/locale/zh_HK/LC_MESSAGES/humanize.po @@ -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"