Bug 36091: Spelling: Use "card number" instead of cardnumber in text

This patch replaces the term "cardnumber" with "card number" in labels
and text where the patron's library card number is referred to. Where
the database column is referenced "cardnumber" is kept.

A full test plan would be very time-consuming and I think examining the
patch should be verification enough for changes which are limited to
adding a space.

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Verified that the patch only changes "visible" text, and not
references to the database column.
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit f3feebbfe9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Owen Leonard 2024-02-14 14:11:22 +00:00 committed by Fridolin Somers
parent d4e1ea5d71
commit 154d88c8d7
8 changed files with 10 additions and 10 deletions

View File

@ -283,7 +283,7 @@
</div>
[% ELSE %]
<div id="missing-cardnumber-picture-upload">
<p>The patron must have a cardnumber before a patron photo can be uploaded.</p>
<p>The patron must have a card number before a patron photo can be uploaded.</p>
</div>
[% END %]
</div>

View File

@ -1,6 +1,6 @@
[% FILTER collapse %]
[%- PROCESS 'i18n.inc' -%]
[%- BLOCK -%]
"[% t("Manager name") | html %]"[% sep | html %]"[% t("Patron cardnumber") | html %]"[% sep | html %]"[% t("Patron name") | html %]"[% sep | html %]"[% t("Transaction library") | html %]"[% sep | html %]"[% t("Transaction date") | html %]"[% sep | html %]"[% t("Updated") | html %]"[% sep | html %]"[% t("Transaction type") | html %]"[% sep |html %]"[% t("Notes") | html %]"[% sep | html %]"[% t("Amount") | html %]"[% sep | html %]"[% t("Title") | html %]"[% sep | html %]"[% t("Barcode") | html %]"[% sep | html %]"[% t("Item type") | html %]"
"[% t("Manager name") | html %]"[% sep | html %]"[% t("Patron card number") | html %]"[% sep | html %]"[% t("Patron name") | html %]"[% sep | html %]"[% t("Transaction library") | html %]"[% sep | html %]"[% t("Transaction date") | html %]"[% sep | html %]"[% t("Updated") | html %]"[% sep | html %]"[% t("Transaction type") | html %]"[% sep |html %]"[% t("Notes") | html %]"[% sep | html %]"[% t("Amount") | html %]"[% sep | html %]"[% t("Title") | html %]"[% sep | html %]"[% t("Barcode") | html %]"[% sep | html %]"[% t("Item type") | html %]"
[%- END -%]
[%- END -%]

View File

@ -11,7 +11,7 @@
[% CASE 'success_on_insert_patron' %]
<div class="alert alert-success">Administrator account created!</div>
[% CASE 'error_on_insert_patron' %]
<div class="alert alert-danger">The patron has not been created! Cardnumber or Userid may already exist.</div>
<div class="alert alert-danger">The patron has not been created! Card number or Userid may already exist.</div>
[% CASE 'ERROR_cardnumber_already_exists' %]
<div class="alert alert-danger">Card number already in use.</div>
[% CASE 'ERROR_cardnumber_length' %]

View File

@ -366,7 +366,7 @@ Enhanced content:
- Overdrive uses the patron's
- pref: OverDriveUsername
choices:
cardnumber: cardnumber
cardnumber: card number
userid: user name
- for user access to OverDrive. <br />
- A password is

View File

@ -198,7 +198,7 @@ Patrons:
email: primary email
emailpro: secondary email
B_email: alternate email
cardnumber: cardnumber
cardnumber: card number
"OFF": first valid email address
- 'for sending out email notices.'
- '<br><strong>NOTE:</strong> If set to "first valid", the order in which the email addresses are checked is set in <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EmailFieldPrecedence">EmailFieldPrecedence</a>.'

View File

@ -430,10 +430,10 @@
</div>
[% END %]
<div class="form-group">
<label class="sr-only" for="input-patron-cardnumber">Cardnumber</label>
<label class="sr-only" for="input-patron-cardnumber">Card number</label>
<div class="input-group">
<div class="input-group-addon">Search a patron</div>
<input autocomplete="off" id="find-patron" class="form-control" type="text" style="width:25%" class="noEnterSubmit" placeholder="Enter patron cardnumber or name"//>
<input autocomplete="off" id="find-patron" class="form-control" type="text" style="width:25%" class="noEnterSubmit" placeholder="Enter patron card number or name"//>
</div>
</div>
[% ELSE %]

View File

@ -188,7 +188,7 @@
</ol>
</fieldset>
<ol>
<li><label>Name or cardnumber:</label><input type="text" name="borname" value="[% filters.borname | html %]" /></li>
<li><label>Name or card number:</label><input type="text" name="borname" value="[% filters.borname | html %]" /></li>
<li><label>Patron category:</label><select name="borcat" id="borcat"><option value="">Any</option>
[% FOREACH borcatloo IN borcatloop %]
[% IF ( borcatloo.selected ) %]<option value="[% borcatloo.value | html %]" selected="selected">[% borcatloo.catname | html %]</option>[% ELSE %]<option value="[% borcatloo.value | html %]">[% borcatloo.catname | html %]</option>[% END %]

View File

@ -135,10 +135,10 @@ legend:hover {
<li id="ERROR_login_exist">Username already exists or could not create unique new one.</li>
[% END %]
[% IF ERROR_cardnumber_already_exists %]
<li id="ERROR_cardnumber">Cardnumber already in use.</li>
<li id="ERROR_cardnumber">Card number already in use.</li>
[% END %]
[% IF ERROR_cardnumber_length %]
<li id="ERROR_cardnumber">Cardnumber length is incorrect.</li>
<li id="ERROR_cardnumber">Card number length is incorrect.</li>
[% END %]
[% IF ( ERROR_age_limitations ) %]
<li id="ERROR_age_limitations">Patron's age is incorrect for their category.