From 17c8d43b941229f7c79e142868d8c3f3b569eb2b Mon Sep 17 00:00:00 2001 From: Franco Tampieri Date: Mon, 22 Sep 2014 16:40:24 +0200 Subject: [PATCH 1/4] [Add] Add italian translation, change field class to edit-only for better-zip field --- base_location/__init__.py | 1 + base_location/__openerp__.py | 1 + base_location/better_zip.py | 1 + base_location/company.py | 1 + base_location/i18n/it.po | 107 +++++++++++++++++++++++++++++++++ base_location/partner.py | 1 + base_location/partner_view.xml | 2 + base_location/state.py | 1 + 8 files changed, 115 insertions(+) create mode 100644 base_location/i18n/it.po diff --git a/base_location/__init__.py b/base_location/__init__.py index 878769646..8ecb0f786 100644 --- a/base_location/__init__.py +++ b/base_location/__init__.py @@ -4,6 +4,7 @@ # Author: Nicolas Bessi. Copyright Camptocamp SA # Contributor: Pedro Manuel Baeza # Ignacio Ibeas +# Franco Tampieri # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/base_location/__openerp__.py b/base_location/__openerp__.py index 6ed991501..8a0a142a4 100644 --- a/base_location/__openerp__.py +++ b/base_location/__openerp__.py @@ -4,6 +4,7 @@ # Author: Nicolas Bessi. Copyright Camptocamp SA # Contributor: Pedro Manuel Baeza # Ignacio Ibeas +# Franco Tampieri # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/base_location/better_zip.py b/base_location/better_zip.py index c51644a12..7570e3585 100644 --- a/base_location/better_zip.py +++ b/base_location/better_zip.py @@ -4,6 +4,7 @@ # Author: Nicolas Bessi. Copyright Camptocamp SA # Contributor: Pedro Manuel Baeza # Ignacio Ibeas +# Franco Tampieri # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/base_location/company.py b/base_location/company.py index 35ef3d856..4f6d27a36 100644 --- a/base_location/company.py +++ b/base_location/company.py @@ -4,6 +4,7 @@ # Author: Nicolas Bessi. Copyright Camptocamp SA # Contributor: Pedro Manuel Baeza # Ignacio Ibeas +# Franco Tampieri # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/base_location/i18n/it.po b/base_location/i18n/it.po new file mode 100644 index 000000000..e87fffdee --- /dev/null +++ b/base_location/i18n/it.po @@ -0,0 +1,107 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * better_zip +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-06-07 14:17+0000\n" +"PO-Revision-Date: 2014-09-22 16:32+0100\n" +"Last-Translator: Franco Tampieri \n" +"Language-Team: \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.6.9\n" + +#. module: better_zip +#: model:ir.actions.act_window,name:better_zip.action_zip_tree +msgid "Cites/locations Management" +msgstr "Gestione Città/Locazioni" + +#. module: better_zip +#: field:res.better.zip,city:0 +msgid "City" +msgstr "Città" + +#. module: better_zip +#: view:res.better.zip:0 field:res.better.zip,name:0 +msgid "ZIP" +msgstr "CAP" + +#. module: better_zip +#: field:res.better.zip,country_id:0 +msgid "Country" +msgstr "Paese" + +#. module: better_zip +#: field:res.better.zip,priority:0 +msgid "Priority" +msgstr "Priorità" + +#. module: better_zip +#: model:ir.model,name:better_zip.model_res_company +msgid "Companies" +msgstr "Aziende" + +#. module: better_zip +#: field:res.better.zip,code:0 +msgid "City Code" +msgstr "Codice Città" + +#. module: better_zip +#: model:ir.model,name:better_zip.model_res_better_zip +msgid " City/locations completion object" +msgstr " oggetto completamento Città/locazioni" + +#. module: better_zip +#: help:res.company,better_zip_id:0 +msgid "Use the city name or the zip code to search the location" +msgstr "Usare il nome della città o il codice CAP per ricercare la locazione" + +#. module: better_zip +#: field:res.partner,zip_id:0 +msgid "City/Location" +msgstr "Città/Locazione" + +#. module: better_zip +#: field:res.better.zip,state_id:0 +msgid "State" +msgstr "Provincia" + +#. module: better_zip +#: field:res.company,better_zip_id:0 +msgid "Location" +msgstr "Locazione" + +#. module: better_zip +#: model:ir.ui.menu,name:better_zip.zip_base +msgid "Cities/Locations Management" +msgstr "Gestione Città/Locazioni" + +#. module: better_zip +#: model:ir.model,name:better_zip.model_res_partner +msgid "Partner" +msgstr "Partner" + +#. module: better_zip +#: view:res.company:0 view:res.partner:0 +msgid "City completion" +msgstr "Completamento città" + +#. module: better_zip +#: field:res.country.state,better_zip_ids:0 +msgid "Cities" +msgstr "Città" + +#. module: better_zip +#: model:ir.model,name:better_zip.model_res_country_state +msgid "Country state" +msgstr "Provincia Paese" + +#. module: better_zip +#: help:res.better.zip,code:0 +msgid "The official code for the city" +msgstr "Il codice ufficiale per la città" diff --git a/base_location/partner.py b/base_location/partner.py index 76218ecd5..f7ad56a2d 100644 --- a/base_location/partner.py +++ b/base_location/partner.py @@ -4,6 +4,7 @@ # Author: Nicolas Bessi. Copyright Camptocamp SA # Contributor: Pedro Manuel Baeza # Ignacio Ibeas +# Franco Tampieri # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/base_location/partner_view.xml b/base_location/partner_view.xml index 1329b1e02..b75b04a3a 100644 --- a/base_location/partner_view.xml +++ b/base_location/partner_view.xml @@ -12,6 +12,7 @@ on_change="onchange_zip_id(zip_id)" placeholder="City completion" attrs="{'invisible': [('use_parent_address','=',True)]}" + class="oe_edit_only" /> @@ -20,6 +21,7 @@ on_change="onchange_zip_id(zip_id)" placeholder="City completion" attrs="{'invisible': [('use_parent_address','=',True)]}" + class="oe_edit_only" /> diff --git a/base_location/state.py b/base_location/state.py index 24cc81e20..ab1a7c7b8 100644 --- a/base_location/state.py +++ b/base_location/state.py @@ -4,6 +4,7 @@ # Author: Nicolas Bessi. Copyright Camptocamp SA # Contributor: Pedro Manuel Baeza # Ignacio Ibeas +# Franco Tampieri # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as From ed0aeb65ac5fb8b0ef27a1946098d9603062ccb1 Mon Sep 17 00:00:00 2001 From: Franco Tampieri Date: Mon, 22 Sep 2014 17:31:05 +0200 Subject: [PATCH 2/4] [Add] Add some italian translation --- base_location_geonames_import/i18n/it.po | 79 ++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 base_location_geonames_import/i18n/it.po diff --git a/base_location_geonames_import/i18n/it.po b/base_location_geonames_import/i18n/it.po new file mode 100644 index 000000000..546a542ac --- /dev/null +++ b/base_location_geonames_import/i18n/it.po @@ -0,0 +1,79 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * base_location_geonames_import +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-04-11 20:56+0000\n" +"PO-Revision-Date: 2014-09-22 17:30+0100\n" +"Last-Translator: Franco Tampieri \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"Language: it\n" +"X-Generator: Poedit 1.6.9\n" + +#. module: base_location_geonames_import +#: view:better.zip.geonames.import:0 +msgid "Cancel" +msgstr "Annulla" + +#. module: base_location_geonames_import +#: field:better.zip.geonames.import,country_id:0 +msgid "Country" +msgstr "Paese" + +#. module: base_location_geonames_import +#: code:addons/base_location_geonames_import/wizard/geonames_import.py:66 +#: code:addons/base_location_geonames_import/wizard/geonames_import.py:90 +#, python-format +msgid "Error:" +msgstr "Errore :" + +#. module: base_location_geonames_import +#: view:better.zip.geonames.import:0 +msgid "" +"For the country selected above, this wizard will DELETE ALL THE CURRENT " +"BETTER ZIP ENTRIES, download the latest version of the list of cities from " +"geonames.org and create new better zip entries." +msgstr "" +"Per il paese selezionato, questo wizard CANCELLERA' TUTTE LE RIGHE CORRENTI " +"DELL'OGGETTO BETTER ZIP, scaricherà la lista delle città da geonames.org e " +"creerà le nuove righe di better zip." + +#. module: base_location_geonames_import +#: code:addons/base_location_geonames_import/wizard/geonames_import.py:91 +#, python-format +msgid "Got an error %d when trying to download the file %s." +msgstr "Errore %d mentre si stava scaricando il file %s." + +#. module: base_location_geonames_import +#: view:better.zip.geonames.import:0 +msgid "Import" +msgstr "Importa" + +#. module: base_location_geonames_import +#: model:ir.model,name:base_location_geonames_import.model_better_zip_geonames_import +msgid "Import Better Zip from Geonames" +msgstr "Importa Better Zip da Geonames" + +#. module: base_location_geonames_import +#: view:better.zip.geonames.import:0 +#: model:ir.actions.act_window,name:base_location_geonames_import.better_zip_geonames_import_action +#: model:ir.ui.menu,name:base_location_geonames_import.better_zip_geonames_import_menu +msgid "Import Geonames" +msgstr "Importa Geonames" + +#. module: base_location_geonames_import +#: code:addons/base_location_geonames_import/wizard/geonames_import.py:67 +#, python-format +msgid "" +"The country code inside the file (%s) doesn't correspond to the selected " +"country (%s)." +msgstr "" +"Il codice paese all'interno del file (%s) non corrisponde al paese " +"selezionato (%s)." From 62634616fe5d8d06488ad0d6efbba685e9c05fa1 Mon Sep 17 00:00:00 2001 From: Franco Tampieri Date: Mon, 22 Sep 2014 20:59:48 +0200 Subject: [PATCH 3/4] [Fix] Removed my contributor lines --- base_location/__init__.py | 1 - base_location/__openerp__.py | 1 - base_location/better_zip.py | 1 - base_location/company.py | 1 - base_location/partner.py | 1 - base_location/state.py | 1 - 6 files changed, 6 deletions(-) diff --git a/base_location/__init__.py b/base_location/__init__.py index 8ecb0f786..878769646 100644 --- a/base_location/__init__.py +++ b/base_location/__init__.py @@ -4,7 +4,6 @@ # Author: Nicolas Bessi. Copyright Camptocamp SA # Contributor: Pedro Manuel Baeza # Ignacio Ibeas -# Franco Tampieri # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/base_location/__openerp__.py b/base_location/__openerp__.py index 8a0a142a4..6ed991501 100644 --- a/base_location/__openerp__.py +++ b/base_location/__openerp__.py @@ -4,7 +4,6 @@ # Author: Nicolas Bessi. Copyright Camptocamp SA # Contributor: Pedro Manuel Baeza # Ignacio Ibeas -# Franco Tampieri # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/base_location/better_zip.py b/base_location/better_zip.py index 7570e3585..c51644a12 100644 --- a/base_location/better_zip.py +++ b/base_location/better_zip.py @@ -4,7 +4,6 @@ # Author: Nicolas Bessi. Copyright Camptocamp SA # Contributor: Pedro Manuel Baeza # Ignacio Ibeas -# Franco Tampieri # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/base_location/company.py b/base_location/company.py index 4f6d27a36..35ef3d856 100644 --- a/base_location/company.py +++ b/base_location/company.py @@ -4,7 +4,6 @@ # Author: Nicolas Bessi. Copyright Camptocamp SA # Contributor: Pedro Manuel Baeza # Ignacio Ibeas -# Franco Tampieri # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/base_location/partner.py b/base_location/partner.py index f7ad56a2d..76218ecd5 100644 --- a/base_location/partner.py +++ b/base_location/partner.py @@ -4,7 +4,6 @@ # Author: Nicolas Bessi. Copyright Camptocamp SA # Contributor: Pedro Manuel Baeza # Ignacio Ibeas -# Franco Tampieri # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/base_location/state.py b/base_location/state.py index ab1a7c7b8..24cc81e20 100644 --- a/base_location/state.py +++ b/base_location/state.py @@ -4,7 +4,6 @@ # Author: Nicolas Bessi. Copyright Camptocamp SA # Contributor: Pedro Manuel Baeza # Ignacio Ibeas -# Franco Tampieri # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as From c5b7f735375c5b2d804e8786f2bf8c6caeca4bd7 Mon Sep 17 00:00:00 2001 From: Franco Tampieri Date: Tue, 23 Sep 2014 10:46:01 +0200 Subject: [PATCH 4/4] [Fix] Fix it.po translation --- base_location_geonames_import/i18n/it.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_location_geonames_import/i18n/it.po b/base_location_geonames_import/i18n/it.po index 546a542ac..cf2a22ed7 100644 --- a/base_location_geonames_import/i18n/it.po +++ b/base_location_geonames_import/i18n/it.po @@ -32,7 +32,7 @@ msgstr "Paese" #: code:addons/base_location_geonames_import/wizard/geonames_import.py:90 #, python-format msgid "Error:" -msgstr "Errore :" +msgstr "Errore:" #. module: base_location_geonames_import #: view:better.zip.geonames.import:0