Skip to content

Firefly III: a personal finances manager

Clean up strings #3404

James Cole3dd3d2cabbc5
diff --git a/resources/assets/js/components/passport/Clients.vue b/resources/assets/js/components/passport/Clients.vue
index 5719cef562..92ad305320 100644
--- a/resources/assets/js/components/passport/Clients.vue
+++ b/resources/assets/js/components/passport/Clients.vue
@@ -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')];
}
});
},
diff --git a/resources/assets/js/components/passport/PersonalAccessTokens.vue b/resources/assets/js/components/passport/PersonalAccessTokens.vue
index 9c440fc712..b601c94039 100644
--- a/resources/assets/js/components/passport/PersonalAccessTokens.vue
+++ b/resources/assets/js/components/passport/PersonalAccessTokens.vue
@@ -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') ];
}
});
},
diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php
index cdbf8e2005..9d4f8246be 100644
--- a/resources/lang/en_US/firefly.php
+++ b/resources/lang/en_US/firefly.php
@@ -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',