From e2a856e5eb5c955669b6daa74f48005b34fa4e86 Mon Sep 17 00:00:00 2001 From: shenmo Date: Sun, 22 Sep 2024 23:59:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B1=9E=E6=80=A7=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E6=98=AF=E7=93=A2=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dialogs/propertydialog.cpp | 2 +- dde-file-manager/main.cpp | 2 +- ....deepin.pkexec.usb-device-formatter.policy | 52 ++++++++++++------- 3 files changed, 36 insertions(+), 20 deletions(-) diff --git a/dde-file-manager-lib/dialogs/propertydialog.cpp b/dde-file-manager-lib/dialogs/propertydialog.cpp index 5409dda..bea6b3c 100644 --- a/dde-file-manager-lib/dialogs/propertydialog.cpp +++ b/dde-file-manager-lib/dialogs/propertydialog.cpp @@ -461,7 +461,7 @@ void PropertyDialog::initUI() QFrame *frame = new QFrame(this); frame->setLayout(m_mainLayout); - addContent(frame); + addContent(frame, Qt::AlignCenter); } void PropertyDialog::initConnect() diff --git a/dde-file-manager/main.cpp b/dde-file-manager/main.cpp index c46ccf3..af81181 100644 --- a/dde-file-manager/main.cpp +++ b/dde-file-manager/main.cpp @@ -112,7 +112,7 @@ int main(int argc, char *argv[]) app.setApplicationVersion(DApplication::buildVersion((QMAKE_VERSION))); QIcon icon(":/images/images/dde-file-manager_96.svg"); app.setProductIcon(icon); - app.setApplicationAcknowledgementPage("https://www.deepin.org/acknowledgments/" + qApp->applicationName()); + app.setApplicationAcknowledgementPage("https://www.gxde.top/" + qApp->applicationName()); app.setApplicationDescription(app.translate("Application", "File Manager is a file management tool independently " "developed by Deepin Technology, featured with searching, " "copying, trash, compression/decompression, file property " diff --git a/usb-device-formatter/pkexec/com.deepin.pkexec.usb-device-formatter.policy b/usb-device-formatter/pkexec/com.deepin.pkexec.usb-device-formatter.policy index 8f0537d..cba4fcc 100644 --- a/usb-device-formatter/pkexec/com.deepin.pkexec.usb-device-formatter.policy +++ b/usb-device-formatter/pkexec/com.deepin.pkexec.usb-device-formatter.policy @@ -1,21 +1,37 @@ - + - LinuxDeepin - https://www.deepin.com/ - - Authentication is required to run the USB Device Formatter - 运行 U 盘格式化工具需要输入密码 - usb-device-formatter - - no - no - auth_admin_keep - - /usr/bin/usb-device-formatter - true - - + LinuxDeepin + https://www.deepin.com/ + + Authentication is required to run the USB Device Formatter + usb-device-formatter + + no + no + auth_admin_keep + + /usr/bin/usb-device-formatter + true + Ríquese l'autenticación pa executar el formatiador de preseos USB + Cal autenticació per executar el Formatador de dispositius USB + Pro běh formátovače zařízení USB je požadováno ověření + Um USB Speicher zu formatieren ist eine Authentifizierung erforderlich. + Authentication-required to run the "USB Device formatter" + L'authentification est obligatoire pour exécuter le formatage du périphérique USB + A művelethez hitelesítés szükséges. + Autenticazione richiesta per eseguire la formattazione del dispositivo + USBデバイスフォーマッターを実行するには認証が必要です + Norint paleisti USB įrenginio formatavimo programą, reikalingas tapatybės nustatymas + Authenticatie vereist om USB-apparaatformattering uit te voeren + A autenticação é necessária para executar o Formatador de dispositivo USB + A autenticação é necessária para executar a Formatação do Dispositivo USB + Требуется аутентификация для запуска форматирования устройства USB + Аутентификација је неопходна за покретање форматирања УСБ уређаја + USB Aygıt Biçimlendirici çalışması için kimlik doğrulaması gerekli + Щоб мати змогу запускати засіб форматування пристроїв USB, слід пройти розпізнавання + 运行USB格式化工具需要认证 + 執行 USB 裝置格式化工具需要身份驗證 +