better strings; remove double import
This commit is contained in:
parent
0cbb37e865
commit
9065e17d1c
|
@ -28,7 +28,6 @@ import common.sleepy
|
||||||
import gtkgui_helpers
|
import gtkgui_helpers
|
||||||
import dialogs
|
import dialogs
|
||||||
import cell_renderer_image
|
import cell_renderer_image
|
||||||
import cell_renderer_image
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import gtkspell
|
import gtkspell
|
||||||
|
@ -2886,13 +2885,14 @@ class FirstTimeWizardWindow:
|
||||||
register_new = False
|
register_new = False
|
||||||
#FIXME: pango me
|
#FIXME: pango me
|
||||||
finish_text = _('Account has been added successfully.\n'
|
finish_text = _('Account has been added successfully.\n'
|
||||||
'You can set advanced options by using "Edit->Accounts" from the main window.')
|
'You can set advanced account options by clicking in Accounts menuitem under Edit menu from the main window.')
|
||||||
elif cur_page == 2:
|
elif cur_page == 2:
|
||||||
widgets = self.get_widgets('register_')
|
widgets = self.get_widgets('register_')
|
||||||
register_new = True
|
register_new = True
|
||||||
#FIXME: pango me
|
#FIXME: pango me
|
||||||
finish_text = _('Your new account has been created successfully.\n'
|
finish_text = _('Your new account has been created successfully.\n'
|
||||||
'You can set advanced account options using "Edit->Accounts" in the main window menu.')
|
'You can set advanced account options by clicking in Accounts menuitem under Edit menu from the main window.')
|
||||||
|
|
||||||
|
|
||||||
user = widgets['nick_entry'].get_text().decode('utf-8')
|
user = widgets['nick_entry'].get_text().decode('utf-8')
|
||||||
server = widgets['server_comboboxentry'].child.get_text()
|
server = widgets['server_comboboxentry'].child.get_text()
|
||||||
|
@ -2946,9 +2946,6 @@ _('You need to enter a valid server address to continue.')).get_response()
|
||||||
widgets['nick_entry'].set_position(-1)
|
widgets['nick_entry'].set_position(-1)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def on_useproxy_expander_activate(self, widget):
|
|
||||||
widgets = self.get_matching_widgets(widget)
|
|
||||||
|
|
||||||
def update_jid(self,widget):
|
def update_jid(self,widget):
|
||||||
widgets = self.get_matching_widgets(widget)
|
widgets = self.get_matching_widgets(widget)
|
||||||
name = widgets['nick_entry'].get_text().decode('utf-8')
|
name = widgets['nick_entry'].get_text().decode('utf-8')
|
||||||
|
|
Loading…
Reference in New Issue