]> git.koha-community.org Git - koha.git/commit
Bug 18781: Translatability: Get rid of exposed tt directives in openlibrary-readapi.inc
authorMarc Véron <veron@veron.ch>
Mon, 12 Jun 2017 07:07:28 +0000 (09:07 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 1 Oct 2017 22:32:42 +0000 (00:32 +0200)
commit915f5d1ca18eafac9e0ba633e86e3bece8d12a5e
treebd23d22b8d2fb23be1f6108b3ce11fdf47adf73a
parentacf28ae38c885cb0e59013c743841ef92b662f83
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>
(cherry picked from commit 23cc8b39682fea7b0a9150933c65c34ef22d23dd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 861fa8c8db8bd8bbd6281863d5029d55675f359c)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/opac-tmpl/bootstrap/en/includes/openlibrary-readapi.inc