Skip to content

Commit b1104f0

Browse files
committed
Improved submit buttons texts
1 parent 512d9bf commit b1104f0

14 files changed

Lines changed: 90 additions & 88 deletions

File tree

src/Translations/ca/admin.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
''<?php
22

33
return [
44

@@ -57,7 +57,7 @@
5757
'level-1' => 'Tothom',
5858
'level-2' => 'agents assignats + admins.',
5959
'level-3' => 'admins.',
60-
60+
6161
/*
6262
* Page specific
6363
*/
@@ -106,15 +106,15 @@
106106
'agent-store-ok' => 'L\'usuari ":name" s\'ha afegit com a agent',
107107
'agent-updated-ok' => 'L\'agent ":name" s\'ha actualitzat correctament',
108108
'agent-excluded-ok' => 'L\'agent ":name" s\'ha exclòs',
109-
109+
110110
'agent-store-error-no-category' => 'Per afegir un agent cal marcar com a mínim una categoria',
111111

112112
// $admin_route_path/agent/edit
113113
'agent-edit-title' => 'Permisos d\'usuari per a :agent',
114114
'agent-edit-table-category' => 'Categoria',
115115
'agent-edit-table-agent' => 'Permisos d\'agent',
116116
'agent-edit-table-autoassign' => 'Tiquets nous auto.',
117-
117+
118118
// $admin_route_path/administrators/____
119119
'administrator-index-title' => 'Gestió d\'Administradors',
120120
'btn-create-new-administrator' => 'Crear nou administrador',
@@ -153,7 +153,7 @@
153153
'category-create-color' => 'Color',
154154
'category-create-new-tickets' => 'Qui pot crear tiquets',
155155
'category-create-new-tickets-help' => 'Nivell mínim a la categoria per a crear tiquets',
156-
'category-edit-title' => 'Editar Categoria: :name',
156+
'category-edit-title' => 'Editar Categoria: :name',
157157
'category-edit-closing-reasons' => 'Tancaments de tiquet',
158158
'category-edit-closing-reasons-help' => 'Opcions que l\'usuari haurà de triar quan tanqui un tiquet',
159159
'category-edit-reason' => 'Raó de tancament',
@@ -190,7 +190,7 @@
190190
'member-delete-own-user-error' => 'No pots eliminar el teu propi compte d\'usuari',
191191
'member-delete-agent' => 'Per a poder eliminar aquest membre, elimina primer els seus rols d\'agent',
192192
'member-with-tickets-delete' => 'No pots eliminar un membre amb tiquets relacionats',
193-
193+
194194
// $admin_route_path/priority/____
195195
'priority-index-title' => 'Gestió de prioritats',
196196
'priority-index-help' => 'Pots canviar l\'ordre de les prioritats arrosegant les files d\'aquesta taula. Aquest ordre s\'utilitzarà també a la llista de tiquets quan es seleccioni',
@@ -234,8 +234,8 @@
234234
'notice-index-js-delete' => 'Estàs segur/a que vols eliminar aquest avís?',
235235
'notice-index-help' => 'Quan es crei un tiquet indicant algun d\'aquests propietaris, passarà dues coses:<br /><br /><p>
236236
<ol><li>S\'enviarà un correu electrònic al <b>propietari</b>, amb una plantilla de correu específica.</li><li>Mentre el tiquet estigui <b>obert</b>, els usuaris del mateix departament veuran el tiquet com un <b>avís</b> quan vagin al menú de crear tiquet.</li></ol></p>',
237-
'notice-index-owner-alert' => 'Un usuari normal, quan crei un nou tiquet, no podrà veure cap usuari llistat aquí',
238-
237+
'notice-index-owner-alert' => 'Un usuari normal, quan crei un nou tiquet, no podrà veure cap usuari llistat aquí',
238+
239239
// $admin_route_path/configuration/____
240240
'config-index-title' => 'Paràmetres de configuració',
241241
'config-index-subtitle' => 'configuració',
@@ -260,7 +260,7 @@
260260
'config-edit-serialize' => 'Obtenir la cadena serialitzada dels valors modificats (per ser introduït en el camp)', //Get the serialized string of the changed values (to be entered in the field)
261261
'config-edit-should-serialize' => 'Cadena serialitzada', //Revisar Serialize
262262
'config-edit-eval-warning' => 'When checked, the server will run eval()!
263-
Don\'t use this if eval() is disabled on your server or if you don\'t exactly know what you are doing!
263+
Don\'t use this if eval() is disabled on your server or if you don\'t exactly know what you are doing!
264264
Exact code executed:', //Revisar
265265
'config-edit-reenter-password' => 'Torneu a introduir la contrasenya',
266266
'config-edit-auth-failed' => 'La contrasenya no coincideix',

src/Translations/ca/lang.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
'btn-delete' => 'Esborrar',
111111
'btn-download' => 'Descarregar',
112112
'btn-edit' => 'Editar',
113-
'btn-mark-complete' => 'Tancar Tiquet',
113+
'btn-mark-complete' => 'Tancar',
114114
'btn-submit' => 'Enviar',
115115

116116
// Vocabulary
@@ -148,6 +148,7 @@
148148
'last-update' => 'Última actualització',
149149
'limit-date' => 'Data límit',
150150
'list' => 'Llista',
151+
'mark-complete' => 'Tancar tiquet',
151152
'member' => 'Membre',
152153
'name' => 'Nom',
153154
'newest-tickets-adjective' => 'Nous',

src/Translations/en/lang.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
'btn-delete' => 'Delete',
111111
'btn-download' => 'Download',
112112
'btn-edit' => 'Edit',
113-
'btn-mark-complete' => 'Mark Complete',
113+
'btn-mark-complete' => 'Complete',
114114
'btn-submit' => 'Submit',
115115

116116

@@ -149,6 +149,7 @@
149149
'last-update' => 'Last Update',
150150
'limit-date' => 'Limit date',
151151
'list' => 'List',
152+
'mark-complete' => 'Mark Complete',
152153
'member' => 'Member',
153154
'name' => 'Name',
154155
'newest-tickets-adjective' => 'New',

src/Views/admin/administrator/create.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
@include('panichd::shared.common')
55

6-
@section('content')
6+
@section('content')
77
<div class="card bg-light">
88
<div class="card-header">
99
<h2>{{ trans('panichd::admin.administrator-create-title') }}</h2>
@@ -20,7 +20,7 @@
2020
<tr>
2121
<td class="text-center">
2222
{!! link_to_route($setting->grab('admin_route').'.administrator.index', trans('panichd::admin.btn-back'), null, ['class' => 'btn btn-light']) !!}
23-
{!! CollectiveForm::submit(trans('panichd::admin.btn-submit'), ['class' => 'btn btn-primary']) !!}
23+
{!! CollectiveForm::submit(trans('panichd::lang.btn-add'), ['class' => 'btn btn-primary']) !!}
2424
</td>
2525
</tr>
2626
<tbody>

src/Views/admin/category/form.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
</div>
131131
</div>
132132
@if(isset($category))
133-
{!! CollectiveForm::submit(trans('panichd::admin.btn-update'), ['class' => 'btn btn-primary']) !!}
133+
{!! CollectiveForm::submit(trans('panichd::lang.update'), ['class' => 'btn btn-primary']) !!}
134134
@else
135-
{!! CollectiveForm::submit(trans('panichd::admin.btn-submit'), ['class' => 'btn btn-primary']) !!}
135+
{!! CollectiveForm::submit(trans('panichd::lang.btn-add'), ['class' => 'btn btn-primary']) !!}
136136
@endif

src/Views/admin/configuration/create.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="card bg-light">
1111
<div class="card-header">
1212
<h3>{{ trans('panichd::admin.config-create-title') }}
13-
<div class="panel-nav float-right" style="margin-top: -7px;">
13+
<div class="panel-nav float-right" style="margin-top: -7px;">
1414
{!! link_to_route(
1515
$setting->grab('admin_route').'.configuration.index',
1616
trans('panichd::admin.btn-back'), null,
@@ -58,7 +58,7 @@
5858
<!-- Submit Field -->
5959
<div class="form-group row">
6060
<div class="col-sm-10 offset-sm-2">
61-
{!! CollectiveForm::submit(trans('panichd::admin.btn-submit'), ['class' => 'btn btn-primary']) !!}
61+
{!! CollectiveForm::submit(trans('panichd::admin.btn-add'), ['class' => 'btn btn-primary']) !!}
6262
</div>
6363
</div>
6464

src/Views/admin/configuration/edit.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function changeSerialize(e){
4040
<div class="card bg-light">
4141
<div class="card-header">
4242
<h3>{{ trans('panichd::admin.config-edit-title') }}
43-
<div class="panel-nav float-right" style="margin-top: -7px;">
43+
<div class="panel-nav float-right" style="margin-top: -7px;">
4444
{!! link_to_route(
4545
$setting->grab('admin_route').'.configuration.index',
4646
trans('panichd::admin.btn-back'), null,
@@ -145,7 +145,7 @@ function changeSerialize(e){
145145
<!-- Submit Field -->
146146
<div class="form-group row">
147147
<div class="col-sm-10 offset-sm-2">
148-
{!! CollectiveForm::submit(trans('panichd::admin.btn-submit'), ['class' => 'btn btn-primary']) !!}
148+
{!! CollectiveForm::submit(trans('panichd::lang.update'), ['class' => 'btn btn-primary']) !!}
149149
</div>
150150
</div>
151151

src/Views/admin/member/modal.blade.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,58 +13,58 @@
1313
'data-route-create' => route($setting->grab('admin_route').'.member.store')
1414
]) !!}
1515
{!! CollectiveForm::hidden('id', null, ['id' => 'id_input']) !!}
16-
16+
1717
<div class="form-group row">
1818
{!! CollectiveForm::label('name', trans('panichd::lang.name') . trans('panichd::lang.colon'), [
1919
'class' => 'col-form-label col-lg-3',
2020
]) !!}
21-
21+
2222
<div class="col-lg-9">
2323
{!! CollectiveForm::text('name', null , [
2424
'id' => 'name_input',
2525
'class' => 'form-control',
2626
]) !!}
2727
</div>
2828
</div>
29-
29+
3030
<div class="form-group row">
3131
{!! CollectiveForm::label('email', trans('panichd::lang.email') . trans('panichd::lang.colon'), [
3232
'class' => 'col-form-label col-lg-3',
3333
]) !!}
34-
34+
3535
<div class="col-lg-9">
3636
{!! CollectiveForm::text('email', null , [
3737
'id' => 'email_input',
3838
'class' => 'form-control',
3939
]) !!}
4040
</div>
4141
</div>
42-
42+
4343
<div class="form-group row">
4444
{!! CollectiveForm::label('password', trans('panichd::admin.member-password-label') . trans('panichd::lang.colon'), [
4545
'id' => 'password_label',
4646
'class' => 'col-form-label col-lg-3',
4747
]) !!}
48-
48+
4949
<div class="col-lg-9">
5050
<input type="password" name="password" value="" id="password_input" class="form-control">
5151
</div>
5252
</div>
53-
53+
5454
<div class="form-group row">
5555
{!! CollectiveForm::label('password_confirmation', trans('panichd::admin.member-password-repeat-label') . trans('panichd::lang.colon'), [
5656
'class' => 'col-form-label col-lg-3',
5757
]) !!}
58-
58+
5959
<div class="col-lg-9">
6060
<input type="password" name="password_confirmation" value="" id="password_confirmation_input" class="form-control">
6161
</div>
6262
</div>
63-
64-
63+
64+
6565
</div>
6666
<div class="modal-footer">
67-
<button type="submit" class="btn btn-danger">{{ trans('panichd::lang.btn-submit') }}</button>
67+
<button type="submit" class="btn btn-danger">{{ trans('panichd::lang.btn-add') }}</button>
6868
</div>
6969
{!! CollectiveForm::close() !!}
7070
</div>

src/Views/admin/priority/form.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
@if(isset($priority))
1616
{!! CollectiveForm::submit(trans('panichd::admin.btn-update'), ['class' => 'btn btn-primary']) !!}
1717
@else
18-
{!! CollectiveForm::submit(trans('panichd::admin.btn-submit'), ['class' => 'btn btn-primary']) !!}
18+
{!! CollectiveForm::submit(trans('panichd::lang.btn-add'), ['class' => 'btn btn-primary']) !!}
1919
@endif
2020
</div>
2121
</div>

src/Views/admin/status/form.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
@if(isset($status))
1616
{!! CollectiveForm::submit(trans('panichd::admin.btn-update'), ['class' => 'btn btn-primary']) !!}
1717
@else
18-
{!! CollectiveForm::submit(trans('panichd::admin.btn-submit'), ['class' => 'btn btn-primary']) !!}
18+
{!! CollectiveForm::submit(trans('panichd::lang.btn-add'), ['class' => 'btn btn-primary']) !!}
1919
@endif
2020
</div>
2121
</div>

0 commit comments

Comments
 (0)