better strings

This commit is contained in:
Nikos Kouremenos 2005-05-17 11:55:30 +00:00
parent 7e7bceea97
commit 7aaffae0dc
4 changed files with 7 additions and 7 deletions

View File

@ -864,7 +864,7 @@ class Preferences_window:
if not iter:
return
file = model.get_value(iter, 2)
dialog = gtk.FileChooserDialog(_('Choose sound'), None,
dialog = gtk.FileChooserDialog(_('Choose Sound'), None,
gtk.FILE_CHOOSER_ACTION_OPEN,
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
gtk.STOCK_OPEN, gtk.RESPONSE_OK))
@ -1169,7 +1169,7 @@ class Account_modification_window:
return
#if it's a new account
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
con = connection.Connection(name)
self.plugin.register_handlers(con)
@ -1221,11 +1221,11 @@ class Account_modification_window:
def on_edit_details_button_clicked(self, widget):
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
jid = self.xml.get_widget('jid_entry').get_text()
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
if not self.plugin.windows[self.account]['infos'].has_key('vcard'):
self.plugin.windows[self.account]['infos'][jid] = \

View File

@ -485,7 +485,7 @@ class Interface:
config.Groupchat_config_window(self, account, jid, array[1])
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):
#('ROSTER_INFO', account, (jid, name, sub, ask, groups))

View File

@ -465,7 +465,7 @@ class Groupchat_window(chat.Chat):
item = gtk.MenuItem(_('_Ban'))
sub_menu.append(item)
item.connect('activate', self.ban, room_jid, jid)
item = gtk.MenuItem(_('_Grant Mem_bership'))
item = gtk.MenuItem(_('_Grant Membership'))
sub_menu.append(item)
item.connect('activate', self.grant_membership, room_jid, jid)
item = gtk.MenuItem(_('_Revoke Membership'))

View File

@ -493,7 +493,7 @@ class Roster_window:
item = gtk.MenuItem(_('Rerequest Authorization from'))
sub_menu.append(item)
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:
item = gtk.MenuItem()
menu.append(item)