From aeee367e8216c452581637d8d95e092e492af6af Mon Sep 17 00:00:00 2001 From: Jack Hill Date: Tue, 28 Dec 2021 16:51:30 +0000 Subject: [PATCH] Changed "Settings" to "Configure NeoChat" in menu Changed both the hamburger menu and the global menu Fix #489 --- imports/NeoChat/Menu/GlobalMenu.qml | 4 ++-- qml/main.qml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/imports/NeoChat/Menu/GlobalMenu.qml b/imports/NeoChat/Menu/GlobalMenu.qml index cb63bf1d9..596251814 100644 --- a/imports/NeoChat/Menu/GlobalMenu.qml +++ b/imports/NeoChat/Menu/GlobalMenu.qml @@ -24,8 +24,8 @@ Labs.MenuBar { // text: i18nc("menu", "About NeoChat") // } Labs.MenuItem { - enabled: pageStack.layers.currentItem.title !== i18n("Settings") - text: i18nc("menu", "Preferences…") + enabled: pageStack.layers.currentItem.title !== i18n("Configure NeoChat...") + text: i18nc("menu", "Configure NeoChat...") shortcut: StandardKey.Preferences onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml") diff --git a/qml/main.qml b/qml/main.qml index 01cd77476..3ef8f40e0 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -251,10 +251,10 @@ Kirigami.ApplicationWindow { enabled: pageStack.layers.currentItem.title !== i18n("Start a Chat") && Controller.accountCount > 0 }, Kirigami.Action { - text: i18n("Settings") + text: i18n("Configure NeoChat...") icon.name: "settings-configure" onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml") - enabled: pageStack.layers.currentItem.title !== i18n("Settings") + enabled: pageStack.layers.currentItem.title !== i18n("Configure NeoChat...") shortcut: StandardKey.Preferences }, Kirigami.Action {