From eae8bcd80c7f10512e30bf7057d258dcf1f5bd50 Mon Sep 17 00:00:00 2001 From: Renato De Donato Date: Mon, 7 Dec 2015 16:46:32 +0100 Subject: [PATCH] localization --- controllets/data-sevc-controllet/data-sevc-controllet.html | 8 +++++++- controllets/data-sevc-controllet/demo/index.html | 16 +++++++++++----- locales/en-EN.l20n | 23 ----------------------- locales/en.l20n | 23 +++++++++++++++++++++++ locales/it-IT.l20n | 23 ----------------------- locales/it.l20n | 23 +++++++++++++++++++++++ 6 files changed, 64 insertions(+), 52 deletions(-) delete mode 100644 locales/en-EN.l20n create mode 100644 locales/en.l20n delete mode 100644 locales/it-IT.l20n create mode 100644 locales/it.l20n diff --git a/controllets/data-sevc-controllet/data-sevc-controllet.html b/controllets/data-sevc-controllet/data-sevc-controllet.html index bf56542..f3cec86 100755 --- a/controllets/data-sevc-controllet/data-sevc-controllet.html +++ b/controllets/data-sevc-controllet/data-sevc-controllet.html @@ -3,6 +3,8 @@ + + /******************************************************************************************************************************** @@ -114,8 +116,12 @@ this.$.slider.selected = 1; // console.log(this.selectedDatalet); this.dataUrl = this.dataletPreset["data-url"]; - } + +// var languageLink = document.createElement("link"); +// languageLink.rel = "localization"; +// languageLink.href = "../../../locales/it.l20n"; +// document.getElementsByTagName("head")[0].appendChild(languageLink); }, _updateSlider : function(e){ diff --git a/controllets/data-sevc-controllet/demo/index.html b/controllets/data-sevc-controllet/demo/index.html index 98cbdef..db6804d 100755 --- a/controllets/data-sevc-controllet/demo/index.html +++ b/controllets/data-sevc-controllet/demo/index.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -24,6 +24,12 @@