From 6d56b673c4876afebd02d09b9742354b0e74bce8 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Thu, 16 Oct 2025 12:23:33 +0200 Subject: [PATCH] Don't call direct messages friends Not every person I communicate with is necessarily my friend Use a more neutral term BUG: 480167 --- src/app/qml/GlobalMenu.qml | 4 ++-- src/app/qml/UserSearchPage.qml | 4 ++-- src/libneochat/enums/neochatroomtype.h | 4 ++-- src/rooms/SpaceDrawer.qml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/qml/GlobalMenu.qml b/src/app/qml/GlobalMenu.qml index 7efa78314..8c3d29627 100644 --- a/src/app/qml/GlobalMenu.qml +++ b/src/app/qml/GlobalMenu.qml @@ -22,12 +22,12 @@ Labs.MenuBar { Labs.MenuItem { icon.name: "list-add-user" - text: i18nc("@action:inmenu", "Find your Friends") + text: i18nc("@action:inmenu", "Find User") enabled: root.connection onTriggered: root.appWindow.pageStack.pushDialogLayer(Qt.createComponent('org.kde.neochat', 'UserSearchPage'), { connection: root.connection }, { - title: i18nc("@title", "Find your friends") + title: i18nc("@title", "Find User") }) } Labs.MenuItem { diff --git a/src/app/qml/UserSearchPage.qml b/src/app/qml/UserSearchPage.qml index 348c65be6..4a93224c2 100644 --- a/src/app/qml/UserSearchPage.qml +++ b/src/app/qml/UserSearchPage.qml @@ -30,7 +30,7 @@ SearchPage { */ required property NeoChatConnection connection - title: i18nc("@action:title", "Find Your Friends") + title: i18nc("@action:title", "Find User") Component.onCompleted: focusSearch() @@ -81,7 +81,7 @@ SearchPage { } QQC2.Label { visible: userDelegate.directChatExists - text: i18nc("@info", "Friends") + text: i18nc("@info", "Direct Messages") textFormat: Text.PlainText color: Kirigami.Theme.positiveTextColor } diff --git a/src/libneochat/enums/neochatroomtype.h b/src/libneochat/enums/neochatroomtype.h index 8963eeec1..e4d7e0af2 100644 --- a/src/libneochat/enums/neochatroomtype.h +++ b/src/libneochat/enums/neochatroomtype.h @@ -30,7 +30,7 @@ public: ServerNotice, /**< Official messages from the server. */ Deprioritized, /**< The room is set as low priority. */ Space, /**< The room is a space. */ - AddDirect, /**< So we can show the add friend delegate. */ + AddDirect, /**< So we can show the add direct message delegate. */ TypesCount, /**< Number of different types (this should always be last). */ }; Q_ENUM(Types); @@ -66,7 +66,7 @@ public: case NeoChatRoomType::Favorite: return i18n("Favorite"); case NeoChatRoomType::Direct: - return i18n("Friends"); + return i18n("Direct Messages"); case NeoChatRoomType::Normal: return i18n("Normal"); case NeoChatRoomType::Deprioritized: diff --git a/src/rooms/SpaceDrawer.qml b/src/rooms/SpaceDrawer.qml index 70bce77f3..99b6fcede 100644 --- a/src/rooms/SpaceDrawer.qml +++ b/src/rooms/SpaceDrawer.qml @@ -136,10 +136,10 @@ QQC2.Control { text: { if (directChatButton.hasCountableNotifications) { - return i18ncp("@button View all one-on-one chats with your friends.", "Friends (%1 notification)", "Friends (%1 notifications)", root.connection.directChatNotifications + root.connection.directChatInvites); + return i18ncp("@button View all one-on-one chats.", "Direct Messages (%1 notification)", "Direct Messages (%1 notifications)", root.connection.directChatNotifications + root.connection.directChatInvites); } - return i18nc("@button View all one-on-one chats with your friends.", "Friends"); + return i18nc("@button View all one-on-one chats.", "Direct Messages"); } contentItem: Kirigami.Icon { source: "system-users-symbolic"