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

View File

@ -20,8 +20,17 @@ return [
'profile' => 'Profile', 'profile' => 'Profile',
'edit' => 'Edit', 'edit' => 'Edit',
'delete' => 'Delete', 'delete' => 'Delete',
'create' => 'Create',
'save' => 'Save', 'save' => 'Save',
'close' => 'Close', 'close' => 'Close',
'demo_do_not_post_sensitive_data' => 'This is a demo app, do not post any sensitive data', 'demo_do_not_post_sensitive_data' => 'This is a demo app, do not post any sensitive data',
'selected' => 'selected', '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', 'service' => 'Service',
'account' => 'Account', 'account' => 'Account',
'accounts' => 'Accounts',
'icon' => 'Icon', 'icon' => 'Icon',
'new' => 'New',
'no_account_here' => 'No 2FA here!', 'no_account_here' => 'No 2FA here!',
'add_first_account' => 'Add your first account', 'add_first_account' => 'Add your first account',
'use_full_form' => 'Or use the full form', 'use_full_form' => 'Or use the full form',
'add_one' => 'Add one', 'add_one' => 'Add one',
'manage' => 'Manage',
'done' => 'Done',
'forms' => [ 'forms' => [
'service' => [ 'service' => [
'placeholder' => 'example.com', 'placeholder' => 'example.com',
@ -48,8 +46,6 @@ return [
'title' => 'Lock it', 'title' => 'Lock it',
], ],
'choose_image' => 'Choose an image…', 'choose_image' => 'Choose an image…',
'create' => 'Create',
'save' => 'Save',
'test' => 'Test', 'test' => 'Test',
], ],
'stream' => [ 'stream' => [