better english and typo

This commit is contained in:
Nikos Kouremenos 2006-02-21 11:15:54 +00:00
parent faccf1e321
commit 36fd9dc0a8
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ else:
# according to the environment variables
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'
lang = os.environ.get('LANG', '')
default_loc = locale.getdefaultlocale()[0] # en_US, fr_FR, el_GR etc..

View File

@ -138,7 +138,7 @@ class VcardWindow:
# update contact.name if it's not ''
name_entry = self.xml.get_widget('nickname_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
self.window.destroy()
return