refs #816 Change authorize message in misskey

This commit is contained in:
AkiraFukushima 2020-03-19 23:27:09 +09:00
parent 68dae08dec
commit 17e1bef9f1
2 changed files with 3 additions and 1 deletions

View File

@ -385,6 +385,7 @@
"manually_1": "An authorization page has opened in your browser.",
"manually_2": "If it has not opened, please go to the following URL manually.",
"code_label": "Please paste the authorization code from your browser:",
"misskey_label": "Please submit after you authorize in your browser.",
"submit": "Submit"
},
"receive_drop": {

View File

@ -22,7 +22,8 @@
class="authorize-form"
v-on:submit.prevent="authorizeSubmit"
>
<el-form-item :label="$t('authorize.code_label')" v-show="sns !== 'misskey'">
<p v-if="sns === 'misskey'">{{ $t('authorize.misskey_label') }}</p>
<el-form-item :label="$t('authorize.code_label')" v-else>
<el-input v-model="authorizeForm.code"></el-input>
</el-form-item>
<!-- Dummy form to guard submitting with enter -->