better strings
This commit is contained in:
parent
7e7bceea97
commit
7aaffae0dc
|
@ -864,7 +864,7 @@ class Preferences_window:
|
||||||
if not iter:
|
if not iter:
|
||||||
return
|
return
|
||||||
file = model.get_value(iter, 2)
|
file = model.get_value(iter, 2)
|
||||||
dialog = gtk.FileChooserDialog(_('Choose sound'), None,
|
dialog = gtk.FileChooserDialog(_('Choose Sound'), None,
|
||||||
gtk.FILE_CHOOSER_ACTION_OPEN,
|
gtk.FILE_CHOOSER_ACTION_OPEN,
|
||||||
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
|
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
|
||||||
gtk.STOCK_OPEN, gtk.RESPONSE_OK))
|
gtk.STOCK_OPEN, gtk.RESPONSE_OK))
|
||||||
|
@ -1169,7 +1169,7 @@ class Account_modification_window:
|
||||||
return
|
return
|
||||||
#if it's a new account
|
#if it's a new account
|
||||||
if name in gajim.connections:
|
if name in gajim.connections:
|
||||||
dialogs.Error_dialog(_('An account already has this name'))
|
dialogs.Error_dialog(_('This name is taken by an another account of yours'))
|
||||||
return
|
return
|
||||||
con = connection.Connection(name)
|
con = connection.Connection(name)
|
||||||
self.plugin.register_handlers(con)
|
self.plugin.register_handlers(con)
|
||||||
|
@ -1221,11 +1221,11 @@ class Account_modification_window:
|
||||||
|
|
||||||
def on_edit_details_button_clicked(self, widget):
|
def on_edit_details_button_clicked(self, widget):
|
||||||
if not self.plugin.windows.has_key(self.account):
|
if not self.plugin.windows.has_key(self.account):
|
||||||
dialogs.Error_dialog(_('You must first create your account before editing your information'))
|
dialogs.Error_dialog(_('You must first create your account before editing your personal information'))
|
||||||
return
|
return
|
||||||
jid = self.xml.get_widget('jid_entry').get_text()
|
jid = self.xml.get_widget('jid_entry').get_text()
|
||||||
if gajim.connections[self.account].connected < 2:
|
if gajim.connections[self.account].connected < 2:
|
||||||
dialogs.Error_dialog(_('You must be connected to edit your information'))
|
dialogs.Error_dialog(_('You must be connected to edit your personal information'))
|
||||||
return
|
return
|
||||||
if not self.plugin.windows[self.account]['infos'].has_key('vcard'):
|
if not self.plugin.windows[self.account]['infos'].has_key('vcard'):
|
||||||
self.plugin.windows[self.account]['infos'][jid] = \
|
self.plugin.windows[self.account]['infos'][jid] = \
|
||||||
|
|
|
@ -485,7 +485,7 @@ class Interface:
|
||||||
config.Groupchat_config_window(self, account, jid, array[1])
|
config.Groupchat_config_window(self, account, jid, array[1])
|
||||||
|
|
||||||
def handle_event_bad_passphrase(self, account, array):
|
def handle_event_bad_passphrase(self, account, array):
|
||||||
dialogs.Warning_dialog(_('Your GPG passphrase is wrong, so you are connected without your GPG key.'))
|
dialogs.Warning_dialog(_('Your GPG passphrase is wrong, so you are connected without your GPG key'))
|
||||||
|
|
||||||
def handle_event_roster_info(self, account, array):
|
def handle_event_roster_info(self, account, array):
|
||||||
#('ROSTER_INFO', account, (jid, name, sub, ask, groups))
|
#('ROSTER_INFO', account, (jid, name, sub, ask, groups))
|
||||||
|
|
|
@ -465,7 +465,7 @@ class Groupchat_window(chat.Chat):
|
||||||
item = gtk.MenuItem(_('_Ban'))
|
item = gtk.MenuItem(_('_Ban'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.ban, room_jid, jid)
|
item.connect('activate', self.ban, room_jid, jid)
|
||||||
item = gtk.MenuItem(_('_Grant Mem_bership'))
|
item = gtk.MenuItem(_('_Grant Membership'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.grant_membership, room_jid, jid)
|
item.connect('activate', self.grant_membership, room_jid, jid)
|
||||||
item = gtk.MenuItem(_('_Revoke Membership'))
|
item = gtk.MenuItem(_('_Revoke Membership'))
|
||||||
|
|
|
@ -493,7 +493,7 @@ class Roster_window:
|
||||||
item = gtk.MenuItem(_('Rerequest Authorization from'))
|
item = gtk.MenuItem(_('Rerequest Authorization from'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.req_sub, jid,
|
item.connect('activate', self.req_sub, jid,
|
||||||
_('I would like to add you to my contact list.'), account)
|
_('I would like to add you to my roster'), account)
|
||||||
else:
|
else:
|
||||||
item = gtk.MenuItem()
|
item = gtk.MenuItem()
|
||||||
menu.append(item)
|
menu.append(item)
|
||||||
|
|
Loading…
Reference in New Issue