Refactor some lang terms

This commit is contained in:
Bubka 2020-10-25 23:55:59 +01:00
parent afc2095e27
commit 9b29c4d294
4 changed files with 13 additions and 8 deletions

View File

@ -20,7 +20,7 @@
<div class="column quickform-footer">
<div class="field is-grouped is-grouped-centered">
<div class="control">
<v-button :isLoading="form.isBusy" >{{ $t('twofaccounts.forms.save') }}</v-button>
<v-button :isLoading="form.isBusy" >{{ $t('commons.save') }}</v-button>
</div>
<div class="control">
<button type="button" class="button is-text" @click="cancelCreation">{{ $t('commons.cancel') }}</button>
@ -93,7 +93,7 @@
<field-error :form="form" field="icon" class="help-for-file" />
<div class="field is-grouped">
<div class="control">
<v-button :isLoading="form.isBusy" >{{ $t('twofaccounts.forms.create') }}</v-button>
<v-button :isLoading="form.isBusy" >{{ $t('commons.create') }}</v-button>
</div>
<div class="control" v-if="form.uri">
<button type="button" class="button is-success" @click="previewAccount">{{ $t('twofaccounts.forms.test') }}</button>

View File

@ -49,7 +49,7 @@
<field-error :form="form" field="icon" class="help-for-file" />
<div class="field is-grouped">
<div class="control">
<v-button :isLoading="form.isBusy" >{{ $t('twofaccounts.forms.save') }}</v-button>
<v-button :isLoading="form.isBusy" >{{ $t('commons.save') }}</v-button>
</div>
<div class="control">
<button type="button" class="button is-text" @click="cancelCreation">{{ $t('commons.cancel') }}</button>

View File

@ -20,8 +20,17 @@ return [
'profile' => 'Profile',
'edit' => 'Edit',
'delete' => 'Delete',
'create' => 'Create',
'save' => 'Save',
'close' => 'Close',
'demo_do_not_post_sensitive_data' => 'This is a demo app, do not post any sensitive data',
'selected' => 'selected',
'name' => 'Name',
'manage' => 'Manage',
'done' => 'Done',
'new' => 'New',
'back' => 'Back',
'move' => 'Move',
'all' => 'All',
'rename' => 'Rename',
];

View File

@ -15,14 +15,12 @@ return [
'service' => 'Service',
'account' => 'Account',
'accounts' => 'Accounts',
'icon' => 'Icon',
'new' => 'New',
'no_account_here' => 'No 2FA here!',
'add_first_account' => 'Add your first account',
'use_full_form' => 'Or use the full form',
'add_one' => 'Add one',
'manage' => 'Manage',
'done' => 'Done',
'forms' => [
'service' => [
'placeholder' => 'example.com',
@ -48,8 +46,6 @@ return [
'title' => 'Lock it',
],
'choose_image' => 'Choose an image…',
'create' => 'Create',
'save' => 'Save',
'test' => 'Test',
],
'stream' => [