From a2161280f6abb021c73136ed74d2c22d1ca6fac3 Mon Sep 17 00:00:00 2001 From: rami-wafaie Date: Fri, 25 Aug 2017 12:47:25 +0200 Subject: [PATCH 1/7] base_country_state_translatable Module (#461) --- base_country_state_translatable/README.rst | 50 +++++++++++++++++++ base_country_state_translatable/__init__.py | 5 ++ .../__manifest__.py | 17 +++++++ .../models/__init__.py | 5 ++ .../models/res_country.py | 11 ++++ 5 files changed, 88 insertions(+) create mode 100644 base_country_state_translatable/README.rst create mode 100644 base_country_state_translatable/__init__.py create mode 100644 base_country_state_translatable/__manifest__.py create mode 100644 base_country_state_translatable/models/__init__.py create mode 100644 base_country_state_translatable/models/res_country.py diff --git a/base_country_state_translatable/README.rst b/base_country_state_translatable/README.rst new file mode 100644 index 000000000..cb3e7a204 --- /dev/null +++ b/base_country_state_translatable/README.rst @@ -0,0 +1,50 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +======================== +Translate Country States +======================== + +This module allows to translate the country states names + +Usage +===== + +* Inherit this module in your l10n_xx_country_states Module and translate the states names + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/175/10.0 + + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smashing it by providing a detailed and welcomed feedback. + +Credits +======= + +Contributors +------------ + +* Rami Alwafaie + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/base_country_state_translatable/__init__.py b/base_country_state_translatable/__init__.py new file mode 100644 index 000000000..7af4bb052 --- /dev/null +++ b/base_country_state_translatable/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# © initOS GmbH 2017 +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import models diff --git a/base_country_state_translatable/__manifest__.py b/base_country_state_translatable/__manifest__.py new file mode 100644 index 000000000..c530e9e32 --- /dev/null +++ b/base_country_state_translatable/__manifest__.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +# © initOS GmbH 2017 +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Translate Country States", + "version": "10.0.1.0.0", + "depends": ['base', + ], + 'application': False, + 'author': 'initOS GmbH, Odoo Community Association (OCA)', + "category": "Localisation/Europe", + 'license': 'AGPL-3', + 'data': [], + 'installable': True, + 'auto_install': False, +} diff --git a/base_country_state_translatable/models/__init__.py b/base_country_state_translatable/models/__init__.py new file mode 100644 index 000000000..8bad4f313 --- /dev/null +++ b/base_country_state_translatable/models/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# © initOS GmbH 2017 +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import res_country diff --git a/base_country_state_translatable/models/res_country.py b/base_country_state_translatable/models/res_country.py new file mode 100644 index 000000000..29773f372 --- /dev/null +++ b/base_country_state_translatable/models/res_country.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# © initOS GmbH 2017 +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class CountryState(models.Model): + _inherit = 'res.country.state' + + name = fields.Char(translate=True) From 953eea886682792247ed9b19b9f154b60fbc3530 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 25 Nov 2017 07:34:06 +0100 Subject: [PATCH 2/7] OCA Transbot updated translations from Transifex --- base_country_state_translatable/i18n/da.po | 24 +++++++++++++++++++ base_country_state_translatable/i18n/de.po | 24 +++++++++++++++++++ base_country_state_translatable/i18n/es.po | 24 +++++++++++++++++++ base_country_state_translatable/i18n/fr.po | 24 +++++++++++++++++++ base_country_state_translatable/i18n/hr_HR.po | 24 +++++++++++++++++++ base_country_state_translatable/i18n/it.po | 24 +++++++++++++++++++ base_country_state_translatable/i18n/pt_BR.po | 24 +++++++++++++++++++ base_country_state_translatable/i18n/sl.po | 24 +++++++++++++++++++ 8 files changed, 192 insertions(+) create mode 100644 base_country_state_translatable/i18n/da.po create mode 100644 base_country_state_translatable/i18n/de.po create mode 100644 base_country_state_translatable/i18n/es.po create mode 100644 base_country_state_translatable/i18n/fr.po create mode 100644 base_country_state_translatable/i18n/hr_HR.po create mode 100644 base_country_state_translatable/i18n/it.po create mode 100644 base_country_state_translatable/i18n/pt_BR.po create mode 100644 base_country_state_translatable/i18n/sl.po diff --git a/base_country_state_translatable/i18n/da.po b/base_country_state_translatable/i18n/da.po new file mode 100644 index 000000000..f5aafe3ee --- /dev/null +++ b/base_country_state_translatable/i18n/da.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_country_state_translatable +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_country_state_translatable +#: model:ir.model,name:base_country_state_translatable.model_res_country_state +msgid "Country state" +msgstr "Delstat/region" diff --git a/base_country_state_translatable/i18n/de.po b/base_country_state_translatable/i18n/de.po new file mode 100644 index 000000000..ebd747e77 --- /dev/null +++ b/base_country_state_translatable/i18n/de.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_country_state_translatable +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_country_state_translatable +#: model:ir.model,name:base_country_state_translatable.model_res_country_state +msgid "Country state" +msgstr "Bundesland" diff --git a/base_country_state_translatable/i18n/es.po b/base_country_state_translatable/i18n/es.po new file mode 100644 index 000000000..ac6af2569 --- /dev/null +++ b/base_country_state_translatable/i18n/es.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_country_state_translatable +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_country_state_translatable +#: model:ir.model,name:base_country_state_translatable.model_res_country_state +msgid "Country state" +msgstr "Provincia" diff --git a/base_country_state_translatable/i18n/fr.po b/base_country_state_translatable/i18n/fr.po new file mode 100644 index 000000000..ca8dd7517 --- /dev/null +++ b/base_country_state_translatable/i18n/fr.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_country_state_translatable +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_country_state_translatable +#: model:ir.model,name:base_country_state_translatable.model_res_country_state +msgid "Country state" +msgstr "Etat" diff --git a/base_country_state_translatable/i18n/hr_HR.po b/base_country_state_translatable/i18n/hr_HR.po new file mode 100644 index 000000000..4a54f2cd0 --- /dev/null +++ b/base_country_state_translatable/i18n/hr_HR.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_country_state_translatable +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr_HR\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: base_country_state_translatable +#: model:ir.model,name:base_country_state_translatable.model_res_country_state +msgid "Country state" +msgstr "Oblast/Županija" diff --git a/base_country_state_translatable/i18n/it.po b/base_country_state_translatable/i18n/it.po new file mode 100644 index 000000000..cf18a8ef3 --- /dev/null +++ b/base_country_state_translatable/i18n/it.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_country_state_translatable +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_country_state_translatable +#: model:ir.model,name:base_country_state_translatable.model_res_country_state +msgid "Country state" +msgstr "Provincia Paese" diff --git a/base_country_state_translatable/i18n/pt_BR.po b/base_country_state_translatable/i18n/pt_BR.po new file mode 100644 index 000000000..a096dbc27 --- /dev/null +++ b/base_country_state_translatable/i18n/pt_BR.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_country_state_translatable +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_country_state_translatable +#: model:ir.model,name:base_country_state_translatable.model_res_country_state +msgid "Country state" +msgstr "Estado" diff --git a/base_country_state_translatable/i18n/sl.po b/base_country_state_translatable/i18n/sl.po new file mode 100644 index 000000000..4b13d8db7 --- /dev/null +++ b/base_country_state_translatable/i18n/sl.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_country_state_translatable +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: base_country_state_translatable +#: model:ir.model,name:base_country_state_translatable.model_res_country_state +msgid "Country state" +msgstr "Zvezna država" From 408329144bde2904eea28e12456b019ace2096ae Mon Sep 17 00:00:00 2001 From: Yoshi Tashiro Date: Mon, 25 Dec 2017 16:09:19 +0000 Subject: [PATCH 3/7] [MIG] base_country_state_translatable: Migration to 11.0 remove unnecessary lines, minor adjustments --- base_country_state_translatable/README.rst | 10 +++++----- base_country_state_translatable/__init__.py | 4 ---- base_country_state_translatable/__manifest__.py | 8 ++------ base_country_state_translatable/models/__init__.py | 4 ---- base_country_state_translatable/models/res_country.py | 1 - 5 files changed, 7 insertions(+), 20 deletions(-) diff --git a/base_country_state_translatable/README.rst b/base_country_state_translatable/README.rst index cb3e7a204..6544f5e06 100644 --- a/base_country_state_translatable/README.rst +++ b/base_country_state_translatable/README.rst @@ -1,4 +1,4 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 @@ -6,23 +6,23 @@ Translate Country States ======================== -This module allows to translate the country states names +This module allows to translate the country states names. Usage ===== -* Inherit this module in your l10n_xx_country_states Module and translate the states names +* Inherit this module in your l10n_xx_country_states Module and translate the states names. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/175/10.0 + :target: https://runbot.odoo-community.org/runbot/134/11.0 Bug Tracker =========== Bugs are tracked on `GitHub Issues -`_. In case of trouble, please +`_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback. diff --git a/base_country_state_translatable/__init__.py b/base_country_state_translatable/__init__.py index 7af4bb052..0650744f6 100644 --- a/base_country_state_translatable/__init__.py +++ b/base_country_state_translatable/__init__.py @@ -1,5 +1 @@ -# -*- coding: utf-8 -*- -# © initOS GmbH 2017 -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - from . import models diff --git a/base_country_state_translatable/__manifest__.py b/base_country_state_translatable/__manifest__.py index c530e9e32..cdc18b34c 100644 --- a/base_country_state_translatable/__manifest__.py +++ b/base_country_state_translatable/__manifest__.py @@ -1,17 +1,13 @@ -# -*- coding: utf-8 -*- # © initOS GmbH 2017 # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Translate Country States", - "version": "10.0.1.0.0", + "version": "11.0.1.0.0", "depends": ['base', ], - 'application': False, 'author': 'initOS GmbH, Odoo Community Association (OCA)', - "category": "Localisation/Europe", + "category": "Localisation", 'license': 'AGPL-3', - 'data': [], 'installable': True, - 'auto_install': False, } diff --git a/base_country_state_translatable/models/__init__.py b/base_country_state_translatable/models/__init__.py index 8bad4f313..11573766f 100644 --- a/base_country_state_translatable/models/__init__.py +++ b/base_country_state_translatable/models/__init__.py @@ -1,5 +1 @@ -# -*- coding: utf-8 -*- -# © initOS GmbH 2017 -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - from . import res_country diff --git a/base_country_state_translatable/models/res_country.py b/base_country_state_translatable/models/res_country.py index 29773f372..6db41b5a4 100644 --- a/base_country_state_translatable/models/res_country.py +++ b/base_country_state_translatable/models/res_country.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © initOS GmbH 2017 # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). From 29c3b62f37ba6e4ea588f862866faaef3084d3d4 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 3 Mar 2018 09:28:18 +0100 Subject: [PATCH 4/7] OCA Transbot updated translations from Transifex [UPD] Update base_country_state_translatable.pot --- .../i18n/base_country_state_translatable.pot | 20 +++++++++++++++++++ base_country_state_translatable/i18n/da.po | 4 ++-- base_country_state_translatable/i18n/de.po | 4 ++-- base_country_state_translatable/i18n/es.po | 4 ++-- base_country_state_translatable/i18n/fr.po | 16 +++++++-------- base_country_state_translatable/i18n/hr_HR.po | 10 ++++++---- base_country_state_translatable/i18n/it.po | 4 ++-- base_country_state_translatable/i18n/pt_BR.po | 7 ++++--- base_country_state_translatable/i18n/sl.po | 7 ++++--- 9 files changed, 50 insertions(+), 26 deletions(-) create mode 100644 base_country_state_translatable/i18n/base_country_state_translatable.pot diff --git a/base_country_state_translatable/i18n/base_country_state_translatable.pot b/base_country_state_translatable/i18n/base_country_state_translatable.pot new file mode 100644 index 000000000..5b467f9e2 --- /dev/null +++ b/base_country_state_translatable/i18n/base_country_state_translatable.pot @@ -0,0 +1,20 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_country_state_translatable +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_country_state_translatable +#: model:ir.model,name:base_country_state_translatable.model_res_country_state +msgid "Country state" +msgstr "" + diff --git a/base_country_state_translatable/i18n/da.po b/base_country_state_translatable/i18n/da.po index f5aafe3ee..81da42535 100644 --- a/base_country_state_translatable/i18n/da.po +++ b/base_country_state_translatable/i18n/da.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_country_state_translatable -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-11-21 01:48+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n" +"Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: da\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_country_state_translatable diff --git a/base_country_state_translatable/i18n/de.po b/base_country_state_translatable/i18n/de.po index ebd747e77..9d702d346 100644 --- a/base_country_state_translatable/i18n/de.po +++ b/base_country_state_translatable/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_country_state_translatable -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-11-21 01:48+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_country_state_translatable diff --git a/base_country_state_translatable/i18n/es.po b/base_country_state_translatable/i18n/es.po index ac6af2569..e2ae9199a 100644 --- a/base_country_state_translatable/i18n/es.po +++ b/base_country_state_translatable/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_country_state_translatable -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-11-21 01:48+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_country_state_translatable diff --git a/base_country_state_translatable/i18n/fr.po b/base_country_state_translatable/i18n/fr.po index ca8dd7517..cb93ebb1e 100644 --- a/base_country_state_translatable/i18n/fr.po +++ b/base_country_state_translatable/i18n/fr.po @@ -1,24 +1,24 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_country_state_translatable -# +# # Translators: -# OCA Transbot , 2017 +# Quentin THEURET , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-11-21 01:48+0000\n" -"PO-Revision-Date: 2017-11-21 01:48+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"POT-Creation-Date: 2018-02-28 03:45+0000\n" +"PO-Revision-Date: 2018-02-28 03:45+0000\n" +"Last-Translator: Quentin THEURET , 2018\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: base_country_state_translatable #: model:ir.model,name:base_country_state_translatable.model_res_country_state msgid "Country state" -msgstr "Etat" +msgstr "État" diff --git a/base_country_state_translatable/i18n/hr_HR.po b/base_country_state_translatable/i18n/hr_HR.po index 4a54f2cd0..67126ec2a 100644 --- a/base_country_state_translatable/i18n/hr_HR.po +++ b/base_country_state_translatable/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_country_state_translatable -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,12 +11,14 @@ msgstr "" "POT-Creation-Date: 2017-11-21 01:48+0000\n" "PO-Revision-Date: 2017-11-21 01:48+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr_HR\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: base_country_state_translatable #: model:ir.model,name:base_country_state_translatable.model_res_country_state diff --git a/base_country_state_translatable/i18n/it.po b/base_country_state_translatable/i18n/it.po index cf18a8ef3..03e89a663 100644 --- a/base_country_state_translatable/i18n/it.po +++ b/base_country_state_translatable/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_country_state_translatable -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-11-21 01:48+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_country_state_translatable diff --git a/base_country_state_translatable/i18n/pt_BR.po b/base_country_state_translatable/i18n/pt_BR.po index a096dbc27..371e8079c 100644 --- a/base_country_state_translatable/i18n/pt_BR.po +++ b/base_country_state_translatable/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_country_state_translatable -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-11-21 01:48+0000\n" "PO-Revision-Date: 2017-11-21 01:48+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: base_country_state_translatable diff --git a/base_country_state_translatable/i18n/sl.po b/base_country_state_translatable/i18n/sl.po index 4b13d8db7..c5caabe8e 100644 --- a/base_country_state_translatable/i18n/sl.po +++ b/base_country_state_translatable/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_country_state_translatable -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2017-11-21 01:48+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: base_country_state_translatable #: model:ir.model,name:base_country_state_translatable.model_res_country_state From 6768dd18708e32b0d36d5376d91f1ba71a1667f3 Mon Sep 17 00:00:00 2001 From: David Dufresne Date: Thu, 17 Jan 2019 16:15:59 -0500 Subject: [PATCH 5/7] Bump module version and use OCA readme template --- base_country_state_translatable/README.rst | 69 ++- .../__manifest__.py | 2 +- .../readme/CONTRIBUTORS.rst | 2 + .../readme/DESCRIPTION.rst | 1 + .../readme/USAGE.rst | 1 + .../static/description/index.html | 425 ++++++++++++++++++ 6 files changed, 479 insertions(+), 21 deletions(-) create mode 100644 base_country_state_translatable/readme/CONTRIBUTORS.rst create mode 100644 base_country_state_translatable/readme/DESCRIPTION.rst create mode 100644 base_country_state_translatable/readme/USAGE.rst create mode 100644 base_country_state_translatable/static/description/index.html diff --git a/base_country_state_translatable/README.rst b/base_country_state_translatable/README.rst index 6544f5e06..d3117998c 100644 --- a/base_country_state_translatable/README.rst +++ b/base_country_state_translatable/README.rst @@ -1,50 +1,79 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ======================== Translate Country States ======================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github + :target: https://github.com/OCA/partner-contact/tree/12.0/base_country_state_translatable + :alt: OCA/partner-contact +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-base_country_state_translatable + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/134/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module allows to translate the country states names. -Usage -===== +**Table of contents** -* Inherit this module in your l10n_xx_country_states Module and translate the states names. +.. contents:: + :local: -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/134/11.0 +Usage +===== +Inherit this module in your l10n_xx_country_states Module and translate the states names. Bug Tracker =========== -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed feedback. +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= +Authors +~~~~~~~ + +* initOS GmbH + Contributors ------------- +~~~~~~~~~~~~ * Rami Alwafaie +* Numigi (tm) and all its contributors (https://bit.ly/numigiens) -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/partner-contact `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/base_country_state_translatable/__manifest__.py b/base_country_state_translatable/__manifest__.py index cdc18b34c..f9e6523fa 100644 --- a/base_country_state_translatable/__manifest__.py +++ b/base_country_state_translatable/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Translate Country States", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "depends": ['base', ], 'author': 'initOS GmbH, Odoo Community Association (OCA)', diff --git a/base_country_state_translatable/readme/CONTRIBUTORS.rst b/base_country_state_translatable/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..4a015acea --- /dev/null +++ b/base_country_state_translatable/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Rami Alwafaie +* Numigi (tm) and all its contributors (https://bit.ly/numigiens) diff --git a/base_country_state_translatable/readme/DESCRIPTION.rst b/base_country_state_translatable/readme/DESCRIPTION.rst new file mode 100644 index 000000000..1a6410943 --- /dev/null +++ b/base_country_state_translatable/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module allows to translate the country states names. diff --git a/base_country_state_translatable/readme/USAGE.rst b/base_country_state_translatable/readme/USAGE.rst new file mode 100644 index 000000000..6b012bbf6 --- /dev/null +++ b/base_country_state_translatable/readme/USAGE.rst @@ -0,0 +1 @@ +Inherit this module in your l10n_xx_country_states Module and translate the states names. diff --git a/base_country_state_translatable/static/description/index.html b/base_country_state_translatable/static/description/index.html new file mode 100644 index 000000000..e2d0282fd --- /dev/null +++ b/base_country_state_translatable/static/description/index.html @@ -0,0 +1,425 @@ + + + + + + +Translate Country States + + + +
+

Translate Country States

+ + +

Beta License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runbot

+

This module allows to translate the country states names.

+

Table of contents

+ +
+

Usage

+

Inherit this module in your l10n_xx_country_states Module and translate the states names.

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • initOS GmbH
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/partner-contact project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + From 0d179ad0f83dd80b29b732f42327359f48b9bbbe Mon Sep 17 00:00:00 2001 From: Nikul Chaudhary Date: Fri, 18 Jan 2019 09:01:53 -0500 Subject: [PATCH 6/7] Update base_country_state_translatable/__manifest__.py Co-Authored-By: ddufresne <27902736+ddufresne@users.noreply.github.com> --- base_country_state_translatable/__manifest__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base_country_state_translatable/__manifest__.py b/base_country_state_translatable/__manifest__.py index f9e6523fa..b12b5acb0 100644 --- a/base_country_state_translatable/__manifest__.py +++ b/base_country_state_translatable/__manifest__.py @@ -4,8 +4,9 @@ { "name": "Translate Country States", "version": "12.0.1.0.0", - "depends": ['base', - ], + "depends": ['base'], + "website": 'https://github.com/OCA/partner-contact', + "summary": "Translate Country States", 'author': 'initOS GmbH, Odoo Community Association (OCA)', "category": "Localisation", 'license': 'AGPL-3', From 2e526e42a1db86b105cffac0e504267620c5b21c Mon Sep 17 00:00:00 2001 From: David Dufresne <27902736+ddufresne@users.noreply.github.com> Date: Fri, 18 Jan 2019 14:37:48 -0500 Subject: [PATCH 7/7] Fix copyright syntax --- base_country_state_translatable/__manifest__.py | 2 +- base_country_state_translatable/models/res_country.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base_country_state_translatable/__manifest__.py b/base_country_state_translatable/__manifest__.py index b12b5acb0..b9bd92dd4 100644 --- a/base_country_state_translatable/__manifest__.py +++ b/base_country_state_translatable/__manifest__.py @@ -1,4 +1,4 @@ -# © initOS GmbH 2017 +# Copyright 2017 initOS GmbH # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { diff --git a/base_country_state_translatable/models/res_country.py b/base_country_state_translatable/models/res_country.py index 6db41b5a4..f138234fd 100644 --- a/base_country_state_translatable/models/res_country.py +++ b/base_country_state_translatable/models/res_country.py @@ -1,4 +1,4 @@ -# © initOS GmbH 2017 +# Copyright 2017 initOS GmbH # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import fields, models