Bug 15365

Summary: Translatability: Fix issue on Administration > Circulation and fine rules
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, hector.hecaxmmx, jonathan.druart, julian.maurice
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14459
Change sponsored?: --- Patch complexity: String patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 15365: Translatability: Fix issue on Administration > Circulation and fine rules
Bug 15365: Translatability: Fix issue on Administration > Circulation and fine rules
[SIGNED-OFF]Bug 15365: Translatability: Fix issue on Administration > Circulation and fine rules
Bug 15365: Translatability: Fix issue on Administration > Circulation and fine rules
Bug 15365: Translatability: Fix issue on Administration > Circulation and fine rules

Description Marc Véron 2015-12-13 19:33:23 UTC
Fix translatability issue on smart-rules.tt to prevent odd translations (Sentences splitted by tags and newlines).
Comment 1 Marc Véron 2015-12-13 19:41:28 UTC Comment hidden (obsolete)
Comment 2 Marc Véron 2015-12-13 19:44:23 UTC Comment hidden (obsolete)
Comment 3 Héctor Eduardo Castro Avalos 2015-12-14 15:36:02 UTC Comment hidden (obsolete)
Comment 4 Jonathan Druart 2015-12-15 09:06:51 UTC
This is a bug in the translation process, em and string tags should not be isolated, IMO.
I have tried to fix it, but no luck.
Frédéric, do you think this could be done easily?
Comment 5 Jonathan Druart 2015-12-18 10:10:53 UTC Comment hidden (obsolete)
Comment 6 Brendan Gallagher 2015-12-29 20:42:59 UTC
Created attachment 46033 [details] [review]
Bug 15365: Translatability: Fix issue on Administration > Circulation and fine rules

Fix translatability issue on smart-rules.tt to prevent odd translations (Sentences
splitted by tags and newlines).

To test:
- Apply patch
- Go to Administration > Circulation and fine rules
- Verify that the lines "Note: " and "Important: " below "Default holds policy by
  item type" make sense and are not splitted by tags and (in html) by newlines.

(Amended to fix commit message)

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
strong Note and Important displayed Ok for translation purpose

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
Comment 7 Brendan Gallagher 2015-12-29 20:43:14 UTC
Pushed to master - thanks!
Comment 8 Julian Maurice 2015-12-30 16:05:55 UTC
Patch pushed in 3.22.x, will be in 3.22.2
Comment 9 Frédéric Demians 2015-12-31 18:24:33 UTC
This patch has been pushed to 3.20.x, will be in 3.20.8.