Use more specific button titles instead of general.submit
- "Post" for post submission (we already had the button title be "Posting" when the post was being sent, so there was a weird inconsistency) - "Register" for registration submission - "Save changes" for usages in settings
This commit is contained in:
parent
a00212a3bb
commit
47719571e4
7 changed files with 14 additions and 11 deletions
|
@ -53,7 +53,7 @@
|
||||||
type="submit"
|
type="submit"
|
||||||
class="btn button-default btn-block"
|
class="btn button-default btn-block"
|
||||||
>
|
>
|
||||||
{{ $t('general.submit') }}
|
{{ $t('settings.save') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -272,7 +272,7 @@
|
||||||
disabled
|
disabled
|
||||||
class="btn button-default"
|
class="btn button-default"
|
||||||
>
|
>
|
||||||
{{ $t('general.submit') }}
|
{{ $t('post_status.post') }}
|
||||||
</button>
|
</button>
|
||||||
<!-- touchstart is used to keep the OSK at the same position after a message send -->
|
<!-- touchstart is used to keep the OSK at the same position after a message send -->
|
||||||
<button
|
<button
|
||||||
|
@ -282,7 +282,7 @@
|
||||||
@touchstart.stop.prevent="postStatus($event, newStatus)"
|
@touchstart.stop.prevent="postStatus($event, newStatus)"
|
||||||
@click.stop.prevent="postStatus($event, newStatus)"
|
@click.stop.prevent="postStatus($event, newStatus)"
|
||||||
>
|
>
|
||||||
{{ $t('general.submit') }}
|
{{ $t('post_status.post') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -230,7 +230,7 @@
|
||||||
type="submit"
|
type="submit"
|
||||||
class="btn button-default"
|
class="btn button-default"
|
||||||
>
|
>
|
||||||
{{ $t('general.submit') }}
|
{{ $t('registration.register') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
class="btn button-default"
|
class="btn button-default"
|
||||||
@click="updateNotificationSettings"
|
@click="updateNotificationSettings"
|
||||||
>
|
>
|
||||||
{{ $t('general.submit') }}
|
{{ $t('settings.save') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -153,7 +153,7 @@
|
||||||
class="btn button-default"
|
class="btn button-default"
|
||||||
@click="updateProfile"
|
@click="updateProfile"
|
||||||
>
|
>
|
||||||
{{ $t('general.submit') }}
|
{{ $t('settings.save') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="setting-item">
|
<div class="setting-item">
|
||||||
|
@ -227,7 +227,7 @@
|
||||||
class="btn button-default"
|
class="btn button-default"
|
||||||
@click="submitBanner(banner)"
|
@click="submitBanner(banner)"
|
||||||
>
|
>
|
||||||
{{ $t('general.submit') }}
|
{{ $t('settings.save') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="setting-item">
|
<div class="setting-item">
|
||||||
|
@ -266,7 +266,7 @@
|
||||||
class="btn button-default"
|
class="btn button-default"
|
||||||
@click="submitBackground(background)"
|
@click="submitBackground(background)"
|
||||||
>
|
>
|
||||||
{{ $t('general.submit') }}
|
{{ $t('settings.save') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
class="btn button-default"
|
class="btn button-default"
|
||||||
@click="changeEmail"
|
@click="changeEmail"
|
||||||
>
|
>
|
||||||
{{ $t('general.submit') }}
|
{{ $t('settings.save') }}
|
||||||
</button>
|
</button>
|
||||||
<p v-if="changedEmail">
|
<p v-if="changedEmail">
|
||||||
{{ $t('settings.changed_email') }}
|
{{ $t('settings.changed_email') }}
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
class="btn button-default"
|
class="btn button-default"
|
||||||
@click="changePassword"
|
@click="changePassword"
|
||||||
>
|
>
|
||||||
{{ $t('general.submit') }}
|
{{ $t('settings.save') }}
|
||||||
</button>
|
</button>
|
||||||
<p v-if="changedPassword">
|
<p v-if="changedPassword">
|
||||||
{{ $t('settings.changed_password') }}
|
{{ $t('settings.changed_password') }}
|
||||||
|
@ -133,7 +133,7 @@
|
||||||
class="btn button-default"
|
class="btn button-default"
|
||||||
@click="confirmDelete"
|
@click="confirmDelete"
|
||||||
>
|
>
|
||||||
{{ $t('general.submit') }}
|
{{ $t('settings.save') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -201,6 +201,7 @@
|
||||||
"direct_warning_to_all": "This post will be visible to all the mentioned users.",
|
"direct_warning_to_all": "This post will be visible to all the mentioned users.",
|
||||||
"direct_warning_to_first_only": "This post will only be visible to the mentioned users at the beginning of the message.",
|
"direct_warning_to_first_only": "This post will only be visible to the mentioned users at the beginning of the message.",
|
||||||
"posting": "Posting",
|
"posting": "Posting",
|
||||||
|
"post": "Post",
|
||||||
"preview": "Preview",
|
"preview": "Preview",
|
||||||
"preview_empty": "Empty",
|
"preview_empty": "Empty",
|
||||||
"empty_status_error": "Can't post an empty status with no files",
|
"empty_status_error": "Can't post an empty status with no files",
|
||||||
|
@ -231,6 +232,7 @@
|
||||||
"bio_placeholder": "e.g.\nHi, I'm Lain.\nI’m an anime girl living in suburban Japan. You may know me from the Wired.",
|
"bio_placeholder": "e.g.\nHi, I'm Lain.\nI’m an anime girl living in suburban Japan. You may know me from the Wired.",
|
||||||
"reason": "Reason to register",
|
"reason": "Reason to register",
|
||||||
"reason_placeholder": "This instance approves registrations manually.\nLet the administration know why you want to register.",
|
"reason_placeholder": "This instance approves registrations manually.\nLet the administration know why you want to register.",
|
||||||
|
"register": "Register",
|
||||||
"validations": {
|
"validations": {
|
||||||
"username_required": "cannot be left blank",
|
"username_required": "cannot be left blank",
|
||||||
"fullname_required": "cannot be left blank",
|
"fullname_required": "cannot be left blank",
|
||||||
|
@ -250,6 +252,7 @@
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"app_name": "App name",
|
"app_name": "App name",
|
||||||
|
"save": "Save changes",
|
||||||
"security": "Security",
|
"security": "Security",
|
||||||
"setting_changed": "Setting is different from default",
|
"setting_changed": "Setting is different from default",
|
||||||
"enter_current_password_to_confirm": "Enter your current password to confirm your identity",
|
"enter_current_password_to_confirm": "Enter your current password to confirm your identity",
|
||||||
|
|
Loading…
Reference in a new issue