Bug 10803

Summary: "Make payment" in circ is not easily translatable
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: Katrin Fischer <katrin.fischer>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: bgkriegel, gmcharlt, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 10803: "Make payment" in circ is hard to translate in circulation
[SIGNED-OFF] Bug 10803: "Make payment" in circ is hard to translate in circulation
Bug 10803: "Make payment" in circ is hard to translate in circulation

Description Katrin Fischer 2013-08-29 20:04:28 UTC
To test:
- Choose a patron account
- Add a fine to it
- Switch to the checkout tab of the patron account
- Check for the "Make payment" link. Make is not a link, but payment is.

In translation this string is divided into:
. %s Make
payment

Because of this it's difficult to translate it grammatically.
Comment 1 Katrin Fischer 2013-08-29 20:29:35 UTC Comment hidden (obsolete)
Comment 2 Bernardo Gonzalez Kriegel 2013-09-21 19:58:04 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2013-09-24 13:22:47 UTC
Created attachment 21415 [details] [review]
Bug 10803: "Make payment" in circ is hard to translate in circulation

To test:
- Choose a patron account
- Add a fine to it
- Switch to the checkout tab of the patron account
- Check for the "Make payment" link. Make is not a link, but payment is.
- Apply patch
- Check again, now both words are linked.

In translation this string is divided into:
. %s Make
payment

Because of this it's difficult to translate it grammatically.
The patch moves 'Make' into the link text, so that both words
will show up together in translation.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: Works as described. No koha-qa errors.
Not only improves translatability,
also corrects capitalization.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Comment 4 Galen Charlton 2013-09-24 14:57:32 UTC
Pushed to master.  Thanks, Katrin!
Comment 5 Tomás Cohen Arazi 2013-11-13 16:26:40 UTC
This patch has been pushed to 3.12.x, will be in 3.12.7.

Thanks Katrina!