summaryrefslogtreecommitdiff
path: root/addons/phone_validation
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2020-07-02 12:26:20 +0000
committerVictor Feyens <vfe@odoo.com>2020-07-02 15:12:56 +0000
commitad6b5e35f23fdedc6f790eace945d7a7a6d9a1ef (patch)
treec2bccd0e4c9a55a3e43eee1ec3b93a50c77b3c49 /addons/phone_validation
parent79a7cf9be53197d82167bec19bf971c9aa0804dc (diff)
[IMP] *: do not translate logs
The logs should all be in the same language, s.t. one does not need to understand multiple languages when browsing/reading the server logs. closes odoo/odoo#53984 Related: odoo/enterprise#11615 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'addons/phone_validation')
-rw-r--r--addons/phone_validation/tools/phone_validation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/phone_validation/tools/phone_validation.py b/addons/phone_validation/tools/phone_validation.py
index ac96c82a87a..26f92a99310 100644
--- a/addons/phone_validation/tools/phone_validation.py
+++ b/addons/phone_validation/tools/phone_validation.py
@@ -48,7 +48,7 @@ try:
if raise_exception:
raise
else:
- _logger.warning(_('Unable to format %s:\n%s'), number, e)
+ _logger.warning('Unable to format phone number %s:\n%s', number, e)
return number
if force_format == 'E164':
phone_fmt = phonenumbers.PhoneNumberFormat.E164