Skip to content

Commit 3a07ed3

Browse files
sync: from linuxdeepin/dde-session-shell
Synchronize source files from linuxdeepin/dde-session-shell. Source-pull-request: linuxdeepin/dde-session-shell#62
1 parent 403699f commit 3a07ed3

File tree

6 files changed

+27
-25
lines changed

6 files changed

+27
-25
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ build*/
1818
*.core
1919
*.autosave
2020
*.user*
21+
obj-x86_64-linux-gnu/*
2122

2223
# qm file is auto generate from .ts file
2324
*.qm

plugins/login-gesture/translations/login-gesture_es.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
</message>
4848
<message>
4949
<source>Device is locked, unlocked after %1 minutes</source>
50-
<translation type="unfinished"/>
50+
<translation>El dispositivo está bloqueado, se desbloqueará después de %1 minutos.</translation>
5151
</message>
5252
<message>
5353
<source>Modify gesture password</source>
@@ -63,35 +63,35 @@
6363
</message>
6464
<message>
6565
<source>Drawing error, Contact the administrator to reset</source>
66-
<translation type="unfinished"/>
66+
<translation>Patrón incorrecto. Contacte con el administrador para restablecerlo.</translation>
6767
</message>
6868
<message>
6969
<source>Cancel</source>
70-
<translation type="unfinished"/>
70+
<translation>Cancelar</translation>
7171
</message>
7272
<message>
7373
<source>Ok</source>
74-
<translation type="unfinished"/>
74+
<translation>Aceptar</translation>
7575
</message>
7676
<message>
7777
<source>Drawing error, %1 chances left. Contact the administrator to reset</source>
78-
<translation type="unfinished"/>
78+
<translation>Patrón incorrecto, quedan 1 oportunidad. Contacta con el administrador para reiniciar.</translation>
7979
</message>
8080
<message>
8181
<source>Setup completed Start unlock</source>
82-
<translation type="unfinished"/>
82+
<translation>Configuración completada. Iniciar desbloqueo.</translation>
8383
</message>
8484
<message>
8585
<source>Unlock with gesture password</source>
86-
<translation type="unfinished"/>
86+
<translation>Desbloquea con contraseña gestual</translation>
8787
</message>
8888
<message>
8989
<source>Minimum 4 points, please redraw</source>
90-
<translation type="unfinished"/>
90+
<translation>Mínimo 4 puntos, por favor vuelva a dibujar.</translation>
9191
</message>
9292
<message>
9393
<source>Contact the administrator to reset</source>
94-
<translation type="unfinished"/>
94+
<translation>Póngase en contacto con la administrador para restablecer</translation>
9595
</message>
9696
</context>
9797
</TS>

plugins/login-gesture/translations/login-gesture_uk.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
</message>
4848
<message>
4949
<source>Device is locked, unlocked after %1 minutes</source>
50-
<translation type="unfinished"/>
50+
<translation>Пристрій заблоковано. Його розблокування відбудеться за %1 хвилин</translation>
5151
</message>
5252
<message>
5353
<source>Modify gesture password</source>
@@ -63,35 +63,35 @@
6363
</message>
6464
<message>
6565
<source>Drawing error, Contact the administrator to reset</source>
66-
<translation type="unfinished"/>
66+
<translation>Помилка малювання. Для скидання зверніться до адміністратора</translation>
6767
</message>
6868
<message>
6969
<source>Cancel</source>
70-
<translation type="unfinished"/>
70+
<translation>Скасувати</translation>
7171
</message>
7272
<message>
7373
<source>Ok</source>
74-
<translation type="unfinished"/>
74+
<translation>Гаразд</translation>
7575
</message>
7676
<message>
7777
<source>Drawing error, %1 chances left. Contact the administrator to reset</source>
78-
<translation type="unfinished"/>
78+
<translation>Помилка малювання. Лишилося %1 спроб. Для скидання зверніться до адміністратора</translation>
7979
</message>
8080
<message>
8181
<source>Setup completed Start unlock</source>
8282
<translation type="unfinished"/>
8383
</message>
8484
<message>
8585
<source>Unlock with gesture password</source>
86-
<translation type="unfinished"/>
86+
<translation>Розблокувати за допомогою жесту</translation>
8787
</message>
8888
<message>
8989
<source>Minimum 4 points, please redraw</source>
90-
<translation type="unfinished"/>
90+
<translation>Мінімум 4 точки, будь ласка, повторіть малювання</translation>
9191
</message>
9292
<message>
9393
<source>Contact the administrator to reset</source>
94-
<translation type="unfinished"/>
94+
<translation>Для скидання зверніться до адміністратора</translation>
9595
</message>
9696
</context>
9797
</TS>

src/session-widgets/auth_face.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: 2021 - 2022 UnionTech Software Technology Co., Ltd.
1+
// SPDX-FileCopyrightText: 2021 - 2026 UnionTech Software Technology Co., Ltd.
22
//
33
// SPDX-License-Identifier: GPL-3.0-or-later
44

@@ -32,7 +32,8 @@ void AuthFace::initUI()
3232
/* 文案提示 */
3333
m_textLabel->setText(tr("Face ID"));
3434
m_textLabel->setWordWrap(true);
35-
mainLayout->addWidget(m_textLabel, 1, Qt::AlignHCenter);
35+
m_textLabel->setAlignment(Qt::AlignmentFlag::AlignCenter);
36+
mainLayout->addWidget(m_textLabel, 1);
3637
/* 认证状态 */
3738
m_authStateLabel = new DLabel(this);
3839
m_authStateLabel->installEventFilter(this);

translations/dde-session-shell_pt_BR.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
<name>AuthWidget</name>
201201
<message>
202202
<source>Account</source>
203-
<translation>Conta</translation>
203+
<translation>Contas</translation>
204204
</message>
205205
<message numerus="yes">
206206
<source>Your password will expire in %n days, please change it timely</source>

translations/dde-session-shell_uk.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
<name>DeepinAuthFramework</name>
224224
<message>
225225
<source>Wrong Password</source>
226-
<translation type="unfinished"/>
226+
<translation>Помилковий пароль</translation>
227227
</message>
228228
</context>
229229
<context>
@@ -383,19 +383,19 @@
383383
<name>UsersWithTheSameName</name>
384384
<message>
385385
<source>Return</source>
386-
<translation type="unfinished"/>
386+
<translation>Повернутися</translation>
387387
</message>
388388
<message>
389389
<source>Please select the account for login</source>
390-
<translation type="unfinished"/>
390+
<translation>Будь ласка, виберіть обліковий запис для входу</translation>
391391
</message>
392392
<message>
393393
<source>Local Account</source>
394-
<translation type="unfinished"/>
394+
<translation>Локальний обліковий запис</translation>
395395
</message>
396396
<message>
397397
<source>Domain Account</source>
398-
<translation type="unfinished"/>
398+
<translation>Доменний обліковий запис</translation>
399399
</message>
400400
</context>
401401
<context>

0 commit comments

Comments
 (0)