Bugzilla – Attachment 45559 Details for
Bug 15346
Translatability: fix sentence splitting issue in memberentrygen.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF]Bug 15346: Translatability: fix sentence splitting issue in memberentrygen.tt
SIGNED-OFFBug-15346-Translatability-fix-sentence-s.patch (text/plain), 2.97 KB, created by
Héctor Eduardo Castro Avalos
on 2015-12-10 01:50:55 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 15346: Translatability: fix sentence splitting issue in memberentrygen.tt
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2015-12-10 01:50:55 UTC
Size:
2.97 KB
patch
obsolete
>From b8236127e543b1a030b330d02dd530ec0053d7d4 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Wed, 9 Dec 2015 21:31:29 +0100 >Subject: [PATCH] [SIGNED-OFF]Bug 15346: Translatability: fix sentence > splitting issue in memberentrygen.tt > >Fix sentences in memberentrygen.tt that are split by <strong> 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 <hector.hecaxmmx@gmail.com> >Sentences fixed for translation purposes >--- > koha-tmpl/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 a3b7a9d..5443213 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 ) %]<div class="dialog alert"><h3>Cannot add patron</h3> >- [% IF ( no_branches ) %]<p>There are <strong>no libraries defined</strong>. [% IF ( CAN_user_parameters ) %]Please <a href="/cgi-bin/koha/admin/branches.pl">add a library</a>.[% ELSE %]An administrator must define at least one library.[% END %]</p>[% END %] >- [% IF ( no_categories ) %]<p>There are <strong>no patron categories defined</strong>. [% IF ( CAN_user_parameters ) %]Please <a href="/cgi-bin/koha/admin/categorie.pl">add a patron category</a>.[% ELSE %]An administrator must define at least one patron category.</p>[% END %][% END %]</div>[% END %] >+ [% IF ( no_branches ) %]<p><strong>There are no libraries defined.</strong> [% IF ( CAN_user_parameters ) %]<a href="/cgi-bin/koha/admin/branches.pl">Please add a library.</a>[% ELSE %]An administrator must define at least one library.[% END %]</p>[% END %] >+ [% IF ( no_categories ) %]<p><strong>There are no patron categories defined.</strong> [% IF ( CAN_user_parameters ) %]<a href="/cgi-bin/koha/admin/categorie.pl">Please add a patron category.</a>[% ELSE %]An administrator must define at least one patron category.</p>[% END %][% END %]</div>[% END %] > > [% UNLESS ( no_add ) %] > <h1>[% 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 %])</h1> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15346
:
45558
|
45559
|
45562
|
46029