rodauth-i18n 0.6.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/locales/de.yml +2 -2
- data/locales/zh.yml +248 -0
- data/rodauth-i18n.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db9e6bdde92f2c77e9b5837478b7c895e35cff1da820fc3b98c99239a48cf3b2
|
4
|
+
data.tar.gz: d8fb5cc9f9ec500da73898088ee2206bb74012067cdd5c8210d637fd4ffef29b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf8950bdeeca18773247352e051d47d9857131964583d683ab6d465a5599d3bd5dcec7006e3ac3408e258909da8b166af7e911d73875847a0f8e7e492ae15bd6
|
7
|
+
data.tar.gz: b8336789c97e529733520dbdb19b86c2482d2ec191f779a3aee604591b62c817a2ffb06bf00118cf3fc1fbc9141c73f6243ed891ec0eeb9120c9af83fcf1a9cf
|
data/README.md
CHANGED
@@ -144,7 +144,7 @@ end
|
|
144
144
|
The static `/auth` path prefix is optional, it was just to show how it would be
|
145
145
|
incorporated.
|
146
146
|
|
147
|
-
##
|
147
|
+
## Shipping translations with your Rodauth plugin
|
148
148
|
|
149
149
|
To make texts in your Rodauth plugin translatable, use the `translatable_method` macro. Macros for defining flash messages, button texts, and page titles internally call `translatable_method`, and are thus automatically translatable.
|
150
150
|
|
data/locales/de.yml
CHANGED
@@ -7,8 +7,8 @@ de:
|
|
7
7
|
add_recovery_codes_heading: "<h2>Zusätzliche Wiederherstellungscodes hinzufügen</h2>"
|
8
8
|
add_recovery_codes_page_title: Authentifizierungs-Wiederherstellungscodes
|
9
9
|
already_an_account_with_this_login_message: bereits ein Konto mit diesem Login
|
10
|
-
|
11
|
-
|
10
|
+
attempt_to_create_unverified_account_error_flash: Das Konto, das Sie erstellen wollten, wartet derzeit auf die Überprüfung
|
11
|
+
attempt_to_login_to_unverified_account_error_flash: Das Konto, mit dem Sie versucht haben, sich anzumelden, wartet derzeit auf die Überprüfung
|
12
12
|
change_login_button: Login ändern
|
13
13
|
change_login_error_flash: Beim Ändern Ihres Logins ist ein Fehler aufgetreten
|
14
14
|
change_login_needs_verification_notice_flash: Es wurde eine E-Mail mit einem Link an Sie gesendet, um Ihre Login-Änderung zu bestätigen
|
data/locales/zh.yml
ADDED
@@ -0,0 +1,248 @@
|
|
1
|
+
zh:
|
2
|
+
rodauth:
|
3
|
+
account_expiration_error_flash: 您无法登录此帐户,因为它已过期
|
4
|
+
active_sessions_error_flash: 此会话已注销
|
5
|
+
add_recovery_codes_button: 添加身份验证恢复代码
|
6
|
+
add_recovery_codes_error_flash: 无法添加恢复代码
|
7
|
+
add_recovery_codes_heading: "<h2>添加其他恢复代码</h2>"
|
8
|
+
add_recovery_codes_page_title: 身份验证恢复代码
|
9
|
+
already_an_account_with_this_login_message: 已经是具有此登录名的帐户
|
10
|
+
attempt_to_create_unverified_account_error_flash: 您尝试创建的帐户当前正在等待验证
|
11
|
+
attempt_to_login_to_unverified_account_error_flash: 您尝试登录的帐户当前正在等待验证
|
12
|
+
change_login_button: 更改账号
|
13
|
+
change_login_error_flash: 更改账号时出错
|
14
|
+
change_login_needs_verification_notice_flash: 已向您发送一封电子邮件,其中包含验证您更改账号的链接
|
15
|
+
change_login_notice_flash: 您的账号已更改
|
16
|
+
change_login_page_title: 更改登录名
|
17
|
+
change_password_button: 修改密码
|
18
|
+
change_password_error_flash: 更改密码时出错
|
19
|
+
change_password_notice_flash: 您的密码已更改
|
20
|
+
change_password_page_title: 修改密码
|
21
|
+
close_account_button: 关闭帐户
|
22
|
+
close_account_error_flash: 关闭您的帐户时出错
|
23
|
+
close_account_notice_flash: 您的帐户已关闭
|
24
|
+
close_account_page_title: 关闭帐户
|
25
|
+
confirm_password_button: 确认密码
|
26
|
+
confirm_password_error_flash: 确认密码时出错
|
27
|
+
confirm_password_link_text: 输入密码
|
28
|
+
confirm_password_notice_flash: 您的密码已确认
|
29
|
+
confirm_password_page_title: 确认密码
|
30
|
+
contains_null_byte_message: 包含空字节
|
31
|
+
create_account_button: 创建帐户
|
32
|
+
create_account_error_flash: 创建帐户时出错
|
33
|
+
create_account_link_text: 创建新帐户
|
34
|
+
create_account_notice_flash: 您的帐户已创建
|
35
|
+
create_account_page_title: 创建帐户
|
36
|
+
email_auth_email_recently_sent_error_flash: 最近向您发送了一封带有登录链接的电子邮件
|
37
|
+
email_auth_email_sent_notice_flash: 已向您发送一封电子邮件,其中包含登录您帐户的链接
|
38
|
+
email_auth_email_subject: 登录链接
|
39
|
+
email_auth_error_flash: 您登录时出错
|
40
|
+
email_auth_page_title: 登录
|
41
|
+
email_auth_request_button: 通过电子邮件发送登录链接
|
42
|
+
email_auth_request_error_flash: 请求电子邮件链接进行身份验证时出错
|
43
|
+
email_subject_prefix: ''
|
44
|
+
expired_jwt_access_token_message: JWT访问令牌过期
|
45
|
+
global_logout_label: 注销所有登录会话?
|
46
|
+
input_field_label_suffix: ''
|
47
|
+
invalid_jwt_format_error_message: 授权标头中的JWT格式或声明无效
|
48
|
+
invalid_password_message: 密码无效
|
49
|
+
invalid_recovery_code_error_flash: 通过恢复代码进行身份验证时出错
|
50
|
+
invalid_recovery_code_message: 恢复代码无效
|
51
|
+
json_non_post_error_message: JSON API中使用的非POST方法
|
52
|
+
json_not_accepted_error_message: 不支持的Accept标头。必须接受"application/json"或兼容的内容类型
|
53
|
+
jwt_refresh_invalid_token_message: JWT刷新令牌无效
|
54
|
+
jwt_refresh_without_access_token_message: 刷新期间未提供JWT访问令牌
|
55
|
+
login_button: 登录
|
56
|
+
login_confirm_label: 确认%{login_label}
|
57
|
+
login_does_not_meet_requirements_message: 登录无效,不符合要求
|
58
|
+
login_error_flash: 登录时出错
|
59
|
+
login_form_footer_links_heading: <h2 class="rodauth-login-form-footer-links-heading">其他选项</h2>
|
60
|
+
login_label: 登录
|
61
|
+
login_lockout_error_flash: 此帐户当前已锁定,无法登录
|
62
|
+
login_not_valid_email_message: 不是有效的电子邮件地址
|
63
|
+
login_notice_flash: 您已登录
|
64
|
+
login_page_title: 登录
|
65
|
+
login_too_long_message: 最多%{login_maxium_length}个字符
|
66
|
+
login_too_many_bytes_message: 最大%{login_maxium_bytes}字节
|
67
|
+
login_too_short_message: 最少%{login_minium_length}个字符
|
68
|
+
logins_do_not_match_message: 登录名不匹配
|
69
|
+
logout_button: 注销
|
70
|
+
logout_notice_flash: 您已注销
|
71
|
+
logout_page_title: 注销
|
72
|
+
multi_phase_login_page_title: 登录
|
73
|
+
need_password_notice_flash: 登录已识别,请输入密码
|
74
|
+
new_password_label: 新密码
|
75
|
+
no_current_sms_code_error_flash: 没有此帐户的当前短信代码
|
76
|
+
no_matching_email_auth_key_error_flash: '登录时出错:电子邮件身份验证密钥无效'
|
77
|
+
no_matching_login_message: 没有匹配的登录
|
78
|
+
no_matching_reset_password_key_error_flash: '重置密码时出错:密码重置密钥无效或过期'
|
79
|
+
no_matching_unlock_account_key_error_flash: '解锁帐户时出错:解锁帐户密钥无效或过期'
|
80
|
+
no_matching_verify_account_key_error_flash: '验证帐户时出错:验证帐户密钥无效'
|
81
|
+
no_matching_verify_login_change_key_error_flash: '验证登录更改时出错:验证登录更改密钥无效'
|
82
|
+
non_json_request_error_message: 仅允许JSON格式请求
|
83
|
+
otp_already_setup_error_flash: 您已经设置了TOTP身份验证
|
84
|
+
otp_auth_button: 使用TOTP进行身份验证
|
85
|
+
otp_auth_error_flash: 通过TOTP身份验证登录时出错
|
86
|
+
otp_auth_form_footer: ''
|
87
|
+
otp_auth_label: 身份验证代码
|
88
|
+
otp_auth_link_text: 使用TOTP进行身份验证
|
89
|
+
otp_auth_page_title: 输入身份验证代码
|
90
|
+
otp_disable_button: 禁用TOTP身份验证
|
91
|
+
otp_disable_error_flash: 禁用TOTP身份验证时出错
|
92
|
+
otp_disable_link_text: 禁用TOTP身份验证
|
93
|
+
otp_disable_notice_flash: TOTP身份验证已禁用
|
94
|
+
otp_disable_page_title: 禁用TOTP身份验证
|
95
|
+
otp_invalid_auth_code_message: 身份验证代码无效
|
96
|
+
otp_invalid_secret_message: 无效的密钥
|
97
|
+
otp_lockout_error_flash: 由于多次失败,TOTP认证代码使用被锁定
|
98
|
+
otp_provisioning_uri_label: 设置URL
|
99
|
+
otp_secret_label: 密钥
|
100
|
+
otp_setup_button: 设置TOTP身份验证
|
101
|
+
otp_setup_error_flash: 设置TOTP身份验证时出错
|
102
|
+
otp_setup_link_text: 设置TOTP身份验证
|
103
|
+
otp_setup_notice_flash: TOTP身份验证现在已设置
|
104
|
+
otp_setup_page_title: 设置TOTP身份验证
|
105
|
+
password_authentication_required_error_flash: 继续之前,您需要确认密码
|
106
|
+
password_changed_email_subject: 密码已更改
|
107
|
+
password_confirm_label: 确认%{password_label}
|
108
|
+
password_does_not_meet_requirements_message: 密码无效,不符合要求
|
109
|
+
password_expiration_error_flash: 您的密码已过期,需要更改
|
110
|
+
password_in_dictionary_message: 是字典里的一个单词
|
111
|
+
password_invalid_pattern_message: 包括公共字符序列
|
112
|
+
password_is_one_of_the_most_common_message: 是最常见的密码之一
|
113
|
+
password_label: 密码
|
114
|
+
password_not_changeable_yet_error_flash: 您的密码尚未更改
|
115
|
+
password_not_enough_character_groups_message: 不包括大写字母、小写字母和数字
|
116
|
+
password_same_as_previous_password_message: 与以前的密码相同
|
117
|
+
password_too_many_repeating_characters_message: 一行中包含太多相同的字符
|
118
|
+
password_too_long_message: 最多%{password_maxium_length}个字符
|
119
|
+
password_too_many_bytes_message: 最大%{password_maxium_bytes}字节
|
120
|
+
password_too_short_message: 最少%{password_minimum_length}个字符
|
121
|
+
passwords_do_not_match_message: 密码不匹配
|
122
|
+
recovery_auth_button: 通过恢复代码进行身份验证
|
123
|
+
recovery_auth_link_text: 使用恢复代码进行身份验证
|
124
|
+
recovery_auth_page_title: 输入身份验证恢复代码
|
125
|
+
recovery_codes_added_notice_flash: 已添加其他身份验证恢复代码
|
126
|
+
recovery_codes_label: 恢复代码
|
127
|
+
recovery_codes_link_text: 查看身份验证恢复代码
|
128
|
+
recovery_codes_page_title: 查看身份验证恢复代码
|
129
|
+
remember_button: 更改记忆设置
|
130
|
+
remember_disable_label: 禁用"记住我"
|
131
|
+
remember_error_flash: 更新记忆设置时出错
|
132
|
+
remember_forget_label: 忘记我吧
|
133
|
+
remember_notice_flash: 您的记忆设置已更新
|
134
|
+
remember_page_title: 更改记忆设置
|
135
|
+
remember_remember_label: 记住我
|
136
|
+
require_login_error_flash: 请登录以继续
|
137
|
+
resend_verify_account_page_title: 重新发送验证电子邮件
|
138
|
+
reset_password_button: 重置密码
|
139
|
+
reset_password_email_recently_sent_error_flash: 最近向您发送了一封电子邮件,其中包含重置密码的链接
|
140
|
+
reset_password_email_sent_notice_flash: 已向您发送一封电子邮件,其中包含重置帐户密码的链接
|
141
|
+
reset_password_email_subject: 重置密码
|
142
|
+
reset_password_error_flash: 重置密码时出错
|
143
|
+
reset_password_explanatory_text: "<p>如果您忘记了密码,可以请求重置密码:</p>"
|
144
|
+
reset_password_notice_flash: 您的密码已重置
|
145
|
+
reset_password_notify_email_subject: 密码重置已完成
|
146
|
+
reset_password_page_title: 重置密码
|
147
|
+
reset_password_request_button: 请求密码重置
|
148
|
+
reset_password_request_error_flash: 请求重置密码时出错
|
149
|
+
reset_password_request_link_text: 忘记密码?
|
150
|
+
reset_password_request_page_title: 请求密码重置
|
151
|
+
same_as_current_login_message: 与当前登录相同
|
152
|
+
same_as_existing_password_message: 无效密码,与当前密码相同
|
153
|
+
session_expiration_error_flash: 此会话已过期,请重新登录
|
154
|
+
single_session_error_flash: 此会话已注销,因为另一个会话已激活
|
155
|
+
sms_already_setup_error_flash: 已设置SMS身份验证
|
156
|
+
sms_auth_button: 通过SMS代码进行身份验证
|
157
|
+
sms_auth_link_text: 使用SMS代码进行身份验证
|
158
|
+
sms_auth_page_title: 通过SMS代码进行身份验证
|
159
|
+
sms_code_label: SMS代码
|
160
|
+
sms_confirm_button: 确认SMS备份号码
|
161
|
+
sms_confirm_notice_flash: 已设置SMS身份验证
|
162
|
+
sms_confirm_page_title: 确认SMS备份号码
|
163
|
+
sms_disable_button: 禁用备份SMS身份验证
|
164
|
+
sms_disable_error_flash: 禁用SMS身份验证时出错
|
165
|
+
sms_disable_link_text: 禁用SMS身份验证
|
166
|
+
sms_disable_notice_flash: 已禁用SMS身份验证
|
167
|
+
sms_disable_page_title: 禁用备份SMS身份验证
|
168
|
+
sms_invalid_code_error_flash: 通过SMS代码验证时出错
|
169
|
+
sms_invalid_code_message: 无效的SMS代码
|
170
|
+
sms_invalid_confirmation_code_error_flash: 使用的SMS确认码无效或过期,必须重新设置SMS身份验证
|
171
|
+
sms_invalid_phone_message: 无效的SMS电话号码
|
172
|
+
sms_lockout_error_flash: SMS身份验证已锁定
|
173
|
+
sms_needs_confirmation_error_flash: SMS身份验证需要确认
|
174
|
+
sms_not_setup_error_flash: 尚未设置SMS身份验证
|
175
|
+
sms_phone_label: 电话号码
|
176
|
+
sms_request_button: 发送短信代码
|
177
|
+
sms_request_notice_flash: 短信验证码已发送
|
178
|
+
sms_request_page_title: 发送短信代码
|
179
|
+
sms_setup_button: 设置SMS备份号码
|
180
|
+
sms_setup_error_flash: 设置SMS身份验证时出错
|
181
|
+
sms_setup_link_text: 设置备份SMS身份验证
|
182
|
+
sms_setup_page_title: 设置SMS备份号码
|
183
|
+
two_factor_already_authenticated_error_flash: 您已通过双因子身份验证
|
184
|
+
two_factor_auth_notice_flash: 您已通过双因子身份验证
|
185
|
+
two_factor_auth_page_title: 使用双因子进行身份验证
|
186
|
+
two_factor_disable_button: 删除所有双因子身份验证方法
|
187
|
+
two_factor_disable_error_flash: 无法删除所有双因子身份验证方法
|
188
|
+
two_factor_disable_link_text: 删除所有双因子身份验证方法
|
189
|
+
two_factor_disable_notice_flash: 已禁用所有双因子身份验证方法
|
190
|
+
two_factor_disable_page_title: 删除所有双因子身份验证方法
|
191
|
+
two_factor_manage_page_title: 管理双因子身份验证
|
192
|
+
two_factor_need_authentication_error_flash: 在继续之前,您需要通过其他因素进行身份验证
|
193
|
+
two_factor_not_setup_error_flash: 尚未为双因子身份验证设置此帐户
|
194
|
+
two_factor_remove_heading: "<h2>删除双因子身份验证</h2>"
|
195
|
+
two_factor_setup_heading: "<h2>设置双因子身份验证</h2>"
|
196
|
+
unlock_account_button: 解锁帐户
|
197
|
+
unlock_account_email_recently_sent_error_flash: 最近向您发送了一封电子邮件,其中包含解锁帐户的链接
|
198
|
+
unlock_account_email_subject: 解锁帐户
|
199
|
+
unlock_account_error_flash: 解锁帐户时出错
|
200
|
+
unlock_account_explanatory_text: "<p>此帐户当前已锁定。您可以解锁该帐户:</p>"
|
201
|
+
unlock_account_notice_flash: 您的帐户已解锁
|
202
|
+
unlock_account_page_title: 解锁帐户
|
203
|
+
unlock_account_request_button: 请求帐户解锁
|
204
|
+
unlock_account_request_explanatory_text: "<p>此帐户当前已锁定。您可以请求解锁该帐户:</p>"
|
205
|
+
unlock_account_request_notice_flash: 已向您发送一封电子邮件,其中包含解锁您帐户的链接
|
206
|
+
unlock_account_request_page_title: 请求帐户解锁
|
207
|
+
unverified_account_message: 未验证的帐户,请在登录前验证帐户
|
208
|
+
unverified_change_login_error_flash: 请在更改登录名之前验证此帐户
|
209
|
+
verify_account_button: 验证帐户
|
210
|
+
verify_account_email_recently_sent_error_flash: 最近向您发送了一封电子邮件,其中包含验证您帐户的链接
|
211
|
+
verify_account_email_sent_notice_flash: 已向您发送一封电子邮件,其中包含验证您帐户的链接
|
212
|
+
verify_account_email_subject: 验证帐户
|
213
|
+
verify_account_error_flash: 无法验证帐户
|
214
|
+
verify_account_notice_flash: 您的帐户已验证
|
215
|
+
verify_account_page_title: 验证帐户
|
216
|
+
verify_account_resend_button: 再次发送验证电子邮件
|
217
|
+
verify_account_resend_error_flash: 无法重新发送验证帐户电子邮件
|
218
|
+
verify_account_resend_explanatory_text: "<p>如果您不再有验证帐户的电子邮件,您可以请求将其重新发送给您:</p>"
|
219
|
+
verify_account_resend_link_text: 重新发送验证帐户信息
|
220
|
+
verify_login_change_button: 验证登录更改
|
221
|
+
verify_login_change_duplicate_account_error_flash: 无法更改登录名,因为已存在具有新登录名的帐户
|
222
|
+
verify_login_change_email_subject: 验证登录更改
|
223
|
+
verify_login_change_error_flash: 无法验证登录更改
|
224
|
+
verify_login_change_notice_flash: 您的登录更改已验证
|
225
|
+
verify_login_change_page_title: 验证登录更改
|
226
|
+
view_recovery_codes_button: 查看身份验证恢复代码
|
227
|
+
view_recovery_codes_error_flash: 无法查看恢复代码
|
228
|
+
webauthn_auth_button: 使用WebAuthn进行身份验证
|
229
|
+
webauthn_auth_error_flash: 使用WebAuthn进行身份验证时出错
|
230
|
+
webauthn_auth_link_text: 使用WebAuthn进行身份验证
|
231
|
+
webauthn_auth_page_title: 使用WebAuthn进行身份验证
|
232
|
+
webauthn_duplicate_webauthn_id_message: 尝试插入重复的webauthn id
|
233
|
+
webauthn_invalid_auth_param_message: 无效的webauthn身份验证参数
|
234
|
+
webauthn_invalid_remove_param_message: 必须选择要删除的有效webauthn验证器
|
235
|
+
webauthn_invalid_setup_param_message: 无效的webauthn设置参数
|
236
|
+
webauthn_invalid_sign_count_message: webauthn凭据的签名计数无效
|
237
|
+
webauthn_login_error_flash: 通过WebAuthn进行身份验证时出错
|
238
|
+
webauthn_not_setup_error_flash: 尚未为WebAuthn身份验证设置此帐户
|
239
|
+
webauthn_remove_button: 删除WebAuthn身份验证器
|
240
|
+
webauthn_remove_error_flash: 删除WebAuthn验证器时出错
|
241
|
+
webauthn_remove_link_text: 删除WebAuthn身份验证器
|
242
|
+
webauthn_remove_notice_flash: 已删除WebAuthn验证器
|
243
|
+
webauthn_remove_page_title: 删除WebAuthn身份验证器
|
244
|
+
webauthn_setup_button: 设置WebAuthn身份验证
|
245
|
+
webauthn_setup_error_flash: 设置WebAuthn身份验证时出错
|
246
|
+
webauthn_setup_link_text: 设置WebAuthn身份验证
|
247
|
+
webauthn_setup_notice_flash: WebAuthn身份验证现已设置
|
248
|
+
webauthn_setup_page_title: 设置WebAuthn身份验证
|
data/rodauth-i18n.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rodauth-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Janko Marohnić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rodauth
|
@@ -126,6 +126,7 @@ files:
|
|
126
126
|
- locales/fr.yml
|
127
127
|
- locales/hr.yml
|
128
128
|
- locales/pt.yml
|
129
|
+
- locales/zh.yml
|
129
130
|
- rodauth-i18n.gemspec
|
130
131
|
homepage: https://github.com/janko/rodauth-i18n
|
131
132
|
licenses:
|
@@ -146,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
147
|
- !ruby/object:Gem::Version
|
147
148
|
version: '0'
|
148
149
|
requirements: []
|
149
|
-
rubygems_version: 3.4.
|
150
|
+
rubygems_version: 3.4.12
|
150
151
|
signing_key:
|
151
152
|
specification_version: 4
|
152
153
|
summary: Provides I18n integration and translations for Rodauth authentication framework.
|