From 698fb010f55c0d68789299003f4ac55326142f72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Wed, 9 Dec 2015 21:31:29 +0100 Subject: [PATCH] Bug 15346: Translatability: fix sentence splitting issue in memberentrygen.tt Fix sentences in memberentrygen.tt that are split by tags, leading to wrong capitalization in German (because it can not be decided if a string is part of a sentence or a standalone sentence). Example: Es sind Keine Bibliotheken definiert. To test: - Apply patch - To trigger the messages, you have to edit a patron in a system where no libraries and no patron categories are defined - Alternatively, carefully review the changes in koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt Signed-off-by: Hector Castro Sentences fixed for translation purposes Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher --- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 28a102daf6..429242cf37 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -186,8 +186,8 @@ [% END %] [% IF ( no_add ) %]

Cannot add patron

- [% IF ( no_branches ) %]

There are no libraries defined. [% IF ( CAN_user_parameters ) %]Please add a library.[% ELSE %]An administrator must define at least one library.[% END %]

[% END %] - [% IF ( no_categories ) %]

There are no patron categories defined. [% IF ( CAN_user_parameters ) %]Please add a patron category.[% ELSE %]An administrator must define at least one patron category.

[% END %][% END %]
[% END %] + [% IF ( no_branches ) %]

There are no libraries defined. [% IF ( CAN_user_parameters ) %]Please add a library.[% ELSE %]An administrator must define at least one library.[% END %]

[% END %] + [% IF ( no_categories ) %]

There are no patron categories defined. [% IF ( CAN_user_parameters ) %]Please add a patron category.[% ELSE %]An administrator must define at least one patron category.

[% END %][% END %][% END %] [% UNLESS ( no_add ) %]

[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname %] [% END %][% IF (surname) %][% surname %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])

-- 2.39.5