From f48b53d86de4ebcad1d319aa8d9e2d36b2b7b804 Mon Sep 17 00:00:00 2001 From: renph Date: Tue, 26 Dec 2023 23:19:32 +0800 Subject: [PATCH] add translation for Simplified Chinese (zh_Hans) (#1281) * add translation for Simplified Chinese (zh_Hans) * Tiny cleanup of zh_Hans translation file * Update changelog for #1281 --------- Co-authored-by: renph Co-authored-by: Anders <6058745+ddabble@users.noreply.github.com> --- CHANGES.rst | 1 + .../locale/zh_Hans/LC_MESSAGES/django.mo | Bin 0 -> 2104 bytes .../locale/zh_Hans/LC_MESSAGES/django.po | 132 ++++++++++++++++++ 3 files changed, 133 insertions(+) create mode 100644 simple_history/locale/zh_Hans/LC_MESSAGES/django.mo create mode 100644 simple_history/locale/zh_Hans/LC_MESSAGES/django.po diff --git a/CHANGES.rst b/CHANGES.rst index 0279c0dca..049e39f75 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -15,6 +15,7 @@ Unreleased - Added temporary requirement on ``asgiref>=3.6`` while the minimum required Django version is lower than 4.2 (gh-1261) - Small performance optimization of the ``clean-duplicate_history`` command (gh-1015) +- Support Simplified Chinese translation (gh-1281) 3.4.0 (2023-08-18) ------------------ diff --git a/simple_history/locale/zh_Hans/LC_MESSAGES/django.mo b/simple_history/locale/zh_Hans/LC_MESSAGES/django.mo new file mode 100644 index 0000000000000000000000000000000000000000..1ba1f0865b9d836acdeb1e06e2bbbe9d1c87b30b GIT binary patch literal 2104 zcmZvc-%}e^6vwYh{SoW0R$G6KbEhLh+u1;UX(xb|20AbbK^htBOS>eOWb0;c+`EC| z6Qi~UvDB(9tqlV>FjKXKO0Duk+6R5qf535^vCS^YtK;~h4}S0NCIRVAZa(*(d(S=R zd(I}mZ>c&<@H~U@EXH3L)fhkDg)clu?W|}fUkkm;3n{I zfB#>fRre6`0PLGV>9@`2b6^$LFZkRI-iviT*a+?g+d#{=uYlXJ{t1-#{RY;94!8^4 zj?10^4}dbx8{nhhQBZ1p8#JNq6e#t`VB3JL;AU_aDDU0tvl*1SUIFnT<36WBdG2da z*5kUr{t=Y-`~u=be#IA3BY*gI8+;k-KS8PQMI?zS;h@yj56XK-LD`4%;Pc=OfB&|> z{|_kh-gLj;J5aXlF$}3+YL$7&=V=daU;HU~3X{h%w)%!gz$YRQiCcU0G+4m-sTI-m*~bNdsgA`^>2Q(s2c2ZL}ZSBu6u6Gn|ilWMdqs9NL=U$%cPkwcrKOp+MM53z zyWfm-wgz5Rg{4GI)eyRh*E2-Bn3hyI?PdmTOuO@-$&CFxW9gi~6^!xJOK>t088yL_ zC{t4*dPrub^=T|l!%59xcvBnGx*B6iuE&|VpB-0a>OpQMD!w85PVz__;s!d}J6bDh z_XO($VQyG>EtTkC8i`x%xK)SyG^0V5-W1GgdOdnj*;hFy^Y3G((rUzbTr(0Oy02HW z0$qB>RCVPbH&Y@+jkLQIO?w)sH*KnK2$1~ES?9Awd-SAzdcH7w)m}M!2b0^l(#Z+? z;v})ZpZC`O>HN|X$uE!Q7eJ0oA_7l!f+UpZqlPHrN< zJX5%N-X5K>vsVjqGhR@8Zn5yqlyp3iwTDlw4riU*Wn!PWRvf!R?CB4jYnNn9JA2Vy zULxK_bL8={8PNcuNC^8?8o+p6JE;h zb?fWr%uhMFVQ(9?^!w>d%&g`{HU=x%1@UHUg?b%dnY2&O**Wxa#5uQUpFHJUp7M%9 F{sXyg&gK9B literal 0 HcmV?d00001 diff --git a/simple_history/locale/zh_Hans/LC_MESSAGES/django.po b/simple_history/locale/zh_Hans/LC_MESSAGES/django.po new file mode 100644 index 000000000..c69ba1ce8 --- /dev/null +++ b/simple_history/locale/zh_Hans/LC_MESSAGES/django.po @@ -0,0 +1,132 @@ +# Simplified Chinese translation for django-simple-history +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the django-simple-history package. +# Peihao Ren , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: django-simple-history VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-11-30 22:12+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Peihao Ren \n" +"Language-Team: Simplified Chinese \n" +"Language: zh_Hans\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: simple_history/admin.py:102 +#, python-format +msgid "View history: %s" +msgstr "查看历史记录: %s" + +#: simple_history/admin.py:104 +#, python-format +msgid "Change history: %s" +msgstr "修改历史记录: %s" + +#: simple_history/admin.py:110 +#, python-format +msgid "The %(name)s \"%(obj)s\" was changed successfully." +msgstr "%(name)s \"%(obj)s\" 已成功修改。" + +#: simple_history/admin.py:116 +msgid "You may edit it again below" +msgstr "你可在下方再次编辑" + +#: simple_history/admin.py:217 +#, python-format +msgid "View %s" +msgstr "查看 %s" + +#: simple_history/admin.py:219 +#, python-format +msgid "Revert %s" +msgstr "还原 %s" + +#: simple_history/models.py:552 +msgid "Created" +msgstr "已创建" + +#: simple_history/models.py:552 +msgid "Changed" +msgstr "已修改" + +#: simple_history/models.py:552 +msgid "Deleted" +msgstr "已删除" + +#: simple_history/templates/simple_history/_object_history_list.html:9 +msgid "Object" +msgstr "记录对象" + +#: simple_history/templates/simple_history/_object_history_list.html:13 +msgid "Date/time" +msgstr "日期/时间" + +#: simple_history/templates/simple_history/_object_history_list.html:14 +msgid "Comment" +msgstr "备注" + +#: simple_history/templates/simple_history/_object_history_list.html:15 +msgid "Changed by" +msgstr "修改人" + +#: simple_history/templates/simple_history/_object_history_list.html:16 +msgid "Change reason" +msgstr "修改原因" + +#: simple_history/templates/simple_history/_object_history_list.html:37 +msgid "None" +msgstr "无" + +#: simple_history/templates/simple_history/object_history.html:11 +msgid "" +"Choose a date from the list below to revert to a previous version of this " +"object." +msgstr "从下面的列表中选择一个日期以还原到该记录对象的先前版本" + +#: simple_history/templates/simple_history/object_history.html:16 +msgid "This object doesn't have a change history." +msgstr "该记录对象没有修改的记录" + +#: simple_history/templates/simple_history/object_history_form.html:7 +msgid "Home" +msgstr "主页" + +#: simple_history/templates/simple_history/object_history_form.html:11 +msgid "History" +msgstr "历史记录" + +#: simple_history/templates/simple_history/object_history_form.html:12 +#, python-format +msgid "View %(verbose_name)s" +msgstr "查看 %(verbose_name)s" + +#: simple_history/templates/simple_history/object_history_form.html:12 +#, python-format +msgid "Revert %(verbose_name)s" +msgstr "还原 %(verbose_name)s" + +#: simple_history/templates/simple_history/object_history_form.html:25 +msgid "" +"Press the 'Revert' button below to revert to this version of the object." +msgstr "按下面的“还原”按钮还原记录到当前版本。" + +#: simple_history/templates/simple_history/object_history_form.html:25 +msgid "Press the 'Change History' button below to edit the history." +msgstr "按下面的“修改历史记录”按钮编辑历史记录。" + +#: simple_history/templates/simple_history/submit_line.html:4 +msgid "Revert" +msgstr "还原" + +#: simple_history/templates/simple_history/submit_line.html:6 +msgid "Change History" +msgstr "修改历史记录" + +#: simple_history/templates/simple_history/submit_line.html:7 +msgid "Close" +msgstr "关闭"