From 8e671dacd699fed91fa27df012f78a8dfc0faaf0 Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Thu, 7 May 2026 13:05:40 +0000 Subject: [PATCH] sync: from linuxdeepin/dde-session-shell Synchronize source files from linuxdeepin/dde-session-shell. Source-pull-request: https://github.com/linuxdeepin/dde-session-shell/pull/65 --- files/snipe/dde-lock.desktop | 7 +++++++ src/session-widgets/lockcontent.cpp | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/files/snipe/dde-lock.desktop b/files/snipe/dde-lock.desktop index 78e677fa0..f6cac0954 100644 --- a/files/snipe/dde-lock.desktop +++ b/files/snipe/dde-lock.desktop @@ -8,3 +8,10 @@ OnlyShowIn=DDE Type=Application X-Deepin-Vendor=user-custom X-Deepin-TurboType=dtkwidget + +Name[en_US]=Lock screen +Name[zh_CN]=锁屏 +Name[zh_TW]=鎖定螢幕 +Name[zh_HK]=鎖定螢幕 +Name[ug]=ئېكران قۇلۇپى +Name[bo]=བརྙན་ཡོལ་སྒོ་ལྕགས་རྒྱག་པ། diff --git a/src/session-widgets/lockcontent.cpp b/src/session-widgets/lockcontent.cpp index 0548bef45..ecd148939 100644 --- a/src/session-widgets/lockcontent.cpp +++ b/src/session-widgets/lockcontent.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: GPL-3.0-or-later @@ -836,7 +836,7 @@ void LockContent::tryGrabKeyboard(bool exitIfFailed) .path("/org/freedesktop/Notifications") .interface("org.freedesktop.Notifications") .method(QString("Notify")) - .arg(tr("Lock Screen")) + .arg(QString("dde-lock")) // appName .arg(static_cast(0)) .arg(QString("")) .arg(QString(""))