Commit 2813afd728d651a9d9d774fcd41c3da4399cb910

Authored by Renato De Donato
1 parent 8e65d84e

locales ln mod

controllets/paper-card-controllet/paper-card-controllet.html
... ... @@ -5,7 +5,7 @@
5 5 <link rel="import" href="../../bower_components/paper-dialog/paper-dialog.html"/>
6 6 <link rel="import" href="../../bower_components/neon-animation/neon-animation.html"/>
7 7  
8   -<script src="../../locales/paper-card-ln.js"></script>
  8 +<script src="../../locales/paper_card_controllet_ln.js"></script>
9 9  
10 10 <dom-module id="paper-card-controllet">
11 11  
... ... @@ -207,16 +207,16 @@
207 207 },
208 208  
209 209 _translate: function(){
210   - ln["ln"] = ODE.user_language;
  210 + paper_ln["ln"] = ODE.user_language;
211 211  
212   - this.$.card_modify.setAttribute("title", ln["modify_"+ln["ln"]]);
213   - this.$.card_delete.setAttribute("title", ln["delete_"+ln["ln"]]);
  212 + this.$.card_modify.setAttribute("title", paper_ln["modify_"+paper_ln["ln"]]);
  213 + this.$.card_delete.setAttribute("title", paper_ln["delete_"+paper_ln["ln"]]);
214 214 if(this.checkType(this.cardType, 'link'))
215   - this.$$("#card_open_link").setAttribute("title", ln["open_"+ln["ln"]]);
  215 + this.$$("#card_open_link").setAttribute("title", paper_ln["open_"+paper_ln["ln"]]);
216 216 if(this.checkType(this.cardType, 'text'))
217   - this.$$("#card_open_text").setAttribute("title", ln["open_"+ln["ln"]]);
  217 + this.$$("#card_open_text").setAttribute("title", paper_ln["open_"+paper_ln["ln"]]);
218 218 if(this.checkType(this.cardType, 'datalet'))
219   - this.$$("#card_open_datalet").setAttribute("title", ln["open_"+ln["ln"]]);
  219 + this.$$("#card_open_datalet").setAttribute("title", paper_ln["open_"+paper_ln["ln"]]);
220 220 },
221 221  
222 222 _changeWidth: function(){
... ...
locales/lnHashMap.js renamed to locales/controllet_ln.js
locales/paper-card-ln.js deleted
1   -ln = [];
2   -
3   -ln["modify_it"] = "Modifica card";
4   -ln["delete_it"] = "Elimina card";
5   -ln["open_it"] = "Apri anteprima";
6   -
7   -ln["modify_en"] = "Modify card";
8   -ln["delete_en"] = "Delete card";
9   -ln["open_en"] = "Open preview";
10   -
11   -ln["modify_fr"] = "Modifier la card";
12   -ln["delete_fr"] = "Supprimer la card";
13   -ln["open_fr"] = "Ouvrir aperçu";
14   -
15   -ln["modify_nl"] = "Wijzigen card";
16   -ln["delete_nl"] = "Wissen card";
17   -ln["open_nl"] = "Open preview";
18   -
locales/paper_card_controllet_ln.js 0 → 100755
  1 +paper_ln = [];
  2 +
  3 +paper_ln["modify_it"] = "Modifica card";
  4 +paper_ln["delete_it"] = "Elimina card";
  5 +paper_ln["open_it"] = "Apri anteprima";
  6 +
  7 +paper_ln["modify_en"] = "Modify card";
  8 +paper_ln["delete_en"] = "Delete card";
  9 +paper_ln["open_en"] = "Open preview";
  10 +
  11 +paper_ln["modify_fr"] = "Modifier la card";
  12 +paper_ln["delete_fr"] = "Supprimer la card";
  13 +paper_ln["open_fr"] = "Ouvrir aperçu";
  14 +
  15 +paper_ln["modify_nl"] = "Wijzigen card";
  16 +paper_ln["delete_nl"] = "Wissen card";
  17 +paper_ln["open_nl"] = "Open preview";
  18 +
... ...