- gettext support added in frontends
- first draft of frontends french translation
This commit is contained in:
Goffi 2010-03-05 20:33:10 +11:00
commit e3ebafd8f3

View file

@ -64,7 +64,7 @@ class QuickContactManagement():
if self.__contactlist[entity.short].has_key(name):
return self.__contactlist[entity.short][name]
else:
debug('Trying to get attribute for an unknown contact')
debug(_('Trying to get attribute for an unknown contact'))
return None
def isConnected(self, entity):
@ -91,7 +91,7 @@ class QuickContactManagement():
if self.__contactlist.has_key(entity.short):
self.__contactlist[entity.short][key] = value
else:
debug ('Trying to update an unknown contact: %s', entity.short)
debug (_('Trying to update an unknown contact: %s'), entity.short)
def get_full(self, entity):
return entity.short+'/'+self.__contactlist[entity.short]['resources'][-1]