Bug 15208

Summary: Ease translation for shelves messages
Product: Koha Reporter: Bernardo Gonzalez Kriegel <bgkriegel>
Component: I18N/L10NAssignee: Bernardo Gonzalez Kriegel <bgkriegel>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: f.demians, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: String patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 15208: Ease translation for shelves messages
Bug 15208: Followup to reorder words
[SIGNED-OFF] Bug 15208: Ease translation for shelves messages
[SIGNED-OFF] Bug 15208: Followup to reorder words
Bug 15208: Ease translation for shelves messages
[PASSED QA] Bug 15208: Followup to reorder words

Description Bernardo Gonzalez Kriegel 2015-11-18 13:37:20 UTC
Shelves messages give us a 'big' string to translate.
We need to split it up.
Comment 1 Bernardo Gonzalez Kriegel 2015-11-18 13:39:05 UTC Comment hidden (obsolete)
Comment 2 Bernardo Gonzalez Kriegel 2015-11-18 13:47:45 UTC Comment hidden (obsolete)
Comment 3 Kyle M Hall 2015-11-18 14:57:47 UTC Comment hidden (obsolete)
Comment 4 Kyle M Hall 2015-11-18 14:58:06 UTC Comment hidden (obsolete)
Comment 5 Katrin Fischer 2015-11-18 21:33:54 UTC
Created attachment 44968 [details] [review]
Bug 15208: Ease translation for shelves messages

This string patch only puts <span>...</span>
around shelves messages. It split a monster
translation string into its components.
This kind of string to translate is error-prone.

Also fixed a typo on opac, 'deleteing'

To test:
1) Search for 'An error occurred when updating this list'
on your preferred language translation file for staff
or opac
(xx-YY-staff-prog.po or xx-YY-opac-bootstrap.po)
You will see a 'big' string to translate

2) Apply the patch

3) Update translation files for your language

4) Search again, big one is gone and there are
new individual strings to translate.

Sorry for not spotting this before string freeze

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 6 Katrin Fischer 2015-11-18 21:34:16 UTC
Created attachment 44969 [details] [review]
[PASSED QA] Bug 15208: Followup to reorder words

It think it's better to put the shelf name first

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 7 Tomás Cohen Arazi 2015-11-19 23:17:43 UTC
Patches pushed to master.

Thanks Bernardo!