From 4f23d39446b970f22be725c1a9b5bd319e76d7fe Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Wed, 9 Jul 2025 08:55:22 +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/21 --- .reuse/dep5 | 9 +- LICENSES/GPL-3.0-or-later.txt | 8 +- .../login-udcp/qss/udcp_mfa_login_widget.qss | 6 + .../plugin_manager/modules_loader.cpp | 22 +- .../plugin_manager/modules_loader.h | 1 + .../pam_inhibit_autologin.c | 4 + src/session-widgets/fullmanagedauthwidget.h | 4 + src/widgets/abstractfullbackgroundinterface.h | 4 + src/widgets/popupwindow.cpp | 4 +- src/widgets/popupwindow.h | 4 +- translations/dde-session-shell_es_419.ts | 571 ++++++++++++++++++ translations/dde-session-shell_es_AR.ts | 571 ++++++++++++++++++ translations/dde-session-shell_es_CL.ts | 571 ++++++++++++++++++ translations/dde-session-shell_es_MX.ts | 571 ++++++++++++++++++ 14 files changed, 2337 insertions(+), 13 deletions(-) create mode 100644 translations/dde-session-shell_es_419.ts create mode 100644 translations/dde-session-shell_es_AR.ts create mode 100644 translations/dde-session-shell_es_CL.ts create mode 100644 translations/dde-session-shell_es_MX.ts diff --git a/.reuse/dep5 b/.reuse/dep5 index fae2097e5..e0353ad11 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -8,13 +8,18 @@ Files: README.md README.zh_CN.md Copyright: None License: CC-BY-4.0 +# cmake +Files: cmake/*.in cmake/*.cmake +Copyright: None +License: CC0-1.0 + # xml2cpp Files: src/global_util/dbus/* Copyright: The Qt Company Ltd. License: CC0-1.0 # Project file -Files: *.pro *.qrc *CMakeLists.txt *.cmake qt-theme.ini files/* scripts/* src/lightdm-deepin-greeter/deepin-greeter +Files: *.pro *.qrc *CMakeLists.txt *.cmake qt-theme.ini files/* scripts/* src/lightdm-deepin-greeter/deepin-greeter .project Copyright: None License: CC0-1.0 @@ -24,7 +29,7 @@ Copyright: UnionTech Software Technology Co., Ltd. License: GPL-3.0-or-later # png svg -Files: src/widgets/img/* misc/images/* src/session-widgets/img/* +Files: src/widgets/img/* misc/images/* src/session-widgets/img/* plugins/examples/login-plugins/login-udcp/images/* Copyright: UnionTech Software Technology Co., Ltd. License: GPL-3.0-or-later diff --git a/LICENSES/GPL-3.0-or-later.txt b/LICENSES/GPL-3.0-or-later.txt index d41c0bd98..f6cdd22a6 100644 --- a/LICENSES/GPL-3.0-or-later.txt +++ b/LICENSES/GPL-3.0-or-later.txt @@ -1,7 +1,7 @@ GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 -Copyright © 2007 Free Software Foundation, Inc. +Copyright © 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -215,7 +215,7 @@ To do so, attach the following notices to the program. It is safest to attach th This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License along with this program. If not, see . + You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -227,6 +227,6 @@ If the program does terminal interaction, make it output a short notice like thi The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”. -You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . +You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . -The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . +The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . diff --git a/plugins/examples/login-plugins/login-udcp/qss/udcp_mfa_login_widget.qss b/plugins/examples/login-plugins/login-udcp/qss/udcp_mfa_login_widget.qss index 8f53dfb2f..ef6f3af3c 100644 --- a/plugins/examples/login-plugins/login-udcp/qss/udcp_mfa_login_widget.qss +++ b/plugins/examples/login-plugins/login-udcp/qss/udcp_mfa_login_widget.qss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2021 - 2022 UnionTech Software Technology Co., Ltd. + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + QPushButton#sendButton { background-color: rgba(255, 255, 255, 76); color: white; diff --git a/src/global_util/plugin_manager/modules_loader.cpp b/src/global_util/plugin_manager/modules_loader.cpp index f886bb11f..bb97f0a2c 100644 --- a/src/global_util/plugin_manager/modules_loader.cpp +++ b/src/global_util/plugin_manager/modules_loader.cpp @@ -33,6 +33,12 @@ ModulesLoader::~ModulesLoader() { quit(); wait(); + + QMutexLocker locker(&m_mutex); + for (auto &loader : m_pluginLoaders) { + cleanupPluginLoader(loader); + } + m_pluginLoaders.clear(); } ModulesLoader& ModulesLoader::instance() @@ -78,7 +84,7 @@ void ModulesLoader::findModule(const QString& path) } qCInfo(DDE_SHELL) << "About to process " << module; - auto loader = new QPluginLoader(path); + auto loader = std::unique_ptr(new QPluginLoader(path)); // 检查兼容性 const QJsonObject meta = loader->metaData().value("MetaData").toObject(); @@ -134,7 +140,8 @@ void ModulesLoader::findModule(const QString& path) loader->moveToThread(qApp->thread()); QMutexLocker locker(&m_mutex); - m_pluginLoaders.insert(moduleInstance->key(), QPointer(loader)); + m_pluginLoaders.insert(moduleInstance->key(), QPointer(loader.get())); + loader.release(); // 释放所有权,防止 QPluginLoader 被析构 PluginManager::instance()->addPlugin(moduleInstance, version); } m_loadLoginModule = true; @@ -268,6 +275,7 @@ bool ModulesLoader::isPluginEnabled(const QFileInfo& module) auto dbusInterface = new QDBusInterface(service, targetPath, interface, dbusConnection); if (!dbusInterface || !dbusInterface->isValid()) { qCWarning(DDE_SHELL) << "Check plugin enabled dbus interface is not valid."; + dbusInterface->deleteLater(); return false; } const bool pluginEnabled = dbusInterface->property(property.toStdString().c_str()).toBool(); @@ -346,6 +354,14 @@ void ModulesLoader::unloadPlugin(const QString& path) } } +void ModulesLoader::cleanupPluginLoader(QPluginLoader* loader) +{ + if (loader) { + loader->unload(); + loader->deleteLater(); + } +} + // TODO 只重新加载/卸载变更的插件 void ModulesLoader::onDConfigPropertyChanged(const QString& key, const QVariant& value, QObject* objPtr) { @@ -367,4 +383,4 @@ void ModulesLoader::onDbusPropertiesChanged(const QString& interfaceName, const start(QThread::LowestPriority); } } -} \ No newline at end of file +} diff --git a/src/global_util/plugin_manager/modules_loader.h b/src/global_util/plugin_manager/modules_loader.h index eb25802ad..504024fde 100644 --- a/src/global_util/plugin_manager/modules_loader.h +++ b/src/global_util/plugin_manager/modules_loader.h @@ -40,6 +40,7 @@ class ModulesLoader : public QThread bool isPluginEnabled(const QFileInfo &module); bool contains(const QString &pluginFile) const; QPair getPluginLoader(const QString &pluginFile) const; + void cleanupPluginLoader(QPluginLoader* loader); static void onDConfigPropertyChanged(const QString &key, const QVariant &value, QObject *objPtr); diff --git a/src/pam-inhibit-autologin/pam_inhibit_autologin.c b/src/pam-inhibit-autologin/pam_inhibit_autologin.c index 419678e28..e2e7f31de 100644 --- a/src/pam-inhibit-autologin/pam_inhibit_autologin.c +++ b/src/pam-inhibit-autologin/pam_inhibit_autologin.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2011 - 2025 UnionTech Software Technology Co., Ltd. +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include #include #include diff --git a/src/session-widgets/fullmanagedauthwidget.h b/src/session-widgets/fullmanagedauthwidget.h index 4dd938c14..269a24ecd 100644 --- a/src/session-widgets/fullmanagedauthwidget.h +++ b/src/session-widgets/fullmanagedauthwidget.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2021 - 2022 UnionTech Software Technology Co., Ltd. +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef FULLMANAGEDAUTHWIDGET_H #define FULLMANAGEDAUTHWIDGET_H diff --git a/src/widgets/abstractfullbackgroundinterface.h b/src/widgets/abstractfullbackgroundinterface.h index 8205dc65c..a0357f147 100644 --- a/src/widgets/abstractfullbackgroundinterface.h +++ b/src/widgets/abstractfullbackgroundinterface.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2011 - 2022 UnionTech Software Technology Co., Ltd. +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef ABSTRACTFULLBACKGROUND_H #define ABSTRACTFULLBACKGROUND_H diff --git a/src/widgets/popupwindow.cpp b/src/widgets/popupwindow.cpp index ffe40368c..8a5d2a071 100644 --- a/src/widgets/popupwindow.cpp +++ b/src/widgets/popupwindow.cpp @@ -1,6 +1,6 @@ -// SPDX-FileCopyrightText: 2011 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2021 - 2022 UnionTech Software Technology Co., Ltd. // -// SPDX-License-Identifier: LGPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-or-later #include "popupwindow.h" diff --git a/src/widgets/popupwindow.h b/src/widgets/popupwindow.h index 7720d8d4d..3a01c0334 100644 --- a/src/widgets/popupwindow.h +++ b/src/widgets/popupwindow.h @@ -1,6 +1,6 @@ -// SPDX-FileCopyrightText: 2011 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2021 - 2022 UnionTech Software Technology Co., Ltd. // -// SPDX-License-Identifier: LGPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef POPUPWINDOW_H #define POPUPWINDOW_H diff --git a/translations/dde-session-shell_es_419.ts b/translations/dde-session-shell_es_419.ts new file mode 100644 index 000000000..0460b7e64 --- /dev/null +++ b/translations/dde-session-shell_es_419.ts @@ -0,0 +1,571 @@ + + + AuthFace + + Face ID + + + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Verify your Face ID + + + + Face ID locked, use password please + + + + Device unavailable! + + + + + AuthFingerprint + + Verify your fingerprint + + + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Fingerprint locked, use password please + + + + + AuthIris + + Iris ID + + + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Verify your Iris ID + + + + Iris ID locked, use password please + + + + + AuthPasskey + + Please plug in the security key + + + + Verification successful + + + + Verification failed + + + + Identifying the security key + + + + + AuthPassword + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Wrong Password + + + + Password + + + + Please try again 1 minute later + + + + Please try again %n minutes later + + + + Reset Password + + + + Forgot password? + + + + + AuthSingle + + Please try again 1 minute later + + + + Please try again %n minutes later + + + + Reset Password + + + + Forgot password? + + + + + AuthUKey + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Wrong PIN + + + + UKey is required + + + + Enter your PIN + + + + Please try again %n minute(s) later + + + + Please try again 1 minute later + + + + Please try again %n minutes later + + + + + AuthWidget + + Account + + + + Your password will expire in %n days, please change it timely + + + + Password expired, please change + + + + Your password has expired. Please contact the administrator to change it + + + + Terminal locked, please contact administrator + + + + + GreeterWorker + + Wrong account + + + + Wrong Password + + + + + InhibitWarnView + + Cancel + + + + The reason of inhibit. + + + + + LighterGreeter + + Standard Mode + + + + + LockContent + + Lock Screen + + + + Failed to lock screen + + + + + LockWorker + + Fingerprint verification timed out, please enter your password manually + + + + Failed to match fingerprint + + + + + MultiUsersWarningView + + Cancel + + + + The above users are still logged in and data will be lost due to shutdown, are you sure you want to shut down? + + + + The above users are still logged in and data will be lost due to reboot, are you sure you want to reboot? + + + + + SessionWidget + + You have enabled the high system security level, thus cannot switch to the Wayland mode, please disable the high security level in Security Center and try again. + + + + + ShutdownWidget + + Shut down + + + + Reboot + + + + Suspend + + + + Hibernate + + + + Lock + + + + Log out + + + + Switch user + + + + Switch system + + + + Update and Shut Down + + + + Update and Reboot + + + + + SystemMonitor + + Start system monitor + + + + + UdcpMFALoginWidget + + 发送验证码 + + + + 请输入手机号 + + + + 请输入验证码 + + + + 获取验证码 + + + + + UpdateCompleteWidget + + View Logs + + + + Updates successful + + + + Your computer will reboot soon %1 + + + + Your computer will be turned off soon %1 + + + + + UpdateLogWidget + + Hide Logs + + + + + UpdateModel + + Update failed + + + + Unknown error + + + + Backup failed + + + + Dependency error + + + + Reboot + + + + Shut Down + + + + Unable to perform system backup. If you continue the updates, you cannot roll back to the old system later. + + + + Insufficient disk space. Please clean up your disk and try again. + + + + DPKG error + + + + Back Up Again + + + + Abort + + + + Proceed to Update + + + + Failed to connect to backup services. Please check and retry again. + + + + Failed to connect to update services. Please check and retry again. + + + + + UpdatePrepareWidget + + Preparing for updates… + + + + + UpdateProgressWidget + + Do not force a shutdown or power off when installing updates. Otherwise, your system may be damaged. + + + + + UpdateWorker + + Update + + + + Please plug in and then install updates. + + + + + WarningContent + + The programs are preventing the computer from shutting down, and forcing shut down may cause data loss. + + + + To close the program, click Cancel, and then close the program. + + + + The programs are preventing the computer from reboot, and forcing reboot may cause data loss. + + + + The programs are preventing the computer from suspend, and forcing suspend may cause data loss. + + + + The programs are preventing the computer from hibernate, and forcing hibernate may cause data loss. + + + + The programs are preventing the computer from log out, and forcing log out may cause data loss. + + + + Shut down + + + + Reboot + + + + Suspend + + + + Hibernate + + + + Log out + + + + Are you sure you want to shut down? + + + + Are you sure you want to reboot? + + + + Are you sure you want to log out? + + + + Update and Shut Down + + + + Update and Reboot + + + + Closing the programs and shutting down, please wait... + + + + Closing the programs and rebooting, please wait... + + + + Closing the programs and logging out, please wait... + + + + + dss::module::AssistLoginWidget + + Automatic login + + + + + dss::module::NetworkModule + + Turn on + + + + Turn off + + + + \ No newline at end of file diff --git a/translations/dde-session-shell_es_AR.ts b/translations/dde-session-shell_es_AR.ts new file mode 100644 index 000000000..3242b6a37 --- /dev/null +++ b/translations/dde-session-shell_es_AR.ts @@ -0,0 +1,571 @@ + + + AuthFace + + Face ID + + + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Verify your Face ID + + + + Face ID locked, use password please + + + + Device unavailable! + + + + + AuthFingerprint + + Verify your fingerprint + + + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Fingerprint locked, use password please + + + + + AuthIris + + Iris ID + + + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Verify your Iris ID + + + + Iris ID locked, use password please + + + + + AuthPasskey + + Please plug in the security key + + + + Verification successful + + + + Verification failed + + + + Identifying the security key + + + + + AuthPassword + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Wrong Password + + + + Password + + + + Please try again 1 minute later + + + + Please try again %n minutes later + + + + Reset Password + + + + Forgot password? + + + + + AuthSingle + + Please try again 1 minute later + + + + Please try again %n minutes later + + + + Reset Password + + + + Forgot password? + + + + + AuthUKey + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Wrong PIN + + + + UKey is required + + + + Enter your PIN + + + + Please try again %n minute(s) later + + + + Please try again 1 minute later + + + + Please try again %n minutes later + + + + + AuthWidget + + Account + + + + Your password will expire in %n days, please change it timely + + + + Password expired, please change + + + + Your password has expired. Please contact the administrator to change it + + + + Terminal locked, please contact administrator + + + + + GreeterWorker + + Wrong account + + + + Wrong Password + + + + + InhibitWarnView + + Cancel + + + + The reason of inhibit. + + + + + LighterGreeter + + Standard Mode + + + + + LockContent + + Lock Screen + + + + Failed to lock screen + + + + + LockWorker + + Fingerprint verification timed out, please enter your password manually + + + + Failed to match fingerprint + + + + + MultiUsersWarningView + + Cancel + + + + The above users are still logged in and data will be lost due to shutdown, are you sure you want to shut down? + + + + The above users are still logged in and data will be lost due to reboot, are you sure you want to reboot? + + + + + SessionWidget + + You have enabled the high system security level, thus cannot switch to the Wayland mode, please disable the high security level in Security Center and try again. + + + + + ShutdownWidget + + Shut down + + + + Reboot + + + + Suspend + + + + Hibernate + + + + Lock + + + + Log out + + + + Switch user + + + + Switch system + + + + Update and Shut Down + + + + Update and Reboot + + + + + SystemMonitor + + Start system monitor + + + + + UdcpMFALoginWidget + + 发送验证码 + + + + 请输入手机号 + + + + 请输入验证码 + + + + 获取验证码 + + + + + UpdateCompleteWidget + + View Logs + + + + Updates successful + + + + Your computer will reboot soon %1 + + + + Your computer will be turned off soon %1 + + + + + UpdateLogWidget + + Hide Logs + + + + + UpdateModel + + Update failed + + + + Unknown error + + + + Backup failed + + + + Dependency error + + + + Reboot + + + + Shut Down + + + + Unable to perform system backup. If you continue the updates, you cannot roll back to the old system later. + + + + Insufficient disk space. Please clean up your disk and try again. + + + + DPKG error + + + + Back Up Again + + + + Abort + + + + Proceed to Update + + + + Failed to connect to backup services. Please check and retry again. + + + + Failed to connect to update services. Please check and retry again. + + + + + UpdatePrepareWidget + + Preparing for updates… + + + + + UpdateProgressWidget + + Do not force a shutdown or power off when installing updates. Otherwise, your system may be damaged. + + + + + UpdateWorker + + Update + + + + Please plug in and then install updates. + + + + + WarningContent + + The programs are preventing the computer from shutting down, and forcing shut down may cause data loss. + + + + To close the program, click Cancel, and then close the program. + + + + The programs are preventing the computer from reboot, and forcing reboot may cause data loss. + + + + The programs are preventing the computer from suspend, and forcing suspend may cause data loss. + + + + The programs are preventing the computer from hibernate, and forcing hibernate may cause data loss. + + + + The programs are preventing the computer from log out, and forcing log out may cause data loss. + + + + Shut down + + + + Reboot + + + + Suspend + + + + Hibernate + + + + Log out + + + + Are you sure you want to shut down? + + + + Are you sure you want to reboot? + + + + Are you sure you want to log out? + + + + Update and Shut Down + + + + Update and Reboot + + + + Closing the programs and shutting down, please wait... + + + + Closing the programs and rebooting, please wait... + + + + Closing the programs and logging out, please wait... + + + + + dss::module::AssistLoginWidget + + Automatic login + + + + + dss::module::NetworkModule + + Turn on + + + + Turn off + + + + \ No newline at end of file diff --git a/translations/dde-session-shell_es_CL.ts b/translations/dde-session-shell_es_CL.ts new file mode 100644 index 000000000..6e3f67dbc --- /dev/null +++ b/translations/dde-session-shell_es_CL.ts @@ -0,0 +1,571 @@ + + + AuthFace + + Face ID + + + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Verify your Face ID + + + + Face ID locked, use password please + + + + Device unavailable! + + + + + AuthFingerprint + + Verify your fingerprint + + + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Fingerprint locked, use password please + + + + + AuthIris + + Iris ID + + + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Verify your Iris ID + + + + Iris ID locked, use password please + + + + + AuthPasskey + + Please plug in the security key + + + + Verification successful + + + + Verification failed + + + + Identifying the security key + + + + + AuthPassword + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Wrong Password + + + + Password + + + + Please try again 1 minute later + + + + Please try again %n minutes later + + + + Reset Password + + + + Forgot password? + + + + + AuthSingle + + Please try again 1 minute later + + + + Please try again %n minutes later + + + + Reset Password + + + + Forgot password? + + + + + AuthUKey + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Wrong PIN + + + + UKey is required + + + + Enter your PIN + + + + Please try again %n minute(s) later + + + + Please try again 1 minute later + + + + Please try again %n minutes later + + + + + AuthWidget + + Account + + + + Your password will expire in %n days, please change it timely + + + + Password expired, please change + + + + Your password has expired. Please contact the administrator to change it + + + + Terminal locked, please contact administrator + + + + + GreeterWorker + + Wrong account + + + + Wrong Password + + + + + InhibitWarnView + + Cancel + + + + The reason of inhibit. + + + + + LighterGreeter + + Standard Mode + + + + + LockContent + + Lock Screen + + + + Failed to lock screen + + + + + LockWorker + + Fingerprint verification timed out, please enter your password manually + + + + Failed to match fingerprint + + + + + MultiUsersWarningView + + Cancel + + + + The above users are still logged in and data will be lost due to shutdown, are you sure you want to shut down? + + + + The above users are still logged in and data will be lost due to reboot, are you sure you want to reboot? + + + + + SessionWidget + + You have enabled the high system security level, thus cannot switch to the Wayland mode, please disable the high security level in Security Center and try again. + + + + + ShutdownWidget + + Shut down + + + + Reboot + + + + Suspend + + + + Hibernate + + + + Lock + + + + Log out + + + + Switch user + + + + Switch system + + + + Update and Shut Down + + + + Update and Reboot + + + + + SystemMonitor + + Start system monitor + + + + + UdcpMFALoginWidget + + 发送验证码 + + + + 请输入手机号 + + + + 请输入验证码 + + + + 获取验证码 + + + + + UpdateCompleteWidget + + View Logs + + + + Updates successful + + + + Your computer will reboot soon %1 + + + + Your computer will be turned off soon %1 + + + + + UpdateLogWidget + + Hide Logs + + + + + UpdateModel + + Update failed + + + + Unknown error + + + + Backup failed + + + + Dependency error + + + + Reboot + + + + Shut Down + + + + Unable to perform system backup. If you continue the updates, you cannot roll back to the old system later. + + + + Insufficient disk space. Please clean up your disk and try again. + + + + DPKG error + + + + Back Up Again + + + + Abort + + + + Proceed to Update + + + + Failed to connect to backup services. Please check and retry again. + + + + Failed to connect to update services. Please check and retry again. + + + + + UpdatePrepareWidget + + Preparing for updates… + + + + + UpdateProgressWidget + + Do not force a shutdown or power off when installing updates. Otherwise, your system may be damaged. + + + + + UpdateWorker + + Update + + + + Please plug in and then install updates. + + + + + WarningContent + + The programs are preventing the computer from shutting down, and forcing shut down may cause data loss. + + + + To close the program, click Cancel, and then close the program. + + + + The programs are preventing the computer from reboot, and forcing reboot may cause data loss. + + + + The programs are preventing the computer from suspend, and forcing suspend may cause data loss. + + + + The programs are preventing the computer from hibernate, and forcing hibernate may cause data loss. + + + + The programs are preventing the computer from log out, and forcing log out may cause data loss. + + + + Shut down + + + + Reboot + + + + Suspend + + + + Hibernate + + + + Log out + + + + Are you sure you want to shut down? + + + + Are you sure you want to reboot? + + + + Are you sure you want to log out? + + + + Update and Shut Down + + + + Update and Reboot + + + + Closing the programs and shutting down, please wait... + + + + Closing the programs and rebooting, please wait... + + + + Closing the programs and logging out, please wait... + + + + + dss::module::AssistLoginWidget + + Automatic login + + + + + dss::module::NetworkModule + + Turn on + + + + Turn off + + + + \ No newline at end of file diff --git a/translations/dde-session-shell_es_MX.ts b/translations/dde-session-shell_es_MX.ts new file mode 100644 index 000000000..8f11b34c9 --- /dev/null +++ b/translations/dde-session-shell_es_MX.ts @@ -0,0 +1,571 @@ + + + AuthFace + + Face ID + + + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Verify your Face ID + + + + Face ID locked, use password please + + + + Device unavailable! + + + + + AuthFingerprint + + Verify your fingerprint + + + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Fingerprint locked, use password please + + + + + AuthIris + + Iris ID + + + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Verify your Iris ID + + + + Iris ID locked, use password please + + + + + AuthPasskey + + Please plug in the security key + + + + Verification successful + + + + Verification failed + + + + Identifying the security key + + + + + AuthPassword + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Wrong Password + Contraseña Erronea + + + Password + Contraseña + + + Please try again 1 minute later + + + + Please try again %n minutes later + + + + Reset Password + Restablecer contraseña + + + Forgot password? + + + + + AuthSingle + + Please try again 1 minute later + + + + Please try again %n minutes later + + + + Reset Password + Restablecer contraseña + + + Forgot password? + + + + + AuthUKey + + Verification successful + + + + Verification failed, %n chances left + + + + Verification failed, only one chance left + + + + Wrong PIN + + + + UKey is required + + + + Enter your PIN + + + + Please try again %n minute(s) later + + + + Please try again 1 minute later + + + + Please try again %n minutes later + + + + + AuthWidget + + Account + + + + Your password will expire in %n days, please change it timely + + + + Password expired, please change + + + + Your password has expired. Please contact the administrator to change it + + + + Terminal locked, please contact administrator + + + + + GreeterWorker + + Wrong account + + + + Wrong Password + Contraseña Erronea + + + + InhibitWarnView + + Cancel + Cancelar + + + The reason of inhibit. + + + + + LighterGreeter + + Standard Mode + + + + + LockContent + + Lock Screen + + + + Failed to lock screen + + + + + LockWorker + + Fingerprint verification timed out, please enter your password manually + + + + Failed to match fingerprint + + + + + MultiUsersWarningView + + Cancel + Cancelar + + + The above users are still logged in and data will be lost due to shutdown, are you sure you want to shut down? + + + + The above users are still logged in and data will be lost due to reboot, are you sure you want to reboot? + + + + + SessionWidget + + You have enabled the high system security level, thus cannot switch to the Wayland mode, please disable the high security level in Security Center and try again. + + + + + ShutdownWidget + + Shut down + Apagar + + + Reboot + + + + Suspend + Suspender + + + Hibernate + + + + Lock + + + + Log out + + + + Switch user + + + + Switch system + + + + Update and Shut Down + + + + Update and Reboot + + + + + SystemMonitor + + Start system monitor + + + + + UdcpMFALoginWidget + + 发送验证码 + + + + 请输入手机号 + + + + 请输入验证码 + + + + 获取验证码 + + + + + UpdateCompleteWidget + + View Logs + + + + Updates successful + + + + Your computer will reboot soon %1 + + + + Your computer will be turned off soon %1 + + + + + UpdateLogWidget + + Hide Logs + + + + + UpdateModel + + Update failed + + + + Unknown error + + + + Backup failed + + + + Dependency error + + + + Reboot + + + + Shut Down + + + + Unable to perform system backup. If you continue the updates, you cannot roll back to the old system later. + + + + Insufficient disk space. Please clean up your disk and try again. + + + + DPKG error + + + + Back Up Again + + + + Abort + + + + Proceed to Update + + + + Failed to connect to backup services. Please check and retry again. + + + + Failed to connect to update services. Please check and retry again. + + + + + UpdatePrepareWidget + + Preparing for updates… + + + + + UpdateProgressWidget + + Do not force a shutdown or power off when installing updates. Otherwise, your system may be damaged. + + + + + UpdateWorker + + Update + + + + Please plug in and then install updates. + + + + + WarningContent + + The programs are preventing the computer from shutting down, and forcing shut down may cause data loss. + + + + To close the program, click Cancel, and then close the program. + + + + The programs are preventing the computer from reboot, and forcing reboot may cause data loss. + + + + The programs are preventing the computer from suspend, and forcing suspend may cause data loss. + + + + The programs are preventing the computer from hibernate, and forcing hibernate may cause data loss. + + + + The programs are preventing the computer from log out, and forcing log out may cause data loss. + + + + Shut down + Apagar + + + Reboot + + + + Suspend + Suspender + + + Hibernate + + + + Log out + + + + Are you sure you want to shut down? + + + + Are you sure you want to reboot? + + + + Are you sure you want to log out? + + + + Update and Shut Down + + + + Update and Reboot + + + + Closing the programs and shutting down, please wait... + + + + Closing the programs and rebooting, please wait... + + + + Closing the programs and logging out, please wait... + + + + + dss::module::AssistLoginWidget + + Automatic login + + + + + dss::module::NetworkModule + + Turn on + + + + Turn off + + + + \ No newline at end of file