[GTKUI] Fix text typo and mark for translation
This commit is contained in:
parent
27682cb666
commit
5eba762a20
|
@ -185,7 +185,7 @@ class MainWindow(component.Component):
|
||||||
self.load_window_state()
|
self.load_window_state()
|
||||||
|
|
||||||
if self.config["lock_tray"] and not self.visible():
|
if self.config["lock_tray"] and not self.visible():
|
||||||
dialog = PasswordDialog("Enter your pasword to open Deluge.")
|
dialog = PasswordDialog(_("Enter your password to show Deluge..."))
|
||||||
|
|
||||||
def on_dialog_response(response_id):
|
def on_dialog_response(response_id):
|
||||||
if response_id == gtk.RESPONSE_OK:
|
if response_id == gtk.RESPONSE_OK:
|
||||||
|
@ -229,7 +229,7 @@ class MainWindow(component.Component):
|
||||||
stop_gtk_reactor()
|
stop_gtk_reactor()
|
||||||
|
|
||||||
if self.config["lock_tray"] and not self.visible():
|
if self.config["lock_tray"] and not self.visible():
|
||||||
dialog = PasswordDialog("Enter your pasword to Quit Deluge...")
|
dialog = PasswordDialog(_("Enter your password to Quit Deluge..."))
|
||||||
|
|
||||||
def on_dialog_response(response_id):
|
def on_dialog_response(response_id):
|
||||||
if response_id == gtk.RESPONSE_OK:
|
if response_id == gtk.RESPONSE_OK:
|
||||||
|
|
Loading…
Reference in New Issue