Bug 15340

Summary: Translatability: fix issue with 'or choose' splitted by <strong tag
Product: Koha Reporter: Marc Véron <veron>
Component: I18N/L10NAssignee: Marc Véron <veron>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: brendan, f.demians, julian.maurice
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:
Circulation function:
Attachments: Bug 15340: Translatability: fix issue with 'or choose' splitted by <strong> tag
Bug 15340: Translatability: fix issue with 'or choose' splitted by <strong> tag
Bug 15340: Translatability: fix issue with 'or choose' splitted by <strong> tag

Description Marc Véron 2015-12-09 15:07:02 UTC
To verify:
- make sure that you have some entries in 'Cities and Towns'
  ( Home > Administration > Cities )
- Edit the main address of a patron's details
- Locate field "City", at the right you have the text 'or choose'
  followed by a drop-down ('choose' is bold)
- change language e.g. to German, the text reads 'or auswählen' 
  (instead of 'oder auswählen')
- This is due to the <strong> tags around 'choose'
Comment 1 Marc Véron 2015-12-09 15:17:09 UTC Comment hidden (obsolete)
Comment 2 Frédéric Demians 2015-12-09 15:29:11 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2015-12-11 10:26:03 UTC
Created attachment 45595 [details] [review]
Bug 15340: Translatability: fix issue with 'or choose' splitted by <strong> tag

This patch fixes a translatability issue due to <trong> tags.

To verify:
- Make sure that you have some entries in 'Cities and Towns'
  ( Home > Administration > Cities )
- Edit the main address of a patron's details
- Locate field "City", at the right you have the text 'or choose'
  followed by a drop-down ('choose' is bold)
- change language e.g. to German, the text reads 'or auswählen'
  (instead of 'oder auswählen')
- This is due to the <strong> tags around 'choose'

To test:
- Apply patch
- Verify that the <strong> tags around 'choose' are removed in:
    koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-de.inc
    koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-us.inc

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
  Obvious issue/solution

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 4 Brendan Gallagher 2015-12-30 19:10:25 UTC
Pushed to Master - Thanks
Comment 5 Julian Maurice 2015-12-31 13:22:14 UTC
Patch pushed to 3.22.x, will be in 3.22.2
Comment 6 Frédéric Demians 2015-12-31 18:33:25 UTC
This patch has been pushed to 3.20.x, will be in 3.20.8.