diff --git a/controllets/paper-card-controllet/paper-card-controllet.html b/controllets/paper-card-controllet/paper-card-controllet.html index 91ff2aa..5a479db 100755 --- a/controllets/paper-card-controllet/paper-card-controllet.html +++ b/controllets/paper-card-controllet/paper-card-controllet.html @@ -5,7 +5,7 @@ - + @@ -207,16 +207,16 @@ }, _translate: function(){ - ln["ln"] = ODE.user_language; + paper_ln["ln"] = ODE.user_language; - this.$.card_modify.setAttribute("title", ln["modify_"+ln["ln"]]); - this.$.card_delete.setAttribute("title", ln["delete_"+ln["ln"]]); + this.$.card_modify.setAttribute("title", paper_ln["modify_"+paper_ln["ln"]]); + this.$.card_delete.setAttribute("title", paper_ln["delete_"+paper_ln["ln"]]); if(this.checkType(this.cardType, 'link')) - this.$$("#card_open_link").setAttribute("title", ln["open_"+ln["ln"]]); + this.$$("#card_open_link").setAttribute("title", paper_ln["open_"+paper_ln["ln"]]); if(this.checkType(this.cardType, 'text')) - this.$$("#card_open_text").setAttribute("title", ln["open_"+ln["ln"]]); + this.$$("#card_open_text").setAttribute("title", paper_ln["open_"+paper_ln["ln"]]); if(this.checkType(this.cardType, 'datalet')) - this.$$("#card_open_datalet").setAttribute("title", ln["open_"+ln["ln"]]); + this.$$("#card_open_datalet").setAttribute("title", paper_ln["open_"+paper_ln["ln"]]); }, _changeWidth: function(){ diff --git a/locales/lnHashMap.js b/locales/controllet_ln.js index aaf316c..aaf316c 100755 --- a/locales/lnHashMap.js +++ b/locales/controllet_ln.js diff --git a/locales/paper-card-ln.js b/locales/paper-card-ln.js deleted file mode 100755 index 5085ddb..0000000 --- a/locales/paper-card-ln.js +++ /dev/null @@ -1,18 +0,0 @@ -ln = []; - -ln["modify_it"] = "Modifica card"; -ln["delete_it"] = "Elimina card"; -ln["open_it"] = "Apri anteprima"; - -ln["modify_en"] = "Modify card"; -ln["delete_en"] = "Delete card"; -ln["open_en"] = "Open preview"; - -ln["modify_fr"] = "Modifier la card"; -ln["delete_fr"] = "Supprimer la card"; -ln["open_fr"] = "Ouvrir aperçu"; - -ln["modify_nl"] = "Wijzigen card"; -ln["delete_nl"] = "Wissen card"; -ln["open_nl"] = "Open preview"; - diff --git a/locales/paper_card_controllet_ln.js b/locales/paper_card_controllet_ln.js new file mode 100755 index 0000000..ed9f3c1 --- /dev/null +++ b/locales/paper_card_controllet_ln.js @@ -0,0 +1,18 @@ +paper_ln = []; + +paper_ln["modify_it"] = "Modifica card"; +paper_ln["delete_it"] = "Elimina card"; +paper_ln["open_it"] = "Apri anteprima"; + +paper_ln["modify_en"] = "Modify card"; +paper_ln["delete_en"] = "Delete card"; +paper_ln["open_en"] = "Open preview"; + +paper_ln["modify_fr"] = "Modifier la card"; +paper_ln["delete_fr"] = "Supprimer la card"; +paper_ln["open_fr"] = "Ouvrir aperçu"; + +paper_ln["modify_nl"] = "Wijzigen card"; +paper_ln["delete_nl"] = "Wissen card"; +paper_ln["open_nl"] = "Open preview"; +