mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-06 22:09:15 -04:00
Merge pull request #1702 from SaptakS/correct-chat-close-msg
Fixes the message on warning dialog of chat closing
This commit is contained in:
commit
d758448ac2
2 changed files with 3 additions and 0 deletions
|
@ -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_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_share_description": "Close tab that is sending files?",
|
||||||
"gui_close_tab_warning_receive_description": "Close tab that is receiving 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_website_description": "Close tab that is hosting a website?",
|
||||||
"gui_close_tab_warning_close": "Close",
|
"gui_close_tab_warning_close": "Close",
|
||||||
"gui_close_tab_warning_cancel": "Cancel",
|
"gui_close_tab_warning_cancel": "Cancel",
|
||||||
|
|
|
@ -646,6 +646,8 @@ class Tab(QtWidgets.QWidget):
|
||||||
dialog_text = strings._("gui_close_tab_warning_share_description")
|
dialog_text = strings._("gui_close_tab_warning_share_description")
|
||||||
elif self.mode == self.common.gui.MODE_RECEIVE:
|
elif self.mode == self.common.gui.MODE_RECEIVE:
|
||||||
dialog_text = strings._("gui_close_tab_warning_receive_description")
|
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:
|
else:
|
||||||
dialog_text = strings._("gui_close_tab_warning_website_description")
|
dialog_text = strings._("gui_close_tab_warning_website_description")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue