Skip to content
Snippets Groups Projects
Commit 36fd9dc0 authored by nkour's avatar nkour
Browse files

better english and typo

parent faccf1e3
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@
# 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..
......
......@@ -138,7 +138,7 @@ def on_close_button_clicked(self, widget):
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment