aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/onionshare/resources/locale/en.json1
-rw-r--r--desktop/onionshare/tab/tab.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/desktop/onionshare/resources/locale/en.json b/desktop/onionshare/resources/locale/en.json
index c9e6d86a..a94325f0 100644
--- a/desktop/onionshare/resources/locale/en.json
+++ b/desktop/onionshare/resources/locale/en.json
@@ -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",
diff --git a/desktop/onionshare/tab/tab.py b/desktop/onionshare/tab/tab.py
index 86c55088..ab6cc3e5 100644
--- a/desktop/onionshare/tab/tab.py
+++ b/desktop/onionshare/tab/tab.py
@@ -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")