]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1710512 - OPAC js strings need to be i18n-izable
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Thu, 24 Aug 2017 21:17:11 +0000 (17:17 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 29 Aug 2017 22:13:32 +0000 (18:13 -0400)
commita53539602a68cedcbf55578868e13cba8805ec63
tree016c7f55856b11b9a26d1b4ef2ee554073f74a03
parent60babbe6d9bea564d5653f7136e658d8717695ba
LP#1710512 - OPAC js strings need to be i18n-izable

Adds a way to translate displayed string messages, in OPAC
JS source code alerts and other outputs. This is done by having
js.tt2 include i18n-strings.tt2 which contains an explosed/global
JS blob variable called eg_opac_i18n. This is intended to work
in similar fashion as base_js.tt2 in the webstaff ng client.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Conflicts:
Open-ILS/src/templates/opac/parts/js.tt2
Open-ILS/src/templates/opac/i18n_strings.tt2 [new file with mode: 0644]
Open-ILS/src/templates/opac/parts/js.tt2
Open-ILS/web/js/ui/default/opac/holds-validation.js