[Koha-patches] [PATCH] Bug 16540: Translatability in opac-auth.tt (tag-splitted sentences)

Srdjan srdjan at catalyst.net.nz
Mon May 30 08:10:56 CEST 2016


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

This patch removes tag-splitting from 2 sentences in pac-auth.tt

To test:
- Review code changes and verify that following sentences
  are no longer splitted by <a>-tags:
  "Logout and try again with a different user"
  "Try to log in using a different Google account"

UPDATE: Amended to fix a tiny typo
Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
---
 koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt
index 3b1aac3..23a2918 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt
@@ -30,7 +30,7 @@
                                 <h3>Access denied</h3>
                                 <p>Sorry, the system doesn't think you have permission to access this page. </p>
                                 [% IF SCO_login %]
-                                    <p><a href="/cgi-bin/koha/sco/sco-main.pl?logout.x=1">Logout</a> and try again with a different user</p>
+                                    <p><a href="/cgi-bin/koha/sco/sco-main.pl?logout.x=1">Logout and try again with a different user</a></p>
                                 [% END %]
                             </div>
                         [% END %]
@@ -146,7 +146,7 @@
                                 <h4>Google login</h4>
                                 <p>Sorry, your Google login failed. <span class="error">[% invalidGoogleOpenIDConnectLogin %]</span></p>
                                 <p>Please note that the Google login will only work if you are using the e-mail address registered with this library.</p>
-                                <p>If you want to, you can try to <a href="/cgi-bin/koha/svc/auth/googleopenidconnect?reauthenticate=select_account">log in using a different account</a>
+                                <p><a href="/cgi-bin/koha/svc/auth/googleopenidconnect?reauthenticate=select_account">Try to log in using a different Google account</a>
                                   [% END %]
                                   <a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-primary" id="openid_connect">Log in with Google</a>
                               <p>If you do not have a Google account, but do have a local account, you can still log in: </p>
-- 
2.7.4


More information about the Koha-patches mailing list