summaryrefslogtreecommitdiff
path: root/src/common/fqterm_shortcuthelper.cpp
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-04-28 21:55:16 +0800
committerIru Cai <mytbk920423@gmail.com>2018-04-30 15:20:28 +0800
commit8b2b2f18b2539bb73769b2196af977023903b2db (patch)
treecf8903e8394247df18fa2862b37f74068677b2bb /src/common/fqterm_shortcuthelper.cpp
parentef70cc73c69d04e93c9af5fb49c5d762ba226801 (diff)
downloadfqterm-8b2b2f18b2539bb73769b2196af977023903b2db.tar.xz
Add a function to report connection info
Diffstat (limited to 'src/common/fqterm_shortcuthelper.cpp')
-rw-r--r--src/common/fqterm_shortcuthelper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/fqterm_shortcuthelper.cpp b/src/common/fqterm_shortcuthelper.cpp
index f4395c4..432ddb2 100644
--- a/src/common/fqterm_shortcuthelper.cpp
+++ b/src/common/fqterm_shortcuthelper.cpp
@@ -52,6 +52,7 @@ void FQTermShortcutHelper::initShortcutDescriptionTable()
initShortcutDescriptionTableEntry(CASCADEWINDOWS, "cascadewindows", tr(""), tr("Cascade Windows"));
initShortcutDescriptionTableEntry(TILEWINDOWS, "tilewindows", tr(""), tr("Tils Windows"));
initShortcutDescriptionTableEntry(DISCONNECT, "disconnect", tr(""), tr("Disconnect Host"), "disconnect");
+ initShortcutDescriptionTableEntry(CONN_INFO, "conninfo", tr(""), tr("Connection Info"), "conn_info");
initShortcutDescriptionTableEntry(ADDRESSBOOK, "addressbook", tr("F2"), tr("Address Book"), "address_book");
initShortcutDescriptionTableEntry(QUICKLOGIN, "quicklogin", tr("F3"), tr("Quick Login"), "quick_login");
#if defined(__APPLE__)
@@ -171,6 +172,7 @@ void FQTermShortcutHelper::retranslateAction(int shortcut, const QString& text)
void FQTermShortcutHelper::retranslateActions() {
retranslateAction(CONNECT, tr("&Connect"));
retranslateAction(DISCONNECT, tr("&Disconnect"));
+ retranslateAction(CONN_INFO, tr("Connection Info"));
retranslateAction(ADDRESSBOOK, tr("&Address book"));
retranslateAction(QUICKLOGIN, tr("&Quick login"));
retranslateAction(COPY, tr("&Copy"));