diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-16 13:37:01 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-16 19:37:01 +0200 |
commit | f87b51fda899a07c064c27de74bd56b974b5e3a5 (patch) | |
tree | 84952c9610fa313e5a5040f6620777b151b6ba8c /config/locales/zh-CN.yml | |
parent | 7e2e0d6dcc1adb648ac8719e933acfdc785a8b0d (diff) |
I18n health warnings (#1949)
* Rename admin.domain_block to admin.domain_blocks in prep for i18n improvement * Use implicit controller/action path for i18n in admin/domain_blocks * Add DomainBlock#accounts has_many * Avoid i18n health warning for `en` locale by using symbol scope with :count * Remove unused i18n key: plaintext_secret_html * Remove unused i18n key two_factor_auth.warning * Remove final will_paginate i18n keys * Remove unused key two_factor_auth.recovery_codes * Remove unused key: admin.reports.comment.none * Remove unused reports. i18n namespace (moved to admin.reports) * Ignore keys from locales which override activemodel and activerecord errors * Revert "Remove unused key: admin.reports.comment.none" This reverts commit 350ef2685fadc069e619bb6d1066190de195d942. * Update i18n key reference to match moved location * Add missing `en` keys to i18n * Tell i18n-tasks to ignore missing attributes that dont need overwriting * Add i18n-tasks unused to travis
Diffstat (limited to 'config/locales/zh-CN.yml')
-rw-r--r-- | config/locales/zh-CN.yml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/config/locales/zh-CN.yml b/config/locales/zh-CN.yml index 48028d00c..667cfe943 100644 --- a/config/locales/zh-CN.yml +++ b/config/locales/zh-CN.yml @@ -145,8 +145,6 @@ zh-CN: disable: 禁用 enable: 启用 instructions_html: "<strong>使用 Google Authenticator 或类似 APP 扫描二维码</strong>。现在起,APP 将会生成登陆时必须的两步验证码。" - plaintext_secret_html: 密钥: <samp>%{secret}</samp> - warning: 如果你现在没有 Google Authenticator 或类似授权 APP,你应该先「禁用」本功能,否则你将不能正常登陆。 users: invalid_email: 无效的邮箱 invalid_otp_token: 无效的两步验证码 |