mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Fixes the message on warning dialog of chat closing
This commit is contained in:
parent
ec8ef54a6a
commit
b5e113db35
@ -203,6 +203,7 @@
|
||||
"gui_close_tab_warning_persistent_description": "Close persistent tab and lose the onion address it is using?",
|
||||
"gui_close_tab_warning_share_description": "Close tab that is sending files?",
|
||||
"gui_close_tab_warning_receive_description": "Close tab that is receiving files?",
|
||||
"gui_close_tab_warning_chat_description": "Close tab that is hosting a chat server?",
|
||||
"gui_close_tab_warning_website_description": "Close tab that is hosting a website?",
|
||||
"gui_close_tab_warning_close": "Close",
|
||||
"gui_close_tab_warning_cancel": "Cancel",
|
||||
|
@ -646,6 +646,8 @@ class Tab(QtWidgets.QWidget):
|
||||
dialog_text = strings._("gui_close_tab_warning_share_description")
|
||||
elif self.mode == self.common.gui.MODE_RECEIVE:
|
||||
dialog_text = strings._("gui_close_tab_warning_receive_description")
|
||||
elif self.mode == self.common.gui.MODE_CHAT:
|
||||
dialog_text = strings._("gui_close_tab_warning_chat_description")
|
||||
else:
|
||||
dialog_text = strings._("gui_close_tab_warning_website_description")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user