This commit is contained in:
syuilo 2017-12-08 23:13:03 +09:00
parent 6bc499f657
commit 9ed68439e5
3 changed files with 9 additions and 0 deletions

View File

@ -297,6 +297,8 @@ desktop:
changed: "Password updated successfully" changed: "Password updated successfully"
mk-2fa-setting: mk-2fa-setting:
intro: "If you set up 2-step verification, you will need not only a password at sign-in but also a pre-registered physical device (such as your smartphone), which will improve security."
caution: "As a caveat, security improves, but you can not sign in to Misskey if you lose a registered device, etc."
register: "Register a device" register: "Register a device"
enter-password: "Enter the password" enter-password: "Enter the password"
authenticator: "First, you need install Google Authenticator to your device:" authenticator: "First, you need install Google Authenticator to your device:"
@ -306,6 +308,7 @@ desktop:
submit: "Submit" submit: "Submit"
success: "Setup completed successfully!" success: "Setup completed successfully!"
failed: "Failed to setup. please ensure that the token is correct." failed: "Failed to setup. please ensure that the token is correct."
info: "From the next sign in, enter the token that is displayed on the device in addition to the password."
mk-post-form: mk-post-form:
post-placeholder: "What's happening?" post-placeholder: "What's happening?"

View File

@ -297,6 +297,8 @@ desktop:
changed: "パスワードを変更しました" changed: "パスワードを変更しました"
mk-2fa-setting: mk-2fa-setting:
intro: "二段階認証を設定すると、サインイン時にパスワードだけでなく、予め登録しておいた物理的なデバイス(例えばあなたのスマートフォンなど)も必要になり、よりセキュリティが向上します。"
caution: "注意点として、セキュリティは向上しますが、登録したデバイスを紛失するなどした場合、Misskeyにサインインできなくなります。"
register: "デバイスを登録する" register: "デバイスを登録する"
enter-password: "パスワードを入力してください" enter-password: "パスワードを入力してください"
authenticator: "まず、Google Authenticatorをお使いのデバイスにインストールします:" authenticator: "まず、Google Authenticatorをお使いのデバイスにインストールします:"
@ -306,6 +308,7 @@ desktop:
submit: "完了" submit: "完了"
success: "設定が完了しました!" success: "設定が完了しました!"
failed: "設定に失敗しました。トークンに誤りがないかご確認ください。" failed: "設定に失敗しました。トークンに誤りがないかご確認ください。"
info: "次回サインインからは、同様にパスワードに加えてデバイスに表示されているトークンを入力します。"
mk-post-form: mk-post-form:
post-placeholder: "いまどうしてる?" post-placeholder: "いまどうしてる?"

View File

@ -292,6 +292,8 @@
</mk-password-setting> </mk-password-setting>
<mk-2fa-setting> <mk-2fa-setting>
<p>%i18n:desktop.tags.mk-2fa-setting.intro%</p>
<p>%i18n:desktop.tags.mk-2fa-setting.caution%</p>
<p><button onclick={ register }>%i18n:desktop.tags.mk-2fa-setting.register%</button></p> <p><button onclick={ register }>%i18n:desktop.tags.mk-2fa-setting.register%</button></p>
<div if={ data }> <div if={ data }>
<ol> <ol>
@ -300,6 +302,7 @@
<li>%i18n:desktop.tags.mk-2fa-setting.done%<br> <li>%i18n:desktop.tags.mk-2fa-setting.done%<br>
<input type="number" ref="token"><button onclick={ submit }>%i18n:desktop.tags.mk-2fa-setting.submit%</button> <input type="number" ref="token"><button onclick={ submit }>%i18n:desktop.tags.mk-2fa-setting.submit%</button>
</li> </li>
<li>%i18n:desktop.tags.mk-2fa-setting.info%</li>
</ol> </ol>
</div> </div>
<style> <style>