summaryrefslogtreecommitdiff
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
parent29050e1b2a26939f555dfe491f40e1097fb7bfde (diff)
lang fix
-rw-r--r--lang.js17
m---------web-common0
2 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()
diff --git a/web-common b/web-common
-Subproject 80f1e2708dbe4b19349244b611a6167b4b7a98c
+Subproject dfa825243b718e222013d35a58b2dd8ec0ef05a