The file koha-tmpl/opac-tmpl/bootstrap/en/includes/openlibrary-readapi.inc exposes template directives to translation. The only string that should appear in .po from this file is "Open Library: "
Created attachment 64192 [details] [review] Bug 18781: Translatability: Get rid of exposed tt directives in openlibrary-readapi.inc The file koha-tmpl/opac-tmpl/bootstrap/en/includes/openlibrary-readapi.inc exposes template directives to translation. The only string that should appear in .po from this file is "Open Library: " To test: - Apply patch - Verify that code changes make sense - Bonus test: create a new language 'aa-AA', verify in aa-AA-opac-bootstrap.po that there is only the following string for openlibrary-readapi.inc: msgid "Open Library: " msgstr ""
Created attachment 64738 [details] [review] [SIGNED-OFF] Bug 18781: Translatability: Get rid of exposed tt directives in openlibrary-readapi.inc The file koha-tmpl/opac-tmpl/bootstrap/en/includes/openlibrary-readapi.inc exposes template directives to translation. The only string that should appear in .po from this file is "Open Library: " To test: - Apply patch - Verify that code changes make sense - Bonus test: create a new language 'aa-AA', verify in aa-AA-opac-bootstrap.po that there is only the following string for openlibrary-readapi.inc: msgid "Open Library: " msgstr "" NOTE: Followed a test plan similar to bug 18776 comment 3 Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Created attachment 66643 [details] [review] Bug 18781: Translatability: Get rid of exposed tt directives in openlibrary-readapi.inc The file koha-tmpl/opac-tmpl/bootstrap/en/includes/openlibrary-readapi.inc exposes template directives to translation. The only string that should appear in .po from this file is "Open Library: " To test: - Apply patch - Verify that code changes make sense - Bonus test: create a new language 'aa-AA', verify in aa-AA-opac-bootstrap.po that there is only the following string for openlibrary-readapi.inc: msgid "Open Library: " msgstr "" NOTE: Followed a test plan similar to bug 18776 comment 3 Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 17.11, thanks to everybody involved!
Pushed to 17.05.x, will be in 17.05.05.
This patch has been pushed to 16.11.x and will be in 16.11.13.
Pushed to 16.05.x, for 16.05.18 release