From 436950fe89b2bb6ff40accf22cb72b5cf1dcd7b6 Mon Sep 17 00:00:00 2001 From: Thomas Rehn Date: Tue, 19 May 2015 11:57:36 +0100 Subject: [PATCH 1/6] first release of website_canonical_url add a proper description correct import according to review --- website_canonical_url/README.rst | 14 +++++++ website_canonical_url/__init__.py | 22 +++++++++++ website_canonical_url/__openerp__.py | 46 +++++++++++++++++++++++ website_canonical_url/models/__init__.py | 22 +++++++++++ website_canonical_url/models/website.py | 35 +++++++++++++++++ website_canonical_url/views/templates.xml | 16 ++++++++ 6 files changed, 155 insertions(+) create mode 100644 website_canonical_url/README.rst create mode 100644 website_canonical_url/__init__.py create mode 100644 website_canonical_url/__openerp__.py create mode 100644 website_canonical_url/models/__init__.py create mode 100644 website_canonical_url/models/website.py create mode 100644 website_canonical_url/views/templates.xml diff --git a/website_canonical_url/README.rst b/website_canonical_url/README.rst new file mode 100644 index 0000000000..ce4727690a --- /dev/null +++ b/website_canonical_url/README.rst @@ -0,0 +1,14 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :alt: License: AGPL-3 + +Website Canoncial URL +===================== + +This module adds a HTML tag in the header that contains a canoncial URL for the current page. + + +Contributors +------------ + +* Thomas Rehn + diff --git a/website_canonical_url/__init__.py b/website_canonical_url/__init__.py new file mode 100644 index 0000000000..75b1f5905f --- /dev/null +++ b/website_canonical_url/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Authors: Thomas Rehn +# Copyright (c) 2015 initOS GmbH & Co. KG () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# + +from . import models diff --git a/website_canonical_url/__openerp__.py b/website_canonical_url/__openerp__.py new file mode 100644 index 0000000000..ea22215499 --- /dev/null +++ b/website_canonical_url/__openerp__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Authors: Thomas Rehn +# Copyright (c) 2015 initOS GmbH & Co. KG () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# +{ + 'name': "Website Canoncial URL", + + 'summary': """ + Canonical URL in Website Headers""", + + 'author': "initOS GmbH & Co. KG", + 'website': "http://www.initos.com", + + 'category': 'Website', + 'version': '0.1', + 'license': 'AGPL-3', + + 'depends': [ + 'website', + ], + 'data': [ + 'views/templates.xml', + ], + + 'demo': [ + ], + + 'tests': [ + ], +} diff --git a/website_canonical_url/models/__init__.py b/website_canonical_url/models/__init__.py new file mode 100644 index 0000000000..9d7d6893b2 --- /dev/null +++ b/website_canonical_url/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Authors: Thomas Rehn +# Copyright (c) 2015 initOS GmbH & Co. KG () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# + +from . import website diff --git a/website_canonical_url/models/website.py b/website_canonical_url/models/website.py new file mode 100644 index 0000000000..2a0dda560d --- /dev/null +++ b/website_canonical_url/models/website.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Authors: Thomas Rehn +# Copyright (c) 2015 initOS GmbH & Co. KG () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# + +from openerp.osv import orm +from openerp.http import request + + +class website(orm.Model): + _inherit = 'website' + + def get_canonical_urls(self, cr, uid, ids, req=None, **kwargs): + canonical_urls = [] + if req is None: + req = request.httprequest + if req and req.base_url: + canonical_urls.append(req.base_url) + return canonical_urls diff --git a/website_canonical_url/views/templates.xml b/website_canonical_url/views/templates.xml new file mode 100644 index 0000000000..fa259594bf --- /dev/null +++ b/website_canonical_url/views/templates.xml @@ -0,0 +1,16 @@ + + + + + + + + \ No newline at end of file From 477f2a2ad7acf1c7f7346301a4091d85931842f6 Mon Sep 17 00:00:00 2001 From: ralwafaie Date: Tue, 7 Jun 2016 11:07:52 +0200 Subject: [PATCH 2/6] FIX the review remarks bug fixes + add languages clean the code fix README file --- website_canonical_url/README.rst | 36 ++++++++++++++++- website_canonical_url/__init__.py | 21 +--------- website_canonical_url/__openerp__.py | 39 ++++--------------- website_canonical_url/models/__init__.py | 21 +--------- website_canonical_url/models/website.py | 47 ++++++++++------------- website_canonical_url/views/templates.xml | 7 ++-- 6 files changed, 70 insertions(+), 101 deletions(-) diff --git a/website_canonical_url/README.rst b/website_canonical_url/README.rst index ce4727690a..3c45cb9afa 100644 --- a/website_canonical_url/README.rst +++ b/website_canonical_url/README.rst @@ -1,14 +1,48 @@ .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg :alt: License: AGPL-3 - +===================== Website Canoncial URL ===================== This module adds a HTML tag in the header that contains a canoncial URL for the current page. +Usage +===== + +* go to ... +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/186/8.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 ------------ * Thomas Rehn +* 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/website_canonical_url/__init__.py b/website_canonical_url/__init__.py index 75b1f5905f..9b1d259dc3 100644 --- a/website_canonical_url/__init__.py +++ b/website_canonical_url/__init__.py @@ -1,22 +1,5 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# Authors: Thomas Rehn -# Copyright (c) 2015 initOS GmbH & Co. KG () -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################# +# © initOS GmbH 2016 +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models diff --git a/website_canonical_url/__openerp__.py b/website_canonical_url/__openerp__.py index ea22215499..9bc10736e4 100644 --- a/website_canonical_url/__openerp__.py +++ b/website_canonical_url/__openerp__.py @@ -1,46 +1,21 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# Authors: Thomas Rehn -# Copyright (c) 2015 initOS GmbH & Co. KG () -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################# +# © initOS GmbH 2016 +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + { 'name': "Website Canoncial URL", - 'summary': """ - Canonical URL in Website Headers""", - - 'author': "initOS GmbH & Co. KG", + Canonical URL in Website Headers + """, + 'author': "initOS GmbH, Odoo Community Association (OCA)", 'website': "http://www.initos.com", - 'category': 'Website', - 'version': '0.1', + 'version': '8.0.1.0.0', 'license': 'AGPL-3', - 'depends': [ 'website', ], 'data': [ 'views/templates.xml', ], - - 'demo': [ - ], - - 'tests': [ - ], } diff --git a/website_canonical_url/models/__init__.py b/website_canonical_url/models/__init__.py index 9d7d6893b2..d9657f0f86 100644 --- a/website_canonical_url/models/__init__.py +++ b/website_canonical_url/models/__init__.py @@ -1,22 +1,5 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# Authors: Thomas Rehn -# Copyright (c) 2015 initOS GmbH & Co. KG () -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################# +# © initOS GmbH 2016 +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import website diff --git a/website_canonical_url/models/website.py b/website_canonical_url/models/website.py index 2a0dda560d..531d7cbc35 100644 --- a/website_canonical_url/models/website.py +++ b/website_canonical_url/models/website.py @@ -1,35 +1,28 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# Authors: Thomas Rehn -# Copyright (c) 2015 initOS GmbH & Co. KG () -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################# +# © initOS GmbH 2016 +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp.osv import orm +from openerp import models, api from openerp.http import request +from urlparse import urlparse, urlunparse -class website(orm.Model): +class website(models.Model): _inherit = 'website' - def get_canonical_urls(self, cr, uid, ids, req=None, **kwargs): - canonical_urls = [] + @api.multi + def get_canonical_url(self, req=None): + canonical_url = None if req is None: - req = request.httprequest - if req and req.base_url: - canonical_urls.append(req.base_url) - return canonical_urls + req = request + if req and req.httprequest.base_url: + lang = self._context['lang'] + if lang == request.website.default_lang_code: + canonical_url = req.httprequest.base_url + else: + url_parts = urlparse(req.httprequest.base_url) + url_parts = list(url_parts) + # change the path of the url + url_parts[2] = lang + url_parts[2] + canonical_url = urlunparse(url_parts) + return canonical_url diff --git a/website_canonical_url/views/templates.xml b/website_canonical_url/views/templates.xml index fa259594bf..144430feec 100644 --- a/website_canonical_url/views/templates.xml +++ b/website_canonical_url/views/templates.xml @@ -5,12 +5,13 @@ - \ No newline at end of file + From bdbc8163bf00a4b7256043606172fb12c30d62d7 Mon Sep 17 00:00:00 2001 From: Thomas Rehn Date: Tue, 7 Jun 2016 17:21:16 +0200 Subject: [PATCH 3/6] [FIX] remove empty section from README.rst [IMP] add pagination support --- website_canonical_url/README.rst | 4 ---- website_canonical_url/views/templates.xml | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website_canonical_url/README.rst b/website_canonical_url/README.rst index 3c45cb9afa..5fce9a2318 100644 --- a/website_canonical_url/README.rst +++ b/website_canonical_url/README.rst @@ -6,10 +6,6 @@ Website Canoncial URL This module adds a HTML tag in the header that contains a canoncial URL for the current page. -Usage -===== - -* go to ... .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot :target: https://runbot.odoo-community.org/runbot/186/8.0 diff --git a/website_canonical_url/views/templates.xml b/website_canonical_url/views/templates.xml index 144430feec..3ff83b2139 100644 --- a/website_canonical_url/views/templates.xml +++ b/website_canonical_url/views/templates.xml @@ -9,6 +9,10 @@ + + + + From 36049fb0713b6c304afb19b90d5e7b0d0641765c Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sun, 10 Jul 2016 22:44:55 -0400 Subject: [PATCH 4/6] OCA Transbot updated translations from Transifex --- website_canonical_url/i18n/af.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/ar.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/bg.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/bs.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/ca.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/cs.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/da.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/de.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/el.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/el_GR.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/en_GB.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/es.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/es_AR.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/es_CL.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/es_CO.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/es_CR.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/es_DO.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/es_EC.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/es_MX.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/es_PE.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/et.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/fa.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/fi.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/fr.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/he.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/hr.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/hr_HR.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/hu.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/id.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/it.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/ja.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/ka.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/kab.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/ko.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/lt.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/lv.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/mk.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/mn.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/nb.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/pl.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/pt_BR.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/ru.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/sk.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/sl.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/sr.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/sr@latin.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/sv.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/th.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/uk.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/vi.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/zh_CN.po | 24 ++++++++++++++++++++++++ website_canonical_url/i18n/zh_TW.po | 24 ++++++++++++++++++++++++ 52 files changed, 1248 insertions(+) create mode 100644 website_canonical_url/i18n/af.po create mode 100644 website_canonical_url/i18n/ar.po create mode 100644 website_canonical_url/i18n/bg.po create mode 100644 website_canonical_url/i18n/bs.po create mode 100644 website_canonical_url/i18n/ca.po create mode 100644 website_canonical_url/i18n/cs.po create mode 100644 website_canonical_url/i18n/da.po create mode 100644 website_canonical_url/i18n/de.po create mode 100644 website_canonical_url/i18n/el.po create mode 100644 website_canonical_url/i18n/el_GR.po create mode 100644 website_canonical_url/i18n/en_GB.po create mode 100644 website_canonical_url/i18n/es.po create mode 100644 website_canonical_url/i18n/es_AR.po create mode 100644 website_canonical_url/i18n/es_CL.po create mode 100644 website_canonical_url/i18n/es_CO.po create mode 100644 website_canonical_url/i18n/es_CR.po create mode 100644 website_canonical_url/i18n/es_DO.po create mode 100644 website_canonical_url/i18n/es_EC.po create mode 100644 website_canonical_url/i18n/es_MX.po create mode 100644 website_canonical_url/i18n/es_PE.po create mode 100644 website_canonical_url/i18n/et.po create mode 100644 website_canonical_url/i18n/fa.po create mode 100644 website_canonical_url/i18n/fi.po create mode 100644 website_canonical_url/i18n/fr.po create mode 100644 website_canonical_url/i18n/he.po create mode 100644 website_canonical_url/i18n/hr.po create mode 100644 website_canonical_url/i18n/hr_HR.po create mode 100644 website_canonical_url/i18n/hu.po create mode 100644 website_canonical_url/i18n/id.po create mode 100644 website_canonical_url/i18n/it.po create mode 100644 website_canonical_url/i18n/ja.po create mode 100644 website_canonical_url/i18n/ka.po create mode 100644 website_canonical_url/i18n/kab.po create mode 100644 website_canonical_url/i18n/ko.po create mode 100644 website_canonical_url/i18n/lt.po create mode 100644 website_canonical_url/i18n/lv.po create mode 100644 website_canonical_url/i18n/mk.po create mode 100644 website_canonical_url/i18n/mn.po create mode 100644 website_canonical_url/i18n/nb.po create mode 100644 website_canonical_url/i18n/pl.po create mode 100644 website_canonical_url/i18n/pt_BR.po create mode 100644 website_canonical_url/i18n/ru.po create mode 100644 website_canonical_url/i18n/sk.po create mode 100644 website_canonical_url/i18n/sl.po create mode 100644 website_canonical_url/i18n/sr.po create mode 100644 website_canonical_url/i18n/sr@latin.po create mode 100644 website_canonical_url/i18n/sv.po create mode 100644 website_canonical_url/i18n/th.po create mode 100644 website_canonical_url/i18n/uk.po create mode 100644 website_canonical_url/i18n/vi.po create mode 100644 website_canonical_url/i18n/zh_CN.po create mode 100644 website_canonical_url/i18n/zh_TW.po diff --git a/website_canonical_url/i18n/af.po b/website_canonical_url/i18n/af.po new file mode 100644 index 0000000000..24167d2250 --- /dev/null +++ b/website_canonical_url/i18n/af.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Afrikaans (https://www.transifex.com/oca/teams/23907/af/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: af\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Webtuiste" diff --git a/website_canonical_url/i18n/ar.po b/website_canonical_url/i18n/ar.po new file mode 100644 index 0000000000..96f8816272 --- /dev/null +++ b/website_canonical_url/i18n/ar.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "الموقع" diff --git a/website_canonical_url/i18n/bg.po b/website_canonical_url/i18n/bg.po new file mode 100644 index 0000000000..00cc8abd01 --- /dev/null +++ b/website_canonical_url/i18n/bg.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# Kaloyan Naumov , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: Kaloyan Naumov , 2016\n" +"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Уебсайт" diff --git a/website_canonical_url/i18n/bs.po b/website_canonical_url/i18n/bs.po new file mode 100644 index 0000000000..cc75e78c4a --- /dev/null +++ b/website_canonical_url/i18n/bs.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bs\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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Web stranica" diff --git a/website_canonical_url/i18n/ca.po b/website_canonical_url/i18n/ca.po new file mode 100644 index 0000000000..3a9699ef3d --- /dev/null +++ b/website_canonical_url/i18n/ca.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# Carles Antoli , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 01:09+0000\n" +"PO-Revision-Date: 2016-07-07 01:09+0000\n" +"Last-Translator: Carles Antoli , 2016\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Lloc web" diff --git a/website_canonical_url/i18n/cs.po b/website_canonical_url/i18n/cs.po new file mode 100644 index 0000000000..13da6dfdac --- /dev/null +++ b/website_canonical_url/i18n/cs.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: cs\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Webová stránka" diff --git a/website_canonical_url/i18n/da.po b/website_canonical_url/i18n/da.po new file mode 100644 index 0000000000..4fb780fe2a --- /dev/null +++ b/website_canonical_url/i18n/da.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Hjemmeside" diff --git a/website_canonical_url/i18n/de.po b/website_canonical_url/i18n/de.po new file mode 100644 index 0000000000..f1e20eed39 --- /dev/null +++ b/website_canonical_url/i18n/de.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# Thomas A. Jaeger , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 01:09+0000\n" +"PO-Revision-Date: 2016-07-07 01:09+0000\n" +"Last-Translator: Thomas A. Jaeger , 2016\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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Webseite" diff --git a/website_canonical_url/i18n/el.po b/website_canonical_url/i18n/el.po new file mode 100644 index 0000000000..7f687ed83e --- /dev/null +++ b/website_canonical_url/i18n/el.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Greek (https://www.transifex.com/oca/teams/23907/el/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Ιστότοπος" diff --git a/website_canonical_url/i18n/el_GR.po b/website_canonical_url/i18n/el_GR.po new file mode 100644 index 0000000000..f1718a1d26 --- /dev/null +++ b/website_canonical_url/i18n/el_GR.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# Kostas Goutoudis , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 01:09+0000\n" +"PO-Revision-Date: 2016-07-07 01:09+0000\n" +"Last-Translator: Kostas Goutoudis , 2016\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/el_GR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: el_GR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Ιστότοπος" diff --git a/website_canonical_url/i18n/en_GB.po b/website_canonical_url/i18n/en_GB.po new file mode 100644 index 0000000000..f60e47ca8d --- /dev/null +++ b/website_canonical_url/i18n/en_GB.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/teams/23907/en_GB/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Website" diff --git a/website_canonical_url/i18n/es.po b/website_canonical_url/i18n/es.po new file mode 100644 index 0000000000..52ccae6043 --- /dev/null +++ b/website_canonical_url/i18n/es.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 01:09+0000\n" +"PO-Revision-Date: 2016-07-07 01:09+0000\n" +"Last-Translator: OCA Transbot , 2016\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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Sitio web" diff --git a/website_canonical_url/i18n/es_AR.po b/website_canonical_url/i18n/es_AR.po new file mode 100644 index 0000000000..da3e81733a --- /dev/null +++ b/website_canonical_url/i18n/es_AR.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Argentina) (https://www.transifex.com/oca/teams/23907/es_AR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_AR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Sitio web" diff --git a/website_canonical_url/i18n/es_CL.po b/website_canonical_url/i18n/es_CL.po new file mode 100644 index 0000000000..1f6be37678 --- /dev/null +++ b/website_canonical_url/i18n/es_CL.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Chile) (https://www.transifex.com/oca/teams/23907/es_CL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_CL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Sitio Web" diff --git a/website_canonical_url/i18n/es_CO.po b/website_canonical_url/i18n/es_CO.po new file mode 100644 index 0000000000..5cf0977894 --- /dev/null +++ b/website_canonical_url/i18n/es_CO.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Colombia) (https://www.transifex.com/oca/teams/23907/es_CO/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_CO\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Sitio Web" diff --git a/website_canonical_url/i18n/es_CR.po b/website_canonical_url/i18n/es_CR.po new file mode 100644 index 0000000000..80c7dcced6 --- /dev/null +++ b/website_canonical_url/i18n/es_CR.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/teams/23907/es_CR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_CR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Sitio web" diff --git a/website_canonical_url/i18n/es_DO.po b/website_canonical_url/i18n/es_DO.po new file mode 100644 index 0000000000..2a03b83307 --- /dev/null +++ b/website_canonical_url/i18n/es_DO.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Dominican Republic) (https://www.transifex.com/oca/teams/23907/es_DO/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_DO\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Sitio web" diff --git a/website_canonical_url/i18n/es_EC.po b/website_canonical_url/i18n/es_EC.po new file mode 100644 index 0000000000..1a62361bfe --- /dev/null +++ b/website_canonical_url/i18n/es_EC.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_EC\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Sitio web" diff --git a/website_canonical_url/i18n/es_MX.po b/website_canonical_url/i18n/es_MX.po new file mode 100644 index 0000000000..3b375f5fdf --- /dev/null +++ b/website_canonical_url/i18n/es_MX.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_MX\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Sitio Web" diff --git a/website_canonical_url/i18n/es_PE.po b/website_canonical_url/i18n/es_PE.po new file mode 100644 index 0000000000..d3dc665c57 --- /dev/null +++ b/website_canonical_url/i18n/es_PE.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Peru) (https://www.transifex.com/oca/teams/23907/es_PE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_PE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Sitio Web" diff --git a/website_canonical_url/i18n/et.po b/website_canonical_url/i18n/et.po new file mode 100644 index 0000000000..e1f1304d62 --- /dev/null +++ b/website_canonical_url/i18n/et.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Estonian (https://www.transifex.com/oca/teams/23907/et/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Veebileht" diff --git a/website_canonical_url/i18n/fa.po b/website_canonical_url/i18n/fa.po new file mode 100644 index 0000000000..0809438a13 --- /dev/null +++ b/website_canonical_url/i18n/fa.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Persian (https://www.transifex.com/oca/teams/23907/fa/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fa\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "تارنما" diff --git a/website_canonical_url/i18n/fi.po b/website_canonical_url/i18n/fi.po new file mode 100644 index 0000000000..61f0341178 --- /dev/null +++ b/website_canonical_url/i18n/fi.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# Jarmo Kortetjärvi , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 01:09+0000\n" +"PO-Revision-Date: 2016-07-07 01:09+0000\n" +"Last-Translator: Jarmo Kortetjärvi , 2016\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Verkkosivut" diff --git a/website_canonical_url/i18n/fr.po b/website_canonical_url/i18n/fr.po new file mode 100644 index 0000000000..7eaf99e433 --- /dev/null +++ b/website_canonical_url/i18n/fr.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# Loic , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 01:09+0000\n" +"PO-Revision-Date: 2016-07-07 01:09+0000\n" +"Last-Translator: Loic , 2016\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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Site Internet" diff --git a/website_canonical_url/i18n/he.po b/website_canonical_url/i18n/he.po new file mode 100644 index 0000000000..ab078b0f7b --- /dev/null +++ b/website_canonical_url/i18n/he.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Hebrew (https://www.transifex.com/oca/teams/23907/he/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: he\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "אתר" diff --git a/website_canonical_url/i18n/hr.po b/website_canonical_url/i18n/hr.po new file mode 100644 index 0000000000..0b975be6a9 --- /dev/null +++ b/website_canonical_url/i18n/hr.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: 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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Web stranice" diff --git a/website_canonical_url/i18n/hr_HR.po b/website_canonical_url/i18n/hr_HR.po new file mode 100644 index 0000000000..5256cacae7 --- /dev/null +++ b/website_canonical_url/i18n/hr_HR.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# Bole , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 01:09+0000\n" +"PO-Revision-Date: 2016-07-07 01:09+0000\n" +"Last-Translator: Bole , 2016\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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Webstranice" diff --git a/website_canonical_url/i18n/hu.po b/website_canonical_url/i18n/hu.po new file mode 100644 index 0000000000..8e65a57870 --- /dev/null +++ b/website_canonical_url/i18n/hu.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Honlap" diff --git a/website_canonical_url/i18n/id.po b/website_canonical_url/i18n/id.po new file mode 100644 index 0000000000..5b409aa98a --- /dev/null +++ b/website_canonical_url/i18n/id.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Indonesian (https://www.transifex.com/oca/teams/23907/id/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Situs Web" diff --git a/website_canonical_url/i18n/it.po b/website_canonical_url/i18n/it.po new file mode 100644 index 0000000000..d2f4ca81bd --- /dev/null +++ b/website_canonical_url/i18n/it.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# Paolo Valier , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 01:09+0000\n" +"PO-Revision-Date: 2016-07-07 01:09+0000\n" +"Last-Translator: Paolo Valier , 2016\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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Sito" diff --git a/website_canonical_url/i18n/ja.po b/website_canonical_url/i18n/ja.po new file mode 100644 index 0000000000..29a9ba489e --- /dev/null +++ b/website_canonical_url/i18n/ja.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Japanese (https://www.transifex.com/oca/teams/23907/ja/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "ウェブサイト" diff --git a/website_canonical_url/i18n/ka.po b/website_canonical_url/i18n/ka.po new file mode 100644 index 0000000000..5c236f8d7d --- /dev/null +++ b/website_canonical_url/i18n/ka.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Georgian (https://www.transifex.com/oca/teams/23907/ka/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ka\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "ვებსაიტი" diff --git a/website_canonical_url/i18n/kab.po b/website_canonical_url/i18n/kab.po new file mode 100644 index 0000000000..e5e0819b36 --- /dev/null +++ b/website_canonical_url/i18n/kab.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Kabyle (https://www.transifex.com/oca/teams/23907/kab/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: kab\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Asmel Web" diff --git a/website_canonical_url/i18n/ko.po b/website_canonical_url/i18n/ko.po new file mode 100644 index 0000000000..7e850cb701 --- /dev/null +++ b/website_canonical_url/i18n/ko.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Korean (https://www.transifex.com/oca/teams/23907/ko/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "웹사이트" diff --git a/website_canonical_url/i18n/lt.po b/website_canonical_url/i18n/lt.po new file mode 100644 index 0000000000..9b55c04583 --- /dev/null +++ b/website_canonical_url/i18n/lt.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lt\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Tinklapis" diff --git a/website_canonical_url/i18n/lv.po b/website_canonical_url/i18n/lv.po new file mode 100644 index 0000000000..63522ca1d8 --- /dev/null +++ b/website_canonical_url/i18n/lv.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Latvian (https://www.transifex.com/oca/teams/23907/lv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Tīkla vietne" diff --git a/website_canonical_url/i18n/mk.po b/website_canonical_url/i18n/mk.po new file mode 100644 index 0000000000..ed9931bb6d --- /dev/null +++ b/website_canonical_url/i18n/mk.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Macedonian (https://www.transifex.com/oca/teams/23907/mk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mk\n" +"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Вебсајт" diff --git a/website_canonical_url/i18n/mn.po b/website_canonical_url/i18n/mn.po new file mode 100644 index 0000000000..9f9a270c8b --- /dev/null +++ b/website_canonical_url/i18n/mn.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Mongolian (https://www.transifex.com/oca/teams/23907/mn/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Вэбсайт" diff --git a/website_canonical_url/i18n/nb.po b/website_canonical_url/i18n/nb.po new file mode 100644 index 0000000000..78da455e03 --- /dev/null +++ b/website_canonical_url/i18n/nb.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/nb/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Nettsted" diff --git a/website_canonical_url/i18n/pl.po b/website_canonical_url/i18n/pl.po new file mode 100644 index 0000000000..43dbf77835 --- /dev/null +++ b/website_canonical_url/i18n/pl.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pl\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Strona WWW" diff --git a/website_canonical_url/i18n/pt_BR.po b/website_canonical_url/i18n/pt_BR.po new file mode 100644 index 0000000000..e980ff5549 --- /dev/null +++ b/website_canonical_url/i18n/pt_BR.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# danimaribeiro , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 01:09+0000\n" +"PO-Revision-Date: 2016-07-07 01:09+0000\n" +"Last-Translator: danimaribeiro , 2016\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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Website" diff --git a/website_canonical_url/i18n/ru.po b/website_canonical_url/i18n/ru.po new file mode 100644 index 0000000000..530c7d701d --- /dev/null +++ b/website_canonical_url/i18n/ru.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# Mikhail - , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 01:09+0000\n" +"PO-Revision-Date: 2016-07-07 01:09+0000\n" +"Last-Translator: Mikhail - , 2016\n" +"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Сайт" diff --git a/website_canonical_url/i18n/sk.po b/website_canonical_url/i18n/sk.po new file mode 100644 index 0000000000..f1eda97aec --- /dev/null +++ b/website_canonical_url/i18n/sk.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sk\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Webová stránka" diff --git a/website_canonical_url/i18n/sl.po b/website_canonical_url/i18n/sl.po new file mode 100644 index 0000000000..7ed6c03192 --- /dev/null +++ b/website_canonical_url/i18n/sl.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# Matjaž Mozetič , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 01:09+0000\n" +"PO-Revision-Date: 2016-07-07 01:09+0000\n" +"Last-Translator: Matjaž Mozetič , 2016\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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Spletna stran" diff --git a/website_canonical_url/i18n/sr.po b/website_canonical_url/i18n/sr.po new file mode 100644 index 0000000000..1afb4faf0e --- /dev/null +++ b/website_canonical_url/i18n/sr.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Serbian (https://www.transifex.com/oca/teams/23907/sr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sr\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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Web stranica" diff --git a/website_canonical_url/i18n/sr@latin.po b/website_canonical_url/i18n/sr@latin.po new file mode 100644 index 0000000000..a0abc98d60 --- /dev/null +++ b/website_canonical_url/i18n/sr@latin.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Serbian (Latin) (https://www.transifex.com/oca/teams/23907/sr@latin/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sr@latin\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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Internet stranica" diff --git a/website_canonical_url/i18n/sv.po b/website_canonical_url/i18n/sv.po new file mode 100644 index 0000000000..eff589965d --- /dev/null +++ b/website_canonical_url/i18n/sv.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Webbplats" diff --git a/website_canonical_url/i18n/th.po b/website_canonical_url/i18n/th.po new file mode 100644 index 0000000000..61255a5168 --- /dev/null +++ b/website_canonical_url/i18n/th.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Thai (https://www.transifex.com/oca/teams/23907/th/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "เว็บไซต์" diff --git a/website_canonical_url/i18n/uk.po b/website_canonical_url/i18n/uk.po new file mode 100644 index 0000000000..37472e197f --- /dev/null +++ b/website_canonical_url/i18n/uk.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Ukrainian (https://www.transifex.com/oca/teams/23907/uk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: uk\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: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Веб-сайт" diff --git a/website_canonical_url/i18n/vi.po b/website_canonical_url/i18n/vi.po new file mode 100644 index 0000000000..e4ba72873b --- /dev/null +++ b/website_canonical_url/i18n/vi.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Vietnamese (https://www.transifex.com/oca/teams/23907/vi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "Trang web" diff --git a/website_canonical_url/i18n/zh_CN.po b/website_canonical_url/i18n/zh_CN.po new file mode 100644 index 0000000000..6bc1df1bba --- /dev/null +++ b/website_canonical_url/i18n/zh_CN.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "网站" diff --git a/website_canonical_url/i18n/zh_TW.po b/website_canonical_url/i18n/zh_TW.po new file mode 100644 index 0000000000..7bff4f23b8 --- /dev/null +++ b/website_canonical_url/i18n/zh_TW.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_canonical_url +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-25 01:52+0000\n" +"PO-Revision-Date: 2016-11-25 01:52+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/zh_TW/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_canonical_url +#: model:ir.model,name:website_canonical_url.model_website +msgid "Website" +msgstr "網站" From 87ea7da62f0bd345abd775f2127df6ffb9c32aea Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Tue, 11 Oct 2016 11:05:53 +0200 Subject: [PATCH 5/6] [8.0][IMP][website_canonical_url] Safer, prefer root, relative paths (#260) [IMP] website_canoncial_url: Several improvements * Use safe method to retrieve lang. This avoids a possible `KeyError`. * Use relative paths. Makes this work fine behind an HTTPS proxy. * Prefer `/` over `/page/homepage`. The root path canonicalized is more SEO and user friendly. --- website_canonical_url/README.rst | 1 + website_canonical_url/__openerp__.py | 8 +++----- website_canonical_url/models/website.py | 15 +++++++++++---- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/website_canonical_url/README.rst b/website_canonical_url/README.rst index 5fce9a2318..cb7c5adfa7 100644 --- a/website_canonical_url/README.rst +++ b/website_canonical_url/README.rst @@ -27,6 +27,7 @@ Contributors * Thomas Rehn * Rami Alwafaie +* Jairo Llopis Maintainer ---------- diff --git a/website_canonical_url/__openerp__.py b/website_canonical_url/__openerp__.py index 9bc10736e4..913db0819e 100644 --- a/website_canonical_url/__openerp__.py +++ b/website_canonical_url/__openerp__.py @@ -4,13 +4,11 @@ { 'name': "Website Canoncial URL", - 'summary': """ - Canonical URL in Website Headers - """, - 'author': "initOS GmbH, Odoo Community Association (OCA)", + 'summary': "Canonical URL in Website Headers", + 'author': "initOS GmbH, Tecnativa, Odoo Community Association (OCA)", 'website': "http://www.initos.com", 'category': 'Website', - 'version': '8.0.1.0.0', + 'version': '8.0.1.1.0', 'license': 'AGPL-3', 'depends': [ 'website', diff --git a/website_canonical_url/models/website.py b/website_canonical_url/models/website.py index 531d7cbc35..9ec60a0c05 100644 --- a/website_canonical_url/models/website.py +++ b/website_canonical_url/models/website.py @@ -15,14 +15,21 @@ def get_canonical_url(self, req=None): canonical_url = None if req is None: req = request - if req and req.httprequest.base_url: - lang = self._context['lang'] + if req and req.httprequest.path: + lang = self.env.lang if lang == request.website.default_lang_code: - canonical_url = req.httprequest.base_url + canonical_url = req.httprequest.path else: - url_parts = urlparse(req.httprequest.base_url) + url_parts = urlparse(req.httprequest.path) url_parts = list(url_parts) # change the path of the url url_parts[2] = lang + url_parts[2] canonical_url = urlunparse(url_parts) + # Special case for rerouted requests to root path + try: + if (canonical_url.startswith("/page/") and + self.menu_id.child_id[0].url == canonical_url): + canonical_url = "/" + except: + pass return canonical_url From 47ab7bdcdd0f01523b1577a5f74dc94954b36b49 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Mon, 19 Dec 2016 13:49:59 +0100 Subject: [PATCH 6/6] [9.0][website_canonical_url] Migrate. Add tests. --- website_canonical_url/README.rst | 11 +++++-- website_canonical_url/__openerp__.py | 7 +++-- website_canonical_url/demo/pages.xml | 15 ++++++++++ website_canonical_url/models/website.py | 4 +-- website_canonical_url/templates/layout.xml | 28 ++++++++++++++++++ website_canonical_url/tests/__init__.py | 5 ++++ website_canonical_url/tests/test_tags.py | 34 ++++++++++++++++++++++ website_canonical_url/views/templates.xml | 21 ------------- 8 files changed, 97 insertions(+), 28 deletions(-) create mode 100644 website_canonical_url/demo/pages.xml create mode 100644 website_canonical_url/templates/layout.xml create mode 100644 website_canonical_url/tests/__init__.py create mode 100644 website_canonical_url/tests/test_tags.py delete mode 100644 website_canonical_url/views/templates.xml diff --git a/website_canonical_url/README.rst b/website_canonical_url/README.rst index cb7c5adfa7..ea3932e682 100644 --- a/website_canonical_url/README.rst +++ b/website_canonical_url/README.rst @@ -1,15 +1,20 @@ .. 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 + ===================== Website Canoncial URL ===================== -This module adds a HTML tag in the header that contains a canoncial URL for the current page. +This module is a SEO booster that adds a HTML tag in the header that contains a +`canoncial URL `_ for the +current page, no matter what query it gets, and `rel=next and rel=prev links +`_ +wherever a pager is found. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/186/8.0 - + :target: https://runbot.odoo-community.org/runbot/186/9.0 Bug Tracker =========== diff --git a/website_canonical_url/__openerp__.py b/website_canonical_url/__openerp__.py index 913db0819e..e1dd41e5d4 100644 --- a/website_canonical_url/__openerp__.py +++ b/website_canonical_url/__openerp__.py @@ -8,12 +8,15 @@ 'author': "initOS GmbH, Tecnativa, Odoo Community Association (OCA)", 'website': "http://www.initos.com", 'category': 'Website', - 'version': '8.0.1.1.0', + 'version': '9.0.1.1.0', 'license': 'AGPL-3', 'depends': [ 'website', ], 'data': [ - 'views/templates.xml', + 'templates/layout.xml', + ], + 'demo': [ + 'demo/pages.xml', ], } diff --git a/website_canonical_url/demo/pages.xml b/website_canonical_url/demo/pages.xml new file mode 100644 index 0000000000..c671e3acd1 --- /dev/null +++ b/website_canonical_url/demo/pages.xml @@ -0,0 +1,15 @@ + + + + + + + diff --git a/website_canonical_url/models/website.py b/website_canonical_url/models/website.py index 9ec60a0c05..6bb8b13c10 100644 --- a/website_canonical_url/models/website.py +++ b/website_canonical_url/models/website.py @@ -13,7 +13,7 @@ class website(models.Model): @api.multi def get_canonical_url(self, req=None): canonical_url = None - if req is None: + if req is None: # pragma: no cover req = request if req and req.httprequest.path: lang = self.env.lang @@ -30,6 +30,6 @@ def get_canonical_url(self, req=None): if (canonical_url.startswith("/page/") and self.menu_id.child_id[0].url == canonical_url): canonical_url = "/" - except: + except: # pragma: no cover pass return canonical_url diff --git a/website_canonical_url/templates/layout.xml b/website_canonical_url/templates/layout.xml new file mode 100644 index 0000000000..ed9c72f28e --- /dev/null +++ b/website_canonical_url/templates/layout.xml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/website_canonical_url/tests/__init__.py b/website_canonical_url/tests/__init__.py new file mode 100644 index 0000000000..1382db57d7 --- /dev/null +++ b/website_canonical_url/tests/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# Copyright 2016 Jairo Llopis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import test_tags diff --git a/website_canonical_url/tests/test_tags.py b/website_canonical_url/tests/test_tags.py new file mode 100644 index 0000000000..1d1e207454 --- /dev/null +++ b/website_canonical_url/tests/test_tags.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Copyright 2016 Jairo Llopis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from openerp.tests.common import HttpCase +from lxml.html import document_fromstring + + +class UICase(HttpCase): + def setUp(self): + super(UICase, self).setUp() + self.url = "/page/website_canonical_url.canonical_demo" + self.get = "?ultimate_answer=42" + self.url_get = "%s%s" % (self.url, self.get) + self.url_data = self.url_open(self.url_get) + self.doc = document_fromstring(self.url_data.read()) + + def test_canonical(self): + """Canonical URL is built OK.""" + node = self.doc.xpath("/html/head/link[@rel='canonical']")[0] + self.assertEqual(node.attrib["href"], self.url) + + def test_pager_next(self): + """Next pager link is OK.""" + node = self.doc.xpath("/html/head/link[@rel='next']")[0] + self.assertEqual( + node.attrib["href"], + "%s/page/3%s" % (self.url, self.get), + ) + + def test_pager_prev(self): + """Prev pager link is OK.""" + node = self.doc.xpath("/html/head/link[@rel='prev']")[0] + self.assertEqual(node.attrib["href"], self.url_get) diff --git a/website_canonical_url/views/templates.xml b/website_canonical_url/views/templates.xml deleted file mode 100644 index 3ff83b2139..0000000000 --- a/website_canonical_url/views/templates.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - -