Commit e7a767bd authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Simplify toolview titles

parent 621a34a8
Pipeline #142073 passed with stage
in 3 minutes and 37 seconds
......@@ -114,7 +114,7 @@ KateBtBrowserPluginView::KateBtBrowserPluginView(KateBtBrowserPlugin *plugin, KT
QStringLiteral("kate_private_plugin_katebacktracebrowserplugin"),
KTextEditor::MainWindow::Bottom,
QIcon::fromTheme(QStringLiteral("tools-report-bug")),
i18n("Backtrace Browser"));
i18n("Backtrace"));
m_widget = new KateBtBrowserWidget(mainWindow, toolview);
connect(plugin, &KateBtBrowserPlugin::newStatus, m_widget, &KateBtBrowserWidget::setStatus);
......
......@@ -66,7 +66,7 @@ KateFileBrowserPluginView::KateFileBrowserPluginView(KTextEditor::Plugin *plugin
QStringLiteral("kate_private_plugin_katefileselectorplugin"),
KTextEditor::MainWindow::Left,
QIcon::fromTheme(QStringLiteral("document-open")),
i18n("Filesystem Browser")))
i18n("Filesystem")))
, m_mainWindow(mainWindow)
{
m_toolView->installEventFilter(this);
......
......@@ -69,11 +69,8 @@ KatePluginGDBView::KatePluginGDBView(KTextEditor::Plugin *plugin, KTextEditor::M
KXMLGUIClient::setComponentName(QStringLiteral("kategdb"), i18n("Kate GDB"));
setXMLFile(QStringLiteral("ui.rc"));
m_toolView.reset(m_mainWin->createToolView(plugin,
i18n("Debug View"),
KTextEditor::MainWindow::Bottom,
QIcon::fromTheme(QStringLiteral("debug-run")),
i18n("Debug View")));
m_toolView.reset(
m_mainWin->createToolView(plugin, i18n("Debug View"), KTextEditor::MainWindow::Bottom, QIcon::fromTheme(QStringLiteral("debug-run")), i18n("Debug")));
m_localsStackToolView.reset(m_mainWin->createToolView(plugin,
i18n("Locals and Stack"),
......
......@@ -132,7 +132,7 @@ KateBuildView::KateBuildView(KTextEditor::Plugin *plugin, KTextEditor::MainWindo
QStringLiteral("kate_plugin_katebuildplugin"),
KTextEditor::MainWindow::Bottom,
QIcon::fromTheme(QStringLiteral("application-x-ms-dos-executable")),
i18n("Build Output"));
i18n("Build"));
QAction *a = actionCollection()->addAction(QStringLiteral("select_target"));
a->setText(i18n("Select Target..."));
......
......@@ -50,13 +50,13 @@ KateSQLView::KateSQLView(KTextEditor::Plugin *plugin, KTextEditor::MainWindow *m
QStringLiteral("kate_private_plugin_katesql_output"),
KTextEditor::MainWindow::Bottom,
QIcon::fromTheme(QStringLiteral("view-form-table")),
i18nc("@title:window", "SQL Results"));
i18nc("@title:window", "SQL"));
m_schemaBrowserToolView = mw->createToolView(plugin,
QStringLiteral("kate_private_plugin_katesql_schemabrowser"),
KTextEditor::MainWindow::Left,
QIcon::fromTheme(QStringLiteral("view-list-tree")),
i18nc("@title:window", "SQL Schema Browser"));
i18nc("@title:window", "SQL Schema"));
m_outputWidget = new KateSQLOutputWidget(m_outputToolView);
......
......@@ -101,7 +101,7 @@ KateKonsolePluginView::KateKonsolePluginView(KateKonsolePlugin *plugin, KTextEdi
QStringLiteral("kate_private_plugin_katekonsoleplugin"),
KTextEditor::MainWindow::Bottom,
QIcon::fromTheme(QStringLiteral("dialog-scripts")),
i18n("Terminal Panel"));
i18n("Terminal"));
m_console = new KateConsole(m_plugin, mainWindow, toolview);
// register this view
......
......@@ -738,7 +738,7 @@ public:
QStringLiteral("kate_lspclient"),
KTextEditor::MainWindow::Bottom,
QIcon::fromTheme(QStringLiteral("application-x-ms-dos-executable")),
i18n("LSP Client")));
i18n("LSP")));
m_tabWidget = new QTabWidget(m_toolView.data());
m_toolView->layout()->addWidget(m_tabWidget);
m_tabWidget->setFocusPolicy(Qt::NoFocus);
......
......@@ -237,7 +237,7 @@ public:
QStringLiteral("lspclient_symbol_outline"),
KTextEditor::MainWindow::Right,
QIcon::fromTheme(QStringLiteral("code-context")),
i18n("LSP Client Symbol Outline")));
i18n("Symbol Outline")));
m_symbols = new QTreeView(m_toolview.data());
m_symbols->setFocusPolicy(Qt::NoFocus);
......
......@@ -72,7 +72,7 @@ KateProjectPluginView::KateProjectPluginView(KateProjectPlugin *plugin, KTextEdi
QStringLiteral("kateprojectinfo"),
KTextEditor::MainWindow::Bottom,
QIcon::fromTheme(QStringLiteral("view-choose")),
i18n("Current Project"));
i18n("Project"));
/**
* create the combo + buttons for the toolViews + stacked widgets
......
......@@ -52,7 +52,7 @@ ReplicodeView::ReplicodeView(KTextEditor::Plugin *plugin, KTextEditor::MainWindo
QStringLiteral("kate_private_plugin_katereplicodeplugin_run"),
KTextEditor::MainWindow::Bottom,
QIcon::fromTheme(QStringLiteral("code-block")),
i18n("Replicode Output")));
i18n("Replicode")));
m_replicodeOutput = new QListWidget(m_toolview.get());
m_replicodeOutput->setSelectionMode(QAbstractItemView::ContiguousSelection);
connect(m_replicodeOutput, &QListWidget::itemActivated, this, &ReplicodeView::outputClicked);
......
......@@ -300,7 +300,7 @@ KatePluginSearchView::KatePluginSearchView(KTextEditor::Plugin *plugin, KTextEdi
QStringLiteral("kate_plugin_katesearch"),
KTextEditor::MainWindow::Bottom,
QIcon::fromTheme(QStringLiteral("edit-find")),
i18n("Search and Replace"));
i18n("Search"));
ContainerWidget *container = new ContainerWidget(m_toolView);
QWidget *searchUi = new QWidget(container);
......
......@@ -110,7 +110,7 @@ PluginKateXMLCheckView::PluginKateXMLCheckView(KTextEditor::Plugin *plugin, KTex
QStringLiteral("kate_plugin_xmlcheck_ouputview"),
KTextEditor::MainWindow::Bottom,
QIcon::fromTheme(QStringLiteral("misc")),
i18n("XML Checker Output"));
i18n("XML Checker"));
listview = new QTreeWidget(dock);
m_tmp_file = nullptr;
QAction *a = actionCollection()->addAction(QStringLiteral("xml_check"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment