mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[GTKUI] Fix text typo and mark for translation
This commit is contained in:
parent
8c4a08bb87
commit
ade26794ec
1 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ class MainWindow(component.Component):
|
|||
self.load_window_state()
|
||||
|
||||
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):
|
||||
if response_id == gtk.RESPONSE_OK:
|
||||
if self.config["tray_password"] == sha(dialog.get_password()).hexdigest():
|
||||
|
@ -207,7 +207,7 @@ class MainWindow(component.Component):
|
|||
d.addBoth(stop_reactor)
|
||||
|
||||
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):
|
||||
if response_id == gtk.RESPONSE_OK:
|
||||
if self.config["tray_password"] == sha(dialog.get_password()).hexdigest():
|
||||
|
|
Loading…
Add table
Reference in a new issue