From d27fb9c952443b6374723e28be9b32bfe409d3dd Mon Sep 17 00:00:00 2001 From: std-odoo Date: Tue, 13 Apr 2021 06:46:26 +0000 Subject: [PATCH] [IMP] (crm_)mail_plugin: support translations for the Gmail addon Purpose ======= This commit allow the users to translate their Gmail Addon. The language of the addon will be the language the user set on his preference, on his Odoo database. The translations will be downloaded from Odoo and stored in the cache, so translator can use the existing system to translate the addon. Task 2502261 See odoo/mail-client-extensions/pull/8 See odoo/odoo/pull/69288 See odoo/enterprise/pull/17711 closes odoo/odoo#69288 Related: odoo/enterprise#17711 Signed-off-by: Thibault Delavallee (tde) --- .../src/to_translate/translations_gmail.xml | 13 +++++ .../src/to_translate/translations_gmail.xml | 51 +++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 addons/crm_mail_plugin/static/src/to_translate/translations_gmail.xml create mode 100644 addons/mail_plugin/static/src/to_translate/translations_gmail.xml diff --git a/addons/crm_mail_plugin/static/src/to_translate/translations_gmail.xml b/addons/crm_mail_plugin/static/src/to_translate/translations_gmail.xml new file mode 100644 index 00000000000..945677f4090 --- /dev/null +++ b/addons/crm_mail_plugin/static/src/to_translate/translations_gmail.xml @@ -0,0 +1,13 @@ + + + + Log the email on the lead + Email already logged on the lead + Could not create the lead + Opportunities (%s) + %(expected_revenue)s at %(probability)s% + %(expected_revenue)s + %(recurring_revenue)s %(recurring_plan)s at %(probability)s% + Save Contact to create new Opportunities. + diff --git a/addons/mail_plugin/static/src/to_translate/translations_gmail.xml b/addons/mail_plugin/static/src/to_translate/translations_gmail.xml new file mode 100644 index 00000000000..a344c2586a4 --- /dev/null +++ b/addons/mail_plugin/static/src/to_translate/translations_gmail.xml @@ -0,0 +1,51 @@ + + + + Login + Logout + Debug + Close + Refresh + Create + Search + Search contact + No contact found. + Company + Description + Address + Phones + Website + Industry + Employees + employees + Founded Year + Keywords + Company Type + Annual Revenue + Create a company + Contact + Email already logged on the contact + This contact does not exist in the Odoo database. + Can not save the contact + Save in Odoo + Log email + Buy new credits + Could not connect to database. Try to log out and in. + You don't have enough credit to enrich. + Company Created. + Our IAP server is down, please come back later. + Oops, looks like you have exhausted your free enrichment requests. Please log in to try again. + No data found for this email address. + Something bad happened. Please, try again later. + Invalid URL + No company attached to this contact. + Debug Zone + Debug zone for development purpose. + Odoo Server URL + Odoo Access Token + Clear Translations Cache +