From 8b2b2f18b2539bb73769b2196af977023903b2db Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sat, 28 Apr 2018 21:55:16 +0800 Subject: Add a function to report connection info --- src/common/fqterm_shortcuthelper.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/fqterm_shortcuthelper.cpp') 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")); -- cgit v1.2.3