Skip to content

Commit

Permalink
Added Simple Chinese translation (#427)
Browse files Browse the repository at this point in the history
* Added zh_Hans .mo file
  • Loading branch information
zengqiu committed Jun 25, 2021
1 parent c53de60 commit 110deb0
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 0 deletions.
Binary file not shown.
113 changes: 113 additions & 0 deletions rest_framework_simplejwt/locale/zh_Hans/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2021
# This file is distributed under the same license as the Simple JWT package.
# zengqiu <zengqiu@qq.com>, 2021.

msgid ""
msgstr ""
"Project-Id-Version: djangorestframework_simplejwt\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-06-23 13:29+0800\n"
"PO-Revision-Date: 2021-06-23 13:29+080\n"
"Last-Translator: zengqiu <zengqiu@qq.com>\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"

#: authentication.py:79
msgid "Authorization header must contain two space-delimited values"
msgstr "授权头必须包含两个用空格分隔的值"

#: authentication.py:100
msgid "Given token not valid for any token type"
msgstr "此令牌对任何类型的令牌无效"

#: authentication.py:111 authentication.py:133
msgid "Token contained no recognizable user identification"
msgstr "令牌未包含用户标识符"

#: authentication.py:116
msgid "User not found"
msgstr "未找到该用户"

#: authentication.py:119
msgid "User is inactive"
msgstr "该用户已禁用"

#: backends.py:37
msgid "Unrecognized algorithm type '{}'"
msgstr "未知算法类型 '{}'"

#: backends.py:40
msgid "You must have cryptography installed to use {}."
msgstr "你必须安装 cryptography 才能使用 {}。"

#: backends.py:74
msgid "Invalid algorithm specified"
msgstr "指定的算法无效"

#: backends.py:76 exceptions.py:38 tokens.py:44
msgid "Token is invalid or expired"
msgstr "令牌无效或已过期"

#: serializers.py:24
msgid "No active account found with the given credentials"
msgstr "找不到指定凭据对应的有效用户"

#: settings.py:63
msgid ""
"The '{}' setting has been removed. Please refer to '{}' for available "
"settings."
msgstr ""
"'{}' 配置已被移除。 请参阅 '{}' 获取可用的"
"配置。"

#: token_blacklist/admin.py:72
msgid "jti"
msgstr "jti"

#: token_blacklist/admin.py:77
msgid "user"
msgstr "用户"

#: token_blacklist/admin.py:82
msgid "created at"
msgstr "创建时间"

#: token_blacklist/admin.py:87
msgid "expires at"
msgstr "过期时间"

#: token_blacklist/apps.py:7
msgid "Token Blacklist"
msgstr "令牌黑名单"

#: tokens.py:30
msgid "Cannot create token with no type or lifetime"
msgstr "无法创建没有类型或生存期的令牌"

#: tokens.py:96
msgid "Token has no id"
msgstr "令牌没有标识符"

#: tokens.py:107
msgid "Token has no type"
msgstr "令牌没有类型"

#: tokens.py:110
msgid "Token has wrong type"
msgstr "令牌类型错误"

#: tokens.py:147
msgid "Token has no '{}' claim"
msgstr "令牌没有 '{}' 声明"

#: tokens.py:151
msgid "Token '{}' claim has expired"
msgstr "令牌 '{}' 声明已过期"

#: tokens.py:194
msgid "Token is blacklisted"
msgstr "令牌已被加入黑名单"

0 comments on commit 110deb0

Please sign in to comment.