summaryrefslogtreecommitdiff
path: root/addons/share/static/src/js
diff options
context:
space:
mode:
authorMohammed Shekha(Open ERP) <>2012-11-20 12:24:27 +0530
committerMayur Maheshwari (OpenERP) <mma@tinyerp.com>2012-11-20 12:24:27 +0530
commit33edc83689ee88ac3e44366cacbf81dcf3e417cb (patch)
tree9df0d4100db4fd1d1cb248eda832a39e01acbd03 /addons/share/static/src/js
parentd9d127403b71d3fd401d3baf37b522b20ba89278 (diff)
[FIX]share: Fixed the issue of translation of share link of share web-addons.
bzr revid: mma@tinyerp.com-20121120065427-wa6sh1suitqqzqeb
Diffstat (limited to 'addons/share/static/src/js')
-rw-r--r--addons/share/static/src/js/share.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/addons/share/static/src/js/share.js b/addons/share/static/src/js/share.js
index e627b555de3..4bc4c9ab55e 100644
--- a/addons/share/static/src/js/share.js
+++ b/addons/share/static/src/js/share.js
@@ -1,6 +1,7 @@
openerp.share = function(session) {
-
+
+ var _t = session.web._t;
var has_action_id = false;
function launch_wizard(self, view, user_type, invite) {
@@ -57,10 +58,10 @@ openerp.share = function(session) {
this._super(this);
has_share(function() {
self.add_items('other', [
- { label: 'Share',
+ { label: _t('Share'),
callback: self.on_click_share,
classname: 'oe_share' },
- { label: 'Embed',
+ { label: _t('Embed'),
callback: self.on_click_share_link,
classname: 'oe_share' },
]);