summaryrefslogtreecommitdiff
path: root/lang.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-23 15:57:27 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-23 15:57:27 +0100
commit17947022e2ff384b2967192a836b03771a698f6e (patch)
treecf7a5837ec3a3b5dacee83baa0299233d4f73a43 /lang.js
parent29050e1b2a26939f555dfe491f40e1097fb7bfde (diff)
downloadwww-17947022e2ff384b2967192a836b03771a698f6e.tar.gz
www-17947022e2ff384b2967192a836b03771a698f6e.tar.bz2
www-17947022e2ff384b2967192a836b03771a698f6e.zip
lang fix
Diffstat (limited to 'lang.js')
-rw-r--r--lang.js17
1 files changed, 9 insertions, 8 deletions
diff --git a/lang.js b/lang.js
index c99f8fce..fe08fde2 100644
--- a/lang.js
+++ b/lang.js
@@ -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()