Clean up strings #3404

This commit is contained in:
James Cole 2020-05-29 06:34:39 +02:00
parent 94e7c3527f
commit 3dd3d2cabb
3 changed files with 13 additions and 9 deletions

View File

@ -112,7 +112,7 @@
<div class="modal-body">
<!-- Form Errors -->
<div class="alert alert-danger" v-if="createForm.errors.length > 0">
<p><strong>{{ $t('firefly.whoops') }}</strong> {{ $t('firefly.something_wrong') }}</p>
<p><strong>{{ $t('firefly.profile_whoops') }}</strong> {{ $t('firefly.profile_something_wrong') }}</p>
<br>
<ul>
<li v-for="error in createForm.errors">
@ -180,7 +180,7 @@
<div class="modal-body">
<!-- Form Errors -->
<div class="alert alert-danger" v-if="editForm.errors.length > 0">
<p><strong>{{ $t('firefly.whoops') }}</strong> {{ $t('firefly.something_wrong') }}</p>
<p><strong>{{ $t('firefly.profile_whoops') }}</strong> {{ $t('firefly.profile_something_wrong') }}</p>
<br>
<ul>
<li v-for="error in editForm.errors">
@ -226,7 +226,7 @@
<button type="button" class="btn btn-default" data-dismiss="modal">{{ $t('firefly.close') }}</button>
<button type="button" class="btn btn-primary" @click="update">
{{ $t('firefly.save_changes') }}
{{ $t('firefly.profile_save_changes') }}
</button>
</div>
</div>
@ -356,7 +356,7 @@
if (typeof error.response.data === 'object') {
form.errors = _.flatten(_.toArray(error.response.data));
} else {
form.errors = [$t('firefly.try_again')];
form.errors = [$t('firefly.profile_try_again')];
}
});
},

View File

@ -93,7 +93,7 @@
<div class="modal-body">
<!-- Form Errors -->
<div class="alert alert-danger" v-if="form.errors.length > 0">
<p><strong>{{ $t('firefly.whoops') }}</strong> {{ $t('firefly.something_wrong') }}</p>
<p><strong>{{ $t('firefly.profile_whoops') }}</strong> {{ $t('firefly.profile_something_wrong') }}</p>
<br>
<ul>
<li v-for="error in form.errors">
@ -271,7 +271,7 @@
if (typeof error.response.data === 'object') {
this.form.errors = _.flatten(_.toArray(error.response.data));
} else {
this.form.errors = [ $t('firefly.try_again') ];
this.form.errors = [ $t('firefly.profile_try_again') ];
}
});
},

View File

@ -664,7 +664,7 @@ return [
'profile_oauth_name_help' => 'Something your users will recognize and trust.',
'profile_oauth_redirect_url' => 'Redirect URL',
'profile_oauth_redirect_url_help' => 'Your application\'s authorization callback URL.',
'profile_authorized_apps' => 'Authorized Applications',
'profile_authorized_apps' => 'Authorized applications',
'profile_authorized_clients' => 'Authorized clients',
'profile_scopes' => 'Scopes',
'profile_revoke' => 'Revoke',
@ -672,9 +672,13 @@ return [
'profile_personal_access_token' => 'Personal Access Token',
'profile_personal_access_token_explanation' => 'Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.',
'profile_no_personal_access_token' => 'You have not created any personal access tokens.',
'profile_create_new_token' => 'Create New Token',
'profile_create_token' => 'Create Token',
'profile_create_new_token' => 'Create new token',
'profile_create_token' => 'Create token',
'profile_create' => 'Create',
'profile_save_changes' => 'Save changes',
'profile_whoops' => 'Whoops!',
'profile_something_wrong' => 'Something went wrong!',
'profile_try_again' => 'Something went wrong. Please try again.',
// export data:
'import_and_export_menu' => 'Import and export',