diff options
| author | Arnaud Pineux <api@openerp.com> | 2012-12-10 11:51:44 +0100 |
|---|---|---|
| committer | Arnaud Pineux <api@openerp.com> | 2012-12-10 11:51:44 +0100 |
| commit | 9bf9f741b8dbc3ffcd8ad200cbd15d75e30914c4 (patch) | |
| tree | df858fa65baa45561627312def284399ff57ce28 /addons/google_docs | |
| parent | 7414ce209f98cf8120dabef5044fd33cc1f74cab (diff) | |
| parent | 590add54d41062e2638d751b52a46e626b8e368c (diff) | |
[MERGE] with trunk
bzr revid: api@openerp.com-20121210105144-uy0hk00s52rpj7r5
Diffstat (limited to 'addons/google_docs')
| -rw-r--r-- | addons/google_docs/google_docs.py | 7 | ||||
| -rw-r--r-- | addons/google_docs/i18n/hr.po | 190 | ||||
| -rw-r--r-- | addons/google_docs/i18n/pt_BR.po | 25 |
3 files changed, 216 insertions, 6 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py index 462c8240810..1f6af0378ca 100644 --- a/addons/google_docs/google_docs.py +++ b/addons/google_docs/google_docs.py @@ -17,10 +17,15 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # ############################################################################## +import logging from datetime import datetime + from tools import DEFAULT_SERVER_DATETIME_FORMAT from osv import osv, fields from tools.translate import _ + +_logger = logging.getLogger(__name__) + try: import gdata.docs.data import gdata.docs.client @@ -29,8 +34,6 @@ try: import gdata.auth from gdata.docs.data import Resource except ImportError: - import logging - _logger = logging.getLogger(__name__) _logger.warning("Please install latest gdata-python-client from http://code.google.com/p/gdata-python-client/downloads/list") class google_docs_ir_attachment(osv.osv): diff --git a/addons/google_docs/i18n/hr.po b/addons/google_docs/i18n/hr.po new file mode 100644 index 00000000000..570863480ea --- /dev/null +++ b/addons/google_docs/i18n/hr.po @@ -0,0 +1,190 @@ +# Croatian translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-11-24 02:52+0000\n" +"PO-Revision-Date: 2012-12-09 20:25+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-12-10 04:39+0000\n" +"X-Generator: Launchpad (build 16341)\n" + +#. module: google_docs +#: code:addons/google_docs/google_docs.py:136 +#, python-format +msgid "Key Error!" +msgstr "" + +#. module: google_docs +#: view:google.docs.config:0 +msgid "" +"for a presentation (slide show) document with url like " +"`https://docs.google.com/a/openerp.com/presentation/d/123456789/edit#slide=id" +".p`, the ID is `presentation:123456789`" +msgstr "" + +#. module: google_docs +#: view:google.docs.config:0 +msgid "" +"for a text document with url like " +"`https://docs.google.com/a/openerp.com/document/d/123456789/edit`, the ID is " +"`document:123456789`" +msgstr "" + +#. module: google_docs +#: field:google.docs.config,gdocs_resource_id:0 +msgid "Google Resource ID to Use as Template" +msgstr "" + +#. module: google_docs +#: view:google.docs.config:0 +msgid "" +"for a drawing document with url like " +"`https://docs.google.com/a/openerp.com/drawings/d/123456789/edit`, the ID is " +"`drawings:123456789`" +msgstr "" + +#. module: google_docs +#. openerp-web +#: code:addons/google_docs/static/src/xml/gdocs.xml:6 +#, python-format +msgid "Add Google Doc..." +msgstr "Dodaj Google Doc..." + +#. module: google_docs +#: view:google.docs.config:0 +msgid "" +"This is the id of the template document, on google side. You can find it " +"thanks to its URL:" +msgstr "" + +#. module: google_docs +#: model:ir.model,name:google_docs.model_google_docs_config +msgid "Google Docs templates config" +msgstr "" + +#. module: google_docs +#. openerp-web +#: code:addons/google_docs/static/src/js/gdocs.js:25 +#, python-format +msgid "" +"The user google credentials are not set yet. Contact your administrator for " +"help." +msgstr "" + +#. module: google_docs +#: view:google.docs.config:0 +msgid "" +"for a spreadsheet document with url like " +"`https://docs.google.com/a/openerp.com/spreadsheet/ccc?key=123456789#gid=0`, " +"the ID is `spreadsheet:123456789`" +msgstr "" + +#. module: google_docs +#: code:addons/google_docs/google_docs.py:98 +#, python-format +msgid "" +"Your resource id is not correct. You can find the id in the google docs URL." +msgstr "" + +#. module: google_docs +#: code:addons/google_docs/google_docs.py:122 +#, python-format +msgid "Creating google docs may only be done by one at a time." +msgstr "" + +#. module: google_docs +#: code:addons/google_docs/google_docs.py:53 +#: code:addons/google_docs/google_docs.py:98 +#: code:addons/google_docs/google_docs.py:122 +#, python-format +msgid "Google Docs Error!" +msgstr "Google Docs greška!" + +#. module: google_docs +#: code:addons/google_docs/google_docs.py:53 +#, python-format +msgid "Check your google configuration in Users/Users/Synchronization tab." +msgstr "" + +#. module: google_docs +#: model:ir.ui.menu,name:google_docs.menu_gdocs_config +msgid "Google Docs configuration" +msgstr "Postave Google Docs-a" + +#. module: google_docs +#: model:ir.actions.act_window,name:google_docs.action_google_docs_users_config +#: model:ir.ui.menu,name:google_docs.menu_gdocs_model_config +msgid "Models configuration" +msgstr "" + +#. module: google_docs +#: field:google.docs.config,model_id:0 +msgid "Model" +msgstr "Model" + +#. module: google_docs +#. openerp-web +#: code:addons/google_docs/static/src/js/gdocs.js:28 +#, python-format +msgid "User Google credentials are not yet set." +msgstr "" + +#. module: google_docs +#: code:addons/google_docs/google_docs.py:136 +#, python-format +msgid "Your Google Doc Name Pattern's key does not found in object." +msgstr "" + +#. module: google_docs +#: help:google.docs.config,name_template:0 +msgid "" +"Choose how the new google docs will be named, on google side. Eg. " +"gdoc_%(field_name)s" +msgstr "" +"Odaberite kako će se nazivati novi google dokumenti, on google side. Eg. " +"gdoc_%(field_name)s" + +#. module: google_docs +#: view:google.docs.config:0 +msgid "Google Docs Configuration" +msgstr "" + +#. module: google_docs +#: help:google.docs.config,gdocs_resource_id:0 +msgid "" +"\n" +"This is the id of the template document, on google side. You can find it " +"thanks to its URL: \n" +"*for a text document with url like " +"`https://docs.google.com/a/openerp.com/document/d/123456789/edit`, the ID is " +"`document:123456789`\n" +"*for a spreadsheet document with url like " +"`https://docs.google.com/a/openerp.com/spreadsheet/ccc?key=123456789#gid=0`, " +"the ID is `spreadsheet:123456789`\n" +"*for a presentation (slide show) document with url like " +"`https://docs.google.com/a/openerp.com/presentation/d/123456789/edit#slide=id" +".p`, the ID is `presentation:123456789`\n" +"*for a drawing document with url like " +"`https://docs.google.com/a/openerp.com/drawings/d/123456789/edit`, the ID is " +"`drawings:123456789`\n" +"...\n" +msgstr "" + +#. module: google_docs +#: model:ir.model,name:google_docs.model_ir_attachment +msgid "ir.attachment" +msgstr "" + +#. module: google_docs +#: field:google.docs.config,name_template:0 +msgid "Google Doc Name Pattern" +msgstr "" diff --git a/addons/google_docs/i18n/pt_BR.po b/addons/google_docs/i18n/pt_BR.po index d280f28bcba..f3cb6eda1b8 100644 --- a/addons/google_docs/i18n/pt_BR.po +++ b/addons/google_docs/i18n/pt_BR.po @@ -8,14 +8,15 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-11-24 02:52+0000\n" -"PO-Revision-Date: 2012-12-04 13:17+0000\n" -"Last-Translator: Cristiano Korndörfer <codigo.aberto@dorfer.com.br>\n" +"PO-Revision-Date: 2012-12-07 22:47+0000\n" +"Last-Translator: Fábio Martinelli - http://zupy.com.br " +"<webmaster@guaru.net>\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-12-05 05:20+0000\n" -"X-Generator: Launchpad (build 16335)\n" +"X-Launchpad-Export-Date: 2012-12-08 04:59+0000\n" +"X-Generator: Launchpad (build 16341)\n" #. module: google_docs #: code:addons/google_docs/google_docs.py:136 @@ -198,6 +199,22 @@ msgid "" "`drawings:123456789`\n" "...\n" msgstr "" +"\n" +"Este é o ID do modelo de documento no Google. Você pode encontra-lo graças a " +"essa URL: \n" +"*para um documento de texto com uma url como " +"`https://docs.google.com/a/openerp.com/document/d/123456789/edit`, o ID é " +"`document:123456789`\n" +"*para uma planilha com url como " +"`https://docs.google.com/a/openerp.com/spreadsheet/ccc?key=123456789#gid=0`, " +"o ID é `spreadsheet:123456789`\n" +"*para uma apresentação (slide show) com url como " +"`https://docs.google.com/a/openerp.com/presentation/d/123456789/edit#slide=id" +".p`, o ID é `presentation:123456789`\n" +"*para um documento de desenho com url como " +"`https://docs.google.com/a/openerp.com/drawings/d/123456789/edit`, o ID é " +"`drawings:123456789`\n" +"...\n" #. module: google_docs #: model:ir.model,name:google_docs.model_ir_attachment |
