diff --git a/.copier-answers.yml b/.copier-answers.yml index 744dc26fd0..7c1cf91707 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.11.1 +_commit: v1.12.0 _src_path: gh:oca/oca-addons-repo-template ci: GitHub dependency_installation_mode: PIP diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 374ab36f2d..e6adcb4f2f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,6 +27,11 @@ repos: entry: found forbidden files; remove them language: fail files: "\\.rej$" + - id: en-po-files + name: en.po files cannot exist + entry: found a en.po file + language: fail + files: '[a-zA-Z0-9_]*/i18n/en\.po$' - repo: https://github.com/oca/maintainer-tools rev: ab1d7f6 hooks: diff --git a/users_ldap_mail/i18n/en.po b/users_ldap_mail/i18n/en.po deleted file mode 100644 index bbc0319573..0000000000 --- a/users_ldap_mail/i18n/en.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * users_ldap_mail -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: server-tools (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-12-15 01:55+0000\n" -"PO-Revision-Date: 2015-12-13 15:21+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: English (http://www.transifex.com/oca/OCA-server-tools-9-0/language/en/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: en\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: users_ldap_mail -#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap_name_attribute -msgid "" -"By default 'cn' is used. For ActiveDirectory you might use 'displayName' " -"instead." -msgstr "By default 'cn' is used. For ActiveDirectory you might use 'displayName' instead." - -#. module: users_ldap_mail -#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap_mail_attribute -msgid "E-mail attribute" -msgstr "E-mail attribute" - -#. module: users_ldap_mail -#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap_mail_attribute -msgid "LDAP attribute to use to retrieve em-mail address." -msgstr "LDAP attribute to use to retrieve em-mail address." - -#. module: users_ldap_mail -#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap_name_attribute -msgid "Name Attribute" -msgstr "Name Attribute" - -#. module: users_ldap_mail -#: model:ir.model,name:users_ldap_mail.model_res_company_ldap -msgid "res.company.ldap" -msgstr "res.company.ldap"