From febc4cfa8b9e5eb977c2778e9684694fa973e5e6 Mon Sep 17 00:00:00 2001 From: zengqiu Date: Tue, 30 Jan 2024 16:14:04 +0800 Subject: [PATCH 1/3] Update Chinese translation --- .gitignore | 3 ++ taggit/locale/zh_Hans/LC_MESSAGES/django.mo | Bin 992 -> 1470 bytes taggit/locale/zh_Hans/LC_MESSAGES/django.po | 40 ++++++++++---------- 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index f2256c37..b80f041d 100644 --- a/.gitignore +++ b/.gitignore @@ -101,3 +101,6 @@ venv.bak/ # mypy .mypy_cache/ + +# PyCharm files +.idea/ diff --git a/taggit/locale/zh_Hans/LC_MESSAGES/django.mo b/taggit/locale/zh_Hans/LC_MESSAGES/django.mo index 9814c388229b49bb00db535cc4f4b862f168a248..863ee3968c7c43aae40ab30e08de42aace2feb07 100644 GIT binary patch delta 797 zcmYk2OK1~O6o&7ZYSj9|jT_NRpjt#`*OjX-Tv)_{x)B$Wm}wZ9%!JMzX|XaxsWnBV zLM$oisEsc~jP(H;O&hmeyK+^eorl4NuHEQ=X2#SDXTE#qoc}-P-f!u4uf4XvXO3a* zLmWi7hy%2j@WC1b4}s(0VQ?PY3pNw3f=6)v3J!pOz#(v83u7|qfZM<&um^k(?gCrj z4#sS@icK$md`S{(AQk=qPr&RKn8Eote$pVrAQ|c)8Cl>la1uNXHoyzuZ}2F1erwc- zO@O4E21$1Z+>ZXNmJ~cr*Z`^U1Bm`8+FbBt>EuW+wiB^CITQ9Id%6&A$6&!QfAnJ1 zG=-o={;aRx$W{8Ji}s+VaZNP^SA|kEdC|f)r*LD0n_^Ve3tWts6q%hID=C+SlIPjD z8u?g|vji^~A}ZsVYpPzd#3j;P&&ceQel@G9d49z-^hhW3K`yd|*u%7P#eP+gtE&HN zH)4zyyHjkc<%%t7DM;USq(4v&kN)Qyoq8*nU-BE(@Z~eF`8Ish z@*mvVa3)#cJ`CIizg_jquf3+@HD5pwF1(7xKbLQNE7Nf{tWCipR`PYn{r@uS&i%-& zx){ur!?U$1K6GyQ43ABa@mf#2z5SI({_<=vd)NE)ggh5-hK+Vy*&P(qlTqRWgUUoI IpN>n}UjTOUM*si- delta 323 zcmX}nzYYOG5XbSobN-x@2(>sgIxnD6YrKL)C7Nq=gf}2IDz*9w35DbujY6eRi6}%Q z8js*RER#$=b34gz_ag6_99{CxTu~XiKo95~eWs;KmQqD5qmK>DV%r#CjqfogFhmE} zD4APyagQDz&G`lEmKv!iLxn{(_PwZy64XTr2(XGnl%S>Ahi1RV6z4m$KNwF)^k*kI wX_}*d#hD!WC7VGmlyE6|<*$;uZ*}z8?yX+-%yJ*$=02I;qJ?fbz8=KuZ{!0br~m)} diff --git a/taggit/locale/zh_Hans/LC_MESSAGES/django.po b/taggit/locale/zh_Hans/LC_MESSAGES/django.po index 06573f7c..07d3437a 100644 --- a/taggit/locale/zh_Hans/LC_MESSAGES/django.po +++ b/taggit/locale/zh_Hans/LC_MESSAGES/django.po @@ -2,13 +2,13 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-14 11:45+0900\n" +"POT-Creation-Date: 2024-01-30 16:06+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,65 +26,65 @@ msgstr "标签项" msgid "Please provide a comma-separated list of tags." msgstr "请提供逗号分隔的标签列表。" -#: taggit/managers.py:432 +#: taggit/managers.py:442 msgid "Tags" msgstr "标签" -#: taggit/managers.py:433 +#: taggit/managers.py:443 msgid "A comma-separated list of tags." msgstr "逗号分隔的标签列表。" -#: taggit/models.py:19 +#: taggit/models.py:20 msgctxt "A tag name" msgid "name" msgstr "名称" -#: taggit/models.py:22 +#: taggit/models.py:23 msgctxt "A tag slug" msgid "slug" msgstr "唯一标识" -#: taggit/models.py:82 +#: taggit/models.py:89 #, fuzzy #| msgid "Tag" msgid "tag" msgstr "标签" -#: taggit/models.py:83 +#: taggit/models.py:90 msgid "tags" -msgstr "" +msgstr "标签" -#: taggit/models.py:89 +#: taggit/models.py:96 #, python-format msgid "%(object)s tagged with %(tag)s" msgstr "%(object)s 使用了标签 %(tag)s" -#: taggit/models.py:134 +#: taggit/models.py:141 msgid "content type" msgstr "内容类型" -#: taggit/models.py:165 taggit/models.py:172 +#: taggit/models.py:172 taggit/models.py:179 msgid "object ID" msgstr "对象ID" -#: taggit/models.py:180 +#: taggit/models.py:187 msgid "tagged item" msgstr "标签项" -#: taggit/models.py:181 +#: taggit/models.py:188 msgid "tagged items" msgstr "标签项" -#: taggit/serializers.py:40 +#: taggit/serializers.py:53 #, python-brace-format msgid "Expected a list of items but got type \"{input_type}\"." -msgstr "" +msgstr "期望得到一个项目列表,但得到的是类型 “{input_type}”。" -#: taggit/serializers.py:43 +#: taggit/serializers.py:56 msgid "" "Invalid json list. A tag list submitted in string form must be valid json." -msgstr "" +msgstr "无效的 JSON 列表。以字符串形式提交的标签列表必须是有效的 JSON。" -#: taggit/serializers.py:46 +#: taggit/serializers.py:59 msgid "All list items must be of string type." -msgstr "" +msgstr "所有列表项必须是字符串类型。" From 75e8f10a553bf0b64f76303382e1ae47bf495e24 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 08:16:08 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- taggit/locale/zh_Hans/LC_MESSAGES/django.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taggit/locale/zh_Hans/LC_MESSAGES/django.po b/taggit/locale/zh_Hans/LC_MESSAGES/django.po index 07d3437a..c283af36 100644 --- a/taggit/locale/zh_Hans/LC_MESSAGES/django.po +++ b/taggit/locale/zh_Hans/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" From c0a028cbb62990b7070cfaaeecf37b4cbe25a3df Mon Sep 17 00:00:00 2001 From: zengqiu Date: Tue, 30 Jan 2024 16:41:54 +0800 Subject: [PATCH 3/3] Remove fuzzy --- taggit/locale/zh_Hans/LC_MESSAGES/django.mo | Bin 1470 -> 1497 bytes taggit/locale/zh_Hans/LC_MESSAGES/django.po | 2 -- 2 files changed, 2 deletions(-) diff --git a/taggit/locale/zh_Hans/LC_MESSAGES/django.mo b/taggit/locale/zh_Hans/LC_MESSAGES/django.mo index 863ee3968c7c43aae40ab30e08de42aace2feb07..d9b8de1f95c35d35a4fc0f416a57024f911bbca4 100644 GIT binary patch delta 401 zcmZY5t!@HA5Ww-->j5oCIjF%9NDwq31c$<4YMS-|st`?+%Dw?f4aJcV5GY6xHDC}8 z=12{>q^hXHAP`V2FF^kb>)2%OH#3qCj{3kR7O;yC_>E5(4~g93D{`Tv+#ww(KGs{zChk_?2V%y q+#!);cKU-+@@q5Kxa~)kQi;indQ+2ME3neC={L3`Z#S5pW%3VAhBaCM delta 360 zcmYMwEsH`?5P;!17eDu|9|&R*1;Z|g*i8Nd5iAyie?csQg5YAXnM4q=nPr2Zf?zV3 z7lRhNY%yE(9Xa5@+~>@>bLL#`+1zv#gge&QB`B0V{FlPfO>9-0jY>gZNuEUKy6$j_tW$aW{TgI`o})Vkgb*QsBRJ_ QvTT{ASzeu^GunIOPvA`>`2YX_ diff --git a/taggit/locale/zh_Hans/LC_MESSAGES/django.po b/taggit/locale/zh_Hans/LC_MESSAGES/django.po index c283af36..d351fa5f 100644 --- a/taggit/locale/zh_Hans/LC_MESSAGES/django.po +++ b/taggit/locale/zh_Hans/LC_MESSAGES/django.po @@ -45,8 +45,6 @@ msgid "slug" msgstr "唯一标识" #: taggit/models.py:89 -#, fuzzy -#| msgid "Tag" msgid "tag" msgstr "标签"