[Koha-patches] [PATCH] Bug 16620: Translatability: Fix problem with isolated word "please" in auth.tt

Srdjan srdjan at catalyst.net.nz
Thu Jun 2 02:58:46 CEST 2016


From: Marc Véron <veron at veron.ch>

This patch fixes a translatability problem (syntax in different languages) with a tag-isolated word "please"
in koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt

To test:
- Verify in code that there is no sentence spliting by a-tags (lines 80/84).

Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
---
 koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
index 8887812..411c563 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
@@ -76,13 +76,12 @@
 <p>Sorry, the CAS login failed.</p>
 [% END %]
 
-<p>If you have a CAS account,
 [% IF ( casServerUrl ) %]
-    please <a href="[% casServerUrl %]">click here to login</a>.<p>
+    <p><a href="[% casServerUrl %]">If you have a CAS account, please click here to login</a>.<p>
 [% END %]
 
 [% IF ( casServersLoop ) %]
-please choose against which one you would like to authenticate: </p>
+    <p>If you have a CAS account, please choose against which one you would like to authenticate:</p>
 <ul>
     [% FOREACH casServer IN casServersLoop %]
         <li><a href="[% casServer.value %]">[% casServer.name %]</a></li>
-- 
2.7.4


More information about the Koha-patches mailing list