diff --git a/.gitignore b/.gitignore index f4f7381b..63b1fefc 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 160eafad..9f3621d6 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/src/session-widgets/auth_face.cpp b/src/session-widgets/auth_face.cpp index 11b8841d..30eaf1cd 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 b5d572d3..feb793d0 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