8
8
msgstr ""
9
9
"Project-Id-Version : joserfc\n "
10
10
"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 "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
14
"Language : zh\n "
@@ -43,25 +43,45 @@ msgstr "该错误是为 JWS/JWT 设计的,当签名不匹配时触发。"
43
43
#: joserfc.errors.InvalidEncryptedKeyError.error:1
44
44
#: joserfc.errors.InvalidEncryptionAlgorithmError.error:1
45
45
#: joserfc.errors.InvalidExchangeKeyError.error:1
46
+ #: joserfc.errors.InvalidHeaderValueError.error:1
47
+ #: joserfc.errors.InvalidKeyIdError.error:1
46
48
#: joserfc.errors.InvalidKeyLengthError.error:1
47
49
#: joserfc.errors.InvalidKeyTypeError.error:1
48
50
#: joserfc.errors.InvalidPayloadError.error:1
49
51
#: joserfc.errors.InvalidTokenError.error:1 joserfc.errors.JoseError.error:1
50
52
#: joserfc.errors.MissingAlgorithmError.error:1
51
53
#: joserfc.errors.MissingClaimError.error:1
54
+ #: joserfc.errors.MissingCritHeaderError.error:1
52
55
#: 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
53
61
#: joserfc.errors.UnsupportedKeyAlgorithmError.error:1
54
62
#: joserfc.errors.UnsupportedKeyOperationError.error:1
55
63
#: joserfc.errors.UnsupportedKeyUseError.error:1 of
56
64
msgid "short-string error code"
57
65
msgstr "短字符串错误代码"
58
66
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
+
59
74
#: joserfc.errors.ExceededSizeError:1 of
60
75
msgid ""
61
76
"This error is designed for DEF zip algorithm. It raised when the "
62
77
"compressed data exceeds the maximum allowed length."
63
78
msgstr "该错误是为 DEF 压缩算法设计的,当压缩数据超过允许的最大长度时触发。"
64
79
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
+
65
85
#: ../../docstring joserfc.errors.ExpiredTokenError.description:1
66
86
#: joserfc.errors.InvalidCEKLengthError.description:1
67
87
#: joserfc.errors.InvalidEncryptedKeyError.description:1
@@ -73,16 +93,64 @@ msgstr "该错误是为 DEF 压缩算法设计的,当压缩数据超过允许
73
93
msgid "long-string to describe this error"
74
94
msgstr "描述此错误的长字符串"
75
95
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
+
76
110
#: joserfc.errors.InvalidEncryptionAlgorithmError:1 of
77
111
msgid ""
78
112
"This error is designed for JWE. It is raised when \" enc\" value does not "
79
113
"work together with \" alg\" value."
80
114
msgstr "该错误是为 JWE 设计的,当 \" enc\" 值与 \" alg\" 值不兼容时触发。"
81
115
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
+
82
128
#: joserfc.errors.JoseError:1 of
83
129
msgid "Base Exception for all errors in joserfc."
84
130
msgstr "joserfc 中所有错误的基类异常。"
85
131
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
+
86
154
#: ../../api/index.rst:2
87
155
msgid "API References"
88
156
msgstr "API 参考"
@@ -729,8 +797,8 @@ msgid ""
729
797
"represents digitally signed or MACed content as a JSON object. This "
730
798
"representation is neither optimized for compactness nor URL-safe."
731
799
msgstr ""
732
- "生成 JWS JSON 序列化(字典形式)。JWS JSON 序列化将数字签名或 MAC 内容表示为 JSON 对象。"
733
- "此表示既不优化紧凑性,也不 URL 安全。"
800
+ "生成 JWS JSON 序列化(字典形式)。JWS JSON 序列化将数字签名或 MAC 内容表示为 JSON 对象。此表示既不优化紧凑性,也不 "
801
+ "URL 安全。"
734
802
735
803
#: joserfc.jws.serialize_json:5 of
736
804
msgid "A general JWS JSON Serialization contains:"
@@ -876,6 +944,10 @@ msgid "a ``JWSRegistry`` or ``JWERegistry`` to use"
876
944
msgstr "要使用的 ``JWSRegistry`` 或 ``JWERegistry``"
877
945
878
946
#: joserfc.jwt.decode:8 of
947
+ msgid "A JSONDecoder subclass to use"
948
+ msgstr ""
949
+
950
+ #: joserfc.jwt.decode:9 of
879
951
msgid "BadSignatureError"
880
952
msgstr "BadSignatureError"
881
953
@@ -895,3 +967,7 @@ msgstr "用来编码的字典形式的 JWT claims 部分"
895
967
msgid "key used to sign the signature"
896
968
msgstr "用于签名的密钥"
897
969
970
+ #: joserfc.jwt.encode:8 of
971
+ msgid "A JSONEncoder subclass to use"
972
+ msgstr ""
973
+
0 commit comments