88msgstr ""
99"Project-Id-Version : joserfc\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2025-02-28 11:54 +0900\n "
11+ "POT-Creation-Date : 2025-04-20 18:35 +0900\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1313"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1414"Language : zh\n "
@@ -43,25 +43,45 @@ msgstr "该错误是为 JWS/JWT 设计的,当签名不匹配时触发。"
4343#: joserfc.errors.InvalidEncryptedKeyError.error:1
4444#: joserfc.errors.InvalidEncryptionAlgorithmError.error:1
4545#: joserfc.errors.InvalidExchangeKeyError.error:1
46+ #: joserfc.errors.InvalidHeaderValueError.error:1
47+ #: joserfc.errors.InvalidKeyIdError.error:1
4648#: joserfc.errors.InvalidKeyLengthError.error:1
4749#: joserfc.errors.InvalidKeyTypeError.error:1
4850#: joserfc.errors.InvalidPayloadError.error:1
4951#: joserfc.errors.InvalidTokenError.error:1 joserfc.errors.JoseError.error:1
5052#: joserfc.errors.MissingAlgorithmError.error:1
5153#: joserfc.errors.MissingClaimError.error:1
54+ #: joserfc.errors.MissingCritHeaderError.error:1
5255#: joserfc.errors.MissingEncryptionError.error:1
56+ #: joserfc.errors.MissingHeaderError.error:1
57+ #: joserfc.errors.MissingKeyError.error:1
58+ #: joserfc.errors.MissingKeyTypeError.error:1
59+ #: joserfc.errors.UnsupportedAlgorithmError.error:1
60+ #: joserfc.errors.UnsupportedHeaderError.error:1
5361#: joserfc.errors.UnsupportedKeyAlgorithmError.error:1
5462#: joserfc.errors.UnsupportedKeyOperationError.error:1
5563#: joserfc.errors.UnsupportedKeyUseError.error:1 of
5664msgid "short-string error code"
5765msgstr "短字符串错误代码"
5866
67+ #: joserfc.errors.DecodeError:1 of
68+ #, fuzzy
69+ msgid ""
70+ "This error is designed for JWS/JWE. It is raised when deserialization and"
71+ " decryption fails."
72+ msgstr "该错误是为 JWS/JWT 设计的,当签名不匹配时触发。"
73+
5974#: joserfc.errors.ExceededSizeError:1 of
6075msgid ""
6176"This error is designed for DEF zip algorithm. It raised when the "
6277"compressed data exceeds the maximum allowed length."
6378msgstr "该错误是为 DEF 压缩算法设计的,当压缩数据超过允许的最大长度时触发。"
6479
80+ #: joserfc.errors.ExpiredTokenError:1 of
81+ #, fuzzy
82+ msgid "This error is designed for JWT. It raised when the token is expired."
83+ msgstr "该错误是为 JWS/JWT 设计的,当签名不匹配时触发。"
84+
6585#: ../../docstring joserfc.errors.ExpiredTokenError.description:1
6686#: joserfc.errors.InvalidCEKLengthError.description:1
6787#: joserfc.errors.InvalidEncryptedKeyError.description:1
@@ -73,16 +93,64 @@ msgstr "该错误是为 DEF 压缩算法设计的,当压缩数据超过允许
7393msgid "long-string to describe this error"
7494msgstr "描述此错误的长字符串"
7595
96+ #: joserfc.errors.InsecureClaimError:1 of
97+ #, fuzzy
98+ msgid ""
99+ "This error is designed for JWT. It raised when the claim contains "
100+ "sensitive information."
101+ msgstr "该错误是为 JWS/JWT 设计的,当签名不匹配时触发。"
102+
103+ #: joserfc.errors.InvalidClaimError:1 of
104+ #, fuzzy
105+ msgid ""
106+ "This error is designed for JWT. It raised when the claim contains invalid"
107+ " values or types."
108+ msgstr "该错误是为 JWS/JWT 设计的,当签名不匹配时触发。"
109+
76110#: joserfc.errors.InvalidEncryptionAlgorithmError:1 of
77111msgid ""
78112"This error is designed for JWE. It is raised when \" enc\" value does not "
79113"work together with \" alg\" value."
80114msgstr "该错误是为 JWE 设计的,当 \" enc\" 值与 \" alg\" 值不兼容时触发。"
81115
116+ #: joserfc.errors.InvalidPayloadError:1 of
117+ #, fuzzy
118+ msgid ""
119+ "This error is designed for JWT. It raised when the payload is not a valid"
120+ " JSON object."
121+ msgstr "该错误是为 JWS/JWT 设计的,当签名不匹配时触发。"
122+
123+ #: joserfc.errors.InvalidTokenError:1 of
124+ #, fuzzy
125+ msgid "This error is designed for JWT. It raised when the token is not valid yet."
126+ msgstr "该错误是为 JWS/JWT 设计的,当签名不匹配时触发。"
127+
82128#: joserfc.errors.JoseError:1 of
83129msgid "Base Exception for all errors in joserfc."
84130msgstr "joserfc 中所有错误的基类异常。"
85131
132+ #: joserfc.errors.MissingClaimError:1 of
133+ #, fuzzy
134+ msgid ""
135+ "This error is designed for JWT. It raised when the required claims are "
136+ "missing."
137+ msgstr "该错误是为 JWS/JWT 设计的,当签名不匹配时触发。"
138+
139+ #: joserfc.errors.MissingCritHeaderError:1 of
140+ msgid "This error happens when the critical header does not exist."
141+ msgstr ""
142+
143+ #: joserfc.errors.MissingEncryptionError:1 of
144+ #, fuzzy
145+ msgid ""
146+ "This error is designed for JWE. It is raised when the 'enc' value in "
147+ "header is missing."
148+ msgstr "该错误是为 JWE 设计的,当 \" enc\" 值与 \" alg\" 值不兼容时触发。"
149+
150+ #: joserfc.errors.MissingHeaderError:1 of
151+ msgid "This error happens when the required header does not exist."
152+ msgstr ""
153+
86154#: ../../api/index.rst:2
87155msgid "API References"
88156msgstr "API 参考"
@@ -729,8 +797,8 @@ msgid ""
729797"represents digitally signed or MACed content as a JSON object. This "
730798"representation is neither optimized for compactness nor URL-safe."
731799msgstr ""
732- "生成 JWS JSON 序列化(字典形式)。JWS JSON 序列化将数字签名或 MAC 内容表示为 JSON 对象。"
733- "此表示既不优化紧凑性,也不 URL 安全。"
800+ "生成 JWS JSON 序列化(字典形式)。JWS JSON 序列化将数字签名或 MAC 内容表示为 JSON 对象。此表示既不优化紧凑性,也不 "
801+ "URL 安全。"
734802
735803#: joserfc.jws.serialize_json:5 of
736804msgid "A general JWS JSON Serialization contains:"
@@ -876,6 +944,10 @@ msgid "a ``JWSRegistry`` or ``JWERegistry`` to use"
876944msgstr "要使用的 ``JWSRegistry`` 或 ``JWERegistry``"
877945
878946#: joserfc.jwt.decode:8 of
947+ msgid "A JSONDecoder subclass to use"
948+ msgstr ""
949+
950+ #: joserfc.jwt.decode:9 of
879951msgid "BadSignatureError"
880952msgstr "BadSignatureError"
881953
@@ -895,3 +967,7 @@ msgstr "用来编码的字典形式的 JWT claims 部分"
895967msgid "key used to sign the signature"
896968msgstr "用于签名的密钥"
897969
970+ #: joserfc.jwt.encode:8 of
971+ msgid "A JSONEncoder subclass to use"
972+ msgstr ""
973+
0 commit comments