diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-23 15:57:27 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-23 15:57:27 +0100 |
commit | 17947022e2ff384b2967192a836b03771a698f6e (patch) | |
tree | cf7a5837ec3a3b5dacee83baa0299233d4f73a43 /lang.js | |
parent | 29050e1b2a26939f555dfe491f40e1097fb7bfde (diff) | |
download | www-17947022e2ff384b2967192a836b03771a698f6e.tar.gz www-17947022e2ff384b2967192a836b03771a698f6e.tar.bz2 www-17947022e2ff384b2967192a836b03771a698f6e.zip |
lang fix
Diffstat (limited to 'lang.js')
-rw-r--r-- | lang.js | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -34,14 +34,15 @@ function supports_html5_storage() { function setLang(l) { - document.body.className=l; - if (supports_html5_storage()) { - sessionStorage.setItem('lang', l); - } - if (l == 'en') document.title = 'GNU Taler - Taxable Anonymous Libre Electronic Reserve'; - if (l == 'de') document.title = 'GNU Taler - Taxierbare Anonyme Liberale Elektronische Reserven'; - if (l == 'fr') document.title = 'GNU Taler - Taxable Anonyme Libre Électronique Réserve'; - if (l == 'it') document.title = 'GNU Taler'; + // FIXME: hotfix since t10n does not work + //document.body.className=l; + //if (supports_html5_storage()) { + // sessionStorage.setItem('lang', l); + //} + //if (l == 'en') document.title = 'GNU Taler - Taxable Anonymous Libre Electronic Reserve'; + //if (l == 'de') document.title = 'GNU Taler - Taxierbare Anonyme Liberale Elektronische Reserven'; + //if (l == 'fr') document.title = 'GNU Taler - Taxable Anonyme Libre Électronique Réserve'; + //if (l == 'it') document.title = 'GNU Taler'; } function get_default_lang() |