diff --git a/base_country_state_translatable/README.rst b/base_country_state_translatable/README.rst new file mode 100644 index 000000000..d3117998c --- /dev/null +++ b/base_country_state_translatable/README.rst @@ -0,0 +1,79 @@ +======================== +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. + +**Table of contents** + +.. contents:: + :local: + +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 +~~~~~~~~~~~~ + +* Rami Alwafaie +* Numigi (tm) and all its contributors (https://bit.ly/numigiens) + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. diff --git a/base_country_state_translatable/__init__.py b/base_country_state_translatable/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/base_country_state_translatable/__init__.py @@ -0,0 +1 @@ +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..b9bd92dd4 --- /dev/null +++ b/base_country_state_translatable/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright 2017 initOS GmbH +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Translate Country States", + "version": "12.0.1.0.0", + "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', + 'installable': True, +} 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 new file mode 100644 index 000000000..81da42535 --- /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" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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..9d702d346 --- /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" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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..e2ae9199a --- /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" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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..cb93ebb1e --- /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: +# Quentin THEURET , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \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" +"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 "État" 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..67126ec2a --- /dev/null +++ b/base_country_state_translatable/i18n/hr_HR.po @@ -0,0 +1,26 @@ +# 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" +"Language: hr_HR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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..03e89a663 --- /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" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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..371e8079c --- /dev/null +++ b/base_country_state_translatable/i18n/pt_BR.po @@ -0,0 +1,25 @@ +# 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" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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..c5caabe8e --- /dev/null +++ b/base_country_state_translatable/i18n/sl.po @@ -0,0 +1,25 @@ +# 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" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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" diff --git a/base_country_state_translatable/models/__init__.py b/base_country_state_translatable/models/__init__.py new file mode 100644 index 000000000..11573766f --- /dev/null +++ b/base_country_state_translatable/models/__init__.py @@ -0,0 +1 @@ +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..f138234fd --- /dev/null +++ b/base_country_state_translatable/models/res_country.py @@ -0,0 +1,10 @@ +# Copyright 2017 initOS GmbH +# 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) 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.

+
+
+
+ +