Commit ed70e2e235ca261f7d72e237fbb441b4600be78c
1 parent
89ddd164
tooltip internationalization
Showing
2 changed files
with
21 additions
and
0 deletions
controllets/paper-card-controllet/paper-card-controllet.html
@@ -5,6 +5,8 @@ | @@ -5,6 +5,8 @@ | ||
5 | <link rel="import" href="../../bower_components/paper-dialog/paper-dialog.html"/> | 5 | <link rel="import" href="../../bower_components/paper-dialog/paper-dialog.html"/> |
6 | <link rel="import" href="../../bower_components/neon-animation/neon-animation.html"/> | 6 | <link rel="import" href="../../bower_components/neon-animation/neon-animation.html"/> |
7 | 7 | ||
8 | +<script src="../../locales/paper-card-ln.js"></script> | ||
9 | + | ||
8 | <dom-module id="paper-card-controllet"> | 10 | <dom-module id="paper-card-controllet"> |
9 | 11 | ||
10 | <template> | 12 | <template> |
@@ -200,6 +202,7 @@ | @@ -200,6 +202,7 @@ | ||
200 | this.$.content.style.backgroundColor = "#FFFFCC"; | 202 | this.$.content.style.backgroundColor = "#FFFFCC"; |
201 | } | 203 | } |
202 | $(this.$.fullscreen_container).perfectScrollbar(); | 204 | $(this.$.fullscreen_container).perfectScrollbar(); |
205 | + ln["ln"] = ODE.user_language; | ||
203 | }, | 206 | }, |
204 | 207 | ||
205 | _changeWidth: function(){ | 208 | _changeWidth: function(){ |
locales/paper-card-ln.js
0 → 100644
1 | +ln = []; | ||
2 | + | ||
3 | +ln["modify_it"] = "Modify card"; | ||
4 | +ln["delete_it"] = "Delete card"; | ||
5 | +ln["open_it"] = "Open preview"; | ||
6 | + | ||
7 | +ln["modify_en"] = "Modify card"; | ||
8 | +ln["delete_en"] = "Delete card"; | ||
9 | +ln["open_en"] = "Open preview"; | ||
10 | + | ||
11 | +ln["modify_fr"] = "Modify card"; | ||
12 | +ln["delete_fr"] = "Delete card"; | ||
13 | +ln["open_fr"] = "Open preview"; | ||
14 | + | ||
15 | +ln["modify_nl"] = "Modify card"; | ||
16 | +ln["delete_nl"] = "Delete card"; | ||
17 | +ln["open_nl"] = "Open preview"; | ||
18 | + |