From 3bd8af24d0491b9f5e579337a522b4257b90e3fc Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Sat, 11 Apr 2026 12:06:07 +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/62 --- .gitignore | 1 + .../translations/login-gesture_es.ts | 18 +++++++++--------- .../translations/login-gesture_uk.ts | 18 +++++++++--------- src/session-widgets/auth_face.cpp | 5 +++-- translations/dde-session-shell_pt_BR.ts | 2 +- translations/dde-session-shell_uk.ts | 10 +++++----- 6 files changed, 28 insertions(+), 26 deletions(-) diff --git a/.gitignore b/.gitignore index f4f7381b0..63b1fefcd 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ build*/ *.core *.autosave *.user* +obj-x86_64-linux-gnu/* # qm file is auto generate from .ts file *.qm diff --git a/plugins/login-gesture/translations/login-gesture_es.ts b/plugins/login-gesture/translations/login-gesture_es.ts index 160eafad4..9f3621d60 100644 --- a/plugins/login-gesture/translations/login-gesture_es.ts +++ b/plugins/login-gesture/translations/login-gesture_es.ts @@ -47,7 +47,7 @@ Device is locked, unlocked after %1 minutes - + El dispositivo está bloqueado, se desbloqueará después de %1 minutos. Modify gesture password @@ -63,35 +63,35 @@ Drawing error, Contact the administrator to reset - + Patrón incorrecto. Contacte con el administrador para restablecerlo. Cancel - + Cancelar Ok - + Aceptar Drawing error, %1 chances left. Contact the administrator to reset - + Patrón incorrecto, quedan 1 oportunidad. Contacta con el administrador para reiniciar. Setup completed Start unlock - + Configuración completada. Iniciar desbloqueo. Unlock with gesture password - + Desbloquea con contraseña gestual Minimum 4 points, please redraw - + Mínimo 4 puntos, por favor vuelva a dibujar. Contact the administrator to reset - + Póngase en contacto con la administrador para restablecer \ No newline at end of file diff --git a/plugins/login-gesture/translations/login-gesture_uk.ts b/plugins/login-gesture/translations/login-gesture_uk.ts index 7a37e84c5..9a4651c6a 100644 --- a/plugins/login-gesture/translations/login-gesture_uk.ts +++ b/plugins/login-gesture/translations/login-gesture_uk.ts @@ -47,7 +47,7 @@ Device is locked, unlocked after %1 minutes - + Пристрій заблоковано. Його розблокування відбудеться за %1 хвилин Modify gesture password @@ -63,35 +63,35 @@ Drawing error, Contact the administrator to reset - + Помилка малювання. Для скидання зверніться до адміністратора Cancel - + Скасувати Ok - + Гаразд Drawing error, %1 chances left. Contact the administrator to reset - + Помилка малювання. Лишилося %1 спроб. Для скидання зверніться до адміністратора Setup completed Start unlock - + Налаштування завершено. Можна починати Unlock with gesture password - + Розблокувати за допомогою жесту Minimum 4 points, please redraw - + Мінімум 4 точки, будь ласка, повторіть малювання Contact the administrator to reset - + Для скидання зверніться до адміністратора \ No newline at end of file diff --git a/src/session-widgets/auth_face.cpp b/src/session-widgets/auth_face.cpp index 11b8841d6..30eaf1cd9 100644 --- a/src/session-widgets/auth_face.cpp +++ b/src/session-widgets/auth_face.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2021 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2021 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: GPL-3.0-or-later @@ -32,7 +32,8 @@ void AuthFace::initUI() /* 文案提示 */ m_textLabel->setText(tr("Face ID")); m_textLabel->setWordWrap(true); - mainLayout->addWidget(m_textLabel, 1, Qt::AlignHCenter); + m_textLabel->setAlignment(Qt::AlignmentFlag::AlignCenter); + mainLayout->addWidget(m_textLabel, 1); /* 认证状态 */ m_authStateLabel = new DLabel(this); m_authStateLabel->installEventFilter(this); diff --git a/translations/dde-session-shell_pt_BR.ts b/translations/dde-session-shell_pt_BR.ts index b5d572d3b..feb793d06 100644 --- a/translations/dde-session-shell_pt_BR.ts +++ b/translations/dde-session-shell_pt_BR.ts @@ -200,7 +200,7 @@ AuthWidget Account - Conta + Contas Your password will expire in %n days, please change it timely diff --git a/translations/dde-session-shell_uk.ts b/translations/dde-session-shell_uk.ts index da2086016..a807a0480 100644 --- a/translations/dde-session-shell_uk.ts +++ b/translations/dde-session-shell_uk.ts @@ -223,7 +223,7 @@ DeepinAuthFramework Wrong Password - + Помилковий пароль @@ -383,19 +383,19 @@ UsersWithTheSameName Return - + Повернутися Please select the account for login - + Будь ласка, виберіть обліковий запис для входу Local Account - + Локальний обліковий запис Domain Account - + Доменний обліковий запис