This commit is contained in:
Nikos Kouremenos 2005-07-18 16:40:12 +00:00
parent 879ffc65a4
commit f088e4203a
2 changed files with 8 additions and 8 deletions

View File

@ -570,16 +570,16 @@ class Chat:
else:
link = 'http://%s.wikipedia.org/wiki/%s'\
%(gajim.LANG, self.selected_phrase)
item = gtk.MenuItem(_('Read _Wikipedia article'))
item = gtk.MenuItem(_('Read _Wikipedia Article'))
item.connect('activate', self.visit_url_from_menuitem, link)
submenu.append(item)
item = gtk.MenuItem(_('Look it up in _dictionary'))
item = gtk.MenuItem(_('Look it up in _Dictionary'))
link = gajim.config.get('dictionary_url') + self.selected_phrase
item.connect('activate', self.visit_url_from_menuitem, link)
submenu.append(item)
item = gtk.MenuItem(_('Web _search for it'))
item = gtk.MenuItem(_('Web _Search for it'))
gajim.config.get('search_engine')
link = gajim.config.get('search_engine') + self.selected_phrase +\
'&sourceid=gajim'

View File

@ -1082,16 +1082,16 @@ class AccountModificationWindow:
if gajim.connections.has_key(self.account):
if name != self.account and \
gajim.connections[self.account].connected != 0:
dialogs.ErrorDialog(_('You are connected to the server'),
_('To change the account name, it must be disconnected.')).get_response()
dialogs.ErrorDialog(_('You are currently connected to the server'),
_('To change the account name, you must be disconnected.')).get_response()
return
if (name == ''):
dialogs.ErrorDialog(_('Invalid account name'),
_('Account names cannot be empty.')).get_response()
_('Account name cannot be empty.')).get_response()
return
if name.find(' ') != -1:
dialogs.ErrorDialog(_('Invalid account name'),
_('Account names cannot contain spaces.')).get_response()
_('Account name cannot contain spaces.')).get_response()
return
jid = self.xml.get_widget('jid_entry').get_text()
if jid == '' or jid.count('@') != 1:
@ -1809,7 +1809,7 @@ class ManageEmoticonsWindow:
if not iter:
return
file = model.get_value(iter, 1)
dialog = gtk.FileChooserDialog(_('Choose image'), None,
dialog = gtk.FileChooserDialog(_('Choose Ιmage'), None,
gtk.FILE_CHOOSER_ACTION_OPEN,
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
gtk.STOCK_OPEN, gtk.RESPONSE_OK))