summaryrefslogtreecommitdiff
path: root/addons/web_graph
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2014-12-02 16:18:08 +0100
committerChristophe Simonis <chs@odoo.com>2014-12-02 16:18:08 +0100
commit1d3f8eba879f02da7fc0bb46c9801029eccbc8c8 (patch)
tree10ef917de1be8ef9755cba4f3c9ac951af176b18 /addons/web_graph
parent7878b2fd0cb42827b71bd00a1fd8199e73269fe4 (diff)
parent591e329bb0efe4997677a0bee2e6f3b558e35df8 (diff)
[MERGE] forward port of branch 8.0 up to 591e329
Diffstat (limited to 'addons/web_graph')
-rw-r--r--addons/web_graph/i18n/ro.po51
-rw-r--r--addons/web_graph/static/src/js/graph_widget.js4
2 files changed, 30 insertions, 25 deletions
diff --git a/addons/web_graph/i18n/ro.po b/addons/web_graph/i18n/ro.po
index 8169ef30efa..fa497a80739 100644
--- a/addons/web_graph/i18n/ro.po
+++ b/addons/web_graph/i18n/ro.po
@@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openerp-web\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2014-09-23 16:28+0000\n"
-"PO-Revision-Date: 2014-08-14 16:14+0000\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"PO-Revision-Date: 2014-10-13 16:32+0000\n"
+"Last-Translator: Dorin <dhongu@gmail.com>\n"
"Language-Team: Romanian <ro@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: 2014-09-24 10:07+0000\n"
+"X-Launchpad-Export-Date: 2014-10-15 20:33+0000\n"
"X-Generator: Launchpad (build 17196)\n"
#. module: web_graph
@@ -22,28 +22,28 @@ msgstr ""
#: code:addons/web_graph/static/src/xml/web_graph.xml:11
#, python-format
msgid "Bar Chart"
-msgstr ""
+msgstr "Grafic bare"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:70
#, python-format
msgid "Day"
-msgstr ""
+msgstr "Zi"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:38
#, python-format
msgid "Expand All"
-msgstr ""
+msgstr "Extinde tot"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:44
#, python-format
msgid "Export Data"
-msgstr ""
+msgstr "Exportă datele"
#. module: web_graph
#. openerp-web
@@ -57,42 +57,42 @@ msgstr "Grafic"
#: code:addons/web_graph/static/src/xml/web_graph.xml:23
#, python-format
msgid "Heat Map"
-msgstr ""
+msgstr "Harta fierbinte"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:29
#, python-format
msgid "Heat Map (columns)"
-msgstr ""
+msgstr "Harta fierbinte (coloane)"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:26
#, python-format
msgid "Heat Map (rows)"
-msgstr ""
+msgstr "Harta fierbinte (rânduri)"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:14
#, python-format
msgid "Line Chart"
-msgstr ""
+msgstr "Grafic liniar"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:49
#, python-format
msgid "Measures"
-msgstr ""
+msgstr "Indicatori"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:72
#, python-format
msgid "Month"
-msgstr ""
+msgstr "Luna"
#. module: web_graph
#. openerp-web
@@ -103,20 +103,23 @@ msgid ""
" that there is at least one measure and no active filter "
"in the search bar."
msgstr ""
+"Nu sunt date disponibile pentru acest grafic. Încercați să adaugați câteva "
+"înregistrări, sau asigurați-vă că există cel putin un indicativ și ca nu "
+"sunt filtre active în bara de căutare."
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:92
#, python-format
msgid "No data to display."
-msgstr ""
+msgstr "Nu sunt date de afișat."
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:17
#, python-format
msgid "Pie Chart"
-msgstr ""
+msgstr "Grafic tip pie"
#. module: web_graph
#. openerp-web
@@ -124,35 +127,35 @@ msgstr ""
#: code:addons/web_graph/static/src/js/pivot_table.js:20
#, python-format
msgid "Quantity"
-msgstr ""
+msgstr "Cantitate"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:73
#, python-format
msgid "Quarter"
-msgstr ""
+msgstr "Trimestru"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:41
#, python-format
msgid "Reload Data"
-msgstr ""
+msgstr "Reîncărcare date"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:35
#, python-format
msgid "Swap Axis"
-msgstr ""
+msgstr "Schimbă axele"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:8
#, python-format
msgid "Table Mode"
-msgstr ""
+msgstr "Modtabel"
#. module: web_graph
#. openerp-web
@@ -162,7 +165,7 @@ msgstr ""
#: code:addons/web_graph/static/src/js/pivot_table.js:335
#, python-format
msgid "Total"
-msgstr ""
+msgstr "Total"
#. module: web_graph
#. openerp-web
@@ -178,18 +181,18 @@ msgstr ""
#: code:addons/web_graph/static/src/js/pivot_table.js:433
#, python-format
msgid "Undefined"
-msgstr ""
+msgstr "Nedefinit(ă)"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:71
#, python-format
msgid "Week"
-msgstr ""
+msgstr "Săptămâna"
#. module: web_graph
#. openerp-web
#: code:addons/web_graph/static/src/xml/web_graph.xml:74
#, python-format
msgid "Year"
-msgstr ""
+msgstr "Anul"
diff --git a/addons/web_graph/static/src/js/graph_widget.js b/addons/web_graph/static/src/js/graph_widget.js
index b6ba3a4d705..afb691e4790 100644
--- a/addons/web_graph/static/src/js/graph_widget.js
+++ b/addons/web_graph/static/src/js/graph_widget.js
@@ -75,7 +75,9 @@ openerp.web_graph.Graph = openerp.web.Widget.extend({
this.$buttons.find('button').tooltip();
- return this.model.call('fields_get', []).then(function (f) {
+ return this.model.call('fields_get', {
+ context: this.graph_view.dataset.context
+ }).then(function (f) {
self.fields = f;
self.fields.__count = {field:'__count', type: 'integer', string:_t('Count')};
self.groupby_fields = self.get_groupby_fields();