From 98937fa5bcd209bf8f8f642fe031edd03de23d73 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit 698fb010f55c0d68789299003f4ac55326142f72) Signed-off-by: Julian Maurice (cherry picked from commit ec2e2f6d0b9d4b376b59d24e7895ad767d8fff97) Signed-off-by: Frédéric Demians --- .../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 2d4b23d9c3..1a20e9ec6d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -175,8 +175,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.20.1