summaryrefslogtreecommitdiff
path: root/addons/web_graph/po
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2012-02-02 15:56:03 +0100
committerOlivier Dony <odo@openerp.com>2012-02-02 15:56:03 +0100
commit7ebc5bdba308c376fcf53f2d6da7bc7beb41be2d (patch)
treef4457444c9bbd9e15441e87ab0b83f2afc8cc0b7 /addons/web_graph/po
parent7e2bb94661881e41aa98026410cbbe86e9064055 (diff)
[IMP] refactored translation system to merge web translations with addons translations
- Moved the web *.po files to /i18n to be consistent with the addons convention. Using /po was considered for a while because it played better with LP's auto- detection of PO Templates, but that is not necessary anymore, we now have full control on LP templates. - In order to support addons that contain translations for both the web addon and the regular addon part, both kinds of translations are now merged in a single addon/i18n/addon.pot file. Terms that are used by the web part are now marked with a PO annotation: #. openerp-web so the web client can recognize them and only load the relevant translations in the browser memory. This is important because a complete PO file can be rather large, e.g. account/i18n/de.po = 400KB. - The web translation export scripts were updated to behave properly for addons that have a non-web part, and will merge the web translation in the original POT file, annotating the web translations as needed. These scripts are Unix-only and meant to be used by OpenERP packagers when needed. - The GetText spec says that PO auto-comments indicating the source location have this form: #: /path/to/file:lineno However OpenERP's POT export system defaults to a modified version of this format with an extra 'type' field: #: type:/path/to/file:lineno The babel extractors we use have the GetText format hardcoded so a small patch is needed on the server to make it more lenient and accept the standard source annotation, defaulting to 'code' type. This does not matter for openerp-web, but makes sure the server will not fail to load the new PO files that contain openerp-web translations with standard annotations. The patch for making the server more lenient was checked in trunk at revision 4002 rev-id odo@openerp.com-20120202143210-05p1w24t6u77cyv8 - The existing translation sync and export wizards for regular addons have not been updated to consider web addons, so for the time being we will have to export regular addons terms first, and run the web export script (gen_translations.sh) on the addons directory afterwards. This could be improved later. As soon as this change is merged we will have to perform a full update of addons translation templates in order to include the web terms as well. bzr revid: odo@openerp.com-20120202145603-ffo0il0qnfp3r6gt
Diffstat (limited to 'addons/web_graph/po')
-rw-r--r--addons/web_graph/po/ar.po22
-rw-r--r--addons/web_graph/po/de.po22
-rw-r--r--addons/web_graph/po/hr.po22
-rw-r--r--addons/web_graph/po/pt.po22
-rw-r--r--addons/web_graph/po/pt_BR.po22
-rw-r--r--addons/web_graph/po/ru.po22
-rw-r--r--addons/web_graph/po/sl.po22
-rw-r--r--addons/web_graph/po/sq.po22
-rw-r--r--addons/web_graph/po/tr.po22
-rw-r--r--addons/web_graph/po/web_graph.pot23
-rw-r--r--addons/web_graph/po/zh_CN.po22
11 files changed, 0 insertions, 243 deletions
diff --git a/addons/web_graph/po/ar.po b/addons/web_graph/po/ar.po
deleted file mode 100644
index 68012c50106..00000000000
--- a/addons/web_graph/po/ar.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# Arabic 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: 2011-12-20 18:48+0100\n"
-"PO-Revision-Date: 2012-01-08 20:22+0000\n"
-"Last-Translator: kifcaliph <Unknown>\n"
-"Language-Team: Arabic <ar@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-01-09 05:08+0000\n"
-"X-Generator: Launchpad (build 14640)\n"
-
-#: addons/web_graph/static/src/js/graph.js:19
-msgid "Graph"
-msgstr "الرسم البياني"
diff --git a/addons/web_graph/po/de.po b/addons/web_graph/po/de.po
deleted file mode 100644
index 1671d63d6dc..00000000000
--- a/addons/web_graph/po/de.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# German translation for openerp-web
-# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
-# This file is distributed under the same license as the openerp-web package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openerp-web\n"
-"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
-"POT-Creation-Date: 2011-12-20 18:48+0100\n"
-"PO-Revision-Date: 2011-12-16 15:28+0000\n"
-"Last-Translator: Ferdinand @ Camptocamp <Unknown>\n"
-"Language-Team: German <de@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-01-04 05:18+0000\n"
-"X-Generator: Launchpad (build 14616)\n"
-
-#: addons/web_graph/static/src/js/graph.js:19
-msgid "Graph"
-msgstr "Grafik"
diff --git a/addons/web_graph/po/hr.po b/addons/web_graph/po/hr.po
deleted file mode 100644
index 88435446e37..00000000000
--- a/addons/web_graph/po/hr.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# Croatian translation for openerp-web
-# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
-# This file is distributed under the same license as the openerp-web package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openerp-web\n"
-"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
-"POT-Creation-Date: 2011-12-20 18:48+0100\n"
-"PO-Revision-Date: 2011-12-19 17:44+0000\n"
-"Last-Translator: Goran Kliska <gkliska@gmail.com>\n"
-"Language-Team: Croatian <hr@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-01-04 05:18+0000\n"
-"X-Generator: Launchpad (build 14616)\n"
-
-#: addons/web_graph/static/src/js/graph.js:19
-msgid "Graph"
-msgstr "Graf"
diff --git a/addons/web_graph/po/pt.po b/addons/web_graph/po/pt.po
deleted file mode 100644
index 6ce12a881da..00000000000
--- a/addons/web_graph/po/pt.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# Portuguese 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: 2011-12-20 18:48+0100\n"
-"PO-Revision-Date: 2012-01-14 23:18+0000\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: Portuguese <pt@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-01-15 05:35+0000\n"
-"X-Generator: Launchpad (build 14664)\n"
-
-#: addons/web_graph/static/src/js/graph.js:19
-msgid "Graph"
-msgstr ""
diff --git a/addons/web_graph/po/pt_BR.po b/addons/web_graph/po/pt_BR.po
deleted file mode 100644
index a75c7c9b6b4..00000000000
--- a/addons/web_graph/po/pt_BR.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# Brazilian Portuguese 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: 2011-12-20 18:48+0100\n"
-"PO-Revision-Date: 2012-01-10 11:03+0000\n"
-"Last-Translator: Rafael Sales <Unknown>\n"
-"Language-Team: Brazilian Portuguese <pt_BR@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-01-11 04:55+0000\n"
-"X-Generator: Launchpad (build 14640)\n"
-
-#: addons/web_graph/static/src/js/graph.js:19
-msgid "Graph"
-msgstr "Gráfico"
diff --git a/addons/web_graph/po/ru.po b/addons/web_graph/po/ru.po
deleted file mode 100644
index ba41964bd03..00000000000
--- a/addons/web_graph/po/ru.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# Russian 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: 2011-12-20 18:48+0100\n"
-"PO-Revision-Date: 2012-01-13 11:41+0000\n"
-"Last-Translator: Aleksei Motsik <Unknown>\n"
-"Language-Team: Russian <ru@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-01-14 05:40+0000\n"
-"X-Generator: Launchpad (build 14664)\n"
-
-#: addons/web_graph/static/src/js/graph.js:19
-msgid "Graph"
-msgstr "График"
diff --git a/addons/web_graph/po/sl.po b/addons/web_graph/po/sl.po
deleted file mode 100644
index 485946acccc..00000000000
--- a/addons/web_graph/po/sl.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# Slovenian 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: 2011-12-20 18:48+0100\n"
-"PO-Revision-Date: 2012-01-30 17:56+0000\n"
-"Last-Translator: ERP Basing <erp@basing.si>\n"
-"Language-Team: Slovenian <sl@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-01-31 05:23+0000\n"
-"X-Generator: Launchpad (build 14734)\n"
-
-#: addons/web_graph/static/src/js/graph.js:19
-msgid "Graph"
-msgstr "Graf"
diff --git a/addons/web_graph/po/sq.po b/addons/web_graph/po/sq.po
deleted file mode 100644
index 814e30cf754..00000000000
--- a/addons/web_graph/po/sq.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# Albanian 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: 2011-12-20 18:48+0100\n"
-"PO-Revision-Date: 2012-02-01 00:19+0000\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: Albanian <sq@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-02-02 06:14+0000\n"
-"X-Generator: Launchpad (build 14738)\n"
-
-#: addons/web_graph/static/src/js/graph.js:19
-msgid "Graph"
-msgstr ""
diff --git a/addons/web_graph/po/tr.po b/addons/web_graph/po/tr.po
deleted file mode 100644
index 83284c58ca9..00000000000
--- a/addons/web_graph/po/tr.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# Turkish 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: 2011-12-20 18:48+0100\n"
-"PO-Revision-Date: 2012-01-08 00:25+0000\n"
-"Last-Translator: Ahmet Altınışık <Unknown>\n"
-"Language-Team: Turkish <tr@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-01-09 05:08+0000\n"
-"X-Generator: Launchpad (build 14640)\n"
-
-#: addons/web_graph/static/src/js/graph.js:19
-msgid "Graph"
-msgstr "Grafik"
diff --git a/addons/web_graph/po/web_graph.pot b/addons/web_graph/po/web_graph.pot
deleted file mode 100644
index cc5727bdfc4..00000000000
--- a/addons/web_graph/po/web_graph.pot
+++ /dev/null
@@ -1,23 +0,0 @@
-# Translations template for PROJECT.
-# Copyright (C) 2011 ORGANIZATION
-# This file is distributed under the same license as the PROJECT project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PROJECT VERSION\n"
-"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2011-12-20 18:48+0100\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 0.9.6\n"
-
-#: addons/web_graph/static/src/js/graph.js:19
-msgid "Graph"
-msgstr ""
-
diff --git a/addons/web_graph/po/zh_CN.po b/addons/web_graph/po/zh_CN.po
deleted file mode 100644
index 6f3e8e5f8ff..00000000000
--- a/addons/web_graph/po/zh_CN.po
+++ /dev/null
@@ -1,22 +0,0 @@
-# Chinese (Simplified) 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: 2011-12-20 18:48+0100\n"
-"PO-Revision-Date: 2012-01-19 13:43+0000\n"
-"Last-Translator: hifly <Unknown>\n"
-"Language-Team: Chinese (Simplified) <zh_CN@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-01-20 05:05+0000\n"
-"X-Generator: Launchpad (build 14700)\n"
-
-#: addons/web_graph/static/src/js/graph.js:19
-msgid "Graph"
-msgstr "图形"