Bug 24786: (QA follow-up) String fix

This patch updates 'Branch default' to 'Library default' on the login
page to match the coding terminology guidelines.

We also update the table heading on the cash registers management page
to match the terminology above for clarity.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Martin Renvoize 2020-11-04 11:52:06 +00:00 committed by Jonathan Druart
parent c551b0719d
commit 27c6399fb0
2 changed files with 4 additions and 4 deletions

View File

@ -46,9 +46,9 @@
[% CASE 'error_on_update' %]
An error occurred when updating this cash register.
[% CASE 'success_on_default' %]
Branch default updated successfully.
Library default updated successfully.
[% CASE 'error_on_update' %]
An error on setting branch default.
An error on setting library default.
[% CASE 'success_on_archive' %]
Cash register archived successfully.
[% CASE 'success_on_restore' %]
@ -129,7 +129,7 @@
<th>Name</th>
<th>Description</th>
<th>Library</th>
<th>Default</th>
<th>Library default</th>
<th>Initial float</th>
<th>Actions</th>
</thead>

View File

@ -101,7 +101,7 @@
<p>
<label for="register_id">Cash register:</label>
<select name="register_id" id="register_id" class="input" tabindex="4">
<option id="noregister" value="" selected="selected">Branch default</option>
<option id="noregister" value="" selected="selected">Library default</option>
[% FOREACH r IN Registers.all() %]
<option class="[% r.branch | html %] [% IF r.branch_default %]default[% END %]" value="[% r.id | html %]" disabled hidden>[% r.name | html %]</option>
[% END %]