better english and typo
This commit is contained in:
parent
faccf1e321
commit
36fd9dc0a8
|
@ -37,7 +37,7 @@ else:
|
||||||
# according to the environment variables
|
# according to the environment variables
|
||||||
locale.setlocale(locale.LC_ALL, '')
|
locale.setlocale(locale.LC_ALL, '')
|
||||||
|
|
||||||
## Add LANG to os.environ ##
|
## Add, if needed, a value in LANG environmental variable ##
|
||||||
# get LANG, fallback to ''; LANG can be 'en_US:el_GR.UTF-8:fr_FR'
|
# get LANG, fallback to ''; LANG can be 'en_US:el_GR.UTF-8:fr_FR'
|
||||||
lang = os.environ.get('LANG', '')
|
lang = os.environ.get('LANG', '')
|
||||||
default_loc = locale.getdefaultlocale()[0] # en_US, fr_FR, el_GR etc..
|
default_loc = locale.getdefaultlocale()[0] # en_US, fr_FR, el_GR etc..
|
||||||
|
|
|
@ -138,7 +138,7 @@ class VcardWindow:
|
||||||
# update contact.name if it's not ''
|
# update contact.name if it's not ''
|
||||||
name_entry = self.xml.get_widget('nickname_entry')
|
name_entry = self.xml.get_widget('nickname_entry')
|
||||||
if not name_entry:
|
if not name_entry:
|
||||||
# This can happen when we don't show jabber page. For exemple when we
|
# This can happen when we don't show jabber page. For example when we
|
||||||
# show the vcard of a contact that request our subscription
|
# show the vcard of a contact that request our subscription
|
||||||
self.window.destroy()
|
self.window.destroy()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue