Refactor strings #3404

This commit is contained in:
James Cole
2020-05-29 06:22:13 +02:00
parent 8b6bd296e1
commit b978de78e4

View File

@@ -34,23 +34,23 @@
<div class="box box-primary"> <div class="box box-primary">
<div class="box-header with-border"> <div class="box-header with-border">
<h3 class="box-title"> <h3 class="box-title">
{{ $t('profile.oauth_clients') }} {{ $t('firefly.profile_oauth_clients') }}
</h3> </h3>
</div> </div>
<div class="box-body"> <div class="box-body">
<!-- Current Clients --> <!-- Current Clients -->
<p class="m-b-none" v-if="clients.length === 0"> <p class="m-b-none" v-if="clients.length === 0">
{{ $t('profile.oauth_no_clients') }} {{ $t('firefly.profile_oauth_no_clients') }}
</p> </p>
<table class="table table-borderless m-b-none" v-if="clients.length > 0"> <table class="table table-borderless m-b-none" v-if="clients.length > 0">
<caption>{{ $t('profile.oauth_clients_header') }}</caption> <caption>{{ $t('firefly.profile_oauth_clients_header') }}</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">{{ $t('profile.oauth_client_id') }}</th> <th scope="col">{{ $t('firefly.profile_oauth_client_id') }}</th>
<th scope="col">{{ $t('firefly.name') }}</th> <th scope="col">{{ $t('firefly.name') }}</th>
<th scope="col">{{ $t('profile.oauth_client_secret') }}</th> <th scope="col">{{ $t('firefly.profile_oauth_client_secret') }}</th>
<th scope="col"></th> <th scope="col"></th>
<th scope="col"></th> <th scope="col"></th>
</tr> </tr>
@@ -92,7 +92,7 @@
</div> </div>
<div class="box-footer"> <div class="box-footer">
<a class="action-link btn btn-success" @click="showCreateClientForm"> <a class="action-link btn btn-success" @click="showCreateClientForm">
{{ $t('profile.oauth_create_new_client') }} {{ $t('firefly.profile_oauth_create_new_client') }}
</a> </a>
</div> </div>
</div> </div>
@@ -105,7 +105,7 @@
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title"> <h4 class="modal-title">
{{ $t('profile.oauth_create_client') }} {{ $t('firefly.profile_oauth_create_client') }}
</h4> </h4>
</div> </div>
@@ -132,21 +132,21 @@
@keyup.enter="store" v-model="createForm.name"> @keyup.enter="store" v-model="createForm.name">
<span class="help-block"> <span class="help-block">
{{ $t('profile.oauth_name_help') }} {{ $t('firefly.profile_oauth_name_help') }}
</span> </span>
</div> </div>
</div> </div>
<!-- Redirect URL --> <!-- Redirect URL -->
<div class="form-group"> <div class="form-group">
<label class="col-md-3 control-label">{{ $t('profile.oauth_redirect_url') }}</label> <label class="col-md-3 control-label">{{ $t('firefly.profile_oauth_redirect_url') }}</label>
<div class="col-md-7"> <div class="col-md-7">
<input type="text" class="form-control" name="redirect" <input type="text" class="form-control" name="redirect"
@keyup.enter="store" v-model="createForm.redirect"> @keyup.enter="store" v-model="createForm.redirect">
<span class="help-block"> <span class="help-block">
{{ $t('profile.oauth_redirect_url_help') }} {{ $t('firefly.profile_oauth_redirect_url_help') }}
</span> </span>
</div> </div>
</div> </div>
@@ -173,7 +173,7 @@
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title"> <h4 class="modal-title">
{{ $t('profile.oauth_edit_client') }} {{ $t('firefly.profile_oauth_edit_client') }}
</h4> </h4>
</div> </div>
@@ -200,21 +200,21 @@
@keyup.enter="update" v-model="editForm.name"> @keyup.enter="update" v-model="editForm.name">
<span class="help-block"> <span class="help-block">
{{ $t('profile.oauth_name_help') }} {{ $t('firefly.profile_oauth_name_help') }}
</span> </span>
</div> </div>
</div> </div>
<!-- Redirect URL --> <!-- Redirect URL -->
<div class="form-group"> <div class="form-group">
<label class="col-md-3 control-label">{{ $t('profile.oauth_redirect_url') }}</label> <label class="col-md-3 control-label">{{ $t('firefly.profile_oauth_redirect_url') }}</label>
<div class="col-md-7"> <div class="col-md-7">
<input type="text" class="form-control" name="redirect" <input type="text" class="form-control" name="redirect"
@keyup.enter="update" v-model="editForm.redirect"> @keyup.enter="update" v-model="editForm.redirect">
<span class="help-block"> <span class="help-block">
{{ $t('profile.oauth_redirect_url_help') }} {{ $t('firefly.profile_oauth_redirect_url_help') }}
</span> </span>
</div> </div>
</div> </div>