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:
rinpatch 2021-03-15 13:28:33 +03:00
parent a00212a3bb
commit 47719571e4
7 changed files with 14 additions and 11 deletions

View File

@ -53,7 +53,7 @@
type="submit"
class="btn button-default btn-block"
>
{{ $t('general.submit') }}
{{ $t('settings.save') }}
</button>
</div>
</div>

View File

@ -272,7 +272,7 @@
disabled
class="btn button-default"
>
{{ $t('general.submit') }}
{{ $t('post_status.post') }}
</button>
<!-- touchstart is used to keep the OSK at the same position after a message send -->
<button
@ -282,7 +282,7 @@
@touchstart.stop.prevent="postStatus($event, newStatus)"
@click.stop.prevent="postStatus($event, newStatus)"
>
{{ $t('general.submit') }}
{{ $t('post_status.post') }}
</button>
</div>
<div

View File

@ -230,7 +230,7 @@
type="submit"
class="btn button-default"
>
{{ $t('general.submit') }}
{{ $t('registration.register') }}
</button>
</div>
</div>

View File

@ -24,7 +24,7 @@
class="btn button-default"
@click="updateNotificationSettings"
>
{{ $t('general.submit') }}
{{ $t('settings.save') }}
</button>
</div>
</div>

View File

@ -153,7 +153,7 @@
class="btn button-default"
@click="updateProfile"
>
{{ $t('general.submit') }}
{{ $t('settings.save') }}
</button>
</div>
<div class="setting-item">
@ -227,7 +227,7 @@
class="btn button-default"
@click="submitBanner(banner)"
>
{{ $t('general.submit') }}
{{ $t('settings.save') }}
</button>
</div>
<div class="setting-item">
@ -266,7 +266,7 @@
class="btn button-default"
@click="submitBackground(background)"
>
{{ $t('general.submit') }}
{{ $t('settings.save') }}
</button>
</div>
</div>

View File

@ -22,7 +22,7 @@
class="btn button-default"
@click="changeEmail"
>
{{ $t('general.submit') }}
{{ $t('settings.save') }}
</button>
<p v-if="changedEmail">
{{ $t('settings.changed_email') }}
@ -60,7 +60,7 @@
class="btn button-default"
@click="changePassword"
>
{{ $t('general.submit') }}
{{ $t('settings.save') }}
</button>
<p v-if="changedPassword">
{{ $t('settings.changed_password') }}
@ -133,7 +133,7 @@
class="btn button-default"
@click="confirmDelete"
>
{{ $t('general.submit') }}
{{ $t('settings.save') }}
</button>
</div>
</div>

View File

@ -201,6 +201,7 @@
"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.",
"posting": "Posting",
"post": "Post",
"preview": "Preview",
"preview_empty": "Empty",
"empty_status_error": "Can't post an empty status with no files",
@ -231,6 +232,7 @@
"bio_placeholder": "e.g.\nHi, I'm Lain.\nIm an anime girl living in suburban Japan. You may know me from the Wired.",
"reason": "Reason to register",
"reason_placeholder": "This instance approves registrations manually.\nLet the administration know why you want to register.",
"register": "Register",
"validations": {
"username_required": "cannot be left blank",
"fullname_required": "cannot be left blank",
@ -250,6 +252,7 @@
},
"settings": {
"app_name": "App name",
"save": "Save changes",
"security": "Security",
"setting_changed": "Setting is different from default",
"enter_current_password_to_confirm": "Enter your current password to confirm your identity",