Skip to content

Commit f48b53d

Browse files
renphrenphddabble
authored
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 <[email protected]> Co-authored-by: Anders <[email protected]>
1 parent f4b318b commit f48b53d

File tree

3 files changed

+133
-0
lines changed

3 files changed

+133
-0
lines changed

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Unreleased
1515
- Added temporary requirement on ``asgiref>=3.6`` while the minimum required Django
1616
version is lower than 4.2 (gh-1261)
1717
- Small performance optimization of the ``clean-duplicate_history`` command (gh-1015)
18+
- Support Simplified Chinese translation (gh-1281)
1819

1920
3.4.0 (2023-08-18)
2021
------------------
Binary file not shown.
Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
# Simplified Chinese translation for django-simple-history
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the django-simple-history package.
4+
# Peihao Ren <[email protected]>, 2023.
5+
#
6+
msgid ""
7+
msgstr ""
8+
"Project-Id-Version: django-simple-history VERSION\n"
9+
"Report-Msgid-Bugs-To: \n"
10+
"POT-Creation-Date: 2023-11-30 22:12+0800\n"
11+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12+
"Last-Translator: Peihao Ren <[email protected]>\n"
13+
"Language-Team: Simplified Chinese <[email protected]>\n"
14+
"Language: zh_Hans\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=UTF-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
"Plural-Forms: nplurals=1; plural=0;\n"
19+
20+
#: simple_history/admin.py:102
21+
#, python-format
22+
msgid "View history: %s"
23+
msgstr "查看历史记录: %s"
24+
25+
#: simple_history/admin.py:104
26+
#, python-format
27+
msgid "Change history: %s"
28+
msgstr "修改历史记录: %s"
29+
30+
#: simple_history/admin.py:110
31+
#, python-format
32+
msgid "The %(name)s \"%(obj)s\" was changed successfully."
33+
msgstr "%(name)s \"%(obj)s\" 已成功修改。"
34+
35+
#: simple_history/admin.py:116
36+
msgid "You may edit it again below"
37+
msgstr "你可在下方再次编辑"
38+
39+
#: simple_history/admin.py:217
40+
#, python-format
41+
msgid "View %s"
42+
msgstr "查看 %s"
43+
44+
#: simple_history/admin.py:219
45+
#, python-format
46+
msgid "Revert %s"
47+
msgstr "还原 %s"
48+
49+
#: simple_history/models.py:552
50+
msgid "Created"
51+
msgstr "已创建"
52+
53+
#: simple_history/models.py:552
54+
msgid "Changed"
55+
msgstr "已修改"
56+
57+
#: simple_history/models.py:552
58+
msgid "Deleted"
59+
msgstr "已删除"
60+
61+
#: simple_history/templates/simple_history/_object_history_list.html:9
62+
msgid "Object"
63+
msgstr "记录对象"
64+
65+
#: simple_history/templates/simple_history/_object_history_list.html:13
66+
msgid "Date/time"
67+
msgstr "日期/时间"
68+
69+
#: simple_history/templates/simple_history/_object_history_list.html:14
70+
msgid "Comment"
71+
msgstr "备注"
72+
73+
#: simple_history/templates/simple_history/_object_history_list.html:15
74+
msgid "Changed by"
75+
msgstr "修改人"
76+
77+
#: simple_history/templates/simple_history/_object_history_list.html:16
78+
msgid "Change reason"
79+
msgstr "修改原因"
80+
81+
#: simple_history/templates/simple_history/_object_history_list.html:37
82+
msgid "None"
83+
msgstr "无"
84+
85+
#: simple_history/templates/simple_history/object_history.html:11
86+
msgid ""
87+
"Choose a date from the list below to revert to a previous version of this "
88+
"object."
89+
msgstr "从下面的列表中选择一个日期以还原到该记录对象的先前版本"
90+
91+
#: simple_history/templates/simple_history/object_history.html:16
92+
msgid "This object doesn't have a change history."
93+
msgstr "该记录对象没有修改的记录"
94+
95+
#: simple_history/templates/simple_history/object_history_form.html:7
96+
msgid "Home"
97+
msgstr "主页"
98+
99+
#: simple_history/templates/simple_history/object_history_form.html:11
100+
msgid "History"
101+
msgstr "历史记录"
102+
103+
#: simple_history/templates/simple_history/object_history_form.html:12
104+
#, python-format
105+
msgid "View %(verbose_name)s"
106+
msgstr "查看 %(verbose_name)s"
107+
108+
#: simple_history/templates/simple_history/object_history_form.html:12
109+
#, python-format
110+
msgid "Revert %(verbose_name)s"
111+
msgstr "还原 %(verbose_name)s"
112+
113+
#: simple_history/templates/simple_history/object_history_form.html:25
114+
msgid ""
115+
"Press the 'Revert' button below to revert to this version of the object."
116+
msgstr "按下面的“还原”按钮还原记录到当前版本。"
117+
118+
#: simple_history/templates/simple_history/object_history_form.html:25
119+
msgid "Press the 'Change History' button below to edit the history."
120+
msgstr "按下面的“修改历史记录”按钮编辑历史记录。"
121+
122+
#: simple_history/templates/simple_history/submit_line.html:4
123+
msgid "Revert"
124+
msgstr "还原"
125+
126+
#: simple_history/templates/simple_history/submit_line.html:6
127+
msgid "Change History"
128+
msgstr "修改历史记录"
129+
130+
#: simple_history/templates/simple_history/submit_line.html:7
131+
msgid "Close"
132+
msgstr "关闭"

0 commit comments

Comments
 (0)