summaryrefslogtreecommitdiff
path: root/addons/import_google/wizard/import_google.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/import_google/wizard/import_google.py')
-rw-r--r--addons/import_google/wizard/import_google.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/import_google/wizard/import_google.py b/addons/import_google/wizard/import_google.py
index 6d53fd55c33..9a9b2802826 100644
--- a/addons/import_google/wizard/import_google.py
+++ b/addons/import_google/wizard/import_google.py
@@ -28,6 +28,8 @@ from pytz import timezone
from datetime import datetime
import time
from osv import *
+from tools.translate import _
+
try:
import gdata
import gdata.contacts.service
@@ -285,7 +287,7 @@ class google_import(import_framework):
name = tools.ustr(entry.title.text)
if name == "None":
name = entry.email and entry.email[0].address or ''
- data['name'] = name or 'Unknown'
+ data['name'] = name or _('Unknown')
emails = ','.join(email.address for email in entry.email)
data['email'] = emails
if table == 'Contact':