From 98a8dca48298fd329c16831a6d5183421ceefd0d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Wed, 1 Jun 2016 21:26:55 +0200 Subject: [PATCH] Bug 16633: Translatability: Issues in tags/review.tt (sentence splitting) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch fixes translatability issues in koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt (isolated words by sentence splitting). To test: - Review code and verify that changes make sense. Signed-off-by: Rocio Dressler Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 203d34a3ca821e409cf612c29b918745a3ea8ddb) Signed-off-by: Frédéric Demians --- .../prog/en/modules/tags/review.tt | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt index 430a2a5096..06fe62ae38 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt @@ -192,21 +192,21 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } [% END %] [% IF ( message_loop ) %]
- [% FOREACH message_loo IN message_loop %] - [% IF ( message_loo.date_from ) %]ERROR: Date from is not a legal value ("[% message_loo.date_from %]"). - [% ELSIF ( message_loo.date_to ) %]ERROR: Date to is not a legal value ("[% message_loo.date_to %]"). - [% ELSIF ( message_loo.failed_ok ) %]ERROR: Failed to approve term ([% message_loo.failed_ok %]). - [% ELSIF ( message_loo.failed_rej ) %]ERROR: Failed to reject term ([% message_loo.failed_rej %]). - [% ELSIF ( message_loo.approver ) %]ERROR: No match for user ([% message_loo.approver %]). FILTER REQUIRES BORROWERNUMBER (not name). - [% ELSIF ( message_loo.approved_by ) %]ERROR: No match for borrowernumber ([% message_loo.approved_by %]). - [% ELSIF ( message_loo.op_zero ) %]ERROR: The root koha user in your KOHA_CONF file - (default: kohaadmin) is not a valid tag moderator. These actions are logged - by borrowernumber, so the moderator must exist in your borrowers table. - Please login as a different authorized staff user to moderate tags. - [% ELSE %] Unrecognized error! - [% END %] -
- [% END %] + [% FOREACH message_loo IN message_loop %] + [% IF ( message_loo.date_from ) %]Error: "Date from" is not a legal value ("[% message_loo.date_from %]"). + [% ELSIF ( message_loo.date_to ) %]Error: "Date to" is not a legal value ("[% message_loo.date_to %]"). + [% ELSIF ( message_loo.failed_ok ) %]Error: Failed to approve term ([% message_loo.failed_ok %]). + [% ELSIF ( message_loo.failed_rej ) %]Error: Failed to reject term ([% message_loo.failed_rej %]). + [% ELSIF ( message_loo.approver ) %]No match for user ([% message_loo.approver %]). FILTER REQUIRES BORROWERNUMBER (not name). + [% ELSIF ( message_loo.approved_by ) %]Error: No match for borrowernumber ([% message_loo.approved_by %]). + [% ELSIF ( message_loo.op_zero ) %]Error: The root koha user in your KOHA_CONF file + (default: kohaadmin) is not a valid tag moderator. These actions are logged + by borrowernumber, so the moderator must exist in your borrowers table. + Please log in as a different authorized staff user to moderate tags. + [% ELSE %]Unrecognized error! + [% END %] +
+ [% END %]
[% END %] [% IF ( pagination_bar ) %] -- 2.39.5