From 143cf002716bc03a7e195219507476c3d7b2ee88 Mon Sep 17 00:00:00 2001 From: tsujan Date: Thu, 25 Jul 2024 19:17:02 +0330 Subject: [PATCH] User-friendly texts for split menu-items (#1158) Closes https://github.com/lxqt/qterminal/issues/1157 --- src/config.h | 4 ++-- src/mainwindow.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config.h b/src/config.h index 0e7f70fa..c8f0fd04 100644 --- a/src/config.h +++ b/src/config.h @@ -35,8 +35,8 @@ #define CLEAR_TERMINAL "Clear Active Terminal" -#define SPLIT_HORIZONTAL "Split Terminal Horizontally" -#define SPLIT_VERTICAL "Split Terminal Vertically" +#define SPLIT_HORIZONTAL "Split View Top-Bottom" +#define SPLIT_VERTICAL "Split View Left-Right" #define SUB_COLLAPSE "Collapse Subterminal" #define SUB_LEFT "Left Subterminal" diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 83ee2916..6a2d2b45 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -291,10 +291,10 @@ void MainWindow::setup_ActionsMenu_Actions() menu_Actions->addSeparator(); - setup_Action(SPLIT_HORIZONTAL, new QAction(tr("Split Terminal &Horizontally"), settingOwner), + setup_Action(SPLIT_HORIZONTAL, new QAction(tr("Split &View Top-Bottom"), settingOwner), nullptr, consoleTabulator, SLOT(splitHorizontally()), menu_Actions); - setup_Action(SPLIT_VERTICAL, new QAction(tr("Split Terminal &Vertically"), settingOwner), + setup_Action(SPLIT_VERTICAL, new QAction(tr("Split Vie&w Left-Right"), settingOwner), nullptr, consoleTabulator, SLOT(splitVertically()), menu_Actions); data.setValue(checkSubterminals);