better strings
This commit is contained in:
parent
892d665a50
commit
fa03f0498d
10
src/gajim.py
10
src/gajim.py
|
@ -40,11 +40,11 @@ except RuntimeError, msg:
|
||||||
sys.exit()
|
sys.exit()
|
||||||
pritext = ''
|
pritext = ''
|
||||||
if gtk.pygtk_version < (2, 6, 0):
|
if gtk.pygtk_version < (2, 6, 0):
|
||||||
pritext = _('Gajim needs PyGTK 2.6+')
|
pritext = _('Gajim needs PyGTK 2.6 or above')
|
||||||
sectext = _('Gajim needs PyGTK 2.6+ to run. Quiting...')
|
sectext = _('Gajim needs PyGTK 2.6 or above to run. Quiting...')
|
||||||
elif gtk.gtk_version < (2, 6, 0):
|
elif gtk.gtk_version < (2, 6, 0):
|
||||||
pritext = _('Gajim needs GTK 2.6+')
|
pritext = _('Gajim needs GTK 2.6 or above+')
|
||||||
sectext = _('Gajim needs GTK 2.6+ to run. Quiting...')
|
sectext = _('Gajim needs GTK 2.6 or above to run. Quiting...')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import gtk.glade # check if user has libglade (in pygtk and in gtk)
|
import gtk.glade # check if user has libglade (in pygtk and in gtk)
|
||||||
|
@ -58,7 +58,7 @@ except ImportError:
|
||||||
try:
|
try:
|
||||||
from common import check_paths
|
from common import check_paths
|
||||||
except exceptions.PysqliteNotAvailable, e:
|
except exceptions.PysqliteNotAvailable, e:
|
||||||
pritext = _('Gajim needs Pysqlite2')
|
pritext = _('Gajim needs Pysqlite2 to run')
|
||||||
sectext = str(e)
|
sectext = str(e)
|
||||||
|
|
||||||
if pritext:
|
if pritext:
|
||||||
|
|
Loading…
Reference in New Issue