summaryrefslogtreecommitdiff
authorMarc Véron <veron@veron.ch>2016-05-23 12:16:02 (GMT)
committer Kyle M Hall <kyle@bywatersolutions.com>2016-06-10 17:37:56 (GMT)
commit593dee4ea02971f8932d15fe1ba4dc157a379bac (patch) (side-by-side diff)
tree9683814d5d5534c9ba48cec250ca5e9d41f7c2fd
parente9d6ac9478606d9d123a22635719b99d985b9538 (diff)
Bug 16560: Translatability: Issues with "The entered " in opac-memberentry.tt
This patch fixes two splitted sentences to avoid translation issues: The entered <a href="#borrower_cardnumber">card number</a> is the wrong length. The entered <a href="#borrower_cardnumber">card number</a> is already in use. To test: Apply patch and verify that html in the 2 that are changed is correct and that they are not splitted by a-tags. Note: I could not figure out under which conditions this code displays in the OPAC self registration form. Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt4
1 files changed, 2 insertions, 2 deletions
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
index 2dc63f5..d55796e 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
@@ -73,9 +73,9 @@
[% IF cardnumber_wrong_length || cardnumber_already_exists %]
<div class="alert alert-error">
[% IF cardnumber_wrong_length %]
- <strong>The entered <a href="#borrower_cardnumber">card number</a> is the wrong length.</strong>
+ <a href="#borrower_cardnumber"><strong>The entered card number is the wrong length.</strong></a>
[% ELSIF cardnumber_already_exists %]
- <strong>The entered <a href="#borrower_cardnumber">card number</a> is already in use.</strong>
+ <a href="#borrower_cardnumber"><strong>The entered card number is already in use.</strong></a>
[% END %]
Please correct this and resubmit.
</div>