Skip to content

Commit

Permalink
add translation for Simplified Chinese (zh_Hans) (#1281)
Browse files Browse the repository at this point in the history
* add translation for Simplified Chinese (zh_Hans)

* Tiny cleanup of zh_Hans translation file

* Update changelog for #1281

---------

Co-authored-by: renph <peihao.ren@outlook.com>
Co-authored-by: Anders <6058745+ddabble@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 26, 2023
1 parent f4b318b commit f48b53d
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
------------------
Expand Down
Binary file not shown.
132 changes: 132 additions & 0 deletions simple_history/locale/zh_Hans/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -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 <peihao.ren@outlook.com>, 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 <peihao.ren@outlook.com>\n"
"Language-Team: Simplified Chinese <placeholder@example.org>\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 "关闭"

0 comments on commit f48b53d

Please sign in to comment.