From a6d68d6a1589123c869e45c0042b0bbe1dd654b0 Mon Sep 17 00:00:00 2001 From: OCA Bot Date: Fri, 31 Jan 2020 18:46:15 +0100 Subject: [PATCH 001/127] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: connector-telephony-12.0/connector-telephony-12.0-base_phone Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-12-0/connector-telephony-12-0-base_phone/ [UPD] Update base_phone.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: connector-telephony-12.0/connector-telephony-12.0-base_phone Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-12-0/connector-telephony-12-0-base_phone/ [UPD] Update base_phone.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: connector-telephony-12.0/connector-telephony-12.0-base_phone Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-12-0/connector-telephony-12-0-base_phone/ [UPD] Update base_phone.pot Update translation files Updated by Update PO files to match POT (msgmerge) hook in Weblate. Update translation files Updated by Update PO files to match POT (msgmerge) hook in Weblate. [UPD] Update base_phone.pot [UPD] Update base_phone.pot [UPD] Update base_phone.pot OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex [UPD] pin flake8 version [ci skip] pre-commit update [ci skip] [UPD] .travis.yml: Use verbose colored pre-commit [skip ci] --- base_phone/i18n/am.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/ar.po | 347 +++++++++++++++++++++++++++++ base_phone/i18n/base_phone.pot | 328 +++++++++++++++++++++++++++ base_phone/i18n/ca.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/cs.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/de.po | 379 ++++++++++++++++++++++++++++++++ base_phone/i18n/el_GR.po | 347 +++++++++++++++++++++++++++++ base_phone/i18n/en.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/es.po | 389 +++++++++++++++++++++++++++++++++ base_phone/i18n/es_CR.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/es_EC.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/es_ES.po | 347 +++++++++++++++++++++++++++++ base_phone/i18n/es_MX.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/es_VE.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/et.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/fi.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/fr.po | 370 +++++++++++++++++++++++++++++++ base_phone/i18n/gl.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/hr.po | 347 +++++++++++++++++++++++++++++ base_phone/i18n/it.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/lt.po | 347 +++++++++++++++++++++++++++++ base_phone/i18n/nl.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/nl_BE.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/pl.po | 347 +++++++++++++++++++++++++++++ base_phone/i18n/pt.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/pt_BR.po | 362 ++++++++++++++++++++++++++++++ base_phone/i18n/pt_PT.po | 347 +++++++++++++++++++++++++++++ base_phone/i18n/ro.po | 347 +++++++++++++++++++++++++++++ base_phone/i18n/ru.po | 348 +++++++++++++++++++++++++++++ base_phone/i18n/sl.po | 374 +++++++++++++++++++++++++++++++ base_phone/i18n/th.po | 346 +++++++++++++++++++++++++++++ base_phone/i18n/tr.po | 377 ++++++++++++++++++++++++++++++++ base_phone/i18n/vi.po | 346 +++++++++++++++++++++++++++++ 33 files changed, 11585 insertions(+) create mode 100644 base_phone/i18n/am.po create mode 100644 base_phone/i18n/ar.po create mode 100644 base_phone/i18n/base_phone.pot create mode 100644 base_phone/i18n/ca.po create mode 100644 base_phone/i18n/cs.po create mode 100644 base_phone/i18n/de.po create mode 100644 base_phone/i18n/el_GR.po create mode 100644 base_phone/i18n/en.po create mode 100644 base_phone/i18n/es.po create mode 100644 base_phone/i18n/es_CR.po create mode 100644 base_phone/i18n/es_EC.po create mode 100644 base_phone/i18n/es_ES.po create mode 100644 base_phone/i18n/es_MX.po create mode 100644 base_phone/i18n/es_VE.po create mode 100644 base_phone/i18n/et.po create mode 100644 base_phone/i18n/fi.po create mode 100644 base_phone/i18n/fr.po create mode 100644 base_phone/i18n/gl.po create mode 100644 base_phone/i18n/hr.po create mode 100644 base_phone/i18n/it.po create mode 100644 base_phone/i18n/lt.po create mode 100644 base_phone/i18n/nl.po create mode 100644 base_phone/i18n/nl_BE.po create mode 100644 base_phone/i18n/pl.po create mode 100644 base_phone/i18n/pt.po create mode 100644 base_phone/i18n/pt_BR.po create mode 100644 base_phone/i18n/pt_PT.po create mode 100644 base_phone/i18n/ro.po create mode 100644 base_phone/i18n/ru.po create mode 100644 base_phone/i18n/sl.po create mode 100644 base_phone/i18n/th.po create mode 100644 base_phone/i18n/tr.po create mode 100644 base_phone/i18n/vi.po diff --git a/base_phone/i18n/am.po b/base_phone/i18n/am.po new file mode 100644 index 000000000..34621a0cc --- /dev/null +++ b/base_phone/i18n/am.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-09 09:55+0000\n" +"PO-Revision-Date: 2016-11-09 09:55+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n" +"Language: am\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Creado en" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Última actualización en" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/ar.po b/base_phone/i18n/ar.po new file mode 100644 index 000000000..b868e492e --- /dev/null +++ b/base_phone/i18n/ar.po @@ -0,0 +1,347 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Arabic (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/ar/)\n" +"Language: ar\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "إلغاء" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/base_phone.pot b/base_phone/i18n/base_phone.pot new file mode 100644 index 000000000..fc76ba7ed --- /dev/null +++ b/base_phone/i18n/base_phone.pot @@ -0,0 +1,328 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "In several situations, Odoo will have to find a Partner/Lead/Employee/... from a phone number presented by the calling party. As the phone numbers presented by your phone operator may not always be displayed in a standard format, the best method to find the related Partner/Lead/Employee/... in Odoo is to try to match the end of the phone number in Odoo with the N last digits of the phone number presented by the calling party. N is the value you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "Phone number of calling party that has been obtained from the telephony server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Set how many digits must be identical from the end of the phone number to declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "This wizard reformats the phone and mobile numbers of all partners in standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" + diff --git a/base_phone/i18n/ca.po b/base_phone/i18n/ca.po new file mode 100644 index 000000000..eb687965f --- /dev/null +++ b/base_phone/i18n/ca.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-09 09:55+0000\n" +"PO-Revision-Date: 2016-11-09 09:55+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancel·la" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Creat per" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Creat el" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Darrera Actualització per" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Darrera Actualització el" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/cs.po b/base_phone/i18n/cs.po new file mode 100644 index 000000000..306a87412 --- /dev/null +++ b/base_phone/i18n/cs.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Czech (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/cs/)\n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Zrušit" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/de.po b/base_phone/i18n/de.po new file mode 100644 index 000000000..addace313 --- /dev/null +++ b/base_phone/i18n/de.po @@ -0,0 +1,379 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 19:50+0000\n" +"PO-Revision-Date: 2017-06-24 19:50+0000\n" +"Last-Translator: OCA Transbot , 2016\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "Anrufernummer" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Abbruch" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "Click2dial erfolgreich" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, fuzzy, python-format +#| msgid "Click2dial started" +msgid "Click2dial to %s" +msgstr "Click2dial gestartet" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "Schließen" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "Unternehmen" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "Erstelle neuen Partner" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "Einen Partner anlegen oder aktualisieren" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Erstellt von" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Erstellt am" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "Aktuelle Mobilnummer" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "Aktuelle Telefonnummer" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "Wählen" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "Anzeigename" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "Ferig" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "Entwurf" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "E.164 Nummer" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "E.164 Entsprechung der Rufnummer." + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "Festnetz" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "Festnetz/Mobil" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" +"In einigen Situationen muss Odoo einen Partner/Mitarbeiter/… aus der vom " +"Anrufer übermittelten Telefonnummer finden. Da der Telefonanbieter nicht " +"immer in einem Standardformat sendet ist die beste Methode um die " +"entsprechenden Telefonnummer zu finden, das Ende der Telefonnummer mit den " +"letzten N Ziffern zu vergleichen. N ist der Wert, den Sie in dieses Feld " +"eingeben sollten." + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "Zuletzt geändert am" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Zuletzt aktualisiert von" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Zuletzt aktualisiert am" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "Bei Unternehmen %s fehlt das Land" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "Mobil" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "Nummer nicht gefunden" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "Nummer in internationales Format umgewandelt:" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, fuzzy, python-format +#| msgid "Number dialed:" +msgid "Number dialed: %s" +msgstr "Gewählte Nummer:" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "Nummer nicht gefunden" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#, fuzzy +#| msgid "Number of Digits To Match From End" +msgid "Number of Digits" +msgstr "Anzahl der übereinstimmenden Stellen vom Ende her" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "Anzahl der übereinstimmenden Stellen vom Ende her" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "Partner dem die Telefonnummer zugewiesen wird" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "Zu aktualisierender Partner" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "Partner: %s" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "Telefon Anrufer-ID" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" +"Telefonnummer des Anrufers der vom Telefonieserver erhalten wurde, im Format " +"des Telefonieservers (nicht E.164)." + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "Telefonnummern, die nicht umformatiert werden konnten" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "Telefonnummern, die nicht umformatiert werden konnten:" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "Formatiere die Telefonnummern um" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "Formatiere alle Telefonnummern um" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "Wählen Sie den Partner der aktualisiert werden soll." + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "Bundesland" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "Telefonie" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "Telefonie Einstellungen" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" +"Der Wert des Feldes 'Anzahl der übereinstimmenden Stellen vom Ende her' muss " +"positiv sein" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +#, fuzzy +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" +"Dieser Assistent formatiert die Telefon-, Mobil- und Faxnummern aller " +"Partner im standard internationen Format - zB +33141981242 - neu" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "Nimm das klingelde Telefon ab" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, fuzzy +msgid "Update Existing Partner" +msgstr "Einen Partner anlegen oder aktualisieren" + +#~ msgid "Phone" +#~ msgstr "Telefon" + +#~ msgid "Create Partner with this Number" +#~ msgstr "Erstelle Partner mit dieser Nummer" + +#~ msgid "Partner" +#~ msgstr "Partner" + +#~ msgid "Update Partner with this Number" +#~ msgstr "Partner mit dieser Nummer aktualisieren" + +#~ msgid "phone.common" +#~ msgstr "phone.common" diff --git a/base_phone/i18n/el_GR.po b/base_phone/i18n/el_GR.po new file mode 100644 index 000000000..b26baa5a8 --- /dev/null +++ b/base_phone/i18n/el_GR.po @@ -0,0 +1,347 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-09 09:55+0000\n" +"PO-Revision-Date: 2016-11-09 09:55+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" +"el_GR/)\n" +"Language: el_GR\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Δημιουργήθηκε από " + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Δημιουργήθηκε στις" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "Κωδικός" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Τελευταία ενημέρωση από" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Τελευταία ενημέρωση στις" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/en.po b/base_phone/i18n/en.po new file mode 100644 index 000000000..a6e5f2411 --- /dev/null +++ b/base_phone/i18n/en.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-20 02:42+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: English (http://www.transifex.com/oca/OCA-connector-telephony-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: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found_calling_number +msgid "Calling Number" +msgstr "Calling Number" + +#. module: base_phone +#: model:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancel" + +#. module: base_phone +#: code:addons/base_phone/base_phone.py:122 +#, python-format +msgid "" +"Cannot reformat the phone number '%s' to international format. Error " +"message: %s" +msgstr "Cannot reformat the phone number '%s' to international format. Error message: %s" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:50 +#, python-format +msgid "Click2dial started" +msgstr "Click2dial started" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:62 +#, python-format +msgid "Click2dial successfull" +msgstr "Click2dial successfull" + +#. module: base_phone +#: model:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "Close" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "Companies" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:84 +#, python-format +msgid "Create New Partner" +msgstr "Create New Partner" + +#. module: base_phone +#: model:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create Partner with this Number" +msgstr "Create Partner with this Number" + +#. module: base_phone +#: model:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "Create or Update a Partner" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found_create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_create_uid +msgid "Created by" +msgstr "Created by" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found_create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_create_date +msgid "Created on" +msgstr "Created on" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found_current_partner_mobile +msgid "Current Mobile" +msgstr "Current Mobile" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found_current_partner_phone +msgid "Current Phone" +msgstr "Current Phone" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:43 +#, python-format +msgid "Dial" +msgstr "Dial" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_base_phone_installed_display_name +#: model:ir.model.fields,field_description:base_phone.field_number_not_found_display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common_display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_display_name +msgid "Display Name" +msgstr "Display Name" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "Done" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "Draft" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found_e164_number +msgid "E.164 Number" +msgstr "E.164 Number" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found_e164_number +msgid "E.164 equivalent of the calling number." +msgstr "E.164 equivalent of the calling number." + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:99 +#, python-format +msgid "Error" +msgstr "Error" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "Fixed" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found_number_type +msgid "Fixed/Mobile" +msgstr "Fixed/Mobile" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_base_phone_installed_id +#: model:ir.model.fields,field_description:base_phone.field_number_not_found_id +#: model:ir.model.fields,field_description:base_phone.field_phone_common_id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company_number_of_digits_to_match_from_end +msgid "" +"In several situations, OpenERP will have to find a Partner/Lead/Employee/..." +" from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"OpenERP is to try to match the end of the phone number in OpenERP with the N" +" last digits of the phone number presented by the calling party. N is the " +"value you should enter in this field." +msgstr "In several situations, OpenERP will have to find a Partner/Lead/Employee/... from a phone number presented by the calling party. As the phone numbers presented by your phone operator may not always be displayed in a standard format, the best method to find the related Partner/Lead/Employee/... in OpenERP is to try to match the end of the phone number in OpenERP with the N last digits of the phone number presented by the calling party. N is the value you should enter in this field." + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_base_phone_installed___last_update +#: model:ir.model.fields,field_description:base_phone.field_number_not_found___last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common___last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers___last_update +msgid "Last Modified on" +msgstr "Last Modified on" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found_write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_write_uid +msgid "Last Updated by" +msgstr "Last Updated by" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found_write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_write_date +msgid "Last Updated on" +msgstr "Last Updated on" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "Mobile" + +#. module: base_phone +#: model:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "Number Not Found" + +#. module: base_phone +#: model:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "Number converted to international format:" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:63 +#, python-format +msgid "Number dialed:" +msgstr "Number dialed:" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "Number not found" + +#. module: base_phone +#: model:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number not found:" +msgstr "Number not found:" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company_number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "Number of Digits To Match From End" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Partner" +msgstr "Partner" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found_to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "Partner on which the phone number will be written" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found_to_update_partner_id +msgid "Partner to Update" +msgstr "Partner to Update" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:105 +#, python-format +msgid "Partner: %s" +msgstr "Partner: %s" + +#. module: base_phone +#: model:ir.ui.view,arch_db:base_phone.view_company_form +msgid "Phone" +msgstr "Phone" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "Phone CallerID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found_calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "Phone number of calling party that has been obtained from the telephony server, in the format used by the telephony server (not E.164)." + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "Phone numbers that couldn't be reformatted" + +#. module: base_phone +#: model:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "Phone numbers that couldn't be reformatted:" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "Reformat Phone Numbers" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "Reformat all phone numbers" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:100 +#, python-format +msgid "Select the Partner to Update." +msgstr "Select the Partner to Update." + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_state +msgid "State" +msgstr "State" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "Telephony" + +#. module: base_phone +#: model:ir.ui.view,arch_db:base_phone.view_users_form +#: model:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "Telephony Preferences" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be " +"positive." +msgstr "The value of the field 'Number of Digits To Match From End' must be positive." + +#. module: base_phone +#: model:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone, mobile and fax numbers of all partners in " +"standard international format e.g. +33141981242" +msgstr "This wizard reformats the phone, mobile and fax numbers of all partners in standard international format e.g. +33141981242" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:51 +#, python-format +msgid "Unhook your ringing phone" +msgstr "Unhook your ringing phone" + +#. module: base_phone +#: model:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Partner with this Number" +msgstr "Update Partner with this Number" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_base_phone_installed +msgid "base.phone.installed" +msgstr "base.phone.installed" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "phone.common" +msgstr "phone.common" diff --git a/base_phone/i18n/es.po b/base_phone/i18n/es.po new file mode 100644 index 000000000..96b9477b8 --- /dev/null +++ b/base_phone/i18n/es.po @@ -0,0 +1,389 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2017 +# Pedro M. Baeza , 2017 +# enjolras , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-10 01:40+0000\n" +"PO-Revision-Date: 2018-02-10 01:40+0000\n" +"Last-Translator: enjolras , 2018\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "Número llamante" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "Click2dial satisfactorio" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, fuzzy, python-format +#| msgid "Click2dial started" +msgid "Click2dial to %s" +msgstr "Click2dial iniciado" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "Cerrar" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +#, fuzzy +msgid "Config Settings" +msgstr "base.config.settings" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "Crear nueva empresa" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "Crear o actualizar empresa" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "Móvil actual" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "Teléfono actual" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "Llamar" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "Nombre mostrado" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "Hecho" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "Borrador" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "Número E.164" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "Equivalente E.164 del número que llama" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "Teléfono fijo" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "Fijo/móvil" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" +"En varias situaciones, Odoo tendrá que obtener la empresa/iniciativa/" +"empleado... desde un número de teléfono presentado por la entidad llamante. " +"Como los números de teléfono presentados por el operador telefónico pueden " +"no siempre ser mostrados en un formato estándar, el mejor método para " +"encontrar el elemento relacionado en Odoo es intentar casar el final del " +"número de teléfono con los últimos N dígitos del número presentado. N es el " +"valor que debe entrar en este campo." + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "Última modificación el" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Última actualización el" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "No existe país en la compañía %s" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "Teléfono móvil" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "Número no encontrado" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "Número convertido a formato internacional:" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, fuzzy, python-format +#| msgid "Number dialed:" +msgid "Number dialed: %s" +msgstr "Número marcado:" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "Número no encontrado" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#, fuzzy +#| msgid "Number of Digits To Match From End" +msgid "Number of Digits" +msgstr "Número de dígitos que coinciden al final" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "Número de dígitos que coinciden al final." + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "Empresa en la que se escribirá el número de teléfono" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "Empresa a actualizar" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "Empresa: %s" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "Identificación de llamada del teléfono" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" +"Número de teléfono del interlocutor que ha sido obtenido desde el servidor " +"de telefonía, en el formato usado por el servidor de telefonía (no E.164)" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "Números de teléfono que no pudieron reformatearse" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "Números de teléfono que no pudieron reformatearse:" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "Reformatear números de teléfono" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "Reformatear todos los números de teléfono" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "Escoja la empresa a actualizar" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "Estado" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "Telefonía" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "Preferencias de telefonía" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" +"El valor del campo 'Número de dígitos que coinciden al final' debe ser " +"positivo." + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +#, fuzzy +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" +"Este asistente reformatea los números de teléfono fijo, móvil y fax de todas " +"las empresas en formato estandar internacional, p.ej. +33141981242" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "Descuelgue su teléfono que está sonando." + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, fuzzy +msgid "Update Existing Partner" +msgstr "Crear o actualizar empresa" + +#~ msgid "Phone" +#~ msgstr "Teléfono" + +#~ msgid "Create Partner with this Number" +#~ msgstr "Crear empresa con éste número" + +#~ msgid "Partner" +#~ msgstr "Empresa" + +#~ msgid "Update Partner with this Number" +#~ msgstr "Actualizar empresa con éste número" + +#~ msgid "base" +#~ msgstr "base" + +#~ msgid "ir.fields.converter" +#~ msgstr "ir.fields.converter" + +#~ msgid "phone.common" +#~ msgstr "phone.common" diff --git a/base_phone/i18n/es_CR.po b/base_phone/i18n/es_CR.po new file mode 100644 index 000000000..e24e06093 --- /dev/null +++ b/base_phone/i18n/es_CR.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-" +"connector-telephony-9-0/language/es_CR/)\n" +"Language: es_CR\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/es_EC.po b/base_phone/i18n/es_EC.po new file mode 100644 index 000000000..9f913fd7f --- /dev/null +++ b/base_phone/i18n/es_EC.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Ecuador) (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/es_EC/)\n" +"Language: es_EC\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/es_ES.po b/base_phone/i18n/es_ES.po new file mode 100644 index 000000000..c6217c9ee --- /dev/null +++ b/base_phone/i18n/es_ES.po @@ -0,0 +1,347 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-09 09:55+0000\n" +"PO-Revision-Date: 2016-11-09 09:55+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/" +"es_ES/)\n" +"Language: es_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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Creado en" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Última actualización en" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/es_MX.po b/base_phone/i18n/es_MX.po new file mode 100644 index 000000000..03b55d227 --- /dev/null +++ b/base_phone/i18n/es_MX.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/es_MX/)\n" +"Language: es_MX\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/es_VE.po b/base_phone/i18n/es_VE.po new file mode 100644 index 000000000..663300e7d --- /dev/null +++ b/base_phone/i18n/es_VE.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-" +"connector-telephony-9-0/language/es_VE/)\n" +"Language: es_VE\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/et.po b/base_phone/i18n/et.po new file mode 100644 index 000000000..82568ab6d --- /dev/null +++ b/base_phone/i18n/et.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Estonian (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/et/)\n" +"Language: et\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Loobu" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/fi.po b/base_phone/i18n/fi.po new file mode 100644 index 000000000..9f284b9d6 --- /dev/null +++ b/base_phone/i18n/fi.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-09 09:55+0000\n" +"PO-Revision-Date: 2016-11-09 09:55+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Luonut" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Luotu" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "Nimi" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "Valmis" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "Viimeksi muokattu" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Viimeksi päivittänyt" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Viimeksi päivitetty" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "Tila" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/fr.po b/base_phone/i18n/fr.po new file mode 100644 index 000000000..3259940e7 --- /dev/null +++ b/base_phone/i18n/fr.po @@ -0,0 +1,370 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 19:50+0000\n" +"PO-Revision-Date: 2017-06-24 19:50+0000\n" +"Last-Translator: OCA Transbot , 2016\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Annuler" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "Click2dial réussi" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, fuzzy, python-format +#| msgid "Click2dial started" +msgid "Click2dial to %s" +msgstr "Début du Click2dial" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "Fermer" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "Sociétés" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "Créer un nouveau partenaire" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "Créer ou mettre à jour un partenaire" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Créé par" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Date" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "Portable actuel" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "Téléphone actuel" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "Composer" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "Nom à afficher" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "Numéro E.164" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "Equivalent au format E.164 du numéro appelant." + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "Fixe" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "Fixe/Portable" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Dernière mise à jour par" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Dernière mise à jour le" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "Portable" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "Numéro introuvable" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "Numéro converti au format international :" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, fuzzy, python-format +#| msgid "Number dialed:" +msgid "Number dialed: %s" +msgstr "Numéro composé :" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "Numéro introuvable" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#, fuzzy +#| msgid "Number of Digits To Match From End" +msgid "Number of Digits" +msgstr "Nombre de chiffres à faire correspondre en partant de la fin" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "Nombre de chiffres à faire correspondre en partant de la fin" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "Partenaire : %s" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "CallerID du téléphone" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "Numéros de téléphone qui n'ont pas pu être reformatés" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "Numéros de téléphone qui n'ont pas pu être reformatés :" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "Reformate les numéros de téléphone" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "Reformate tous les numéros de téléphone" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "Selectionnez le partenaire à mettre à jour." + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "État" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "Téléphonie" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "Préférences téléphoniques" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" +"The value of the field 'Number of Digits To Match From End' must be positive." + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +#, fuzzy +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" +"Cet assistant reformate le numéro de téléphone fixe, portable et le fax de " +"tous les partenaires au format standard international i.e. +33141981242" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "Décrochez votre téléphone" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, fuzzy +msgid "Update Existing Partner" +msgstr "Créer ou mettre à jour un partenaire" + +#~ msgid "Phone" +#~ msgstr "Téléphone" + +#~ msgid "Create Partner with this Number" +#~ msgstr "Créer un partenaire avec ce numéro" + +#~ msgid "Partner" +#~ msgstr "Partenaire" + +#~ msgid "Update Partner with this Number" +#~ msgstr "Mettre à jour le partenaire avec ce numéro" + +#~ msgid "phone.common" +#~ msgstr "phone.common" diff --git a/base_phone/i18n/gl.po b/base_phone/i18n/gl.po new file mode 100644 index 000000000..66014f76d --- /dev/null +++ b/base_phone/i18n/gl.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-09 09:55+0000\n" +"PO-Revision-Date: 2016-11-09 09:55+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"Language: gl\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Creado en" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "ültima actualización por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Última actualización en" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/hr.po b/base_phone/i18n/hr.po new file mode 100644 index 000000000..c170474e7 --- /dev/null +++ b/base_phone/i18n/hr.po @@ -0,0 +1,347 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-25 03:36+0000\n" +"PO-Revision-Date: 2017-01-25 03:36+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: 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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "Pozivam broj" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Odustani" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "Zatvori" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "Poduzeća" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/it.po b/base_phone/i18n/it.po new file mode 100644 index 000000000..331849ec8 --- /dev/null +++ b/base_phone/i18n/it.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-09 09:55+0000\n" +"PO-Revision-Date: 2016-11-09 09:55+0000\n" +"Last-Translator: OCA Transbot , 2016\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Annulla" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "Nome da visualizzare" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/lt.po b/base_phone/i18n/lt.po new file mode 100644 index 000000000..660072b64 --- /dev/null +++ b/base_phone/i18n/lt.po @@ -0,0 +1,347 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/lt/)\n" +"Language: lt\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" +"%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Atšaukti" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/nl.po b/base_phone/i18n/nl.po new file mode 100644 index 000000000..f67efeab2 --- /dev/null +++ b/base_phone/i18n/nl.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Dutch (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/nl/)\n" +"Language: nl\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Annuleren" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/nl_BE.po b/base_phone/i18n/nl_BE.po new file mode 100644 index 000000000..30771fbd4 --- /dev/null +++ b/base_phone/i18n/nl_BE.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Dutch (Belgium) (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/nl_BE/)\n" +"Language: nl_BE\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Annuleren" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/pl.po b/base_phone/i18n/pl.po new file mode 100644 index 000000000..66c7b2cf0 --- /dev/null +++ b/base_phone/i18n/pl.po @@ -0,0 +1,347 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Polish (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/pl/)\n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Anuluj" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/pt.po b/base_phone/i18n/pt.po new file mode 100644 index 000000000..626288c66 --- /dev/null +++ b/base_phone/i18n/pt.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-09 09:55+0000\n" +"PO-Revision-Date: 2016-11-09 09:55+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Criado por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Criado em" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Atualizado pela última vez por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Atualizado pela última vez em" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/pt_BR.po b/base_phone/i18n/pt_BR.po new file mode 100644 index 000000000..1ff3a3e58 --- /dev/null +++ b/base_phone/i18n/pt_BR.po @@ -0,0 +1,362 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-09 09:55+0000\n" +"PO-Revision-Date: 2019-09-02 17:23+0000\n" +"Last-Translator: Rodrigo Macedo \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" +"X-Generator: Weblate 3.8\n" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "Número Chamante" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "Click2dial com sucesso" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "Click2dial para %s" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "Fechar" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "Métodos comuns para recursos do telefone" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "Empresas" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "Configurações de Ajuste" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "Contato" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "Criar Novo Parceiro" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "Criar ou Atualizar um Parceiro" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Criado por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Criado em" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "Móvel Atual" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "Telefone Atual" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "Discar" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "Exibir Nome" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "Feito" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "Rascunho" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "Número E.164" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "E.164 equivalente do número de chamada." + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "FIxo" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "Fixo/Móvel" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "Identificação" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" +"Em várias situações, o Odoo precisará encontrar um Parceiro/Líder/" +"Empregado/... a partir de um número de telefone apresentado pela parte que " +"está chamando. Como os números de telefone apresentados pela operadora de " +"telefonia nem sempre podem ser exibidos em um formato padrão, o melhor " +"método para encontrar o Parceiro/Líder/Empregado/...relacionado no Odoo é " +"tentar corresponder ao final do número de telefone no Odoo com os N últimos " +"dígitos do número de telefone apresentados pela parte que está chamando. N é " +"o valor que você deve inserir neste campo." + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "Última Modificação no" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Última atualização por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Última atualização em" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "País ausente na empresa %s" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "Celular" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "Número Não Encontrado" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "Número convertido para formato internacional:" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "Número descado: %s" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "Número não encontrado" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "Número de dígitos a serem correspondidos do final" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "Parceiro no qual o número de telefone será gravado" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "Parceiro a Atualizar" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "Parceiro: %s" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "Identificação de chamadas telefônicas" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "Validação por telefone" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" +"Número de telefone do chamador que foi obtido do servidor de telefonia, no " +"formato usado pelo servidor de telefonia (não E.164)." + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "Números de telefone que não puderam ser reformatados" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "Números de telefone que não puderam ser reformatados:" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "Formatar números de telefone" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "Formatar todos os números de telefone" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "Escolha o Parceiro a Atualizar." + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "Estado" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "Telefonia" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "Preferências de telefonia" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" +"O valor do campo 'Número de dígitos que coincidem no final' deve ser " +"positivo." + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" +"Este assistente reformata números de telefones fixos, móveis e de fax de " +"todas as empresas no formato padrão internacional, por exemplo, +33141981242" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "Atenda o telefone que está tocando" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "Atualizar Empresa existente" diff --git a/base_phone/i18n/pt_PT.po b/base_phone/i18n/pt_PT.po new file mode 100644 index 000000000..e7d828caa --- /dev/null +++ b/base_phone/i18n/pt_PT.po @@ -0,0 +1,347 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-09 09:55+0000\n" +"PO-Revision-Date: 2016-11-09 09:55+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" +"teams/23907/pt_PT/)\n" +"Language: pt_PT\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Criado por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Criado em" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "Rascunho" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Atualizado pela última vez por" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Atualizado pela última vez em" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/ro.po b/base_phone/i18n/ro.po new file mode 100644 index 000000000..84504eb78 --- /dev/null +++ b/base_phone/i18n/ro.po @@ -0,0 +1,347 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Romanian (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/ro/)\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Anuleaza" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/ru.po b/base_phone/i18n/ru.po new file mode 100644 index 000000000..dfe305c9c --- /dev/null +++ b/base_phone/i18n/ru.po @@ -0,0 +1,348 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Russian (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/ru/)\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Отменена" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/sl.po b/base_phone/i18n/sl.po new file mode 100644 index 000000000..621369886 --- /dev/null +++ b/base_phone/i18n/sl.po @@ -0,0 +1,374 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 19:50+0000\n" +"PO-Revision-Date: 2017-06-24 19:50+0000\n" +"Last-Translator: OCA Transbot , 2016\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "Klicna številka" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Preklic" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "Click2dial uspešen" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, fuzzy, python-format +#| msgid "Click2dial started" +msgid "Click2dial to %s" +msgstr "Click2dial zagnan" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "Zaključi" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "Družbe" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "Ustvari novega partnerja" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "Ustvari ali posodobi partnerja" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Ustvaril" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Ustvarjeno" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "Trenutna mobilna številka" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "Trenutna telefonska številka" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "Kliči" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "Prikazni naziv" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "Opravljeno" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "Osnutek" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "E.164 številka" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "E.164 ekvivalent klicne številke." + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "Fiksni" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "Fiksni/Mobilni" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "Zadnjič spremenjeno" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Zadnji posodobil" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Zadnjič posodobljeno" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "Mobilni telefon" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "Številka ni najdena" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "Številka pretvorjena v mednarodni format:" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, fuzzy, python-format +#| msgid "Number dialed:" +msgid "Number dialed: %s" +msgstr "Klicana številka:" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "Številka ni najdena" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#, fuzzy +#| msgid "Number of Digits To Match From End" +msgid "Number of Digits" +msgstr "Število znakov od konca številke za primerjavo" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "Število znakov od konca številke za primerjavo" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "Partner, pod katerega se bo zapisala telefonska številka" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "Partner za posodobitev" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "Partner: %s" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "ID klicatelja" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" +"Telefonska številka klicatelja, ki je bila pridobljena iz telefonskega " +"strežnika v formatu strežnika (ne E.164)." + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "Telefonske številke, ki niso bile pretvorjene" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "Telefonske številke, ki niso bile pretvorjene:" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "Pretvorba telefonskih številk" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "Pretvorba vseh telefonskih številk" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "Izbira partnerja za posodobitev" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "Stanje" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "Telefonija" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "Nastavitve telefonije" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" +"Vrednost polja 'Število znakov od konca številke za primerjavo' mora biti " +"pozitivna." + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +#, fuzzy +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" +"Čarovnik za pretvorbo telefonskih številk partnerjev v mednarodni format, " +"npr, +33141981242" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "Dvigni slušalko pri zvonjenju" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, fuzzy +msgid "Update Existing Partner" +msgstr "Ustvari ali posodobi partnerja" + +#~ msgid "Phone" +#~ msgstr "Telefon" + +#~ msgid "Create Partner with this Number" +#~ msgstr "Ustvari partnerja s to številko" + +#~ msgid "Partner" +#~ msgstr "Partner" + +#~ msgid "Update Partner with this Number" +#~ msgstr "Posodobitev partnerja s to številko" + +#~ msgid "phone.common" +#~ msgstr "phone.common" diff --git a/base_phone/i18n/th.po b/base_phone/i18n/th.po new file mode 100644 index 000000000..5f4466dd4 --- /dev/null +++ b/base_phone/i18n/th.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Thai (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/th/)\n" +"Language: th\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "ยกเลิก" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" diff --git a/base_phone/i18n/tr.po b/base_phone/i18n/tr.po new file mode 100644 index 000000000..1119f6798 --- /dev/null +++ b/base_phone/i18n/tr.po @@ -0,0 +1,377 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +# OCA Transbot , 2016 +# Ediz Duman , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 19:50+0000\n" +"PO-Revision-Date: 2017-06-24 19:50+0000\n" +"Last-Translator: Ediz Duman , 2016\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\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_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "Çağrı Numarası" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "İptal" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "Tıkla çevir başarılı" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, fuzzy, python-format +#| msgid "Click2dial started" +msgid "Click2dial to %s" +msgstr "Tıkla çevir başlatıldı" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "Kapat" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "Şirketler" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "Yeni İş Ortağı Oluştur" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "Bir iş ortağı Oluştur ya da Güncelle" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "Oluşturan" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "Oluşturuldu" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "Kayıtlı Mobil" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "Kayıtlı Telefon" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "Çevir" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "Ad Görünümü" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "Biten" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "Taslak" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "E.164 Numara" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "arayan numaranın E.164 eşdeğeri" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "Sabit" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "Sabit/Mobil" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "ID" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "Son Değişiklik" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "Son Güncelleyen" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "Son Güncellenme" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "Mobil" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "Numara Bulunamadı" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "Uluslarası biçime çevrilen numara:" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, fuzzy, python-format +#| msgid "Number dialed:" +msgid "Number dialed: %s" +msgstr "Aranan numara:" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "Numara bulunamadı" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#, fuzzy +#| msgid "Number of Digits To Match From End" +msgid "Number of Digits" +msgstr "Sondan eşleştirilecek rakam adedi" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "Sondan eşleştirilecek rakam adedi" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "Telefon numarasının yazılacağı iş ortağı" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "Güncellenecek iş ortağı" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "İş ortağı: %s" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "Telefon CallerID" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" +"Sizi arayan numaranın telefon sunucusundan alınan telefon numarası (E.164 " +"değil)" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "yeniden biçimlendirilemeyen telefon numaraları " + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "Yeniden biçimlendirilemeyen telefon numaraları:" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "Telefon numaralarını yeniden biçimlendir" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "Bütün telefon numaralarını yeniden biçimlendir" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "Güncellenecek iş ortağını seçin." + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "Durumu" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "Telefon" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "Telefon Ayarları" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" +"'Sondan eşleştirilecek rakam adedi' alanına sadece pozitif sayılar " +"girilmelidir." + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +#, fuzzy +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" +"Bu sihirbaz Cep, sabit telefon ve faks numaralarını standart E.164 " +"uluslararası biçime sokar." + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "Çalan telefonunuzu açın" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, fuzzy +msgid "Update Existing Partner" +msgstr "Bir iş ortağı Oluştur ya da Güncelle" + +#~ msgid "Phone" +#~ msgstr "Telefon" + +#~ msgid "Create Partner with this Number" +#~ msgstr "Bu numara ile yeni iş ortağı oluştur" + +#~ msgid "Partner" +#~ msgstr "İş Ortağı" + +#~ msgid "Update Partner with this Number" +#~ msgstr "İş ortağını bu numara ile güncelle" + +#~ msgid "ir.fields.converter" +#~ msgstr "ir.fields.converter" + +#~ msgid "phone.common" +#~ msgstr "phone.common" diff --git a/base_phone/i18n/vi.po b/base_phone/i18n/vi.po new file mode 100644 index 000000000..aa963ed75 --- /dev/null +++ b/base_phone/i18n/vi.po @@ -0,0 +1,346 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_phone +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: connector-telephony (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:30+0000\n" +"PO-Revision-Date: 2016-05-19 12:41+0000\n" +"Last-Translator: <>\n" +"Language-Team: Vietnamese (http://www.transifex.com/oca/OCA-connector-" +"telephony-9-0/language/vi/)\n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Incoming calls" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__calling_number +msgid "Calling Number" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Cancel" +msgstr "Hủy bỏ" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:74 +#, python-format +msgid "Click2dial successfull" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:56 +#, python-format +msgid "Click2dial to %s" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Close" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_common +msgid "Common methods for phone features" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_company +msgid "Companies" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:78 +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +#, python-format +msgid "Create New Partner" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Create or Update a Partner" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_uid +msgid "Created by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__create_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__create_date +msgid "Created on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_mobile +msgid "Current Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__current_partner_phone +msgid "Current Phone" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/xml/phone.xml:12 +#, python-format +msgid "Dial" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__display_name +#: model:ir.model.fields,field_description:base_phone.field_phone_common__display_name +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__display_name +msgid "Display Name" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Done" +msgstr "" + +#. module: base_phone +#: selection:reformat.all.phonenumbers,state:0 +msgid "Draft" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__e164_number +msgid "E.164 Number" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__e164_number +msgid "E.164 equivalent of the calling number." +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Fixed" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__number_type +msgid "Fixed/Mobile" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__id +#: model:ir.model.fields,field_description:base_phone.field_phone_common__id +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__id +msgid "ID" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,help:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "" +"In several situations, Odoo will have to find a Partner/Lead/Employee/... " +"from a phone number presented by the calling party. As the phone numbers " +"presented by your phone operator may not always be displayed in a standard " +"format, the best method to find the related Partner/Lead/Employee/... in " +"Odoo is to try to match the end of the phone number in Odoo with the N last " +"digits of the phone number presented by the calling party. N is the value " +"you should enter in this field." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found____last_update +#: model:ir.model.fields,field_description:base_phone.field_phone_common____last_update +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_uid +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__write_date +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:48 +#, python-format +msgid "Missing country on company %s" +msgstr "" + +#. module: base_phone +#: selection:number.not.found,number_type:0 +msgid "Mobile" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number Not Found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Number converted to international format:" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:75 +#, python-format +msgid "Number dialed: %s" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_number_not_found +msgid "Number not found" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "Number of Digits" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_res_company__number_of_digits_to_match_from_end +#: model:ir.model.fields,field_description:base_phone.field_res_config_settings__number_of_digits_to_match_from_end +msgid "Number of Digits To Match From End" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner on which the phone number will be written" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_number_not_found__to_update_partner_id +msgid "Partner to Update" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:96 +#, python-format +msgid "Partner: %s" +msgstr "" + +#. module: base_phone +#: model:res.groups,name:base_phone.group_callerid +msgid "Phone CallerID" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_phone_validation_mixin +msgid "Phone Validation Mixin" +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,help:base_phone.field_number_not_found__calling_number +msgid "" +"Phone number of calling party that has been obtained from the telephony " +"server, in the format used by the telephony server (not E.164)." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__phonenumbers_not_reformatted +msgid "Phone numbers that couldn't be reformatted" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Phone numbers that couldn't be reformatted:" +msgstr "" + +#. module: base_phone +#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action +#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu +msgid "Reformat Phone Numbers" +msgstr "" + +#. module: base_phone +#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "Reformat all phone numbers" +msgstr "" + +#. module: base_phone +#: code:addons/base_phone/wizard/number_not_found.py:92 +#, python-format +msgid "Select the Partner to Update." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +msgid "" +"Set how many digits must be identical from the end of the phone number to " +"declare it as a match with a partner, a lead, an employee, a candidate, etc." +msgstr "" + +#. module: base_phone +#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers__state +msgid "State" +msgstr "" + +#. module: base_phone +#: model:ir.ui.menu,name:base_phone.menu_config_phone +#: model_terms:ir.ui.view,arch_db:base_phone.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +msgid "Telephony" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form +#: model_terms:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif +msgid "Telephony Preferences" +msgstr "" + +#. module: base_phone +#: sql_constraint:res.company:0 +msgid "" +"The value of the field 'Number of Digits To Match From End' must be positive." +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form +msgid "" +"This wizard reformats the phone and mobile numbers of all partners in " +"standard international format e.g. +33 1 41 98 12 42" +msgstr "" + +#. module: base_phone +#. openerp-web +#: code:addons/base_phone/static/src/js/phone_widget.js:57 +#, python-format +msgid "Unhook your ringing phone" +msgstr "" + +#. module: base_phone +#: model_terms:ir.ui.view,arch_db:base_phone.number_not_found_form +msgid "Update Existing Partner" +msgstr "" From 715ae455db879bdb3cf913bf251f13ba28eb9b2c Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Thu, 13 Mar 2014 23:45:44 +0100 Subject: [PATCH 002/127] Extract Asterisk-independant code (the widget="phone" + phone number reformatting) from the asterisk_click2dial module to a new base_phone module. --- base_phone/__init__.py | 23 + base_phone/__openerp__.py | 55 + base_phone/base_phone.py | 120 ++ base_phone/res_partner_view.xml | 50 + base_phone/static/lib/js/PhoneFormat.js | 1318 +++++++++++++++++ base_phone/static/src/js/phone_widget.js | 58 + base_phone/static/src/xml/phone.xml | 44 + base_phone/wizard/__init__.py | 22 + .../wizard/reformat_all_phonenumbers.py | 100 ++ .../wizard/reformat_all_phonenumbers_view.xml | 47 + 10 files changed, 1837 insertions(+) create mode 100644 base_phone/__init__.py create mode 100644 base_phone/__openerp__.py create mode 100644 base_phone/base_phone.py create mode 100644 base_phone/res_partner_view.xml create mode 100644 base_phone/static/lib/js/PhoneFormat.js create mode 100644 base_phone/static/src/js/phone_widget.js create mode 100644 base_phone/static/src/xml/phone.xml create mode 100644 base_phone/wizard/__init__.py create mode 100644 base_phone/wizard/reformat_all_phonenumbers.py create mode 100644 base_phone/wizard/reformat_all_phonenumbers_view.xml diff --git a/base_phone/__init__.py b/base_phone/__init__.py new file mode 100644 index 000000000..f9be1f78f --- /dev/null +++ b/base_phone/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Base Module module for OpenERP +# Copyright (C) 2014 Alexis de Lattre +# +# 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 base_phone +from . import wizard diff --git a/base_phone/__openerp__.py b/base_phone/__openerp__.py new file mode 100644 index 000000000..4812efa5a --- /dev/null +++ b/base_phone/__openerp__.py @@ -0,0 +1,55 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Base Phone module for OpenERP +# Copyright (C) 2014 Alexis de Lattre +# +# 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': 'Base Phone', + 'version': '0.1', + 'category': 'Extra Tools', + 'license': 'AGPL-3', + 'summary': 'Validate phone numbers', + 'description': """ +Base Phone +========== + +This module validate phone numbers using the phonenumbers Python library, which is a port of the lib used in Android smartphones. It also adds tel: links on phone numbers. + +This module is independant from the Asterisk connector. + +Please contact Alexis de Lattre from Akretion for any help or question about this module. +""", + 'author': 'Akretion', + 'website': 'http://www.akretion.com/', + 'depends': ['base'], + 'external_dependencies': {'python': ['phonenumbers']}, + 'data': [ + 'res_partner_view.xml', + 'wizard/reformat_all_phonenumbers_view.xml', + ], + 'js': [ + 'static/src/js/*.js', + 'static/lib/js/*.js', + ], + 'qweb': ['static/src/xml/*.xml'], + 'images': [], + 'installable': True, + 'active': False, +} diff --git a/base_phone/base_phone.py b/base_phone/base_phone.py new file mode 100644 index 000000000..25d373ffd --- /dev/null +++ b/base_phone/base_phone.py @@ -0,0 +1,120 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Base Phone module for OpenERP +# Copyright (C) 2010-2014 Alexis de Lattre +# +# 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.tools.translate import _ +import logging +# Lib for phone number reformating -> pip install phonenumbers +import phonenumbers + +_logger = logging.getLogger(__name__) + + +class phone_common(orm.AbstractModel): + _name = 'phone.common' + + def generic_phonenumber_to_e164( + self, cr, uid, ids, field_from_to_seq, context=None): + result = {} + from_field_seq = [item[0] for item in field_from_to_seq] + for record in self.read(cr, uid, ids, from_field_seq, context=context): + result[record['id']] = {} + for fromfield, tofield in field_from_to_seq: + if not record.get(fromfield): + res = False + else: + try: + res = phonenumbers.format_number( + phonenumbers.parse(record.get(fromfield), None), + phonenumbers.PhoneNumberFormat.E164) + except Exception, e: + _logger.error( + "Cannot reformat the phone number '%s' to E.164 " + "format. Error message: %s" + % (record.get(fromfield), e)) + _logger.error( + "You should fix this number and run the wizard " + "'Reformat all phone numbers' from the menu " + "Settings > Configuration > Phones") + # If I raise an exception here, it won't be possible to + # install the module on a DB with bad phone numbers + res = False + result[record['id']][tofield] = res + return result + + def _generic_reformat_phonenumbers( + self, cr, uid, vals, + phonefields=['phone', 'partner_phone', 'fax', 'mobile'], + context=None): + """Reformat phone numbers in E.164 format i.e. +33141981242""" + if any([vals.get(field) for field in phonefields]): + user = self.pool['res.users'].browse(cr, uid, uid, context=context) + # country_id on res.company is a fields.function that looks at + # company_id.partner_id.addres(default).country_id + if user.company_id.country_id: + user_countrycode = user.company_id.country_id.code + else: + # We need to raise an exception here because, if we pass None + # as second arg of phonenumbers.parse(), it will raise an + # exception when you try to enter a phone number in + # national format... so it's better to raise the exception here + raise orm.except_orm( + _('Error :'), + _("You should set a country on the company '%s'") + % user.company_id.name) + #print "user_countrycode=", user_countrycode + for field in phonefields: + if vals.get(field): + init_value = vals.get(field) + try: + res_parse = phonenumbers.parse( + vals.get(field), user_countrycode) + except Exception, e: + raise orm.except_orm( + _('Error :'), + _("Cannot reformat the phone number '%s' to " + "international format. Error message: %s") + % (vals.get(field), e)) + #print "res_parse=", res_parse + vals[field] = phonenumbers.format_number( + res_parse, phonenumbers.PhoneNumberFormat.E164) + if init_value != vals[field]: + _logger.info( + "%s initial value: '%s' updated value: '%s'" + % (field, init_value, vals[field])) + return vals + + +class res_partner(orm.Model): + _name = 'res.partner' + _inherit = ['res.partner', 'phone.common'] + + def create(self, cr, uid, vals, context=None): + vals_reformated = self._generic_reformat_phonenumbers( + cr, uid, vals, context=context) + return super(res_partner, self).create( + cr, uid, vals_reformated, context=context) + + def write(self, cr, uid, ids, vals, context=None): + vals_reformated = self._generic_reformat_phonenumbers( + cr, uid, vals, context=context) + return super(res_partner, self).write( + cr, uid, ids, vals_reformated, context=context) diff --git a/base_phone/res_partner_view.xml b/base_phone/res_partner_view.xml new file mode 100644 index 000000000..f0a66f66a --- /dev/null +++ b/base_phone/res_partner_view.xml @@ -0,0 +1,50 @@ + + + + + + + + base.phone.res.partner.simplified.form + res.partner + + + + phone + + + phone + + + + + + base.phone.res.partner.form + res.partner + + + + phone + + + phone + + + fax + + + phone + + + phone + + + + + + + diff --git a/base_phone/static/lib/js/PhoneFormat.js b/base_phone/static/lib/js/PhoneFormat.js new file mode 100644 index 000000000..f9d85df5e --- /dev/null +++ b/base_phone/static/lib/js/PhoneFormat.js @@ -0,0 +1,1318 @@ +/* + +Compiled Tuesday May 14, 2013 at 7:33pm America/New_York + +Version: libphonenumber r574 + +------------------------------------------------------------------------ + + + Copyright (C) Alan Beebe (alan.beebe@gmail.com). + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +Usage... + +This is the same type of code used by cell phones when you enter +a phone number into your dialer app. Your phone already knows +what country you are a subscriber in, so it assumes you are entering +a local number, unless of course you prefix the number with a +, or +in the USA you could also prefix the number with 011 to indicate you +wish to dial internationally. This code functions the same way. + +Lets assume your in the United States and you enter the following +phone number: 8646978257 + +formatE164("US", "8646978257"); + Returns: +18646978257 + +countryForE164Number("US", "+18646978257"); + Returns: US + +formatInternational("US", "8646978257"); + Returns: (864) 697-8257 + Info: This is the format you use if you are displaying this number to users outside the US + +formatLocal("US", "8646978257"); + Returns: (864) 697-8257 + Info: This is the format you use if you are displaying this number to users inside the US + (In certain countries, this format will be different then the international format) + +countryCodeToName("US"); + Returns: United States + + + +*/ + + +// ------------------------------------------------------------------------- +function countryForE164Number(phone) { + /* + + Return the country code for an e164 formatted number + + phone (String) phone number in e164 format to return the country code for + + */ + try { + var phone = cleanPhone(phone); + var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); + var number = phoneUtil.parseAndKeepRawInput(phone); + var output = new goog.string.StringBuffer(); + output = phoneUtil.getRegionCodeForNumber(number); + return output.toString(); + } catch (e) { + return ""; + } +} + +// ------------------------------------------------------------------------- +function formatNumberForMobileDialing(country, phone) { + /* + + Returns a number formatted in such a way that it can be dialed from a mobile + phone in a specific region. If the number cannot be reached from the region + (e.g. some countries block toll-free numbers from being called outside of the + country), the method returns an empty string. + + */ + + try { + var phone = cleanPhone(phone); + var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); + var number = phoneUtil.parseAndKeepRawInput(phone, country); + var output = new goog.string.StringBuffer(); + output = phoneUtil.formatNumberForMobileDialing(number, country, true); + return output.toString(); + } catch (e) { + return ""; + } +} + +// ------------------------------------------------------------------------- +function isValidNumber(phone) { + /* + + Tests whether a phone number matches a valid pattern. Note this doesn't + verify the number is actually in use, which is impossible to tell by just + looking at a number itself. + + */ + + try { + var phone = cleanPhone(phone); + var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); + var number = phoneUtil.parseAndKeepRawInput(phone, ""); + return phoneUtil.isValidNumber(number); + } catch (e) { + return false; + } +} + +// ------------------------------------------------------------------------- +function formatE164(country, phone) { + /* + + Return the phone number in e164 format + + country (String) 2 digit country code + phone (String) phone number to format + + */ + + try { + var phone = cleanPhone(phone); + var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); + var number = phoneUtil.parseAndKeepRawInput(phone, country); + var PNF = i18n.phonenumbers.PhoneNumberFormat; + var output = new goog.string.StringBuffer(); + output = phoneUtil.format(number, PNF.E164); + return output.toString(); + } catch (e) { + return phone + } +} + + +// ------------------------------------------------------------------------- +function formatInternational(country, phone) { + /* + + Return the phone number in international format + + country (String) 2 digit country code + phone (String) phone number to format + + */ + + try { + var phone = cleanPhone(phone); + var formatter = new i18n.phonenumbers.AsYouTypeFormatter(country); + var output = new goog.string.StringBuffer(); + for (var i = 0; i < phone.length; ++i) { + var inputChar = phone.charAt(i); + output = (formatter.inputDigit(inputChar)); + } + return output.toString(); + } catch (e) { + return phone; + } +} + +// ------------------------------------------------------------------------- +function formatLocal(country, phone) { + /* + + Return the phone number in the format local to the user + + country (String) 2 digit country code + phone (String) phone number to format + + */ + + try { + var phone = cleanPhone(phone); + var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); + var number = phoneUtil.parseAndKeepRawInput(phone, country); + if (phoneUtil.isValidNumberForRegion(number, country)) { + var PNF = i18n.phonenumbers.PhoneNumberFormat; + var output = new goog.string.StringBuffer(); + output = phoneUtil.format(number, PNF.NATIONAL); + return output.toString(); + } else { + return formatInternational(country, phone); + } + } catch (e) { + return formatInternational(country, phone); + } +} + +// ------------------------------------------------------------------------- +function cleanPhone(phone) { + /* + + Remove any non numeric characters from the phone number but leave any plus sign at the beginning + + phone (String) phone number to clean + + */ + + phone = phone.replace(/[^\d\+]/g,''); + if (phone.substr(0, 1) == "+") { + phone = "+" + phone.replace(/[^\d]/g,''); + } else { + phone = phone.replace(/[^\d]/g,''); + } + return phone; +} + +// ------------------------------------------------------------------------- +function countryCodeToName(countryCode) { + /* + + Convert the country code to a name + + country (String) 2 digit country code + + */ + + var arrCountry = new Array(); + arrCountry['AF'] = "Afghanistan"; + arrCountry['AL'] = "Albania"; + arrCountry['DZ'] = "Algeria"; + arrCountry['AS'] = "American Samoa"; + arrCountry['AD'] = "Andorra"; + arrCountry['AO'] = "Angola"; + arrCountry['AI'] = "Anguilla"; + arrCountry['AQ'] = "Antarctica"; + arrCountry['AG'] = "Antigua And Barbuda"; + arrCountry['AR'] = "Argentina"; + arrCountry['AM'] = "Armenia"; + arrCountry['AW'] = "Aruba"; + arrCountry['AU'] = "Australia"; + arrCountry['AT'] = "Austria"; + arrCountry['AZ'] = "Azerbaijan"; + arrCountry['BS'] = "Bahamas"; + arrCountry['BH'] = "Bahrain"; + arrCountry['BD'] = "Bangladesh"; + arrCountry['BB'] = "Barbados"; + arrCountry['BY'] = "Belarus"; + arrCountry['BE'] = "Belgium"; + arrCountry['BZ'] = "Belize"; + arrCountry['BJ'] = "Benin"; + arrCountry['BM'] = "Bermuda"; + arrCountry['BT'] = "Bhutan"; + arrCountry['BO'] = "Bolivia"; + arrCountry['BA'] = "Bosnia And Herzegovina"; + arrCountry['BW'] = "Botswana"; + arrCountry['BV'] = "Bouvet Island"; + arrCountry['BR'] = "Brazil"; + arrCountry['IO'] = "British Indian Ocean Territory"; + arrCountry['BN'] = "Brunei"; + arrCountry['BG'] = "Bulgaria"; + arrCountry['BF'] = "Burkina Faso"; + arrCountry['BI'] = "Burundi"; + arrCountry['KH'] = "Cambodia"; + arrCountry['CM'] = "Cameroon"; + arrCountry['CA'] = "Canada"; + arrCountry['CV'] = "Cape Verde"; + arrCountry['KY'] = "Cayman Islands"; + arrCountry['CF'] = "Central African Republic"; + arrCountry['TD'] = "Chad"; + arrCountry['CL'] = "Chile"; + arrCountry['CN'] = "China"; + arrCountry['CX'] = "Christmas Island"; + arrCountry['CC'] = "Cocos (Keeling) Islands"; + arrCountry['CO'] = "Columbia"; + arrCountry['KM'] = "Comoros"; + arrCountry['CG'] = "Congo"; + arrCountry['CK'] = "Cook Islands"; + arrCountry['CR'] = "Costa Rica"; + arrCountry['CI'] = "Cote D'Ivorie (Ivory Coast)"; + arrCountry['HR'] = "Croatia (Hrvatska)"; + arrCountry['CU'] = "Cuba"; + arrCountry['CY'] = "Cyprus"; + arrCountry['CZ'] = "Czech Republic"; + arrCountry['CD'] = "Democratic Republic Of Congo (Zaire)"; + arrCountry['DK'] = "Denmark"; + arrCountry['DJ'] = "Djibouti"; + arrCountry['DM'] = "Dominica"; + arrCountry['DO'] = "Dominican Republic"; + arrCountry['TP'] = "East Timor"; + arrCountry['EC'] = "Ecuador"; + arrCountry['EG'] = "Egypt"; + arrCountry['SV'] = "El Salvador"; + arrCountry['GQ'] = "Equatorial Guinea"; + arrCountry['ER'] = "Eritrea"; + arrCountry['EE'] = "Estonia"; + arrCountry['ET'] = "Ethiopia"; + arrCountry['FK'] = "Falkland Islands (Malvinas)"; + arrCountry['FO'] = "Faroe Islands"; + arrCountry['FJ'] = "Fiji"; + arrCountry['FI'] = "Finland"; + arrCountry['FR'] = "France"; + arrCountry['FX'] = "France, Metropolitan"; + arrCountry['GF'] = "French Guinea"; + arrCountry['PF'] = "French Polynesia"; + arrCountry['TF'] = "French Southern Territories"; + arrCountry['GA'] = "Gabon"; + arrCountry['GM'] = "Gambia"; + arrCountry['GE'] = "Georgia"; + arrCountry['DE'] = "Germany"; + arrCountry['GH'] = "Ghana"; + arrCountry['GI'] = "Gibraltar"; + arrCountry['GR'] = "Greece"; + arrCountry['GL'] = "Greenland"; + arrCountry['GD'] = "Grenada"; + arrCountry['GP'] = "Guadeloupe"; + arrCountry['GU'] = "Guam"; + arrCountry['GT'] = "Guatemala"; + arrCountry['GN'] = "Guinea"; + arrCountry['GW'] = "Guinea-Bissau"; + arrCountry['GY'] = "Guyana"; + arrCountry['HT'] = "Haiti"; + arrCountry['HM'] = "Heard And McDonald Islands"; + arrCountry['HN'] = "Honduras"; + arrCountry['HK'] = "Hong Kong"; + arrCountry['HU'] = "Hungary"; + arrCountry['IS'] = "Iceland"; + arrCountry['IN'] = "India"; + arrCountry['ID'] = "Indonesia"; + arrCountry['IR'] = "Iran"; + arrCountry['IQ'] = "Iraq"; + arrCountry['IE'] = "Ireland"; + arrCountry['IM'] = "Isle of Man"; + arrCountry['IL'] = "Israel"; + arrCountry['IT'] = "Italy"; + arrCountry['JM'] = "Jamaica"; + arrCountry['JP'] = "Japan"; + arrCountry['JO'] = "Jordan"; + arrCountry['KZ'] = "Kazakhstan"; + arrCountry['KE'] = "Kenya"; + arrCountry['KI'] = "Kiribati"; + arrCountry['KW'] = "Kuwait"; + arrCountry['KG'] = "Kyrgyzstan"; + arrCountry['LA'] = "Laos"; + arrCountry['LV'] = "Latvia"; + arrCountry['LB'] = "Lebanon"; + arrCountry['LS'] = "Lesotho"; + arrCountry['LR'] = "Liberia"; + arrCountry['LY'] = "Libya"; + arrCountry['LI'] = "Liechtenstein"; + arrCountry['LT'] = "Lithuania"; + arrCountry['LU'] = "Luxembourg"; + arrCountry['MO'] = "Macau"; + arrCountry['MK'] = "Macedonia"; + arrCountry['MG'] = "Madagascar"; + arrCountry['MW'] = "Malawi"; + arrCountry['MY'] = "Malaysia"; + arrCountry['MV'] = "Maldives"; + arrCountry['ML'] = "Mali"; + arrCountry['MT'] = "Malta"; + arrCountry['MH'] = "Marshall Islands"; + arrCountry['MQ'] = "Martinique"; + arrCountry['MR'] = "Mauritania"; + arrCountry['MU'] = "Mauritius"; + arrCountry['YT'] = "Mayotte"; + arrCountry['MX'] = "Mexico"; + arrCountry['FM'] = "Micronesia"; + arrCountry['MD'] = "Moldova"; + arrCountry['MC'] = "Monaco"; + arrCountry['MN'] = "Mongolia"; + arrCountry['MS'] = "Montserrat"; + arrCountry['MA'] = "Morocco"; + arrCountry['MZ'] = "Mozambique"; + arrCountry['MM'] = "Myanmar (Burma)"; + arrCountry['NA'] = "Namibia"; + arrCountry['NR'] = "Nauru"; + arrCountry['NP'] = "Nepal"; + arrCountry['NL'] = "Netherlands"; + arrCountry['AN'] = "Netherlands Antilles"; + arrCountry['NC'] = "New Caledonia"; + arrCountry['NZ'] = "New Zealand"; + arrCountry['NI'] = "Nicaragua"; + arrCountry['NE'] = "Niger"; + arrCountry['NG'] = "Nigeria"; + arrCountry['NU'] = "Niue"; + arrCountry['NF'] = "Norfolk Island"; + arrCountry['KP'] = "North Korea"; + arrCountry['MP'] = "Northern Mariana Islands"; + arrCountry['NO'] = "Norway"; + arrCountry['OM'] = "Oman"; + arrCountry['PK'] = "Pakistan"; + arrCountry['PW'] = "Palau"; + arrCountry['PA'] = "Panama"; + arrCountry['PG'] = "Papua New Guinea"; + arrCountry['PY'] = "Paraguay"; + arrCountry['PE'] = "Peru"; + arrCountry['PH'] = "Philippines"; + arrCountry['PN'] = "Pitcairn"; + arrCountry['PL'] = "Poland"; + arrCountry['PT'] = "Portugal"; + arrCountry['PR'] = "Puerto Rico"; + arrCountry['QA'] = "Qatar"; + arrCountry['RE'] = "Reunion"; + arrCountry['RO'] = "Romania"; + arrCountry['RU'] = "Russia"; + arrCountry['RW'] = "Rwanda"; + arrCountry['SH'] = "Saint Helena"; + arrCountry['KN'] = "Saint Kitts And Nevis"; + arrCountry['LC'] = "Saint Lucia"; + arrCountry['PM'] = "Saint Pierre And Miquelon"; + arrCountry['VC'] = "Saint Vincent And The Grenadines"; + arrCountry['SM'] = "San Marino"; + arrCountry['ST'] = "Sao Tome And Principe"; + arrCountry['SA'] = "Saudi Arabia"; + arrCountry['SN'] = "Senegal"; + arrCountry['SC'] = "Seychelles"; + arrCountry['SL'] = "Sierra Leone"; + arrCountry['SG'] = "Singapore"; + arrCountry['SK'] = "Slovak Republic"; + arrCountry['SI'] = "Slovenia"; + arrCountry['SB'] = "Solomon Islands"; + arrCountry['SO'] = "Somalia"; + arrCountry['ZA'] = "South Africa"; + arrCountry['GS'] = "South Georgia And South Sandwich Islands"; + arrCountry['KR'] = "South Korea"; + arrCountry['ES'] = "Spain"; + arrCountry['LK'] = "Sri Lanka"; + arrCountry['SD'] = "Sudan"; + arrCountry['SR'] = "Suriname"; + arrCountry['SJ'] = "Svalbard And Jan Mayen"; + arrCountry['SZ'] = "Swaziland"; + arrCountry['SE'] = "Sweden"; + arrCountry['CH'] = "Switzerland"; + arrCountry['SY'] = "Syria"; + arrCountry['TW'] = "Taiwan"; + arrCountry['TJ'] = "Tajikistan"; + arrCountry['TZ'] = "Tanzania"; + arrCountry['TH'] = "Thailand"; + arrCountry['TG'] = "Togo"; + arrCountry['TK'] = "Tokelau"; + arrCountry['TO'] = "Tonga"; + arrCountry['TT'] = "Trinidad And Tobago"; + arrCountry['TN'] = "Tunisia"; + arrCountry['TR'] = "Turkey"; + arrCountry['TM'] = "Turkmenistan"; + arrCountry['TC'] = "Turks And Caicos Islands"; + arrCountry['TV'] = "Tuvalu"; + arrCountry['UG'] = "Uganda"; + arrCountry['UA'] = "Ukraine"; + arrCountry['AE'] = "United Arab Emirates"; + arrCountry['GB'] = "United Kingdom"; + arrCountry['US'] = "United States"; + arrCountry['UM'] = "United States Minor Outlying Islands"; + arrCountry['UY'] = "Uruguay"; + arrCountry['UZ'] = "Uzbekistan"; + arrCountry['VU'] = "Vanuatu"; + arrCountry['VA'] = "Vatican City (Holy See)"; + arrCountry['VE'] = "Venezuela"; + arrCountry['VN'] = "Vietnam"; + arrCountry['VG'] = "Virgin Islands (British)"; + arrCountry['VI'] = "Virgin Islands (US)"; + arrCountry['WF'] = "Wallis And Futuna Islands"; + arrCountry['EH'] = "Western Sahara"; + arrCountry['WS'] = "Western Samoa"; + arrCountry['YE'] = "Yemen"; + arrCountry['YU'] = "Yugoslavia"; + arrCountry['ZM'] = "Zambia"; + arrCountry['ZW'] = "Zimbabwe"; + + var name = arrCountry[countryCode.toUpperCase()]; + if (name === undefined) { + return ""; + } else { + return name; + } +} + + +var COMPILED=!0,goog=goog||{};goog.global=this;goog.DEBUG=!0;goog.LOCALE="en";goog.provide=function(a){if(!COMPILED){if(goog.isProvided_(a))throw Error('Namespace "'+a+'" already declared.');delete goog.implicitNamespaces_[a];for(var b=a;(b=b.substring(0,b.lastIndexOf(".")))&&!goog.getObjectByName(b);)goog.implicitNamespaces_[b]=!0}goog.exportPath_(a)};goog.setTestOnly=function(a){if(COMPILED&&!goog.DEBUG)throw a=a||"",Error("Importing test-only code into non-debug environment"+a?": "+a:".");}; +COMPILED||(goog.isProvided_=function(a){return!goog.implicitNamespaces_[a]&&!!goog.getObjectByName(a)},goog.implicitNamespaces_={});goog.exportPath_=function(a,b,c){a=a.split(".");c=c||goog.global;!(a[0]in c)&&c.execScript&&c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&goog.isDef(b)?c[d]=b:c=c[d]?c[d]:c[d]={}};goog.getObjectByName=function(a,b){for(var c=a.split("."),d=b||goog.global,e;e=c.shift();)if(goog.isDefAndNotNull(d[e]))d=d[e];else return null;return d}; +goog.globalize=function(a,b){var c=b||goog.global,d;for(d in a)c[d]=a[d]};goog.addDependency=function(a,b,c){if(!COMPILED){var d;a=a.replace(/\\/g,"/");for(var e=goog.dependencies_,f=0;d=b[f];f++)e.nameToPath[d]=a,a in e.pathToNames||(e.pathToNames[a]={}),e.pathToNames[a][d]=!0;for(d=0;b=c[d];d++)a in e.requires||(e.requires[a]={}),e.requires[a][b]=!0}};goog.ENABLE_DEBUG_LOADER=!0; +goog.require=function(a){if(!COMPILED&&!goog.isProvided_(a)){if(goog.ENABLE_DEBUG_LOADER){var b=goog.getPathFromDeps_(a);if(b){goog.included_[b]=!0;goog.writeScripts_();return}}a="goog.require could not find: "+a;goog.global.console&&goog.global.console.error(a);throw Error(a);}};goog.basePath="";goog.nullFunction=function(){};goog.identityFunction=function(a){return a};goog.abstractMethod=function(){throw Error("unimplemented abstract method");}; +goog.addSingletonGetter=function(a){a.getInstance=function(){if(a.instance_)return a.instance_;goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=a);return a.instance_=new a}};goog.instantiatedSingletons_=[]; +!COMPILED&&goog.ENABLE_DEBUG_LOADER&&(goog.included_={},goog.dependencies_={pathToNames:{},nameToPath:{},requires:{},visited:{},written:{}},goog.inHtmlDocument_=function(){var a=goog.global.document;return"undefined"!=typeof a&&"write"in a},goog.findBasePath_=function(){if(goog.global.CLOSURE_BASE_PATH)goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_())for(var a=goog.global.document.getElementsByTagName("script"),b=a.length-1;0<=b;--b){var c=a[b].src,d=c.lastIndexOf("?"),d= +-1==d?c.length:d;if("base.js"==c.substr(d-7,7)){goog.basePath=c.substr(0,d-7);break}}},goog.importScript_=function(a){var b=goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_;!goog.dependencies_.written[a]&&b(a)&&(goog.dependencies_.written[a]=!0)},goog.writeScriptTag_=function(a){if(goog.inHtmlDocument_()){var b=goog.global.document;if("complete"==b.readyState){if(/\bdeps.js$/.test(a))return!1;throw Error('Cannot write "'+a+'" after document load');}b.write(' + + + + + + + From 70d1ab2d4c3048d53c615b5155d71dcc309cda48 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 25 Aug 2014 16:09:02 +0200 Subject: [PATCH 011/127] Update PhoneFormat JS lib --- .../static/lib/phonenumbers/PhoneFormat.js | 1909 +++++++++-------- 1 file changed, 994 insertions(+), 915 deletions(-) diff --git a/base_phone/static/lib/phonenumbers/PhoneFormat.js b/base_phone/static/lib/phonenumbers/PhoneFormat.js index f9d85df5e..889340b65 100644 --- a/base_phone/static/lib/phonenumbers/PhoneFormat.js +++ b/base_phone/static/lib/phonenumbers/PhoneFormat.js @@ -1,8 +1,8 @@ /* -Compiled Tuesday May 14, 2013 at 7:33pm America/New_York +Compiled Wednesday July 30, 2014 at 2:15pm America/New_York -Version: libphonenumber r574 +Version: libphonenumber r680 ------------------------------------------------------------------------ @@ -52,617 +52,690 @@ formatLocal("US", "8646978257"); countryCodeToName("US"); Returns: United States - - + + */ // ------------------------------------------------------------------------- function countryForE164Number(phone) { - /* - - Return the country code for an e164 formatted number - - phone (String) phone number in e164 format to return the country code for - - */ - try { - var phone = cleanPhone(phone); - var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); - var number = phoneUtil.parseAndKeepRawInput(phone); - var output = new goog.string.StringBuffer(); - output = phoneUtil.getRegionCodeForNumber(number); - return output.toString(); + /* + + Return the country code for an e164 formatted number + + phone (String) phone number in e164 format to return the country code for + + */ + try { + var phone = cleanPhone(phone); + var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); + var number = phoneUtil.parseAndKeepRawInput(phone); + var output = new goog.string.StringBuffer(); + output = phoneUtil.getRegionCodeForNumber(number); + return output.toString(); } catch (e) { - return ""; + return ""; } } // ------------------------------------------------------------------------- function formatNumberForMobileDialing(country, phone) { - /* - - Returns a number formatted in such a way that it can be dialed from a mobile - phone in a specific region. If the number cannot be reached from the region - (e.g. some countries block toll-free numbers from being called outside of the - country), the method returns an empty string. - - */ - - try { - var phone = cleanPhone(phone); - var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); - var number = phoneUtil.parseAndKeepRawInput(phone, country); - var output = new goog.string.StringBuffer(); - output = phoneUtil.formatNumberForMobileDialing(number, country, true); - return output.toString(); + /* + + Returns a number formatted in such a way that it can be dialed from a mobile + phone in a specific region. If the number cannot be reached from the region + (e.g. some countries block toll-free numbers from being called outside of the + country), the method returns an empty string. + + */ + + try { + var phone = cleanPhone(phone); + var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); + var number = phoneUtil.parseAndKeepRawInput(phone, country); + var output = new goog.string.StringBuffer(); + output = phoneUtil.formatNumberForMobileDialing(number, country, true); + return output.toString(); } catch (e) { - return ""; + return ""; } } // ------------------------------------------------------------------------- -function isValidNumber(phone) { - /* - - Tests whether a phone number matches a valid pattern. Note this doesn't - verify the number is actually in use, which is impossible to tell by just - looking at a number itself. - - */ - - try { - var phone = cleanPhone(phone); - var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); - var number = phoneUtil.parseAndKeepRawInput(phone, ""); - return phoneUtil.isValidNumber(number); +function isValidNumber(phone, country) { + /* + + Tests whether a phone number matches a valid pattern. Note this doesn't + verify the number is actually in use, which is impossible to tell by just + looking at a number itself. + + */ + + try { + var phone = cleanPhone(phone); + var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); + var number = phoneUtil.parseAndKeepRawInput(phone, country); + return phoneUtil.isValidNumber(number); } catch (e) { - return false; + return false; } } // ------------------------------------------------------------------------- function formatE164(country, phone) { - /* - - Return the phone number in e164 format - - country (String) 2 digit country code - phone (String) phone number to format - - */ - - try { - var phone = cleanPhone(phone); - var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); - var number = phoneUtil.parseAndKeepRawInput(phone, country); - var PNF = i18n.phonenumbers.PhoneNumberFormat; - var output = new goog.string.StringBuffer(); - output = phoneUtil.format(number, PNF.E164); - return output.toString(); + /* + + Return the phone number in e164 format + + country (String) 2 digit country code + phone (String) phone number to format + + */ + + try { + var phone = cleanPhone(phone); + var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); + var number = phoneUtil.parseAndKeepRawInput(phone, country); + var PNF = i18n.phonenumbers.PhoneNumberFormat; + var output = new goog.string.StringBuffer(); + output = phoneUtil.format(number, PNF.E164); + return output.toString(); } catch (e) { - return phone + return phone } } // ------------------------------------------------------------------------- function formatInternational(country, phone) { - /* - - Return the phone number in international format - - country (String) 2 digit country code - phone (String) phone number to format - - */ - - try { - var phone = cleanPhone(phone); - var formatter = new i18n.phonenumbers.AsYouTypeFormatter(country); - var output = new goog.string.StringBuffer(); - for (var i = 0; i < phone.length; ++i) { - var inputChar = phone.charAt(i); - output = (formatter.inputDigit(inputChar)); - } - return output.toString(); + /* + + Return the phone number in international format + + country (String) 2 digit country code + phone (String) phone number to format + + */ + + try { + var phone = cleanPhone(phone); + var formatter = new i18n.phonenumbers.AsYouTypeFormatter(country); + var output = new goog.string.StringBuffer(); + for (var i = 0; i < phone.length; ++i) { + var inputChar = phone.charAt(i); + output = (formatter.inputDigit(inputChar)); + } + return output.toString(); } catch (e) { - return phone; + return phone; } } // ------------------------------------------------------------------------- function formatLocal(country, phone) { - /* + /* + + Return the phone number in the format local to the user + + country (String) 2 digit country code + phone (String) phone number to format + + */ + + try { + var phone = cleanPhone(phone); + var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); + var number = phoneUtil.parseAndKeepRawInput(phone, country); + if (phoneUtil.isValidNumberForRegion(number, country)) { + var PNF = i18n.phonenumbers.PhoneNumberFormat; + var output = new goog.string.StringBuffer(); + output = phoneUtil.format(number, PNF.NATIONAL); + return output.toString(); + } else { + return formatInternational(country, phone); + } + } catch (e) { + return formatInternational(country, phone); + } +} + +// ------------------------------------------------------------------------- +function exampleLandlineNumber(country) { + /* - Return the phone number in the format local to the user + Returns an example land line phone number for the specified country - country (String) 2 digit country code - phone (String) phone number to format + country (String) 2 digit country code - */ - - try { - var phone = cleanPhone(phone); - var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); - var number = phoneUtil.parseAndKeepRawInput(phone, country); - if (phoneUtil.isValidNumberForRegion(number, country)) { - var PNF = i18n.phonenumbers.PhoneNumberFormat; - var output = new goog.string.StringBuffer(); - output = phoneUtil.format(number, PNF.NATIONAL); - return output.toString(); - } else { - return formatInternational(country, phone); - } - } catch (e) { - return formatInternational(country, phone); - } -} + */ + try { + var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); + var output = phoneUtil.getExampleNumber(country); + return ""+output.getNationalNumber(); + } catch (e) { + return ""; + } +} + // ------------------------------------------------------------------------- -function cleanPhone(phone) { - /* +function exampleMobileNumber(country) { + /* - Remove any non numeric characters from the phone number but leave any plus sign at the beginning + Returns an example mobile phone number for the specified country - phone (String) phone number to clean + country (String) 2 digit country code - */ + */ - phone = phone.replace(/[^\d\+]/g,''); - if (phone.substr(0, 1) == "+") { - phone = "+" + phone.replace(/[^\d]/g,''); - } else { - phone = phone.replace(/[^\d]/g,''); - } - return phone; + try { + var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance(); + var output = phoneUtil.getExampleNumberForType(country, i18n.phonenumbers.PhoneNumberType.MOBILE); + return ""+output.getNationalNumber(); + } catch (e) { + return ""; + } +} + +// ------------------------------------------------------------------------- +function cleanPhone(phone) { + /* + + Remove any non numeric characters from the phone number but leave any plus sign at the beginning + + phone (String) phone number to clean + + */ + + phone = phone.replace(/[^\d\+]/g,''); + if (phone.substr(0, 1) == "+") { + phone = "+" + phone.replace(/[^\d]/g,''); + } else { + phone = phone.replace(/[^\d]/g,''); + } + return phone; } // ------------------------------------------------------------------------- function countryCodeToName(countryCode) { - /* - - Convert the country code to a name - - country (String) 2 digit country code - - */ - - var arrCountry = new Array(); - arrCountry['AF'] = "Afghanistan"; - arrCountry['AL'] = "Albania"; - arrCountry['DZ'] = "Algeria"; - arrCountry['AS'] = "American Samoa"; - arrCountry['AD'] = "Andorra"; - arrCountry['AO'] = "Angola"; - arrCountry['AI'] = "Anguilla"; - arrCountry['AQ'] = "Antarctica"; - arrCountry['AG'] = "Antigua And Barbuda"; - arrCountry['AR'] = "Argentina"; - arrCountry['AM'] = "Armenia"; - arrCountry['AW'] = "Aruba"; - arrCountry['AU'] = "Australia"; - arrCountry['AT'] = "Austria"; - arrCountry['AZ'] = "Azerbaijan"; - arrCountry['BS'] = "Bahamas"; - arrCountry['BH'] = "Bahrain"; - arrCountry['BD'] = "Bangladesh"; - arrCountry['BB'] = "Barbados"; - arrCountry['BY'] = "Belarus"; - arrCountry['BE'] = "Belgium"; - arrCountry['BZ'] = "Belize"; - arrCountry['BJ'] = "Benin"; - arrCountry['BM'] = "Bermuda"; - arrCountry['BT'] = "Bhutan"; - arrCountry['BO'] = "Bolivia"; - arrCountry['BA'] = "Bosnia And Herzegovina"; - arrCountry['BW'] = "Botswana"; - arrCountry['BV'] = "Bouvet Island"; - arrCountry['BR'] = "Brazil"; - arrCountry['IO'] = "British Indian Ocean Territory"; - arrCountry['BN'] = "Brunei"; - arrCountry['BG'] = "Bulgaria"; - arrCountry['BF'] = "Burkina Faso"; - arrCountry['BI'] = "Burundi"; - arrCountry['KH'] = "Cambodia"; - arrCountry['CM'] = "Cameroon"; - arrCountry['CA'] = "Canada"; - arrCountry['CV'] = "Cape Verde"; - arrCountry['KY'] = "Cayman Islands"; - arrCountry['CF'] = "Central African Republic"; - arrCountry['TD'] = "Chad"; - arrCountry['CL'] = "Chile"; - arrCountry['CN'] = "China"; - arrCountry['CX'] = "Christmas Island"; - arrCountry['CC'] = "Cocos (Keeling) Islands"; - arrCountry['CO'] = "Columbia"; - arrCountry['KM'] = "Comoros"; - arrCountry['CG'] = "Congo"; - arrCountry['CK'] = "Cook Islands"; - arrCountry['CR'] = "Costa Rica"; - arrCountry['CI'] = "Cote D'Ivorie (Ivory Coast)"; - arrCountry['HR'] = "Croatia (Hrvatska)"; - arrCountry['CU'] = "Cuba"; - arrCountry['CY'] = "Cyprus"; - arrCountry['CZ'] = "Czech Republic"; - arrCountry['CD'] = "Democratic Republic Of Congo (Zaire)"; - arrCountry['DK'] = "Denmark"; - arrCountry['DJ'] = "Djibouti"; - arrCountry['DM'] = "Dominica"; - arrCountry['DO'] = "Dominican Republic"; - arrCountry['TP'] = "East Timor"; - arrCountry['EC'] = "Ecuador"; - arrCountry['EG'] = "Egypt"; - arrCountry['SV'] = "El Salvador"; - arrCountry['GQ'] = "Equatorial Guinea"; - arrCountry['ER'] = "Eritrea"; - arrCountry['EE'] = "Estonia"; - arrCountry['ET'] = "Ethiopia"; - arrCountry['FK'] = "Falkland Islands (Malvinas)"; - arrCountry['FO'] = "Faroe Islands"; - arrCountry['FJ'] = "Fiji"; - arrCountry['FI'] = "Finland"; - arrCountry['FR'] = "France"; - arrCountry['FX'] = "France, Metropolitan"; - arrCountry['GF'] = "French Guinea"; - arrCountry['PF'] = "French Polynesia"; - arrCountry['TF'] = "French Southern Territories"; - arrCountry['GA'] = "Gabon"; - arrCountry['GM'] = "Gambia"; - arrCountry['GE'] = "Georgia"; - arrCountry['DE'] = "Germany"; - arrCountry['GH'] = "Ghana"; - arrCountry['GI'] = "Gibraltar"; - arrCountry['GR'] = "Greece"; - arrCountry['GL'] = "Greenland"; - arrCountry['GD'] = "Grenada"; - arrCountry['GP'] = "Guadeloupe"; - arrCountry['GU'] = "Guam"; - arrCountry['GT'] = "Guatemala"; - arrCountry['GN'] = "Guinea"; - arrCountry['GW'] = "Guinea-Bissau"; - arrCountry['GY'] = "Guyana"; - arrCountry['HT'] = "Haiti"; - arrCountry['HM'] = "Heard And McDonald Islands"; - arrCountry['HN'] = "Honduras"; - arrCountry['HK'] = "Hong Kong"; - arrCountry['HU'] = "Hungary"; - arrCountry['IS'] = "Iceland"; - arrCountry['IN'] = "India"; - arrCountry['ID'] = "Indonesia"; - arrCountry['IR'] = "Iran"; - arrCountry['IQ'] = "Iraq"; - arrCountry['IE'] = "Ireland"; - arrCountry['IM'] = "Isle of Man"; - arrCountry['IL'] = "Israel"; - arrCountry['IT'] = "Italy"; - arrCountry['JM'] = "Jamaica"; - arrCountry['JP'] = "Japan"; - arrCountry['JO'] = "Jordan"; - arrCountry['KZ'] = "Kazakhstan"; - arrCountry['KE'] = "Kenya"; - arrCountry['KI'] = "Kiribati"; - arrCountry['KW'] = "Kuwait"; - arrCountry['KG'] = "Kyrgyzstan"; - arrCountry['LA'] = "Laos"; - arrCountry['LV'] = "Latvia"; - arrCountry['LB'] = "Lebanon"; - arrCountry['LS'] = "Lesotho"; - arrCountry['LR'] = "Liberia"; - arrCountry['LY'] = "Libya"; - arrCountry['LI'] = "Liechtenstein"; - arrCountry['LT'] = "Lithuania"; - arrCountry['LU'] = "Luxembourg"; - arrCountry['MO'] = "Macau"; - arrCountry['MK'] = "Macedonia"; - arrCountry['MG'] = "Madagascar"; - arrCountry['MW'] = "Malawi"; - arrCountry['MY'] = "Malaysia"; - arrCountry['MV'] = "Maldives"; - arrCountry['ML'] = "Mali"; - arrCountry['MT'] = "Malta"; - arrCountry['MH'] = "Marshall Islands"; - arrCountry['MQ'] = "Martinique"; - arrCountry['MR'] = "Mauritania"; - arrCountry['MU'] = "Mauritius"; - arrCountry['YT'] = "Mayotte"; - arrCountry['MX'] = "Mexico"; - arrCountry['FM'] = "Micronesia"; - arrCountry['MD'] = "Moldova"; - arrCountry['MC'] = "Monaco"; - arrCountry['MN'] = "Mongolia"; - arrCountry['MS'] = "Montserrat"; - arrCountry['MA'] = "Morocco"; - arrCountry['MZ'] = "Mozambique"; - arrCountry['MM'] = "Myanmar (Burma)"; - arrCountry['NA'] = "Namibia"; - arrCountry['NR'] = "Nauru"; - arrCountry['NP'] = "Nepal"; - arrCountry['NL'] = "Netherlands"; - arrCountry['AN'] = "Netherlands Antilles"; - arrCountry['NC'] = "New Caledonia"; - arrCountry['NZ'] = "New Zealand"; - arrCountry['NI'] = "Nicaragua"; - arrCountry['NE'] = "Niger"; - arrCountry['NG'] = "Nigeria"; - arrCountry['NU'] = "Niue"; - arrCountry['NF'] = "Norfolk Island"; - arrCountry['KP'] = "North Korea"; - arrCountry['MP'] = "Northern Mariana Islands"; - arrCountry['NO'] = "Norway"; - arrCountry['OM'] = "Oman"; - arrCountry['PK'] = "Pakistan"; - arrCountry['PW'] = "Palau"; - arrCountry['PA'] = "Panama"; - arrCountry['PG'] = "Papua New Guinea"; - arrCountry['PY'] = "Paraguay"; - arrCountry['PE'] = "Peru"; - arrCountry['PH'] = "Philippines"; - arrCountry['PN'] = "Pitcairn"; - arrCountry['PL'] = "Poland"; - arrCountry['PT'] = "Portugal"; - arrCountry['PR'] = "Puerto Rico"; - arrCountry['QA'] = "Qatar"; - arrCountry['RE'] = "Reunion"; - arrCountry['RO'] = "Romania"; - arrCountry['RU'] = "Russia"; - arrCountry['RW'] = "Rwanda"; - arrCountry['SH'] = "Saint Helena"; - arrCountry['KN'] = "Saint Kitts And Nevis"; - arrCountry['LC'] = "Saint Lucia"; - arrCountry['PM'] = "Saint Pierre And Miquelon"; - arrCountry['VC'] = "Saint Vincent And The Grenadines"; - arrCountry['SM'] = "San Marino"; - arrCountry['ST'] = "Sao Tome And Principe"; - arrCountry['SA'] = "Saudi Arabia"; - arrCountry['SN'] = "Senegal"; - arrCountry['SC'] = "Seychelles"; - arrCountry['SL'] = "Sierra Leone"; - arrCountry['SG'] = "Singapore"; - arrCountry['SK'] = "Slovak Republic"; - arrCountry['SI'] = "Slovenia"; - arrCountry['SB'] = "Solomon Islands"; - arrCountry['SO'] = "Somalia"; - arrCountry['ZA'] = "South Africa"; - arrCountry['GS'] = "South Georgia And South Sandwich Islands"; - arrCountry['KR'] = "South Korea"; - arrCountry['ES'] = "Spain"; - arrCountry['LK'] = "Sri Lanka"; - arrCountry['SD'] = "Sudan"; - arrCountry['SR'] = "Suriname"; - arrCountry['SJ'] = "Svalbard And Jan Mayen"; - arrCountry['SZ'] = "Swaziland"; - arrCountry['SE'] = "Sweden"; - arrCountry['CH'] = "Switzerland"; - arrCountry['SY'] = "Syria"; - arrCountry['TW'] = "Taiwan"; - arrCountry['TJ'] = "Tajikistan"; - arrCountry['TZ'] = "Tanzania"; - arrCountry['TH'] = "Thailand"; - arrCountry['TG'] = "Togo"; - arrCountry['TK'] = "Tokelau"; - arrCountry['TO'] = "Tonga"; - arrCountry['TT'] = "Trinidad And Tobago"; - arrCountry['TN'] = "Tunisia"; - arrCountry['TR'] = "Turkey"; - arrCountry['TM'] = "Turkmenistan"; - arrCountry['TC'] = "Turks And Caicos Islands"; - arrCountry['TV'] = "Tuvalu"; - arrCountry['UG'] = "Uganda"; - arrCountry['UA'] = "Ukraine"; - arrCountry['AE'] = "United Arab Emirates"; - arrCountry['GB'] = "United Kingdom"; - arrCountry['US'] = "United States"; - arrCountry['UM'] = "United States Minor Outlying Islands"; - arrCountry['UY'] = "Uruguay"; - arrCountry['UZ'] = "Uzbekistan"; - arrCountry['VU'] = "Vanuatu"; - arrCountry['VA'] = "Vatican City (Holy See)"; - arrCountry['VE'] = "Venezuela"; - arrCountry['VN'] = "Vietnam"; - arrCountry['VG'] = "Virgin Islands (British)"; - arrCountry['VI'] = "Virgin Islands (US)"; - arrCountry['WF'] = "Wallis And Futuna Islands"; - arrCountry['EH'] = "Western Sahara"; - arrCountry['WS'] = "Western Samoa"; - arrCountry['YE'] = "Yemen"; - arrCountry['YU'] = "Yugoslavia"; - arrCountry['ZM'] = "Zambia"; - arrCountry['ZW'] = "Zimbabwe"; - - var name = arrCountry[countryCode.toUpperCase()]; - if (name === undefined) { - return ""; - } else { - return name; - } + /* + + Convert the country code to a name + + country (String) 2 digit country code + + */ + + var arrCountry = new Array(); + arrCountry['AF'] = "Afghanistan"; + arrCountry['AL'] = "Albania"; + arrCountry['DZ'] = "Algeria"; + arrCountry['AS'] = "American Samoa"; + arrCountry['AD'] = "Andorra"; + arrCountry['AO'] = "Angola"; + arrCountry['AI'] = "Anguilla"; + arrCountry['AQ'] = "Antarctica"; + arrCountry['AG'] = "Antigua And Barbuda"; + arrCountry['AR'] = "Argentina"; + arrCountry['AM'] = "Armenia"; + arrCountry['AW'] = "Aruba"; + arrCountry['AC'] = "Ascension Island"; + arrCountry['AU'] = "Australia"; + arrCountry['AT'] = "Austria"; + arrCountry['AZ'] = "Azerbaijan"; + arrCountry['BS'] = "Bahamas"; + arrCountry['BH'] = "Bahrain"; + arrCountry['BD'] = "Bangladesh"; + arrCountry['BB'] = "Barbados"; + arrCountry['BY'] = "Belarus"; + arrCountry['BE'] = "Belgium"; + arrCountry['BZ'] = "Belize"; + arrCountry['BJ'] = "Benin"; + arrCountry['BM'] = "Bermuda"; + arrCountry['BT'] = "Bhutan"; + arrCountry['BO'] = "Bolivia"; + arrCountry['BA'] = "Bosnia And Herzegovina"; + arrCountry['BW'] = "Botswana"; + arrCountry['BV'] = "Bouvet Island"; + arrCountry['BR'] = "Brazil"; + arrCountry['IO'] = "British Indian Ocean Territory"; + arrCountry['BN'] = "Brunei"; + arrCountry['BG'] = "Bulgaria"; + arrCountry['BF'] = "Burkina Faso"; + arrCountry['BI'] = "Burundi"; + arrCountry['KH'] = "Cambodia"; + arrCountry['CM'] = "Cameroon"; + arrCountry['CA'] = "Canada"; + arrCountry['CV'] = "Cape Verde"; + arrCountry['KY'] = "Cayman Islands"; + arrCountry['CF'] = "Central African Republic"; + arrCountry['TD'] = "Chad"; + arrCountry['CL'] = "Chile"; + arrCountry['CN'] = "China"; + arrCountry['CX'] = "Christmas Island"; + arrCountry['CC'] = "Cocos (Keeling) Islands"; + arrCountry['CO'] = "Columbia"; + arrCountry['KM'] = "Comoros"; + arrCountry['CG'] = "Congo"; + arrCountry['CK'] = "Cook Islands"; + arrCountry['CR'] = "Costa Rica"; + arrCountry['CI'] = "Cote D'Ivorie (Ivory Coast)"; + arrCountry['HR'] = "Croatia (Hrvatska)"; + arrCountry['CU'] = "Cuba"; + arrCountry['CY'] = "Cyprus"; + arrCountry['CZ'] = "Czech Republic"; + arrCountry['CD'] = "Democratic Republic Of Congo (Zaire)"; + arrCountry['DK'] = "Denmark"; + arrCountry['DJ'] = "Djibouti"; + arrCountry['DM'] = "Dominica"; + arrCountry['DO'] = "Dominican Republic"; + arrCountry['TL'] = "East Timor"; + arrCountry['EC'] = "Ecuador"; + arrCountry['EG'] = "Egypt"; + arrCountry['SV'] = "El Salvador"; + arrCountry['GQ'] = "Equatorial Guinea"; + arrCountry['ER'] = "Eritrea"; + arrCountry['EE'] = "Estonia"; + arrCountry['ET'] = "Ethiopia"; + arrCountry['FK'] = "Falkland Islands (Malvinas)"; + arrCountry['FO'] = "Faroe Islands"; + arrCountry['FJ'] = "Fiji"; + arrCountry['FI'] = "Finland"; + arrCountry['FR'] = "France"; + arrCountry['FX'] = "France, Metropolitan"; + arrCountry['GF'] = "French Guinea"; + arrCountry['PF'] = "French Polynesia"; + arrCountry['TF'] = "French Southern Territories"; + arrCountry['GA'] = "Gabon"; + arrCountry['GM'] = "Gambia"; + arrCountry['GE'] = "Georgia"; + arrCountry['DE'] = "Germany"; + arrCountry['GH'] = "Ghana"; + arrCountry['GI'] = "Gibraltar"; + arrCountry['GR'] = "Greece"; + arrCountry['GL'] = "Greenland"; + arrCountry['GD'] = "Grenada"; + arrCountry['GP'] = "Guadeloupe"; + arrCountry['GU'] = "Guam"; + arrCountry['GT'] = "Guatemala"; + arrCountry['GN'] = "Guinea"; + arrCountry['GW'] = "Guinea-Bissau"; + arrCountry['GY'] = "Guyana"; + arrCountry['HT'] = "Haiti"; + arrCountry['HM'] = "Heard And McDonald Islands"; + arrCountry['HN'] = "Honduras"; + arrCountry['HK'] = "Hong Kong"; + arrCountry['HU'] = "Hungary"; + arrCountry['IS'] = "Iceland"; + arrCountry['IN'] = "India"; + arrCountry['ID'] = "Indonesia"; + arrCountry['IR'] = "Iran"; + arrCountry['IQ'] = "Iraq"; + arrCountry['IE'] = "Ireland"; + arrCountry['IM'] = "Isle of Man"; + arrCountry['IL'] = "Israel"; + arrCountry['IT'] = "Italy"; + arrCountry['JM'] = "Jamaica"; + arrCountry['JP'] = "Japan"; + arrCountry['JO'] = "Jordan"; + arrCountry['KZ'] = "Kazakhstan"; + arrCountry['KE'] = "Kenya"; + arrCountry['KI'] = "Kiribati"; + arrCountry['KW'] = "Kuwait"; + arrCountry['KG'] = "Kyrgyzstan"; + arrCountry['LA'] = "Laos"; + arrCountry['LV'] = "Latvia"; + arrCountry['LB'] = "Lebanon"; + arrCountry['LS'] = "Lesotho"; + arrCountry['LR'] = "Liberia"; + arrCountry['LY'] = "Libya"; + arrCountry['LI'] = "Liechtenstein"; + arrCountry['LT'] = "Lithuania"; + arrCountry['LU'] = "Luxembourg"; + arrCountry['MO'] = "Macau"; + arrCountry['MK'] = "Macedonia"; + arrCountry['MG'] = "Madagascar"; + arrCountry['MW'] = "Malawi"; + arrCountry['MY'] = "Malaysia"; + arrCountry['MV'] = "Maldives"; + arrCountry['ML'] = "Mali"; + arrCountry['MT'] = "Malta"; + arrCountry['MH'] = "Marshall Islands"; + arrCountry['MQ'] = "Martinique"; + arrCountry['MR'] = "Mauritania"; + arrCountry['MU'] = "Mauritius"; + arrCountry['YT'] = "Mayotte"; + arrCountry['MX'] = "Mexico"; + arrCountry['FM'] = "Micronesia"; + arrCountry['MD'] = "Moldova"; + arrCountry['MC'] = "Monaco"; + arrCountry['MN'] = "Mongolia"; + arrCountry['ME'] = "Montenegro"; + arrCountry['MS'] = "Montserrat"; + arrCountry['MA'] = "Morocco"; + arrCountry['MZ'] = "Mozambique"; + arrCountry['MM'] = "Myanmar (Burma)"; + arrCountry['NA'] = "Namibia"; + arrCountry['NR'] = "Nauru"; + arrCountry['NP'] = "Nepal"; + arrCountry['NL'] = "Netherlands"; + arrCountry['AN'] = "Netherlands Antilles"; + arrCountry['NC'] = "New Caledonia"; + arrCountry['NZ'] = "New Zealand"; + arrCountry['NI'] = "Nicaragua"; + arrCountry['NE'] = "Niger"; + arrCountry['NG'] = "Nigeria"; + arrCountry['NU'] = "Niue"; + arrCountry['NF'] = "Norfolk Island"; + arrCountry['KP'] = "North Korea"; + arrCountry['MP'] = "Northern Mariana Islands"; + arrCountry['NO'] = "Norway"; + arrCountry['OM'] = "Oman"; + arrCountry['PK'] = "Pakistan"; + arrCountry['PW'] = "Palau"; + arrCountry['PS'] = "Palestine"; + arrCountry['PA'] = "Panama"; + arrCountry['PG'] = "Papua New Guinea"; + arrCountry['PY'] = "Paraguay"; + arrCountry['PE'] = "Peru"; + arrCountry['PH'] = "Philippines"; + arrCountry['PN'] = "Pitcairn"; + arrCountry['PL'] = "Poland"; + arrCountry['PT'] = "Portugal"; + arrCountry['PR'] = "Puerto Rico"; + arrCountry['QA'] = "Qatar"; + arrCountry['RE'] = "Reunion"; + arrCountry['RO'] = "Romania"; + arrCountry['RU'] = "Russia"; + arrCountry['RW'] = "Rwanda"; + arrCountry['SH'] = "Saint Helena"; + arrCountry['KN'] = "Saint Kitts And Nevis"; + arrCountry['LC'] = "Saint Lucia"; + arrCountry['PM'] = "Saint Pierre And Miquelon"; + arrCountry['VC'] = "Saint Vincent And The Grenadines"; + arrCountry['SM'] = "San Marino"; + arrCountry['ST'] = "Sao Tome And Principe"; + arrCountry['SA'] = "Saudi Arabia"; + arrCountry['SN'] = "Senegal"; + arrCountry['RS'] = "Serbia"; + arrCountry['SC'] = "Seychelles"; + arrCountry['SL'] = "Sierra Leone"; + arrCountry['SG'] = "Singapore"; + arrCountry['SK'] = "Slovak Republic"; + arrCountry['SI'] = "Slovenia"; + arrCountry['SB'] = "Solomon Islands"; + arrCountry['SO'] = "Somalia"; + arrCountry['ZA'] = "South Africa"; + arrCountry['GS'] = "South Georgia And South Sandwich Islands"; + arrCountry['KR'] = "South Korea"; + arrCountry['ES'] = "Spain"; + arrCountry['LK'] = "Sri Lanka"; + arrCountry['SD'] = "Sudan"; + arrCountry['SR'] = "Suriname"; + arrCountry['SJ'] = "Svalbard And Jan Mayen"; + arrCountry['SZ'] = "Swaziland"; + arrCountry['SE'] = "Sweden"; + arrCountry['CH'] = "Switzerland"; + arrCountry['SY'] = "Syria"; + arrCountry['TW'] = "Taiwan"; + arrCountry['TJ'] = "Tajikistan"; + arrCountry['TZ'] = "Tanzania"; + arrCountry['TH'] = "Thailand"; + arrCountry['TG'] = "Togo"; + arrCountry['TK'] = "Tokelau"; + arrCountry['TO'] = "Tonga"; + arrCountry['TT'] = "Trinidad And Tobago"; + arrCountry['TN'] = "Tunisia"; + arrCountry['TR'] = "Turkey"; + arrCountry['TM'] = "Turkmenistan"; + arrCountry['TC'] = "Turks And Caicos Islands"; + arrCountry['TV'] = "Tuvalu"; + arrCountry['UG'] = "Uganda"; + arrCountry['UA'] = "Ukraine"; + arrCountry['AE'] = "United Arab Emirates"; + arrCountry['GB'] = "United Kingdom"; + arrCountry['US'] = "United States"; + arrCountry['UM'] = "United States Minor Outlying Islands"; + arrCountry['UY'] = "Uruguay"; + arrCountry['UZ'] = "Uzbekistan"; + arrCountry['VU'] = "Vanuatu"; + arrCountry['VA'] = "Vatican City (Holy See)"; + arrCountry['VE'] = "Venezuela"; + arrCountry['VN'] = "Vietnam"; + arrCountry['VG'] = "Virgin Islands (British)"; + arrCountry['VI'] = "Virgin Islands (US)"; + arrCountry['WF'] = "Wallis And Futuna Islands"; + arrCountry['EH'] = "Western Sahara"; + arrCountry['WS'] = "Western Samoa"; + arrCountry['YE'] = "Yemen"; + arrCountry['YU'] = "Yugoslavia"; + arrCountry['ZM'] = "Zambia"; + arrCountry['ZW'] = "Zimbabwe"; + + var name = arrCountry[countryCode.toUpperCase()]; + if (name === undefined) { + return ""; + } else { + return name; + } } -var COMPILED=!0,goog=goog||{};goog.global=this;goog.DEBUG=!0;goog.LOCALE="en";goog.provide=function(a){if(!COMPILED){if(goog.isProvided_(a))throw Error('Namespace "'+a+'" already declared.');delete goog.implicitNamespaces_[a];for(var b=a;(b=b.substring(0,b.lastIndexOf(".")))&&!goog.getObjectByName(b);)goog.implicitNamespaces_[b]=!0}goog.exportPath_(a)};goog.setTestOnly=function(a){if(COMPILED&&!goog.DEBUG)throw a=a||"",Error("Importing test-only code into non-debug environment"+a?": "+a:".");}; -COMPILED||(goog.isProvided_=function(a){return!goog.implicitNamespaces_[a]&&!!goog.getObjectByName(a)},goog.implicitNamespaces_={});goog.exportPath_=function(a,b,c){a=a.split(".");c=c||goog.global;!(a[0]in c)&&c.execScript&&c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&goog.isDef(b)?c[d]=b:c=c[d]?c[d]:c[d]={}};goog.getObjectByName=function(a,b){for(var c=a.split("."),d=b||goog.global,e;e=c.shift();)if(goog.isDefAndNotNull(d[e]))d=d[e];else return null;return d}; -goog.globalize=function(a,b){var c=b||goog.global,d;for(d in a)c[d]=a[d]};goog.addDependency=function(a,b,c){if(!COMPILED){var d;a=a.replace(/\\/g,"/");for(var e=goog.dependencies_,f=0;d=b[f];f++)e.nameToPath[d]=a,a in e.pathToNames||(e.pathToNames[a]={}),e.pathToNames[a][d]=!0;for(d=0;b=c[d];d++)a in e.requires||(e.requires[a]={}),e.requires[a][b]=!0}};goog.ENABLE_DEBUG_LOADER=!0; -goog.require=function(a){if(!COMPILED&&!goog.isProvided_(a)){if(goog.ENABLE_DEBUG_LOADER){var b=goog.getPathFromDeps_(a);if(b){goog.included_[b]=!0;goog.writeScripts_();return}}a="goog.require could not find: "+a;goog.global.console&&goog.global.console.error(a);throw Error(a);}};goog.basePath="";goog.nullFunction=function(){};goog.identityFunction=function(a){return a};goog.abstractMethod=function(){throw Error("unimplemented abstract method");}; -goog.addSingletonGetter=function(a){a.getInstance=function(){if(a.instance_)return a.instance_;goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=a);return a.instance_=new a}};goog.instantiatedSingletons_=[]; -!COMPILED&&goog.ENABLE_DEBUG_LOADER&&(goog.included_={},goog.dependencies_={pathToNames:{},nameToPath:{},requires:{},visited:{},written:{}},goog.inHtmlDocument_=function(){var a=goog.global.document;return"undefined"!=typeof a&&"write"in a},goog.findBasePath_=function(){if(goog.global.CLOSURE_BASE_PATH)goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_())for(var a=goog.global.document.getElementsByTagName("script"),b=a.length-1;0<=b;--b){var c=a[b].src,d=c.lastIndexOf("?"),d= --1==d?c.length:d;if("base.js"==c.substr(d-7,7)){goog.basePath=c.substr(0,d-7);break}}},goog.importScript_=function(a){var b=goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_;!goog.dependencies_.written[a]&&b(a)&&(goog.dependencies_.written[a]=!0)},goog.writeScriptTag_=function(a){if(goog.inHtmlDocument_()){var b=goog.global.document;if("complete"==b.readyState){if(/\bdeps.js$/.test(a))return!1;throw Error('Cannot write "'+a+'" after document load');}b.write(' From d001e4c2cfb98dc2486a03a5510199d4ff8251d8 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Sat, 25 Jun 2016 01:03:42 +0200 Subject: [PATCH 058/127] Port YAML tests to new fields.Phone archi Fix bugs --- base_phone/fields.py | 4 +++- base_phone/test/phonenum.yml | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/base_phone/fields.py b/base_phone/fields.py index e90f8436d..95541f90c 100644 --- a/base_phone/fields.py +++ b/base_phone/fields.py @@ -94,7 +94,9 @@ def convert_all_phone_fields(self, vals, fields_to_convert): country_code = False if country: country_code = country.code.upper() - loc_vals[field] = convert_phone_field(loc_vals[field], country_code) + if loc_vals[field]: + loc_vals[field] = convert_phone_field( + loc_vals[field], country_code) return loc_vals diff --git a/base_phone/test/phonenum.yml b/base_phone/test/phonenum.yml index 27aa6d781..ac8726c05 100644 --- a/base_phone/test/phonenum.yml +++ b/base_phone/test/phonenum.yml @@ -29,11 +29,11 @@ - !python {model: res.partner}: | partner1 = self.browse(cr, uid, ref('partner1'), context=context) - assert partner1.mobile == '+33642774266', 'Mobile number not written in E.164 format (partner1)' - assert partner1.fax == '+33145421242', 'Fax number not written in E.164 format (partner1)' + assert partner1.mobile == '+33 6 42 77 42 66', 'Mobile number not written in E.164 format (partner1)' + assert partner1.fax == '+33 1 45 42 12 42', 'Fax number not written in E.164 format (partner1)' partner2 = self.browse(cr, uid, ref('partner2'), context=context) - assert partner2.phone == '+41216191010', 'Phone number not written in E.164 format (partner2)' - assert partner2.mobile == '+41796064242', 'Mobile number not written in E.164 format (partner2)' + assert partner2.phone == '+41 21 619 10 10', 'Phone number not written in E.164 format (partner2)' + assert partner2.mobile == '+41 79 606 42 42', 'Mobile number not written in E.164 format (partner2)' - Check that invalid phone numbers are kept unchanged - From 21f30f977cbd57d2e749a0616433cef46733016a Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Sat, 25 Jun 2016 12:02:51 +0200 Subject: [PATCH 059/127] Convert YAML tests to unit-tests, with several improvements Allow simultaneous use of country_field and partner_field in field definition --- base_phone/__openerp__.py | 1 - base_phone/fields.py | 3 +- base_phone/models/res_partner.py | 7 ++-- base_phone/test/phonenum.yml | 50 ----------------------------- base_phone/tests/__init__.py | 3 ++ base_phone/tests/test_phone.py | 55 ++++++++++++++++++++++++++++++++ 6 files changed, 63 insertions(+), 56 deletions(-) delete mode 100644 base_phone/test/phonenum.yml create mode 100644 base_phone/tests/__init__.py create mode 100644 base_phone/tests/test_phone.py diff --git a/base_phone/__openerp__.py b/base_phone/__openerp__.py index 048644a5b..a7c2bca83 100644 --- a/base_phone/__openerp__.py +++ b/base_phone/__openerp__.py @@ -48,7 +48,6 @@ >>>>>>> Feature "Open Calling Partner" replaced by "Open Caller", with a completely new behavior ], 'qweb': ['static/src/xml/*.xml'], - 'test': ['test/phonenum.yml'], 'images': [], 'installable': True, } diff --git a/base_phone/fields.py b/base_phone/fields.py index 95541f90c..0e3d4094d 100644 --- a/base_phone/fields.py +++ b/base_phone/fields.py @@ -45,7 +45,6 @@ def convert_to_cache(self, value, record, validate=True): res_parse = phonenumbers.parse(res) res = phonenumbers.format_number( res_parse, phonenumbers.PhoneNumberFormat.INTERNATIONAL) - # print "after parse+intl res=", res except: pass # print 'cache value', res @@ -82,7 +81,7 @@ def convert_all_phone_fields(self, vals, fields_to_convert): country = self.env['res.country'].browse(vals[country_key]) else: country = self[country_key] - elif partner_key: + if partner_key and not country: if partner_key in loc_vals: partner = self.env['res.partner'].browse(vals[partner_key]) else: diff --git a/base_phone/models/res_partner.py b/base_phone/models/res_partner.py index 5e71f91e5..aa5695604 100644 --- a/base_phone/models/res_partner.py +++ b/base_phone/models/res_partner.py @@ -11,9 +11,10 @@ class ResPartner(models.Model): _inherit = 'res.partner' _phone_name_sequence = 10 - phone = fields.Phone(country_field='country_id', partner_field=None) - mobile = fields.Phone(country_field='country_id', partner_field=None) - fax = fields.Phone(country_field='country_id', partner_field=None) + phone = fields.Phone(country_field='country_id', partner_field='parent_id') + mobile = fields.Phone( + country_field='country_id', partner_field='parent_id') + fax = fields.Phone(country_field='country_id', partner_field='parent_id') @api.multi def name_get(self): diff --git a/base_phone/test/phonenum.yml b/base_phone/test/phonenum.yml deleted file mode 100644 index ac8726c05..000000000 --- a/base_phone/test/phonenum.yml +++ /dev/null @@ -1,50 +0,0 @@ -- - Write country = FR for the main company -- - !record {model: res.company, id: base.main_company}: - country_id: base.fr -- - Write french phone numbers in national format -- - !record {model: res.partner, id: partner1}: - name: Pierre Paillet - mobile: 06 42 77 42 66 - fax: (0) 1 45 42 12 42 -- - Write swiss phone numbers in international format -- - !record {model: res.partner, id: partner2}: - name: Joël Grand-Guillaume - parent_id: base.res_partner_12 - phone: +41 21 619 10 10 - mobile: +41 79 606 42 42 -- - Write invalid phone number -- - !record {model: res.partner, id: partner3}: - name: Jean Badphone - phone: 42 -- - Check that valid phone numbers have been converted to E.164 -- - !python {model: res.partner}: | - partner1 = self.browse(cr, uid, ref('partner1'), context=context) - assert partner1.mobile == '+33 6 42 77 42 66', 'Mobile number not written in E.164 format (partner1)' - assert partner1.fax == '+33 1 45 42 12 42', 'Fax number not written in E.164 format (partner1)' - partner2 = self.browse(cr, uid, ref('partner2'), context=context) - assert partner2.phone == '+41 21 619 10 10', 'Phone number not written in E.164 format (partner2)' - assert partner2.mobile == '+41 79 606 42 42', 'Mobile number not written in E.164 format (partner2)' -- - Check that invalid phone numbers are kept unchanged -- - !python {model: res.partner}: | - partner3 = self.browse(cr, uid, ref('partner3'), context=context) - assert partner3.phone == '42', 'Invalid phone numbers should not be changed' -- - Get name from phone number -- - !python {model: phone.common}: | - name = self.get_name_from_phone_number(cr, uid, '0642774266') - assert name == 'Pierre Paillet', 'Wrong result for get_name_from_phone_number' - name2 = self.get_name_from_phone_number(cr, uid, '0041216191010') - assert name2 == u'Joël Grand-Guillaume (Camptocamp)', 'Wrong result for get_name_from_phone_number (partner2)' diff --git a/base_phone/tests/__init__.py b/base_phone/tests/__init__.py new file mode 100644 index 000000000..03639acb8 --- /dev/null +++ b/base_phone/tests/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import test_phone diff --git a/base_phone/tests/test_phone.py b/base_phone/tests/test_phone.py new file mode 100644 index 000000000..9986890e3 --- /dev/null +++ b/base_phone/tests/test_phone.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +# © 2016 Akretion France (Alexis de Lattre ) + +from openerp.tests.common import TransactionCase + + +class TestPhone(TransactionCase): + + def test_phone(self): + company = self.env.ref('base.main_company') + company.country_id = self.env.ref('base.fr').id + rpo = self.env['res.partner'] + # Create an existing partner without country + partner1 = rpo.create({ + 'name': u'Pierre Paillet', + 'phone': '04-72-08-87-32', + 'mobile': '06.42.77.42.66', + 'fax': '(0) 1 45 42 12 42', + }) + self.assertEquals(partner1.phone, '+33 4 72 08 87 32') + self.assertEquals(partner1.mobile, '+33 6 42 77 42 66') + self.assertEquals(partner1.fax, '+33 1 45 42 12 42') + # Create a partner with country + self.env.ref('base.res_partner_12').country_id =\ + self.env.ref('base.ch').id + partner2 = rpo.create({ + 'name': u'Joël Grand-Guillaume', + 'parent_id': self.env.ref('base.res_partner_12').id, + 'use_parent_address': True, + 'phone': '(0) 21 619 10 10', + 'mobile': '(0) 79 606 42 42', + }) + self.assertEquals(partner2.country_id, self.env.ref('base.ch')) + self.assertEquals(partner2.phone, '+41 21 619 10 10') + self.assertEquals(partner2.mobile, '+41 79 606 42 42') + # Write on an existing partner + agrolait = self.env.ref('base.res_partner_2') + self.assertEquals(agrolait.country_id, self.env.ref('base.be')) + agrolait.write({'phone': '(0) 2 391 43 74'}) + self.assertEquals(agrolait.phone, '+32 2 391 43 74') + # Write on an existing partner with country at the same time + agrolait.write({ + 'fax': '04 72 89 32 43', + 'country_id': self.env.ref('base.fr').id, + }) + self.assertEquals(agrolait.fax, '+33 4 72 89 32 43') + # Write an invalid phone number + partner2.fax = '42' + self.assertEquals(partner2.fax, '42') + # Test get_name_from_phone_number + pco = self.env['phone.common'] + name = pco.get_name_from_phone_number('0642774266') + self.assertEquals(name, 'Pierre Paillet') + name2 = pco.get_name_from_phone_number('0041216191010') + self.assertEquals(name2, u'Joël Grand-Guillaume (Camptocamp)') From d3f514d2aa311a5466745d99c33d4797246d501e Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Sun, 26 Jun 2016 00:50:13 +0200 Subject: [PATCH 060/127] Port the wizard reformat_all_phonenumbers to the new fields.Phone archi --- base_phone/models/phone_common.py | 27 +++++--- .../wizard/reformat_all_phonenumbers.py | 62 ++++--------------- 2 files changed, 30 insertions(+), 59 deletions(-) diff --git a/base_phone/models/phone_common.py b/base_phone/models/phone_common.py index 8e992bcf1..74ca3850c 100644 --- a/base_phone/models/phone_common.py +++ b/base_phone/models/phone_common.py @@ -50,16 +50,15 @@ def get_record_from_phone_number(self, presented_number): end_number_to_match = presented_number sorted_phonemodels = self._get_phone_models() - # [('res.parter', 10), ('crm.lead', 20)] - for (obj, prio) in sorted_phonemodels: + for obj_dict in sorted_phonemodels: + obj = obj_dict['object'] pg_search_number = str('%' + end_number_to_match) _logger.debug( "Will search phone and mobile numbers in %s ending with '%s'", obj._name, end_number_to_match) domain = [] - for field in obj._fields: - if isinstance(obj._fields[field], Phone): - domain.append((field, '=like', pg_search_number)) + for field in obj_dict['fields']: + domain.append((field, '=like', pg_search_number)) if len(domain) > 1: domain = ['|'] * (len(domain) - 1) + domain _logger.debug('searching on %s with domain=%s', obj._name, domain) @@ -85,7 +84,7 @@ def get_record_from_phone_number(self, presented_number): @api.model def _get_phone_models(self): - res = [] + phoneobj = [] for model_name in self.env.registry.keys(): senv = False try: @@ -95,10 +94,20 @@ def _get_phone_models(self): if ( hasattr(senv, '_phone_name_sequence') and isinstance(senv._phone_name_sequence, int)): - res.append((senv, senv._phone_name_sequence)) + phoneobj.append((senv, senv._phone_name_sequence)) + + phoneobj_sorted = sorted(phoneobj, key=lambda element: element[1]) - phonemodels_sorted = sorted(res, key=lambda element: element[1]) - return phonemodels_sorted + res = [] + for (obj, prio) in phoneobj_sorted: + entry = {'object': obj, 'fields': []} + for field in obj._fields: + if isinstance(obj._fields[field], Phone): + entry['fields'].append(field) + res.append(entry) + # [{'fields': ['fax', 'phone', 'mobile'], 'object': res.partner()}, + # {'fields': ['fax', 'phone', 'mobile'], 'object': crm.lead()}] + return res @api.model def click2dial(self, erp_number): diff --git a/base_phone/wizard/reformat_all_phonenumbers.py b/base_phone/wizard/reformat_all_phonenumbers.py index 2c075db7c..6425f9218 100644 --- a/base_phone/wizard/reformat_all_phonenumbers.py +++ b/base_phone/wizard/reformat_all_phonenumbers.py @@ -1,23 +1,6 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# Base Phone module for Odoo -# Copyright (C) 2012-2015 Alexis de Lattre -# -# 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 . -# -############################################################################## +# © 2012-2016 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from openerp import models, fields, api import logging @@ -42,15 +25,15 @@ def run_reformat_all_phonenumbers(self): self.ensure_one() logger.info('Starting to reformat all the phone numbers') phonenumbers_not_reformatted = u'' - phoneobjects = self.env['phone.common']._get_phone_fields() - for objname in phoneobjects: - fields = self.env[objname]._phone_fields - obj = self.env[objname] + phoneobjects = self.env['phone.common']._get_phone_models() + for obj_dict in phoneobjects: + fields = obj_dict['fields'] + obj = obj_dict['object'] logger.info( 'Starting to reformat phone numbers on object %s ' - '(fields = %s)', objname, fields) + '(fields = %s)', obj._name, fields) # search if this object has an 'active' field - if obj._columns.get('active') or objname == 'hr.employee': + if obj._fields.get('active') or obj._name == 'hr.employee': # hr.employee inherits from 'resource.resource' and # 'resource.resource' has an active field # As I don't know how to detect such cases, I hardcode it here @@ -61,32 +44,11 @@ def run_reformat_all_phonenumbers(self): all_entries = obj.search(domain) for entry in all_entries: - init_entry_vals = {} + vals = {} for field in fields: - init_entry_vals[field] = entry[field] - entry_vals = init_entry_vals.copy() - # entry is _updated_ by the fonction - # _generic_reformat_phonenumbers() - try: - entry.with_context(raise_if_phone_parse_fails=True).\ - _reformat_phonenumbers_write(entry_vals) - except Exception, e: - name = entry.name_get()[0][1] - phonenumbers_not_reformatted += \ - "Problem on %s '%s'. Error message: %s\n" % ( - obj._description, name, unicode(e)) - logger.warning( - "Problem on %s '%s'. Error message: %s", - obj._description, name, unicode(e)) - continue - if any([ - init_entry_vals.get(field) != entry_vals.get(field) for - field in fields]): - logger.info( - '[%s] Reformating phone number: FROM %s TO %s', - obj._description, unicode(init_entry_vals), - unicode(entry_vals)) - entry.write(entry_vals) + vals[field] = entry[field] + if any([value for value in vals.values()]): + entry.write(vals) if not phonenumbers_not_reformatted: phonenumbers_not_reformatted = \ 'All phone numbers have been reformatted successfully.' From 75a0dcffb4666db915099a26975e5f3884142d72 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 27 Jun 2016 00:51:21 +0200 Subject: [PATCH 061/127] Phone numbers are now clickable in tree view Replace spaces by non-breaking-spaces --- base_phone/fields.py | 2 ++ base_phone/static/src/js/phone_widget.js | 28 ++++++++++-------------- base_phone/tests/test_phone.py | 16 +++++++------- 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/base_phone/fields.py b/base_phone/fields.py index 0e3d4094d..495c35837 100644 --- a/base_phone/fields.py +++ b/base_phone/fields.py @@ -45,6 +45,8 @@ def convert_to_cache(self, value, record, validate=True): res_parse = phonenumbers.parse(res) res = phonenumbers.format_number( res_parse, phonenumbers.PhoneNumberFormat.INTERNATIONAL) + narrow_no_break_space = u'\u202f' + res = res.replace(' ', narrow_no_break_space) except: pass # print 'cache value', res diff --git a/base_phone/static/src/js/phone_widget.js b/base_phone/static/src/js/phone_widget.js index 3126b3d93..52679f43c 100644 --- a/base_phone/static/src/js/phone_widget.js +++ b/base_phone/static/src/js/phone_widget.js @@ -131,30 +131,26 @@ if(!core.form_widget_registry.get('phone')){ core.form_widget_registry.add('phone', FieldPhone); } -/* -var Column = require('web.ListView'); -var ColumnPhone = Column.extend({ +var treewidgets = require('web.ListView'); + +var ColumnPhone = treewidgets.Column.extend({ // ability to add widget="phone" in TREE view _format: function(row_data, options) { - console.log('row_data=' + row_data); - console.log('options='); - console.log(options); - var value = row_data[this.id].value; - if (value) { - readable_space = formatInternational('', value); - readable_no_break_space = readable_space.replace(/\s/g, ' '); - console('special return'); - return readable_no_break_space; - } - console.log('return normal'); + var value = row_data[this.id].value; + if (value) { + return _.template("<%-text%>")({ + href: value.replace(' ', ''), + text: value + }); + } return this._super(row_data, options); } }); + if (!core.list_widget_registry.get('phone')) { core.list_widget_registry.add('field.phone', ColumnPhone); -// a mon avis, il y a une mauvaise compréhension : fields.phone signifiera fields.Phone dans le python -} */ +} }); diff --git a/base_phone/tests/test_phone.py b/base_phone/tests/test_phone.py index 9986890e3..59cec5e23 100644 --- a/base_phone/tests/test_phone.py +++ b/base_phone/tests/test_phone.py @@ -17,9 +17,9 @@ def test_phone(self): 'mobile': '06.42.77.42.66', 'fax': '(0) 1 45 42 12 42', }) - self.assertEquals(partner1.phone, '+33 4 72 08 87 32') - self.assertEquals(partner1.mobile, '+33 6 42 77 42 66') - self.assertEquals(partner1.fax, '+33 1 45 42 12 42') + self.assertEquals(partner1.phone, u'+33 4 72 08 87 32') + self.assertEquals(partner1.mobile, u'+33 6 42 77 42 66') + self.assertEquals(partner1.fax, u'+33 1 45 42 12 42') # Create a partner with country self.env.ref('base.res_partner_12').country_id =\ self.env.ref('base.ch').id @@ -31,22 +31,22 @@ def test_phone(self): 'mobile': '(0) 79 606 42 42', }) self.assertEquals(partner2.country_id, self.env.ref('base.ch')) - self.assertEquals(partner2.phone, '+41 21 619 10 10') - self.assertEquals(partner2.mobile, '+41 79 606 42 42') + self.assertEquals(partner2.phone, u'+41 21 619 10 10') + self.assertEquals(partner2.mobile, u'+41 79 606 42 42') # Write on an existing partner agrolait = self.env.ref('base.res_partner_2') self.assertEquals(agrolait.country_id, self.env.ref('base.be')) agrolait.write({'phone': '(0) 2 391 43 74'}) - self.assertEquals(agrolait.phone, '+32 2 391 43 74') + self.assertEquals(agrolait.phone, u'+32 2 391 43 74') # Write on an existing partner with country at the same time agrolait.write({ 'fax': '04 72 89 32 43', 'country_id': self.env.ref('base.fr').id, }) - self.assertEquals(agrolait.fax, '+33 4 72 89 32 43') + self.assertEquals(agrolait.fax, u'+33 4 72 89 32 43') # Write an invalid phone number partner2.fax = '42' - self.assertEquals(partner2.fax, '42') + self.assertEquals(partner2.fax, u'42') # Test get_name_from_phone_number pco = self.env['phone.common'] name = pco.get_name_from_phone_number('0642774266') From ac84ee4c15818f736d09d7b2c23bce669ae88e4d Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 27 Jun 2016 22:50:22 +0200 Subject: [PATCH 062/127] JS code cleanup: no spaces in href links --- base_phone/static/src/js/phone_widget.js | 29 ++++++++---------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/base_phone/static/src/js/phone_widget.js b/base_phone/static/src/js/phone_widget.js index 52679f43c..bb7840375 100644 --- a/base_phone/static/src/js/phone_widget.js +++ b/base_phone/static/src/js/phone_widget.js @@ -24,13 +24,10 @@ var FieldPhone = formwidgets.FieldChar.extend({ } else { var self = this; var phone_num = this.get('value'); - console.log('BASE_PHONE phone_num = %s', phone_num); - var href = '#'; + // console.log('BASE_PHONE phone_num = %s', phone_num); if (phone_num) { - href = 'tel:' + phone_num; - } - if (phone_num) { - this.$el.find('a').attr('href', href).text(phone_num); + var raw_phone_num = phone_num.replace(/ /g, ''); + this.$el.find('a').attr('href', 'tel:' + raw_phone_num).text(phone_num); } else { this.$el.find('a').attr('href', '').text(''); @@ -101,12 +98,9 @@ var FieldFax = formwidgets.FieldChar.extend({ } else { var fax_num = this.get('value'); // console.log('BASE_PHONE fax_num = %s', fax_num); - var href = '#'; - if (fax_num) { - href = 'fax:' + fax_num; - } if (fax_num) { - this.$el.find('a').attr('href', href).text(fax_num); + var raw_fax_num = fax_num.replace(/ /g, ''); + this.$el.find('a').attr('href', 'fax:' + raw_fax_num).text(fax_num); } else { this.$el.find('a').attr('href', '').text(''); @@ -119,10 +113,6 @@ var FieldFax = formwidgets.FieldChar.extend({ }); // To avoid conflicts, we check that widgets do not exist before using - -console.log("core.form_widget_registry.get('fax')=" + core.form_widget_registry.get('fax')); -console.log("core.form_widget_registry.get('PHONE')=" + core.form_widget_registry.get('phone')); - if(!core.form_widget_registry.get('fax')){ core.form_widget_registry.add('fax', FieldFax); } @@ -137,11 +127,12 @@ var treewidgets = require('web.ListView'); var ColumnPhone = treewidgets.Column.extend({ // ability to add widget="phone" in TREE view _format: function(row_data, options) { - var value = row_data[this.id].value; - if (value) { + var phone_num = row_data[this.id].value; + if (phone_num) { + var raw_phone_num = phone_num.replace(/ /g, ''); return _.template("<%-text%>")({ - href: value.replace(' ', ''), - text: value + href: raw_phone_num, + text: phone_num }); } return this._super(row_data, options); From c617511b52c1a5612af3ad2b7d09ad2ec49c54f8 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 27 Jun 2016 23:42:33 +0200 Subject: [PATCH 063/127] Restore click2dial feature --- base_phone/models/phone_common.py | 2 +- base_phone/static/src/js/phone_widget.js | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/base_phone/models/phone_common.py b/base_phone/models/phone_common.py index 74ca3850c..8a2a3eb26 100644 --- a/base_phone/models/phone_common.py +++ b/base_phone/models/phone_common.py @@ -126,7 +126,7 @@ def convert_to_dial_number(self, erp_number): ''' assert(erp_number), 'Missing phone number' _logger.debug('Number before reformat = %s' % erp_number) - # erp_number are supposed to be in E.164 format, so no need to + # erp_number are supposed to be in International format, so no need to # give a country code here parsed_num = phonenumbers.parse(erp_number, None) country_code = self.env.user.company_id.country_id.code diff --git a/base_phone/static/src/js/phone_widget.js b/base_phone/static/src/js/phone_widget.js index bb7840375..4f2c53eae 100644 --- a/base_phone/static/src/js/phone_widget.js +++ b/base_phone/static/src/js/phone_widget.js @@ -25,16 +25,18 @@ var FieldPhone = formwidgets.FieldChar.extend({ var self = this; var phone_num = this.get('value'); // console.log('BASE_PHONE phone_num = %s', phone_num); + var raw_phone_num = ''; if (phone_num) { - var raw_phone_num = phone_num.replace(/ /g, ''); - this.$el.find('a').attr('href', 'tel:' + raw_phone_num).text(phone_num); + // remove non-breaking-space + raw_phone_num = phone_num.replace(/ /g, ''); + raw_phone_num = raw_phone_num.replace(/-/g, ''); + this.$el.find('a.oe_form_uri').attr('href', 'tel:' + raw_phone_num).text(phone_num); } else { - this.$el.find('a').attr('href', '').text(''); + this.$el.find('a.oe_form_uri').attr('href', '').text(''); } - /* var click2dial_text = ''; - if (formatted_phone_num && !this.options.dial_button_invisible) { + if (phone_num && !this.options.dial_button_invisible) { click2dial_text = _t('Dial'); } this.$el.find('#click2dial').off('click'); @@ -45,7 +47,7 @@ var FieldPhone = formwidgets.FieldChar.extend({ _t('Click2dial started'), _t('Unhook your ringing phone')); var arg = { - 'phone_number': phone_num, + 'phone_number': raw_phone_num, 'click2dial_model': self.view.dataset.model, 'click2dial_id': self.view.datarecord.id}; self.rpc('/base_phone/click2dial', arg).done(function(r) { @@ -60,7 +62,7 @@ var FieldPhone = formwidgets.FieldChar.extend({ var context = { 'click2dial_model': self.view.dataset.model, 'click2dial_id': self.view.datarecord.id, - 'phone_number': phone_num, + 'phone_number': raw_phone_num, }; var action = { name: r.action_name, @@ -75,7 +77,7 @@ var FieldPhone = formwidgets.FieldChar.extend({ } } }); - }); */ + }); } }, on_button_clicked: function() { From 4a06b52b31891075c1a29ac2beb285f9b2759953 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 27 Jun 2016 23:52:05 +0200 Subject: [PATCH 064/127] FIX write when input has no_break_space --- base_phone/fields.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base_phone/fields.py b/base_phone/fields.py index 495c35837..4908a6939 100644 --- a/base_phone/fields.py +++ b/base_phone/fields.py @@ -57,6 +57,9 @@ def convert_phone_field(value, country_code): _logger.debug( 'convert_phone_field value=%s country=%s', value, country_code) try: + narrow_no_break_space = u'\u202f' + # phonenumbers.parse fails with narrow_no_break_space + value = value.replace(narrow_no_break_space, '') res_parse = phonenumbers.parse( value, country_code) _logger.debug('res_parse=%s', res_parse) From fc800ed6cdc604c06035393fe85b61c176e69f23 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 5 Jul 2016 21:17:29 +0200 Subject: [PATCH 065/127] Avoid a crash if there is a create/write with a wrong field name --- base_phone/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_phone/fields.py b/base_phone/fields.py index 4908a6939..8b241aa74 100644 --- a/base_phone/fields.py +++ b/base_phone/fields.py @@ -107,7 +107,7 @@ def convert_all_phone_fields(self, vals, fields_to_convert): def get_phone_fields(self, vals): fields_to_convert = [] for key in vals: - if isinstance(self._fields[key], Phone): + if isinstance(self._fields.get(key), Phone): fields_to_convert.append(key) return fields_to_convert From 40887610e080c53a025c543cb0ea24c5c9b0e112 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 12 Jul 2016 09:25:16 +0200 Subject: [PATCH 066/127] Fix crash in number not found wizard Remove code that is now useless with new API --- base_phone/wizard/number_not_found.py | 64 +++++++++++---------------- 1 file changed, 25 insertions(+), 39 deletions(-) diff --git a/base_phone/wizard/number_not_found.py b/base_phone/wizard/number_not_found.py index 32daadd6a..57b1498ee 100644 --- a/base_phone/wizard/number_not_found.py +++ b/base_phone/wizard/number_not_found.py @@ -1,26 +1,9 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# Base Phone module for Odoo -# Copyright (C) 2010-2015 Alexis de Lattre -# -# 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 . -# -############################################################################## +# © 2010-2016 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api, exceptions -from openerp.tools.translate import _ +from openerp import models, fields, api, _ +from openerp.exceptions import UserError import logging import phonenumbers @@ -59,16 +42,26 @@ def default_get(self, fields_list): if not res: res = {} if res.get('calling_number'): - convert = self.env['res.partner']._reformat_phonenumbers_create( - {'phone': res.get('calling_number')}) - parsed_num = phonenumbers.parse(convert.get('phone')) - res['e164_number'] = phonenumbers.format_number( - parsed_num, phonenumbers.PhoneNumberFormat.INTERNATIONAL) - number_type = phonenumbers.number_type(parsed_num) - if number_type == 1: - res['number_type'] = 'mobile' - else: - res['number_type'] = 'phone' + if not self.env.user.company_id.country_id: + raise UserError(_( + 'Missing country on company %s' + % self.env.user.company_id.name)) + country_code = self.env.user.company_id.country_id.code + try: + parsed_num = phonenumbers.parse( + res['calling_number'], country_code) + res['e164_number'] = phonenumbers.format_number( + parsed_num, phonenumbers.PhoneNumberFormat.INTERNATIONAL) + number_type = phonenumbers.number_type(parsed_num) + if number_type == 1: + res['number_type'] = 'mobile' + else: + res['number_type'] = 'phone' + except Exception, e: + _logger.error( + "Cannot reformat the phone number '%s': %s", + res['calling_number'], e) + pass return res @api.multi @@ -96,9 +89,7 @@ def update_partner(self): self.ensure_one() wiz = self[0] if not wiz.to_update_partner_id: - raise exceptions.Warning( - _('Error'), - _('Select the Partner to Update.')) + raise UserError(_('Select the Partner to Update.')) wiz.to_update_partner_id.write( {wiz.number_type: wiz.e164_number}) action = { @@ -112,8 +103,3 @@ def update_partner(self): 'context': self._context, } return action - - @api.onchange('to_update_partner_id') - def onchange_to_update_partner(self): - self.current_partner_phone = self.to_update_partner_id.phone or False - self.current_partner_mobile = self.to_update_partner_id.mobile or False From 62892bf235a0f2149f3aee49b0d26c5efd2c08ed Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 19 Jul 2016 00:42:32 +0200 Subject: [PATCH 067/127] Replace narrow_no_break_space by no_break_space to make it work on mac OS X --- base_phone/fields.py | 7 ++----- base_phone/static/src/js/phone_widget.js | 5 +++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/base_phone/fields.py b/base_phone/fields.py index 8b241aa74..859d50f6f 100644 --- a/base_phone/fields.py +++ b/base_phone/fields.py @@ -45,8 +45,8 @@ def convert_to_cache(self, value, record, validate=True): res_parse = phonenumbers.parse(res) res = phonenumbers.format_number( res_parse, phonenumbers.PhoneNumberFormat.INTERNATIONAL) - narrow_no_break_space = u'\u202f' - res = res.replace(' ', narrow_no_break_space) + no_break_space = u'\u00A0' + res = res.replace(' ', no_break_space) except: pass # print 'cache value', res @@ -57,9 +57,6 @@ def convert_phone_field(value, country_code): _logger.debug( 'convert_phone_field value=%s country=%s', value, country_code) try: - narrow_no_break_space = u'\u202f' - # phonenumbers.parse fails with narrow_no_break_space - value = value.replace(narrow_no_break_space, '') res_parse = phonenumbers.parse( value, country_code) _logger.debug('res_parse=%s', res_parse) diff --git a/base_phone/static/src/js/phone_widget.js b/base_phone/static/src/js/phone_widget.js index 4f2c53eae..ab56ef934 100644 --- a/base_phone/static/src/js/phone_widget.js +++ b/base_phone/static/src/js/phone_widget.js @@ -28,7 +28,7 @@ var FieldPhone = formwidgets.FieldChar.extend({ var raw_phone_num = ''; if (phone_num) { // remove non-breaking-space - raw_phone_num = phone_num.replace(/ /g, ''); + raw_phone_num = phone_num.replace(/ /g, ''); raw_phone_num = raw_phone_num.replace(/-/g, ''); this.$el.find('a.oe_form_uri').attr('href', 'tel:' + raw_phone_num).text(phone_num); } @@ -101,7 +101,8 @@ var FieldFax = formwidgets.FieldChar.extend({ var fax_num = this.get('value'); // console.log('BASE_PHONE fax_num = %s', fax_num); if (fax_num) { - var raw_fax_num = fax_num.replace(/ /g, ''); + var raw_fax_num = fax_num.replace(/ /g, ''); + raw_fax_num = raw_fax_num.replace(/-/g, ''); this.$el.find('a').attr('href', 'fax:' + raw_fax_num).text(fax_num); } else { From 3ba25923369569c3ec660883672f89f9c18a449f Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Wed, 20 Jul 2016 10:22:16 +0200 Subject: [PATCH 068/127] Fix unittest and another attempt at fixing travis --- base_phone/tests/test_phone.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/base_phone/tests/test_phone.py b/base_phone/tests/test_phone.py index 59cec5e23..2559c18d3 100644 --- a/base_phone/tests/test_phone.py +++ b/base_phone/tests/test_phone.py @@ -17,9 +17,9 @@ def test_phone(self): 'mobile': '06.42.77.42.66', 'fax': '(0) 1 45 42 12 42', }) - self.assertEquals(partner1.phone, u'+33 4 72 08 87 32') - self.assertEquals(partner1.mobile, u'+33 6 42 77 42 66') - self.assertEquals(partner1.fax, u'+33 1 45 42 12 42') + self.assertEquals(partner1.phone, u'+33 4 72 08 87 32') + self.assertEquals(partner1.mobile, u'+33 6 42 77 42 66') + self.assertEquals(partner1.fax, u'+33 1 45 42 12 42') # Create a partner with country self.env.ref('base.res_partner_12').country_id =\ self.env.ref('base.ch').id @@ -31,19 +31,19 @@ def test_phone(self): 'mobile': '(0) 79 606 42 42', }) self.assertEquals(partner2.country_id, self.env.ref('base.ch')) - self.assertEquals(partner2.phone, u'+41 21 619 10 10') - self.assertEquals(partner2.mobile, u'+41 79 606 42 42') + self.assertEquals(partner2.phone, u'+41 21 619 10 10') + self.assertEquals(partner2.mobile, u'+41 79 606 42 42') # Write on an existing partner agrolait = self.env.ref('base.res_partner_2') self.assertEquals(agrolait.country_id, self.env.ref('base.be')) agrolait.write({'phone': '(0) 2 391 43 74'}) - self.assertEquals(agrolait.phone, u'+32 2 391 43 74') + self.assertEquals(agrolait.phone, u'+32 2 391 43 74') # Write on an existing partner with country at the same time agrolait.write({ 'fax': '04 72 89 32 43', 'country_id': self.env.ref('base.fr').id, }) - self.assertEquals(agrolait.fax, u'+33 4 72 89 32 43') + self.assertEquals(agrolait.fax, u'+33 4 72 89 32 43') # Write an invalid phone number partner2.fax = '42' self.assertEquals(partner2.fax, u'42') From b127d0f748ddcb9597f28007622a7e219ac356eb Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Wed, 20 Jul 2016 14:58:20 +0200 Subject: [PATCH 069/127] Fix bug #93... but it seems do_notify() is not working in v9 in this branch --- base_phone/static/src/js/phone_widget.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/base_phone/static/src/js/phone_widget.js b/base_phone/static/src/js/phone_widget.js index ab56ef934..d47e7a0a1 100644 --- a/base_phone/static/src/js/phone_widget.js +++ b/base_phone/static/src/js/phone_widget.js @@ -45,7 +45,8 @@ var FieldPhone = formwidgets.FieldChar.extend({ .on('click', function(ev) { self.do_notify( _t('Click2dial started'), - _t('Unhook your ringing phone')); + _t('Unhook your ringing phone'), + false); var arg = { 'phone_number': raw_phone_num, 'click2dial_model': self.view.dataset.model, @@ -57,7 +58,8 @@ var FieldPhone = formwidgets.FieldChar.extend({ } else if (typeof r === 'object') { self.do_notify( _t('Click2dial successfull'), - _t('Number dialed:') + ' ' + r.dialed_number); + _t('Number dialed:') + ' ' + r.dialed_number, + false); if (r.action_model) { var context = { 'click2dial_model': self.view.dataset.model, From 4d0e94ad710472c07584516d54b6d30de502634c Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Thu, 21 Jul 2016 17:28:20 +0200 Subject: [PATCH 070/127] Finalise move from narrow-no-break-space to no-break-space --- base_phone/static/src/js/phone_widget.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base_phone/static/src/js/phone_widget.js b/base_phone/static/src/js/phone_widget.js index d47e7a0a1..b51b2aa21 100644 --- a/base_phone/static/src/js/phone_widget.js +++ b/base_phone/static/src/js/phone_widget.js @@ -1,5 +1,5 @@ /* Base phone module for Odoo - Copyright (C) 2013-2015 Alexis de Lattre + Copyright (C) 2013-2016 Alexis de Lattre The licence is in the file __openerp__.py */ odoo.define('base_phone.phone_widget', function (require) { @@ -134,7 +134,8 @@ var ColumnPhone = treewidgets.Column.extend({ _format: function(row_data, options) { var phone_num = row_data[this.id].value; if (phone_num) { - var raw_phone_num = phone_num.replace(/ /g, ''); + var raw_phone_num = phone_num.replace(/ /g, ''); + raw_phone_num = raw_phone_num.replace(/-/g, ''); return _.template("<%-text%>")({ href: raw_phone_num, text: phone_num From 104daf1e7f9b5f97448226932434f6f22c037158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Mon, 15 Aug 2016 18:55:27 +0200 Subject: [PATCH 071/127] [FIX] remove en.po that was erroneously created by transbot --- base_phone/i18n/en.po | 346 ------------------------------------------ 1 file changed, 346 deletions(-) delete mode 100644 base_phone/i18n/en.po diff --git a/base_phone/i18n/en.po b/base_phone/i18n/en.po deleted file mode 100644 index a6e5f2411..000000000 --- a/base_phone/i18n/en.po +++ /dev/null @@ -1,346 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * base_phone -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: connector-telephony (9.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-05-20 02:42+0000\n" -"PO-Revision-Date: 2016-05-19 12:41+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: English (http://www.transifex.com/oca/OCA-connector-telephony-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: base_phone -#: model:ir.model.fields,field_description:base_phone.field_number_not_found_calling_number -msgid "Calling Number" -msgstr "Calling Number" - -#. module: base_phone -#: model:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form -msgid "Cancel" -msgstr "Cancel" - -#. module: base_phone -#: code:addons/base_phone/base_phone.py:122 -#, python-format -msgid "" -"Cannot reformat the phone number '%s' to international format. Error " -"message: %s" -msgstr "Cannot reformat the phone number '%s' to international format. Error message: %s" - -#. module: base_phone -#. openerp-web -#: code:addons/base_phone/static/src/js/phone_widget.js:50 -#, python-format -msgid "Click2dial started" -msgstr "Click2dial started" - -#. module: base_phone -#. openerp-web -#: code:addons/base_phone/static/src/js/phone_widget.js:62 -#, python-format -msgid "Click2dial successfull" -msgstr "Click2dial successfull" - -#. module: base_phone -#: model:ir.ui.view,arch_db:base_phone.number_not_found_form -#: model:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form -msgid "Close" -msgstr "Close" - -#. module: base_phone -#: model:ir.model,name:base_phone.model_res_company -msgid "Companies" -msgstr "Companies" - -#. module: base_phone -#: code:addons/base_phone/wizard/number_not_found.py:84 -#, python-format -msgid "Create New Partner" -msgstr "Create New Partner" - -#. module: base_phone -#: model:ir.ui.view,arch_db:base_phone.number_not_found_form -msgid "Create Partner with this Number" -msgstr "Create Partner with this Number" - -#. module: base_phone -#: model:ir.ui.view,arch_db:base_phone.number_not_found_form -msgid "Create or Update a Partner" -msgstr "Create or Update a Partner" - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_number_not_found_create_uid -#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_create_uid -msgid "Created by" -msgstr "Created by" - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_number_not_found_create_date -#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_create_date -msgid "Created on" -msgstr "Created on" - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_number_not_found_current_partner_mobile -msgid "Current Mobile" -msgstr "Current Mobile" - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_number_not_found_current_partner_phone -msgid "Current Phone" -msgstr "Current Phone" - -#. module: base_phone -#. openerp-web -#: code:addons/base_phone/static/src/js/phone_widget.js:43 -#, python-format -msgid "Dial" -msgstr "Dial" - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_base_phone_installed_display_name -#: model:ir.model.fields,field_description:base_phone.field_number_not_found_display_name -#: model:ir.model.fields,field_description:base_phone.field_phone_common_display_name -#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_display_name -msgid "Display Name" -msgstr "Display Name" - -#. module: base_phone -#: selection:reformat.all.phonenumbers,state:0 -msgid "Done" -msgstr "Done" - -#. module: base_phone -#: selection:reformat.all.phonenumbers,state:0 -msgid "Draft" -msgstr "Draft" - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_number_not_found_e164_number -msgid "E.164 Number" -msgstr "E.164 Number" - -#. module: base_phone -#: model:ir.model.fields,help:base_phone.field_number_not_found_e164_number -msgid "E.164 equivalent of the calling number." -msgstr "E.164 equivalent of the calling number." - -#. module: base_phone -#: code:addons/base_phone/wizard/number_not_found.py:99 -#, python-format -msgid "Error" -msgstr "Error" - -#. module: base_phone -#: selection:number.not.found,number_type:0 -msgid "Fixed" -msgstr "Fixed" - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_number_not_found_number_type -msgid "Fixed/Mobile" -msgstr "Fixed/Mobile" - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_base_phone_installed_id -#: model:ir.model.fields,field_description:base_phone.field_number_not_found_id -#: model:ir.model.fields,field_description:base_phone.field_phone_common_id -#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_id -msgid "ID" -msgstr "ID" - -#. module: base_phone -#: model:ir.model.fields,help:base_phone.field_res_company_number_of_digits_to_match_from_end -msgid "" -"In several situations, OpenERP will have to find a Partner/Lead/Employee/..." -" from a phone number presented by the calling party. As the phone numbers " -"presented by your phone operator may not always be displayed in a standard " -"format, the best method to find the related Partner/Lead/Employee/... in " -"OpenERP is to try to match the end of the phone number in OpenERP with the N" -" last digits of the phone number presented by the calling party. N is the " -"value you should enter in this field." -msgstr "In several situations, OpenERP will have to find a Partner/Lead/Employee/... from a phone number presented by the calling party. As the phone numbers presented by your phone operator may not always be displayed in a standard format, the best method to find the related Partner/Lead/Employee/... in OpenERP is to try to match the end of the phone number in OpenERP with the N last digits of the phone number presented by the calling party. N is the value you should enter in this field." - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_base_phone_installed___last_update -#: model:ir.model.fields,field_description:base_phone.field_number_not_found___last_update -#: model:ir.model.fields,field_description:base_phone.field_phone_common___last_update -#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers___last_update -msgid "Last Modified on" -msgstr "Last Modified on" - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_number_not_found_write_uid -#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_write_uid -msgid "Last Updated by" -msgstr "Last Updated by" - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_number_not_found_write_date -#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_write_date -msgid "Last Updated on" -msgstr "Last Updated on" - -#. module: base_phone -#: selection:number.not.found,number_type:0 -msgid "Mobile" -msgstr "Mobile" - -#. module: base_phone -#: model:ir.ui.view,arch_db:base_phone.number_not_found_form -msgid "Number Not Found" -msgstr "Number Not Found" - -#. module: base_phone -#: model:ir.ui.view,arch_db:base_phone.number_not_found_form -msgid "Number converted to international format:" -msgstr "Number converted to international format:" - -#. module: base_phone -#. openerp-web -#: code:addons/base_phone/static/src/js/phone_widget.js:63 -#, python-format -msgid "Number dialed:" -msgstr "Number dialed:" - -#. module: base_phone -#: model:ir.model,name:base_phone.model_number_not_found -msgid "Number not found" -msgstr "Number not found" - -#. module: base_phone -#: model:ir.ui.view,arch_db:base_phone.number_not_found_form -msgid "Number not found:" -msgstr "Number not found:" - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_res_company_number_of_digits_to_match_from_end -msgid "Number of Digits To Match From End" -msgstr "Number of Digits To Match From End" - -#. module: base_phone -#: model:ir.model,name:base_phone.model_res_partner -msgid "Partner" -msgstr "Partner" - -#. module: base_phone -#: model:ir.model.fields,help:base_phone.field_number_not_found_to_update_partner_id -msgid "Partner on which the phone number will be written" -msgstr "Partner on which the phone number will be written" - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_number_not_found_to_update_partner_id -msgid "Partner to Update" -msgstr "Partner to Update" - -#. module: base_phone -#: code:addons/base_phone/wizard/number_not_found.py:105 -#, python-format -msgid "Partner: %s" -msgstr "Partner: %s" - -#. module: base_phone -#: model:ir.ui.view,arch_db:base_phone.view_company_form -msgid "Phone" -msgstr "Phone" - -#. module: base_phone -#: model:res.groups,name:base_phone.group_callerid -msgid "Phone CallerID" -msgstr "Phone CallerID" - -#. module: base_phone -#: model:ir.model.fields,help:base_phone.field_number_not_found_calling_number -msgid "" -"Phone number of calling party that has been obtained from the telephony " -"server, in the format used by the telephony server (not E.164)." -msgstr "Phone number of calling party that has been obtained from the telephony server, in the format used by the telephony server (not E.164)." - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_phonenumbers_not_reformatted -msgid "Phone numbers that couldn't be reformatted" -msgstr "Phone numbers that couldn't be reformatted" - -#. module: base_phone -#: model:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form -msgid "Phone numbers that couldn't be reformatted:" -msgstr "Phone numbers that couldn't be reformatted:" - -#. module: base_phone -#: model:ir.actions.act_window,name:base_phone.reformat_all_phonenumbers_action -#: model:ir.ui.menu,name:base_phone.reformat_all_phonenumbers_menu -msgid "Reformat Phone Numbers" -msgstr "Reformat Phone Numbers" - -#. module: base_phone -#: model:ir.model,name:base_phone.model_reformat_all_phonenumbers -#: model:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form -msgid "Reformat all phone numbers" -msgstr "Reformat all phone numbers" - -#. module: base_phone -#: code:addons/base_phone/wizard/number_not_found.py:100 -#, python-format -msgid "Select the Partner to Update." -msgstr "Select the Partner to Update." - -#. module: base_phone -#: model:ir.model.fields,field_description:base_phone.field_reformat_all_phonenumbers_state -msgid "State" -msgstr "State" - -#. module: base_phone -#: model:ir.ui.menu,name:base_phone.menu_config_phone -#: model:ir.ui.view,arch_db:base_phone.view_users_form -msgid "Telephony" -msgstr "Telephony" - -#. module: base_phone -#: model:ir.ui.view,arch_db:base_phone.view_users_form -#: model:ir.ui.view,arch_db:base_phone.view_users_form_simple_modif -msgid "Telephony Preferences" -msgstr "Telephony Preferences" - -#. module: base_phone -#: sql_constraint:res.company:0 -msgid "" -"The value of the field 'Number of Digits To Match From End' must be " -"positive." -msgstr "The value of the field 'Number of Digits To Match From End' must be positive." - -#. module: base_phone -#: model:ir.ui.view,arch_db:base_phone.reformat_all_phonenumbers_form -msgid "" -"This wizard reformats the phone, mobile and fax numbers of all partners in " -"standard international format e.g. +33141981242" -msgstr "This wizard reformats the phone, mobile and fax numbers of all partners in standard international format e.g. +33141981242" - -#. module: base_phone -#. openerp-web -#: code:addons/base_phone/static/src/js/phone_widget.js:51 -#, python-format -msgid "Unhook your ringing phone" -msgstr "Unhook your ringing phone" - -#. module: base_phone -#: model:ir.ui.view,arch_db:base_phone.number_not_found_form -msgid "Update Partner with this Number" -msgstr "Update Partner with this Number" - -#. module: base_phone -#: model:ir.model,name:base_phone.model_base_phone_installed -msgid "base.phone.installed" -msgstr "base.phone.installed" - -#. module: base_phone -#: model:ir.model,name:base_phone.model_phone_common -msgid "phone.common" -msgstr "phone.common" From 60f006f65e9bb5cee9d3acfd19e279a99456d422 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 6 Oct 2016 14:50:21 +0200 Subject: [PATCH 072/127] [MIG] Make modules uninstallable --- base_phone/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_phone/__openerp__.py b/base_phone/__openerp__.py index a7c2bca83..a4565fdd0 100644 --- a/base_phone/__openerp__.py +++ b/base_phone/__openerp__.py @@ -49,5 +49,5 @@ ], 'qweb': ['static/src/xml/*.xml'], 'images': [], - 'installable': True, + 'installable': False, } From 6c26195c05242f191b4957cb7999b2581df1c54b Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 6 Oct 2016 14:50:24 +0200 Subject: [PATCH 073/127] [MIG] Rename manifest files --- base_phone/{__openerp__.py => __manifest__.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename base_phone/{__openerp__.py => __manifest__.py} (100%) diff --git a/base_phone/__openerp__.py b/base_phone/__manifest__.py similarity index 100% rename from base_phone/__openerp__.py rename to base_phone/__manifest__.py From 10204f084a8c87649b2aa3775864c79c5264faf2 Mon Sep 17 00:00:00 2001 From: Sylvain Garancher Date: Mon, 17 Oct 2016 09:30:30 +0200 Subject: [PATCH 074/127] [MIG] Migrated base_phone to v10.0 (#107) [MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module --- base_phone/README.rst | 2 +- base_phone/__init__.py | 1 + base_phone/__manifest__.py | 4 +- base_phone/controllers/__init__.py | 3 + .../controller.py => controllers/main.py} | 8 +- base_phone/fields.py | 28 ++-- base_phone/models/__init__.py | 1 - base_phone/models/phone_common.py | 14 +- base_phone/models/res_company.py | 13 +- base_phone/models/res_partner.py | 6 +- base_phone/security/phone_security.xml | 14 +- base_phone/static/src/js/phone_widget.js | 155 ++++++++---------- base_phone/static/src/xml/phone.xml | 12 +- base_phone/tests/test_phone.py | 1 - base_phone/views/res_company_view.xml | 33 ++-- base_phone/views/res_partner_view.xml | 30 +--- base_phone/views/res_users_view.xml | 54 +++--- base_phone/web_phone.xml | 18 +- base_phone/wizard/number_not_found.py | 46 +++--- base_phone/wizard/number_not_found_view.xml | 80 +++++---- .../wizard/reformat_all_phonenumbers.py | 2 +- .../wizard/reformat_all_phonenumbers_view.xml | 80 +++++---- 22 files changed, 276 insertions(+), 329 deletions(-) create mode 100644 base_phone/controllers/__init__.py rename base_phone/{models/controller.py => controllers/main.py} (89%) diff --git a/base_phone/README.rst b/base_phone/README.rst index 646db9d99..32838483e 100644 --- a/base_phone/README.rst +++ b/base_phone/README.rst @@ -54,7 +54,7 @@ There is no specific usage procedure for this module. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/{repo_id}/9.0 + :target: https://runbot.odoo-community.org/runbot/228/10.0 Known issues / Roadmap ====================== diff --git a/base_phone/__init__.py b/base_phone/__init__.py index c27d191a0..cb9f2c601 100644 --- a/base_phone/__init__.py +++ b/base_phone/__init__.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- from . import fields +from . import controllers from . import models from . import wizard diff --git a/base_phone/__manifest__.py b/base_phone/__manifest__.py index a4565fdd0..b77cb8cd9 100644 --- a/base_phone/__manifest__.py +++ b/base_phone/__manifest__.py @@ -22,7 +22,7 @@ { 'name': 'Base Phone', - 'version': '9.0.0.1.0', + 'version': '10.0.0.1.0', 'category': 'Phone', 'license': 'AGPL-3', 'summary': 'Validate phone numbers', @@ -49,5 +49,5 @@ ], 'qweb': ['static/src/xml/*.xml'], 'images': [], - 'installable': False, + 'installable': True, } diff --git a/base_phone/controllers/__init__.py b/base_phone/controllers/__init__.py new file mode 100644 index 000000000..65a8c1201 --- /dev/null +++ b/base_phone/controllers/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import main diff --git a/base_phone/models/controller.py b/base_phone/controllers/main.py similarity index 89% rename from base_phone/models/controller.py rename to base_phone/controllers/main.py index 1fb2edb4c..deb42388b 100644 --- a/base_phone/models/controller.py +++ b/base_phone/controllers/main.py @@ -19,13 +19,11 @@ # ############################################################################## -import openerp +import odoo -class BasePhoneController(openerp.addons.web.http.Controller): - _cp_path = '/base_phone' - - @openerp.addons.web.http.jsonrequest +class BasePhoneController(odoo.http.Controller): + @odoo.http.route('/base_phone', type='json', auth='none') def click2dial(self, req, phone_number, click2dial_model, click2dial_id): res = req.session.model('phone.common').click2dial( phone_number, { diff --git a/base_phone/fields.py b/base_phone/fields.py index 859d50f6f..6855624b8 100644 --- a/base_phone/fields.py +++ b/base_phone/fields.py @@ -5,15 +5,19 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import api, fields, models +from odoo import api, fields, models from operator import attrgetter -import phonenumbers import logging - _logger = logging.getLogger(__name__) +try: + import phonenumbers +except ImportError: + _logger.debug('Cannot `import phonenumbers`.') + -class Phone(fields.Char): +class Fax(fields.Char): + type = 'fax' _slots = { 'country_field': None, @@ -21,9 +25,9 @@ class Phone(fields.Char): } def __init__( - self, string=None, country_field=None, partner_field=None, - **kwargs): - super(Phone, self).__init__( + self, string=fields.Default, country_field=fields.Default, + partner_field=fields.Default, **kwargs): + super(Fax, self).__init__( string=string, country_field=country_field, partner_field=partner_field, **kwargs) @@ -31,13 +35,13 @@ def __init__( _related_partner_field = property(attrgetter('partner_field')) def _setup_regular_full(self, model): - super(Phone, self)._setup_regular_full(model) + super(Fax, self)._setup_regular_full(model) assert self.country_field in model._fields or \ self.partner_field in model._fields, \ "field %s with unknown country_field and partner_field" % self def convert_to_cache(self, value, record, validate=True): - res = super(Phone, self).convert_to_cache( + res = super(Fax, self).convert_to_cache( value, record, validate=validate) # print 'db value', res if res: @@ -53,6 +57,10 @@ def convert_to_cache(self, value, record, validate=True): return res +class Phone(Fax): + type = 'phone' + + def convert_phone_field(value, country_code): _logger.debug( 'convert_phone_field value=%s country=%s', value, country_code) @@ -104,7 +112,7 @@ def convert_all_phone_fields(self, vals, fields_to_convert): def get_phone_fields(self, vals): fields_to_convert = [] for key in vals: - if isinstance(self._fields.get(key), Phone): + if isinstance(self._fields.get(key), Fax): fields_to_convert.append(key) return fields_to_convert diff --git a/base_phone/models/__init__.py b/base_phone/models/__init__.py index 70636f66c..0b99d3910 100644 --- a/base_phone/models/__init__.py +++ b/base_phone/models/__init__.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- -from . import controller from . import res_company from . import res_partner from . import phone_common diff --git a/base_phone/models/phone_common.py b/base_phone/models/phone_common.py index 8a2a3eb26..853484a52 100644 --- a/base_phone/models/phone_common.py +++ b/base_phone/models/phone_common.py @@ -2,14 +2,16 @@ # © 2010-2016 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, api -from openerp.addons.base_phone.fields import Phone +from odoo import models, api +from .. import fields as phone_fields import logging -# Lib for phone number reformating -> pip install phonenumbers -import phonenumbers - _logger = logging.getLogger(__name__) +try: + import phonenumbers +except ImportError: + _logger.debug('Cannot `import phonenumbers`.') + class PhoneCommon(models.AbstractModel): _name = 'phone.common' @@ -102,7 +104,7 @@ def _get_phone_models(self): for (obj, prio) in phoneobj_sorted: entry = {'object': obj, 'fields': []} for field in obj._fields: - if isinstance(obj._fields[field], Phone): + if isinstance(obj._fields[field], phone_fields.Phone): entry['fields'].append(field) res.append(entry) # [{'fields': ['fax', 'phone', 'mobile'], 'object': res.partner()}, diff --git a/base_phone/models/res_company.py b/base_phone/models/res_company.py index ba4f9f06f..f8b76e1cb 100644 --- a/base_phone/models/res_company.py +++ b/base_phone/models/res_company.py @@ -2,7 +2,8 @@ # © 2016 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields +from odoo import models, fields +from .. import fields as phone_fields class ResCompany(models.Model): @@ -11,15 +12,19 @@ class ResCompany(models.Model): number_of_digits_to_match_from_end = fields.Integer( string='Number of Digits To Match From End', default=8, - help="In several situations, OpenERP will have to find a " + help="In several situations, Odoo will have to find a " "Partner/Lead/Employee/... from a phone number presented by the " "calling party. As the phone numbers presented by your phone " "operator may not always be displayed in a standard format, " "the best method to find the related Partner/Lead/Employee/... " - "in OpenERP is to try to match the end of the phone number in " - "OpenERP with the N last digits of the phone number presented " + "in Odoo is to try to match the end of the phone number in " + "Odoo with the N last digits of the phone number presented " "by the calling party. N is the value you should enter in this " "field.") + phone = phone_fields.Phone( + country_field='country_id', partner_field='partner_id') + fax = phone_fields.Fax( + country_field='country_id', partner_field='partner_id') _sql_constraints = [( 'number_of_digits_to_match_from_end_positive', diff --git a/base_phone/models/res_partner.py b/base_phone/models/res_partner.py index aa5695604..feb05e2e6 100644 --- a/base_phone/models/res_partner.py +++ b/base_phone/models/res_partner.py @@ -3,8 +3,8 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, api -from openerp.addons.base_phone import fields +from odoo import models, api +from .. import fields class ResPartner(models.Model): @@ -14,7 +14,7 @@ class ResPartner(models.Model): phone = fields.Phone(country_field='country_id', partner_field='parent_id') mobile = fields.Phone( country_field='country_id', partner_field='parent_id') - fax = fields.Phone(country_field='country_id', partner_field='parent_id') + fax = fields.Fax(country_field='country_id', partner_field='parent_id') @api.multi def name_get(self): diff --git a/base_phone/security/phone_security.xml b/base_phone/security/phone_security.xml index 627bdad59..ead10ca3c 100644 --- a/base_phone/security/phone_security.xml +++ b/base_phone/security/phone_security.xml @@ -5,13 +5,11 @@ The licence is in the file __openerp__.py --> - - + - - - Phone CallerID - + + + Phone CallerID + - - + diff --git a/base_phone/static/src/js/phone_widget.js b/base_phone/static/src/js/phone_widget.js index b51b2aa21..b364417a0 100644 --- a/base_phone/static/src/js/phone_widget.js +++ b/base_phone/static/src/js/phone_widget.js @@ -3,15 +3,16 @@ The licence is in the file __openerp__.py */ odoo.define('base_phone.phone_widget', function (require) { -"use strict"; + "use strict"; -var core = require('web.core'); -var formwidgets = require('web.form_widgets'); -var web_client = require('web.web_client'); -var _t = core._t; + var core = require('web.core'); + var formwidgets = require('web.form_widgets'); + var web_client = require('web.web_client'); + var _t = core._t; -var FieldPhone = formwidgets.FieldChar.extend({ - template: 'FieldPhone', + var FieldFax = formwidgets.FieldEmail.extend({ + template: 'FieldFax', + prefix: 'fax', initialize_content: function() { this._super(); var $button = this.$el.find('button'); @@ -19,36 +20,45 @@ var FieldPhone = formwidgets.FieldChar.extend({ this.setupFocus($button); }, render_value: function() { - if (!this.get('effective_readonly')) { - this._super(); - } else { - var self = this; + this._super(); + if (this.get("effective_readonly") && this.clickable) { var phone_num = this.get('value'); - // console.log('BASE_PHONE phone_num = %s', phone_num); - var raw_phone_num = ''; - if (phone_num) { - // remove non-breaking-space - raw_phone_num = phone_num.replace(/ /g, ''); - raw_phone_num = raw_phone_num.replace(/-/g, ''); - this.$el.find('a.oe_form_uri').attr('href', 'tel:' + raw_phone_num).text(phone_num); + if(phone_num) { + phone_num = phone_num.replace(/ /g, '').replace(/-/g, ''); + this.$el.attr('href', this.prefix + ':' + phone_num); } - else { - this.$el.find('a.oe_form_uri').attr('href', '').text(''); + } + }, + on_button_clicked: function() { + location.href = this.prefix + ':' + this.get('value'); + } + }); + + var FieldPhone = FieldFax.extend({ + template: 'FieldPhone', + prefix: 'tel', + render_value: function() { + this._super(); + if (this.get("effective_readonly") && this.clickable) { + var self = this; + var phone_num = this.get('value'); + if(phone_num) { + phone_num = phone_num.replace(/ /g, '').replace(/-/g, ''); } var click2dial_text = ''; if (phone_num && !this.options.dial_button_invisible) { - click2dial_text = _t('Dial'); + click2dial_text = _t('Dial'); } this.$el.find('#click2dial').off('click'); this.$el.find('#click2dial') .text(click2dial_text) .on('click', function(ev) { self.do_notify( - _t('Click2dial started'), - _t('Unhook your ringing phone'), - false); + _t('Click2dial started'), + _t('Unhook your ringing phone'), + false); var arg = { - 'phone_number': raw_phone_num, + 'phone_number': phone_num, 'click2dial_model': self.view.dataset.model, 'click2dial_id': self.view.datarecord.id}; self.rpc('/base_phone/click2dial', arg).done(function(r) { @@ -57,15 +67,15 @@ var FieldPhone = formwidgets.FieldChar.extend({ self.do_warn("Click2dial failed"); } else if (typeof r === 'object') { self.do_notify( - _t('Click2dial successfull'), - _t('Number dialed:') + ' ' + r.dialed_number, - false); + _t('Click2dial successfull'), + _t('Number dialed:') + ' ' + r.dialed_number, + false); if (r.action_model) { var context = { 'click2dial_model': self.view.dataset.model, 'click2dial_id': self.view.datarecord.id, - 'phone_number': raw_phone_num, - }; + 'phone_number': phone_num, + }; var action = { name: r.action_name, type: 'ir.actions.act_window', @@ -74,80 +84,47 @@ var FieldPhone = formwidgets.FieldChar.extend({ views: [[false, 'form']], target: 'new', context: context, - }; + }; web_client.action_manager.do_action(action); } } }); }); } - }, - on_button_clicked: function() { - location.href = 'tel:' + this.get('value'); } }); + // To avoid conflicts, we check that widgets do not exist before using + if(!core.form_widget_registry.get('fax')){ + core.form_widget_registry.add('fax', FieldFax); + } -var FieldFax = formwidgets.FieldChar.extend({ - template: 'FieldFax', - initialize_content: function() { - this._super(); - var $button = this.$el.find('button'); - $button.click(this.on_button_clicked); - this.setupFocus($button); - }, - render_value: function() { - if (!this.get('effective_readonly')) { - this._super(); - } else { - var fax_num = this.get('value'); - // console.log('BASE_PHONE fax_num = %s', fax_num); - if (fax_num) { - var raw_fax_num = fax_num.replace(/ /g, ''); - raw_fax_num = raw_fax_num.replace(/-/g, ''); - this.$el.find('a').attr('href', 'fax:' + raw_fax_num).text(fax_num); - } - else { - this.$el.find('a').attr('href', '').text(''); - } - } - }, - on_button_clicked: function() { - location.href = 'fax:' + this.get('value'); - } - }); - -// To avoid conflicts, we check that widgets do not exist before using -if(!core.form_widget_registry.get('fax')){ - core.form_widget_registry.add('fax', FieldFax); -} - -if(!core.form_widget_registry.get('phone')){ - core.form_widget_registry.add('phone', FieldPhone); -} + if(!core.form_widget_registry.get('phone')){ + core.form_widget_registry.add('phone', FieldPhone); + } -var treewidgets = require('web.ListView'); + var treewidgets = require('web.ListView'); -var ColumnPhone = treewidgets.Column.extend({ - // ability to add widget="phone" in TREE view - _format: function(row_data, options) { - var phone_num = row_data[this.id].value; - if (phone_num) { - var raw_phone_num = phone_num.replace(/ /g, ''); - raw_phone_num = raw_phone_num.replace(/-/g, ''); - return _.template("<%-text%>")({ - href: raw_phone_num, - text: phone_num - }); + var ColumnPhone = treewidgets.Column.extend({ + // ability to add widget="phone" in TREE view + _format: function(row_data, options) { + var phone_num = row_data[this.id].value; + if (phone_num) { + var raw_phone_num = phone_num.replace(/ /g, ''); + raw_phone_num = raw_phone_num.replace(/-/g, ''); + return _.template("<%-text%>")({ + href: raw_phone_num, + text: phone_num + }); + } + return this._super(row_data, options); } - return this._super(row_data, options); - } -}); + }); -if (!core.list_widget_registry.get('phone')) { - core.list_widget_registry.add('field.phone', ColumnPhone); -} + if (!core.list_widget_registry.get('phone')) { + core.list_widget_registry.add('field.phone', ColumnPhone); + } }); diff --git a/base_phone/static/src/xml/phone.xml b/base_phone/static/src/xml/phone.xml index af790ffb7..c975f0832 100644 --- a/base_phone/static/src/xml/phone.xml +++ b/base_phone/static/src/xml/phone.xml @@ -7,16 +7,12 @@ - - - this.removeClass('oe_form_field_email').addClass('oe_form_field_phone'); + + - - - - this.removeClass('oe_form_field_email').addClass('oe_form_field_fax'); + + - diff --git a/base_phone/tests/test_phone.py b/base_phone/tests/test_phone.py index 2559c18d3..18d457aef 100644 --- a/base_phone/tests/test_phone.py +++ b/base_phone/tests/test_phone.py @@ -26,7 +26,6 @@ def test_phone(self): partner2 = rpo.create({ 'name': u'Joël Grand-Guillaume', 'parent_id': self.env.ref('base.res_partner_12').id, - 'use_parent_address': True, 'phone': '(0) 21 619 10 10', 'mobile': '(0) 79 606 42 42', }) diff --git a/base_phone/views/res_company_view.xml b/base_phone/views/res_company_view.xml index 9a1e9624b..896703b13 100644 --- a/base_phone/views/res_company_view.xml +++ b/base_phone/views/res_company_view.xml @@ -6,27 +6,20 @@ --> - - - base_phone.company.form - res.company - - - - - - - - - phone + + base_phone.company.form + res.company + + + + + + + + + - - fax - - - - + - diff --git a/base_phone/views/res_partner_view.xml b/base_phone/views/res_partner_view.xml index b58ad6be1..c32b34096 100644 --- a/base_phone/views/res_partner_view.xml +++ b/base_phone/views/res_partner_view.xml @@ -5,33 +5,9 @@ --> - - - base.phone.res.partner.form - res.partner - - - - fax - - - + + {'search_default_customer': 1, 'raise_if_phone_parse_fails': True} + - - base_phone.phone.widget.partner.tree - res.partner - - - - phone - - - - - - {'search_default_customer': 1, 'raise_if_phone_parse_fails': True} - - - diff --git a/base_phone/views/res_users_view.xml b/base_phone/views/res_users_view.xml index f266e023f..a84070470 100644 --- a/base_phone/views/res_users_view.xml +++ b/base_phone/views/res_users_view.xml @@ -5,35 +5,33 @@ --> - - - base_phone.res.users.telephony_tab - res.users - - - - - - - - - - - + + base_phone.res.users.telephony_tab + res.users + + + + + + + + + + + - - base_phone.user_preferences.view - res.users - - - - - - - - - + + base_phone.user_preferences.view + res.users + + + + + + + + + - diff --git a/base_phone/web_phone.xml b/base_phone/web_phone.xml index fd37180af..029e25bbc 100644 --- a/base_phone/web_phone.xml +++ b/base_phone/web_phone.xml @@ -5,17 +5,13 @@ --> - + - - - - diff --git a/base_phone/wizard/number_not_found.py b/base_phone/wizard/number_not_found.py index 57b1498ee..fa63c3417 100644 --- a/base_phone/wizard/number_not_found.py +++ b/base_phone/wizard/number_not_found.py @@ -2,39 +2,43 @@ # © 2010-2016 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api, _ -from openerp.exceptions import UserError +from odoo import models, fields, api, _ +from .. import fields as phone_fields +from odoo.exceptions import UserError import logging -import phonenumbers - _logger = logging.getLogger(__name__) +try: + import phonenumbers +except ImportError: + _logger.debug('Cannot `import phonenumbers`.') + class NumberNotFound(models.TransientModel): _name = "number.not.found" _description = "Number not found" - calling_number = fields.Char(string='Calling Number', size=64, - readonly=True, - help="Phone number of calling party that has " - "been obtained from the telephony server, in " - "the format used by the telephony server " - "(not E.164).") - e164_number = fields.Char(string='E.164 Number', size=64, - help="E.164 equivalent of the calling number.") + calling_number = fields.Char( + string='Calling Number', size=64, readonly=True, + help="Phone number of calling party that has been obtained from the " + "telephony server, in the format used by the telephony server (not " + "E.164).") + e164_number = fields.Char( + string='E.164 Number', size=64, + help="E.164 equivalent of the calling number.") number_type = fields.Selection(selection=[ ('phone', 'Fixed'), ('mobile', 'Mobile') ], string='Fixed/Mobile', required=True) - to_update_partner_id = fields.Many2one(comodel_name='res.partner', - string='Partner to Update', - help="Partner on which the phone " - "number will be written") - current_partner_phone = fields.Char(related='to_update_partner_id.phone', - string='Current Phone', readonly=True) - current_partner_mobile = fields.Char(related='to_update_partner_id.mobile', - string='Current Mobile', - readonly=True) + to_update_partner_id = fields.Many2one( + comodel_name='res.partner', string='Partner to Update', + help="Partner on which the phone number will be written") + current_partner_phone = phone_fields.Phone( + related='to_update_partner_id.phone', string='Current Phone', + readonly=True) + current_partner_mobile = phone_fields.Phone( + related='to_update_partner_id.mobile', string='Current Mobile', + readonly=True) @api.model def default_get(self, fields_list): diff --git a/base_phone/wizard/number_not_found_view.xml b/base_phone/wizard/number_not_found_view.xml index fc5191440..81c9f42dc 100644 --- a/base_phone/wizard/number_not_found_view.xml +++ b/base_phone/wizard/number_not_found_view.xml @@ -5,49 +5,45 @@ --> - - - - number.not.found.form - number.not.found - -
-
-

- -

-
- - -