summaryrefslogtreecommitdiff
path: root/addons/web_graph
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-04-23 14:50:09 +0200
committerXavier Morel <xmo@openerp.com>2012-04-23 14:50:09 +0200
commit2ccb3e793f58aa72e319f0effcda9386703afbc7 (patch)
treeb839648ecc6fa9c2003a00b4e72bf18b32243451 /addons/web_graph
parent53510b98e7d9849329fe1666e42c3d96703a7e90 (diff)
parentb3d0828564370a97f340b567131425fc8ba9e8c8 (diff)
[MERGE] from trunk
bzr revid: xmo@openerp.com-20120423125009-ndyll5onu37j4kaf
Diffstat (limited to 'addons/web_graph')
-rw-r--r--addons/web_graph/i18n/bn.po23
-rw-r--r--addons/web_graph/i18n/bs.po23
-rw-r--r--addons/web_graph/i18n/es_CL.po23
-rw-r--r--addons/web_graph/i18n/sv.po23
-rw-r--r--addons/web_graph/static/src/js/graph.js10
5 files changed, 97 insertions, 5 deletions
diff --git a/addons/web_graph/i18n/bn.po b/addons/web_graph/i18n/bn.po
new file mode 100644
index 00000000000..e82aa395906
--- /dev/null
+++ b/addons/web_graph/i18n/bn.po
@@ -0,0 +1,23 @@
+# Bengali translation for openerp-web
+# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2012-02-06 17:33+0100\n"
+"PO-Revision-Date: 2012-04-12 14:54+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Bengali <bn@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2012-04-13 05:38+0000\n"
+"X-Generator: Launchpad (build 15070)\n"
+
+#. openerp-web
+#: addons/web_graph/static/src/js/graph.js:19
+msgid "Graph"
+msgstr "লেখচিত্র"
diff --git a/addons/web_graph/i18n/bs.po b/addons/web_graph/i18n/bs.po
new file mode 100644
index 00000000000..d8ca1b91203
--- /dev/null
+++ b/addons/web_graph/i18n/bs.po
@@ -0,0 +1,23 @@
+# Bosnian translation for openerp-web
+# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2012-02-06 17:33+0100\n"
+"PO-Revision-Date: 2012-04-16 15:37+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Bosnian <bs@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2012-04-17 05:24+0000\n"
+"X-Generator: Launchpad (build 15099)\n"
+
+#. openerp-web
+#: addons/web_graph/static/src/js/graph.js:19
+msgid "Graph"
+msgstr "Graf"
diff --git a/addons/web_graph/i18n/es_CL.po b/addons/web_graph/i18n/es_CL.po
new file mode 100644
index 00000000000..ef89f84940e
--- /dev/null
+++ b/addons/web_graph/i18n/es_CL.po
@@ -0,0 +1,23 @@
+# Spanish (Chile) translation for openerp-web
+# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2012-02-06 17:33+0100\n"
+"PO-Revision-Date: 2012-04-14 15:16+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Spanish (Chile) <es_CL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2012-04-15 04:48+0000\n"
+"X-Generator: Launchpad (build 15070)\n"
+
+#. openerp-web
+#: addons/web_graph/static/src/js/graph.js:19
+msgid "Graph"
+msgstr "Gráfico"
diff --git a/addons/web_graph/i18n/sv.po b/addons/web_graph/i18n/sv.po
new file mode 100644
index 00000000000..98335a89577
--- /dev/null
+++ b/addons/web_graph/i18n/sv.po
@@ -0,0 +1,23 @@
+# Swedish translation for openerp-web
+# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2012-02-06 17:33+0100\n"
+"PO-Revision-Date: 2012-04-17 13:21+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Swedish <sv@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2012-04-18 04:57+0000\n"
+"X-Generator: Launchpad (build 15108)\n"
+
+#. openerp-web
+#: addons/web_graph/static/src/js/graph.js:19
+msgid "Graph"
+msgstr "Diagram"
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js
index a55d8f15fbf..7016b9d8d85 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -2,7 +2,7 @@
* OpenERP web_graph
*---------------------------------------------------------*/
-openerp.web_graph = function (openerp) {
+openerp.web_graph = function (instance) {
var COLOR_PALETTE = [
'#cc99ff', '#ccccff', '#48D1CC', '#CFD784', '#8B7B8B', '#75507b',
'#b0008c', '#ff0000', '#ff8e00', '#9000ff', '#0078ff', '#00ff00',
@@ -12,10 +12,10 @@ var COLOR_PALETTE = [
'#ad7fa8', '#729fcf', '#8ae234', '#e9b96e', '#fce94f', '#f57900',
'#cc0000', '#d400a8'];
-var QWeb = openerp.web.qweb,
- _lt = openerp.web._lt;
-openerp.web.views.add('graph', 'openerp.web_graph.GraphView');
-openerp.web_graph.GraphView = openerp.web.View.extend({
+var QWeb = instance.web.qweb,
+ _lt = instance.web._lt;
+instance.web.views.add('graph', 'instance.web_graph.GraphView');
+instance.web_graph.GraphView = instance.web.View.extend({
display_name: _lt('Graph'),
view_type: "graph",