diff -Nru ukui-power-manager-4.10.0.0/debian/changelog ukui-power-manager-4.10.0.0/debian/changelog --- ukui-power-manager-4.10.0.0/debian/changelog 2024-03-26 09:23:35.000000000 +0800 +++ ukui-power-manager-4.10.0.0/debian/changelog 2024-08-29 18:04:23.000000000 +0800 @@ -1,3 +1,33 @@ +ukui-power-manager (4.10.0.0-ok1.33) nile; urgency=medium + + * 更新0920维哈克翻译 + + -- Kevin Duan <duankaiwen@kylinos.cn> Thu, 29 Aug 2024 18:04:23 +0800 + +ukui-power-manager (4.10.0.0-ok1.32) nile; urgency=medium + + * 语言类型仅获取一次 + + -- hanhongliang <hanhongliang@kylinos.cn> Thu, 29 Aug 2024 18:04:23 +0800 + +ukui-power-manager (4.10.0.0-ok1.31) nile; urgency=medium + + * close-cd #IALGI4 维哈柯语言点击托盘电源管理位置错误 + + -- hanhongliang <hanhongliang@kylinos.cn> Thu, 29 Aug 2024 15:32:34 +0800 + +ukui-power-manager (4.10.0.0-ok1.30) nile; urgency=medium + + * 更新mn翻译 + + -- hanhongliang <hanhongliang@kylinos.cn> Thu, 08 Aug 2024 14:03:01 +0800 + +ukui-power-manager (4.10.0.0-ok1.29) nile; urgency=medium + + * 恢复UpmGsettings接口获取key值类型的方法getValueType,已解决配置同步问题 + + -- hanhongliang <hanhongliang@kylinos.cn> Thu, 08 Aug 2024 14:03:01 +0800 + ukui-power-manager (4.10.0.0-ok1.28) nile; urgency=medium * 更新维哈柯翻译 diff -Nru ukui-power-manager-4.10.0.0/debian/patches/0023-47-UpmGsettings-key-getValueType.patch ukui-power-manager-4.10.0.0/debian/patches/0023-47-UpmGsettings-key-getValueType.patch --- ukui-power-manager-4.10.0.0/debian/patches/0023-47-UpmGsettings-key-getValueType.patch 1970-01-01 08:00:00.000000000 +0800 +++ ukui-power-manager-4.10.0.0/debian/patches/0023-47-UpmGsettings-key-getValueType.patch 2024-08-29 18:04:23.000000000 +0800 @@ -0,0 +1,229 @@ +From: hyter <18600038503@163.com> +Date: Thu, 8 Aug 2024 06:17:07 +0000 +Subject: =?utf-8?b?ITQ3IOaBouWkjVVwbUdzZXR0aW5nc+aOpeWPo+iOt+WPlmtleeWAvA==?= + =?utf-8?b?57G75Z6L55qE5pa55rOVZ2V0VmFsdWVUeXBl77yM5bey6Kej5Yaz6YWN572u5ZCM?= + =?utf-8?b?5q2l6Zeu6aKYIE1lcmdlIHB1bGwgcmVxdWVzdCAhNDcgZnJvbSBoeXRlci9vcGVu?= + =?utf-8?b?a3lsaW4vbmlsZQ==?= + +--- + .../upm-common-dbus/upm_commondbus.cpp | 3 +- + .../upm-gsettings/upm_gsettings.cpp | 76 +++++++++++++++------- + .../upm-gsettings/upm_gsettings.h | 4 +- + PowerManagementDaemon/upm_daemon.cpp | 7 +- + registeredQDbus/sysdbusregister.cpp | 5 +- + 5 files changed, 62 insertions(+), 33 deletions(-) + +diff --git a/PowerManagementDaemon/upm-common-dbus/upm_commondbus.cpp b/PowerManagementDaemon/upm-common-dbus/upm_commondbus.cpp +index 56a3947..41f84c9 100644 +--- a/PowerManagementDaemon/upm-common-dbus/upm_commondbus.cpp ++++ b/PowerManagementDaemon/upm-common-dbus/upm_commondbus.cpp +@@ -71,6 +71,7 @@ void UpmCommonDBus::dealSystemStatusChanged(quint32 status) + + void UpmCommonDBus::dealUserActiveSignal(bool active) + { ++ qInfo() << "usd user active signal:" << active; + emit userActiveSignal(active); + } + +@@ -117,7 +118,7 @@ void UpmCommonDBus::controlLogin1Manager(QString action) + "/org/freedesktop/login1", + "org.freedesktop.login1.Manager", + QDBusConnection::systemBus()); +- dbusInterface.call(action, true); ++ dbusInterface.call(action, false); + qInfo() << "system will" << action; + } + +diff --git a/PowerManagementDaemon/upm-gsettings/upm_gsettings.cpp b/PowerManagementDaemon/upm-gsettings/upm_gsettings.cpp +index 802b58d..d7ee49d 100644 +--- a/PowerManagementDaemon/upm-gsettings/upm_gsettings.cpp ++++ b/PowerManagementDaemon/upm-gsettings/upm_gsettings.cpp +@@ -99,19 +99,30 @@ bool UpmGsettings::getGsettingsConfig(const QString &configName, QVariant &value + return false; + } + +-void UpmGsettings::addConfigMonitor(const QString &configName, pSignalFun signalFun) ++QVariant::Type UpmGsettings::getValueType(const QString &configName) ++{ ++ if (m_qHashValueType.contains(configName)) { ++ return m_qHashValueType[configName]; ++ } ++ return QVariant::Invalid; ++} ++ ++void UpmGsettings::addConfigMonitor(const QString &configName, pSignalFun signalFun, QVariant::Type type) + { + if (m_allPowerKey.contains(configName)) { + m_qHashValue[configName] = m_powerGsettings->get(configName); + m_qHashSignalsFuns[configName] = signalFun; ++ m_qHashValueType[configName] = type; + qDebug() << "power gsetting:" << configName << "to be monitored!"; + } else if (m_allProcessKey.contains(configName)) { + m_qHashValue[configName] = m_processGsettings->get(configName); + m_qHashSignalsFuns[configName] = signalFun; ++ m_qHashValueType[configName] = type; + qDebug() << "process gsetting:" << configName << "to be monitored!"; + } else if (m_allSoftFreezeModeKey.contains(configName)) { + m_qHashValue[configName] = m_softFreezeModeGsettings->get(configName); + m_qHashSignalsFuns[configName] = signalFun; ++ m_qHashValueType[configName] = type; + qDebug() << "soft freeze mode gsetting:" << configName << "to be monitored!"; + } else { + qInfo() << "without this key:" << configName; +@@ -121,56 +132,77 @@ void UpmGsettings::addConfigMonitor(const QString &configName, pSignalFun signal + void UpmGsettings::initGsettingsConfig() + { + addConfigMonitor(GSETTINGS_KEY_POWER_POLICY_AC, +- &UpmGsettings::powerPolicyAcChanged); ++ &UpmGsettings::powerPolicyAcChanged, ++ QVariant::Int); + addConfigMonitor(GSETTINGS_KEY_POWER_POLICY_BATTERY, +- &UpmGsettings::powerPolicyBatteryChanged); ++ &UpmGsettings::powerPolicyBatteryChanged, ++ QVariant::Int); + addConfigMonitor(GSETTINGS_KEY_POWER_POLICY_BATTERY_BACKUP, +- &UpmGsettings::powerPolicyBatteryBackupChanged); ++ &UpmGsettings::powerPolicyBatteryBackupChanged, ++ QVariant::Int); + + addConfigMonitor(GSETTINGS_KEY_SLEEP_DISPLAY_AC, +- &UpmGsettings::sleepDisplayAcChanged); ++ &UpmGsettings::sleepDisplayAcChanged, ++ QVariant::Int); + addConfigMonitor(GSETTINGS_KEY_SLEEP_DISPLAY_BATTERY, +- &UpmGsettings::sleepDisplayBatteryChanged); ++ &UpmGsettings::sleepDisplayBatteryChanged, ++ QVariant::Int); + + addConfigMonitor(GSETTINGS_KEY_SLEEP_COMPUTER_AC, +- &UpmGsettings::sleepComputerAcChanged); ++ &UpmGsettings::sleepComputerAcChanged, ++ QVariant::Int); + addConfigMonitor(GSETTINGS_KEY_SLEEP_COMPUTER_BATTERY, +- &UpmGsettings::sleepComputerBatteryChanged); ++ &UpmGsettings::sleepComputerBatteryChanged, ++ QVariant::Int); + + addConfigMonitor(GSETTINGS_KEY_IDLE_BRIGHTNESS, +- &UpmGsettings::idleBrightnessChanged); ++ &UpmGsettings::idleBrightnessChanged, ++ QVariant::Int); + addConfigMonitor(GSETTINGS_KEY_IDLE_POWER_POLICY_AUTO, +- &UpmGsettings::idlePowerPolicyAutoChanged); ++ &UpmGsettings::idlePowerPolicyAutoChanged, ++ QVariant::Bool); + + addConfigMonitor(GSETTINGS_KEY_BUTTON_LID_AC, +- &UpmGsettings::buttonLidAcChanged); ++ &UpmGsettings::buttonLidAcChanged, ++ QVariant::String); + addConfigMonitor(GSETTINGS_KEY_BUTTON_LID_BATTERY, +- &UpmGsettings::buttonLidBatteryChanged); ++ &UpmGsettings::buttonLidBatteryChanged, ++ QVariant::String); + + addConfigMonitor(GSETTINGS_KEY_PERCENTAGE_LOW, +- &UpmGsettings::percentageLowChanged); ++ &UpmGsettings::percentageLowChanged, ++ QVariant::Int); + //极低电量百分比 + addConfigMonitor(GSETTINGS_KEY_PERCENTAGE_ACTION, +- &UpmGsettings::percentageActionChanged); ++ &UpmGsettings::percentageActionChanged, ++ QVariant::Int); + //极低电量操作 + addConfigMonitor(GSETTINGS_KEY_ACTION_CRITICAL_BATTERY, +- &UpmGsettings::actionCriticalBatteryChanged); ++ &UpmGsettings::actionCriticalBatteryChanged, ++ QVariant::String); + + addConfigMonitor(GSETTINGS_KEY_BATTERY_SAVE_SWITCH, +- &UpmGsettings::batterySaveSwitchChanged); ++ &UpmGsettings::batterySaveSwitchChanged, ++ QVariant::Bool); + addConfigMonitor(GSETTINGS_KEY_LOW_BATTERY_AUTO_SAVE, +- &UpmGsettings::lowBatteryAutoSaveChanged); ++ &UpmGsettings::lowBatteryAutoSaveChanged, ++ QVariant::Bool); + addConfigMonitor(GSETTINGS_KEY_BATTERY_SAVE_REDUCE_BRIGHTNESS, +- &UpmGsettings::batterySaveReduceBrightnessChanged); ++ &UpmGsettings::batterySaveReduceBrightnessChanged, ++ QVariant::Bool); + addConfigMonitor(GSETTINGS_KEY_LOW_BATTERY_AUTO_SOFT_FREEZE_MODE, +- &UpmGsettings::lowBatteryAutoSoftFreezeModeChanged); ++ &UpmGsettings::lowBatteryAutoSoftFreezeModeChanged, ++ QVariant::Bool); + + addConfigMonitor(GSETTINGS_KEY_BRIGHTNESS_AC, +- &UpmGsettings::brightnessAcChanged); ++ &UpmGsettings::brightnessAcChanged, ++ QVariant::Int); + + addConfigMonitor(GSETTINGS_KEY_RESOURCE_LIMIT_ENABLED, +- &UpmGsettings::resourceLimitEnabledChanged); ++ &UpmGsettings::resourceLimitEnabledChanged, ++ QVariant::Bool); + + addConfigMonitor(GSETTINGS_KEY_SOFT_FREEZE_MODE_ENABLED, +- &UpmGsettings::softFreezeModeEnabledChanged); ++ &UpmGsettings::softFreezeModeEnabledChanged, ++ QVariant::Bool); + } +diff --git a/PowerManagementDaemon/upm-gsettings/upm_gsettings.h b/PowerManagementDaemon/upm-gsettings/upm_gsettings.h +index 62d7268..972eeb5 100644 +--- a/PowerManagementDaemon/upm-gsettings/upm_gsettings.h ++++ b/PowerManagementDaemon/upm-gsettings/upm_gsettings.h +@@ -93,9 +93,10 @@ private: + QStringList m_allSoftFreezeModeKey; + QHash<QString, QVariant> m_qHashValue; + QHash<QString, pSignalFun> m_qHashSignalsFuns; ++ QHash<QString, QVariant::Type> m_qHashValueType; + + void initGsettingsConfig(); +- void addConfigMonitor(const QString &configName, pSignalFun signalFun); ++ void addConfigMonitor(const QString &configName, pSignalFun signalFun, QVariant::Type type); + + signals: + void powerPolicyAcChanged(QVariant); +@@ -134,6 +135,7 @@ private slots: + public: + void setGsettingsConfig(const QString &configName, QVariant value); + bool getGsettingsConfig(const QString &configName, QVariant &value); ++ QVariant::Type getValueType(const QString &configName); + }; + + #endif // UPM_GSETTINGS_H +diff --git a/PowerManagementDaemon/upm_daemon.cpp b/PowerManagementDaemon/upm_daemon.cpp +index 0ff7789..e233520 100644 +--- a/PowerManagementDaemon/upm_daemon.cpp ++++ b/PowerManagementDaemon/upm_daemon.cpp +@@ -91,12 +91,7 @@ void UpmDaemon::dealSystemConfigChanged(const QString userName, const QString ke + return ; + } + +- QVariant currentValue; +- if (false == UpmGsettings::self()->getGsettingsConfig(key, currentValue)) { +- qInfo() << "without this system config"; +- return ; +- } +- QVariant::Type type = currentValue.type(); ++ QVariant::Type type = UpmGsettings::self()->getValueType(key); + switch (type) { + case QVariant::Int: + UpmGsettings::self()->setGsettingsConfig(key, value.toInt()); +diff --git a/registeredQDbus/sysdbusregister.cpp b/registeredQDbus/sysdbusregister.cpp +index 8a585f1..c58341d 100644 +--- a/registeredQDbus/sysdbusregister.cpp ++++ b/registeredQDbus/sysdbusregister.cpp +@@ -182,9 +182,8 @@ void SysdbusRegister::SetAspmPolicy(const int policy) + void SysdbusRegister::SetSystemConfig(const QString userName, const QString key, const QString value) + { + m_powerConfig->updatePowerConfig(key, value); +- if (m_userMap.size() > 1) { +- emit SystemConfigChanged(userName, key, value); +- } ++ ++ emit SystemConfigChanged(userName, key, value); + } + + QString SysdbusRegister::GetSystemConfig(const QString key) diff -Nru ukui-power-manager-4.10.0.0/debian/patches/0024-Translated-using-Weblate-Mongolian.patch ukui-power-manager-4.10.0.0/debian/patches/0024-Translated-using-Weblate-Mongolian.patch --- ukui-power-manager-4.10.0.0/debian/patches/0024-Translated-using-Weblate-Mongolian.patch 1970-01-01 08:00:00.000000000 +0800 +++ ukui-power-manager-4.10.0.0/debian/patches/0024-Translated-using-Weblate-Mongolian.patch 2024-08-29 18:04:23.000000000 +0800 @@ -0,0 +1,266 @@ +From: KevinDuan <duankaiwen@kylinos.cn> +Date: Tue, 27 Aug 2024 14:15:53 +0000 +Subject: Translated using Weblate (Mongolian) + +Currently translated at 100.0% (39 of 39 strings) + +Translation: openkylin-nile-new/ukui-power-manager-tray +Translate-URL: http://weblate.openkylin.top/projects/openkylin-nile-new/ukui-power-manager-tray/mn/ +--- + .../translations/ukui-power-manager-tray_mn.ts | 88 +++++++++++----------- + 1 file changed, 44 insertions(+), 44 deletions(-) + +diff --git a/ukui-power-manager-tray/translations/ukui-power-manager-tray_mn.ts b/ukui-power-manager-tray/translations/ukui-power-manager-tray_mn.ts +index b922fd6..dd86c2e 100644 +--- a/ukui-power-manager-tray/translations/ukui-power-manager-tray_mn.ts ++++ b/ukui-power-manager-tray/translations/ukui-power-manager-tray_mn.ts +@@ -6,7 +6,7 @@ + <message> + <location filename="../notificationdialog.cpp" line="58"/> + <source>The system will %1 in 60 seconds as the battery is about to run out.</source> +- <translation>ᠰᠢᠰᠲ᠋ᠧᠮ ᠨᠢ 60 ᠰᠧᠺᠦᠢᠨᠳ᠋ ᠦᠨ ᠳᠣᠲᠣᠷᠠ %1 ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠤᠳᠠᠯ ᠦᠭᠡᠢ ᠬᠣᠷᠣᠭᠳᠠᠭᠤᠯᠬᠤ ᠭᠡᠵᠦ ᠪᠠᠶᠢᠨᠠ ᠃.</translation> ++ <translation>ᠰᠢᠰᠲ᠋ᠧᠮ ᠨᠢ 60 ᠰᠧᠺᠦᠢᠨᠳ᠋ ᠦᠨ ᠳᠣᠲᠣᠷᠠ %1 ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠤᠳᠠᠯ ᠦᠭᠡᠢ ᠬᠣᠷᠣᠭᠳᠠᠭᠤᠯᠬᠤ ᠭᠡᠵᠦ ᠪᠠᠶᠢᠨᠠ</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="69"/> +@@ -26,12 +26,12 @@ + <message> + <location filename="../notificationdialog.cpp" line="131"/> + <source>hibernate</source> +- <translation>ᠡᠪᠦᠯ ᠦᠨ ᠨᠣᠶᠢᠷ᠃</translation> ++ <translation>ᠡᠪᠦᠯ ᠦᠨ ᠨᠣᠶᠢᠷ</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="133"/> + <source>suspend</source> +- <translation>ᠲᠦᠷ ᠵᠣᠭᠰᠣᠨᠠ ᠃</translation> ++ <translation>ᠲᠦᠷ ᠵᠣᠭᠰᠣᠨᠠ</translation> + </message> + </context> + <context> +@@ -39,7 +39,7 @@ + <message> + <location filename="../powertray.cpp" line="104"/> + <source>SetPower</source> +- <translation>ᠴᠠᠬᠢᠯᠭᠠᠨ ᠡᠭᠦᠰᠭᠡᠭᠴᠢ ᠪᠠ ᠤᠨᠲᠠᠭᠠ ᠲᠣᠬᠢᠷᠠᠭᠤᠯᠤᠨᠠ ᠃</translation> ++ <translation>ᠴᠠᠬᠢᠯᠭᠠᠨ ᠡᠭᠦᠰᠭᠡᠭᠴᠢ ᠪᠠ ᠤᠨᠲᠠᠭᠠ ᠲᠣᠬᠢᠷᠠᠭᠤᠯᠤᠨᠠ</translation> + </message> + <message> + <location filename="../powertray.cpp" line="135"/> +@@ -62,7 +62,7 @@ + <location filename="../powertray.cpp" line="195"/> + <location filename="../powertray.cpp" line="206"/> + <source>%1% remaining</source> +- <translation>%1 ᠶᠢ ᠬᠡᠷᠡᠭᠯᠡᠵᠦ ᠪᠣᠯᠤᠨᠠ᠃</translation> ++ <translation>%1 ᠶᠢ ᠬᠡᠷᠡᠭᠯᠡᠵᠦ ᠪᠣᠯᠤᠨᠠ</translation> + </message> + <message> + <location filename="../powertray.cpp" line="170"/> +@@ -90,168 +90,168 @@ + <message> + <location filename="../powerwindow.cpp" line="134"/> + <source>Endurance</source> +- <translation>ᠬᠠᠮᠤᠭ ᠤᠨ ᠰᠠᠢ᠌ᠨ ᠦᠢᠯᠡᠳᠦᠯ ᠲᠡᠢ ᠃</translation> ++ <translation>ᠬᠠᠮᠤᠭ ᠤᠨ ᠰᠠᠢ᠌ᠨ ᠦᠢᠯᠡᠳᠦᠯ ᠲᠡᠢ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="142"/> + <source>Performance</source> +- <translation>ᠬᠠᠮᠤᠭ ᠰᠠᠢ᠌ᠨ ᠴᠢᠳᠠᠪᠬᠢ ᠃</translation> ++ <translation>ᠬᠠᠮᠤᠭ ᠰᠠᠢ᠌ᠨ ᠴᠢᠳᠠᠪᠬᠢ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="146"/> + <source>PowerSettings</source> +- <translation>ᠴᠠᠬᠢᠯᠭᠠᠨ ᠡᠭᠦᠰᠭᠡᠭᠴᠢ ᠶᠢᠨ ᠪᠠᠶᠢᠷᠢᠯᠠᠭᠤᠯᠤᠯᠲᠠ᠃</translation> ++ <translation>ᠴᠠᠬᠢᠯᠭᠠᠨ ᠡᠭᠦᠰᠭᠡᠭᠴᠢ ᠶᠢᠨ ᠪᠠᠶᠢᠷᠢᠯᠠᠭᠤᠯᠤᠯᠲᠠ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="149"/> + <location filename="../powerwindow.cpp" line="243"/> + <source>PowerMode</source> +- <translation>ᠴᠠᠬᠢᠯᠭᠠᠨ ᠡᠭᠦᠰᠭᠡᠭᠴᠢ ᠶᠢᠨ ᠵᠠᠭᠪᠤᠷ ᠃</translation> ++ <translation>ᠴᠠᠬᠢᠯᠭᠠᠨ ᠡᠭᠦᠰᠭᠡᠭᠴᠢ ᠶᠢᠨ ᠵᠠᠭᠪᠤᠷ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="245"/> + <source>BatteryMode</source> +- <translation>ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠵᠠᠭᠪᠤᠷ ᠃</translation> ++ <translation>ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠵᠠᠭᠪᠤᠷ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="282"/> + <location filename="../powerwindow.cpp" line="302"/> + <location filename="../powerwindow.cpp" line="309"/> + <source>fully charged</source> +- <translation>ᠨᠢᠭᠡᠨᠲᠡ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠵᠠᠢ ᠃</translation> ++ <translation>ᠨᠢᠭᠡᠨᠲᠡ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠵᠠᠢ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="284"/> + <location filename="../powerwindow.cpp" line="311"/> + <location filename="../powerwindow.cpp" line="319"/> + <source>Charging</source> +- <translation>ᠶᠠᠭ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠨᠡᠮᠡᠵᠦ ᠪᠠᠢ᠌ᠨᠠ ᠃</translation> ++ <translation>ᠶᠠᠭ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠨᠡᠮᠡᠵᠦ ᠪᠠᠢ᠌ᠨᠠ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="287"/> + <location filename="../powerwindow.cpp" line="348"/> + <location filename="../powerwindow.cpp" line="355"/> + <source>Discharging</source> +- <translation>ᠶᠠᠭ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠭᠠᠷᠭᠠᠵᠤ ᠪᠠᠢ᠌ᠨᠠ ᠃</translation> ++ <translation>ᠶᠠᠭ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠭᠠᠷᠭᠠᠵᠤ ᠪᠠᠢ᠌ᠨᠠ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="317"/> + <source>%1 minutes + until fully charged</source> +- <translation>%1 ᠮᠢᠨᠦᠢᠲ᠋ ᠦᠨ ᠳᠠᠷᠠᠭᠠ ᠃ +-ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ ᠃</translation> ++ <translation>%1 ᠮᠢᠨᠦᠢᠲ᠋ ᠦᠨ ᠳᠠᠷᠠᠭᠠ ++ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="323"/> + <source>%1 hour %2 minute + until fully charged</source> +- <translation>%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ᠋ ᠃ +-ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ ᠃</translation> ++ <translation>%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ ++ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="326"/> + <source>%1 hour + until fully charged</source> +- <translation>%1 ᠴᠠᠭ᠃ +-ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ ᠃</translation> ++ <translation>%1 ᠴᠠᠭ ++ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="328"/> + <source>%1 hour %2 minutes + until fully charged</source> +- <translation>%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ᠋ ᠃ +-ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ ᠃</translation> ++ <translation>%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ ++ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="333"/> + <source>%1 hours %2 minute + until fully charged</source> +- <translation>%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ᠋ ᠃ +-ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ ᠃</translation> ++ <translation>%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ ++ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="336"/> + <source>%1 hours + until fully charged</source> +- <translation>%1 ᠴᠠᠭ᠃ +-ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ ᠃</translation> ++ <translation>%1 ᠴᠠᠭ ++ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="338"/> + <source>%1 hours %2 minutes + until fully charged</source> +- <translation>%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ᠋ ᠃ +-ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ ᠃</translation> ++ <translation>%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ ++ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠳᠦᠭᠦᠷᠡᠩ ᠪᠣᠯᠣᠨᠠ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="353"/> + <source>%1 minutes + remaining</source> +- <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ᠃ +-%1 ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ ++%1 ᠮᠢᠨᠦᠢᠲ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="359"/> + <source>%1 hour %2 minute + remaining</source> +- <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ᠃ +-%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ ++%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="362"/> + <source>%1 hour + remaining</source> +- <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ᠃ +-%1 ᠴᠠᠭ᠃</translation> ++ <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ ++%1 ᠴᠠᠭ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="365"/> + <source>%1 hour %2 minutes + remaining</source> +- <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ᠃ +-%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ ++%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="370"/> + <source>%1 hours %2 minute + remaining</source> +- <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ᠃ +-%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ ++%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="373"/> + <source>%1 hours + remaining</source> +- <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ᠃ +-%1 ᠴᠠᠭ᠃</translation> ++ <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ ++%1 ᠴᠠᠭ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="376"/> + <source>%1 hours %2 minutes + remaining</source> +- <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ᠃ +-%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ ++%1 ᠴᠠᠭ ᠤᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ %2 ᠮᠢᠨᠦᠢᠲ᠋</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="463"/> + <location filename="../powerwindow.cpp" line="480"/> + <location filename="../powerwindow.cpp" line="517"/> + <source>Better endurance</source> +- <translation>ᠨᠡᠩ ᠰᠠᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠨ ᠠᠶᠠᠯᠠᠨᠠ ᠃</translation> ++ <translation>ᠨᠡᠩ ᠰᠠᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠨ ᠠᠶᠠᠯᠠᠨᠠ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="467"/> + <location filename="../powerwindow.cpp" line="484"/> + <location filename="../powerwindow.cpp" line="513"/> + <source>Better performance</source> +- <translation>ᠨᠡᠩ ᠰᠠᠶᠢᠨ ᠴᠢᠳᠠᠪᠬᠢ ᠃</translation> ++ <translation>ᠨᠡᠩ ᠰᠠᠶᠢᠨ ᠴᠢᠳᠠᠪᠬᠢ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="471"/> + <location filename="../powerwindow.cpp" line="488"/> + <location filename="../powerwindow.cpp" line="509"/> + <source>Best performance</source> +- <translation>ᠬᠠᠮᠤᠭ ᠰᠠᠢ᠌ᠨ ᠴᠢᠳᠠᠪᠬᠢ ᠃</translation> ++ <translation>ᠬᠠᠮᠤᠭ ᠰᠠᠢ᠌ᠨ ᠴᠢᠳᠠᠪᠬᠢ</translation> + </message> + </context> + </TS> diff -Nru ukui-power-manager-4.10.0.0/debian/patches/0025-update-debian-changelog.patch ukui-power-manager-4.10.0.0/debian/patches/0025-update-debian-changelog.patch --- ukui-power-manager-4.10.0.0/debian/patches/0025-update-debian-changelog.patch 1970-01-01 08:00:00.000000000 +0800 +++ ukui-power-manager-4.10.0.0/debian/patches/0025-update-debian-changelog.patch 2024-08-29 18:04:23.000000000 +0800 @@ -0,0 +1,330 @@ +From: KevinDuan <duankaiwen@kylinos.cn> +Date: Tue, 27 Aug 2024 14:18:52 +0000 +Subject: update debian/changelog. + +Signed-off-by: KevinDuan <duankaiwen@kylinos.cn> +--- + plugin-power/translations/mn.ts | 92 ++++++++++++++++++++--------------------- + 1 file changed, 46 insertions(+), 46 deletions(-) + +diff --git a/plugin-power/translations/mn.ts b/plugin-power/translations/mn.ts +index 14ff0d7..044b8ec 100644 +--- a/plugin-power/translations/mn.ts ++++ b/plugin-power/translations/mn.ts +@@ -6,24 +6,24 @@ + <message> + <location filename="../power.cpp" line="30"/> + <source>Power</source> +- <translation>ᠡᠷᠬᠡ ᠃</translation> ++ <translation>ᠡᠷᠬᠡ</translation> + </message> + <message> + <location filename="../power.cpp" line="257"/> + <source>General</source> +- <translation>ᠵᠤᠷᠰᠢᠯ ᠃</translation> ++ <translation>ᠵᠤᠷᠰᠢᠯ</translation> + <extra-contents_path>/Power/General</extra-contents_path> + </message> + <message> + <location filename="../power.cpp" line="268"/> + <source>Select power plan</source> +- <translation>ᠴᠠᠬᠢᠯᠭᠠᠨ ᠡᠭᠦᠰᠭᠡᠭᠴᠢ ᠶᠢᠨ ᠲᠥᠯᠥᠪᠯᠡᠭᠡ ᠶᠢ ᠰᠣᠩᠭᠣᠨᠠ᠃</translation> ++ <translation>ᠴᠠᠬᠢᠯᠭᠠᠨ ᠡᠭᠦᠰᠭᠡᠭᠴᠢ ᠶᠢᠨ ᠲᠥᠯᠥᠪᠯᠡᠭᠡ ᠶᠢ ᠰᠣᠩᠭᠣᠨᠠ</translation> + <extra-contents_path>/Power/Select power plan</extra-contents_path> + </message> + <message> + <location filename="../power.cpp" line="278"/> + <source>Battery saving plan</source> +- <translation>ᠮᠤᠵᠢ ᠶᠢᠨ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠤ ᠲᠥᠯᠥᠪᠯᠡᠭᠡ ᠃</translation> ++ <translation>ᠮᠤᠵᠢ ᠶᠢᠨ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠤ ᠲᠥᠯᠥᠪᠯᠡᠭᠡ</translation> + <extra-contents_path>/Power/Battery saving plan</extra-contents_path> + </message> + <message> +@@ -34,23 +34,23 @@ + <message> + <location filename="../power.cpp" line="599"/> + <source>Require password when hibernate</source> +- <translation>ᠤᠨᠲᠠᠬᠤ ᠦᠶᠡᠰ ᠨᠢᠭᠤᠴᠠ ᠨᠣᠮᠧᠷ ᠬᠡᠷᠡᠭᠰᠡᠨᠡ ᠃</translation> ++ <translation>ᠤᠨᠲᠠᠬᠤ ᠦᠶᠡᠰ ᠨᠢᠭᠤᠴᠠ ᠨᠣᠮᠧᠷ ᠬᠡᠷᠡᠭᠰᠡᠨᠡ</translation> + </message> + <message> + <location filename="../power.cpp" line="602"/> + <source>Require password when sleep</source> +- <translation>ᠤᠨᠲᠠᠬᠤ ᠦᠶᠡᠰ ᠨᠢᠭᠤᠴᠠ ᠨᠣᠮᠧᠷ ᠬᠡᠷᠡᠭᠰᠡᠨᠡ ᠃</translation> ++ <translation>ᠤᠨᠲᠠᠬᠤ ᠦᠶᠡᠰ ᠨᠢᠭᠤᠴᠠ ᠨᠣᠮᠧᠷ ᠬᠡᠷᠡᠭᠰᠡᠨᠡ</translation> + </message> + <message> + <location filename="../power.cpp" line="610"/> + <location filename="../power.cpp" line="611"/> + <source>Password required when waking up the screen</source> +- <translation>ᠳᠡᠯᠪᠡᠷᠡᠬᠦ ᠦᠶᠡᠰ ᠨᠢᠭᠤᠴᠠ ᠨᠣᠮᠧᠷ ᠬᠡᠷᠡᠭᠰᠡᠨᠡ ᠃</translation> ++ <translation>ᠳᠡᠯᠪᠡᠷᠡᠬᠦ ᠦᠶᠡᠰ ᠨᠢᠭᠤᠴᠠ ᠨᠣᠮᠧᠷ ᠬᠡᠷᠡᠭᠰᠡᠨᠡ</translation> + </message> + <message> + <location filename="../power.cpp" line="614"/> + <source>Press the power button</source> +- <translation>ᠴᠠᠬᠢᠯᠭᠠᠨ ᠡᠭᠦᠰᠭᠡᠭ᠍ᠴᠢ ᠳᠠᠷᠤᠭᠤᠯ ᠢ ᠳᠠᠷᠤᠨᠠ ᠃</translation> ++ <translation>ᠴᠠᠬᠢᠯᠭᠠᠨ ᠡᠭᠦᠰᠭᠡᠭ᠍ᠴᠢ ᠳᠠᠷᠤᠭᠤᠯ ᠢ ᠳᠠᠷᠤᠨᠠ</translation> + </message> + <message> + <location filename="../power.cpp" line="618"/> +@@ -62,24 +62,24 @@ + <location filename="../power.cpp" line="622"/> + <location filename="../power.cpp" line="623"/> + <source>Time to sleep</source> +- <translation>ᠤᠨᠲᠠᠬᠤ ᠴᠠᠭ ᠃</translation> ++ <translation>ᠤᠨᠲᠠᠬᠤ ᠴᠠᠭ</translation> + </message> + <message> + <location filename="../power.cpp" line="626"/> + <location filename="../power.cpp" line="627"/> + <source>Notebook cover</source> +- <translation>ᠲᠡᠮᠳᠡᠭᠯᠡᠯ ᠦᠨ ᠳᠡᠪᠲᠡᠷ ᠢ ᠬᠠᠮᠠᠭᠠᠯᠠᠬᠤ ᠢᠵᠢ ᠃</translation> ++ <translation>ᠲᠡᠮᠳᠡᠭᠯᠡᠯ ᠦᠨ ᠳᠡᠪᠲᠡᠷ ᠢ ᠬᠠᠮᠠᠭᠠᠯᠠᠬᠤ ᠢᠵᠢ</translation> + </message> + <message> + <location filename="../power.cpp" line="630"/> + <location filename="../power.cpp" line="631"/> + <source>Fractional freezing</source> +- <translation>ᠬᠡᠰᠡᠭ ᠬᠥᠯᠳᠡᠬᠦ ᠃</translation> ++ <translation>ᠬᠡᠰᠡᠭ ᠬᠥᠯᠳᠡᠬᠦ</translation> + </message> + <message> + <location filename="../power.cpp" line="633"/> + <source>It can improve the smoothness of the system, and there may be stuttering after shutdown.</source> +- <translation>ᠰᠢᠰᠲ᠋ᠧᠮ ᠦᠨ ᠤᠷᠤᠰᠤᠮᠠ ᠴᠢᠨᠠᠷ ᠢ ᠳᠡᠭᠡᠭᠰᠢᠯᠡᠭᠦᠯᠵᠦ ᠂ ᠪᠠᠶᠢᠭᠤᠯᠤᠯᠭᠠ ᠶᠢᠨ ᠳᠠᠷᠠᠭᠠ ᠺᠠᠷᠲ᠋ᠣᠨ ᠭᠠᠷᠴᠤ ᠮᠡᠳᠡᠨᠡ ᠃</translation> ++ <translation>ᠰᠢᠰᠲ᠋ᠧᠮ ᠦᠨ ᠤᠷᠤᠰᠤᠮᠠ ᠴᠢᠨᠠᠷ ᠢ ᠳᠡᠭᠡᠭᠰᠢᠯᠡᠭᠦᠯᠵᠦ ᠂ ᠪᠠᠶᠢᠭᠤᠯᠤᠯᠭᠠ ᠶᠢᠨ ᠳᠠᠷᠠᠭᠠ ᠺᠠᠷᠲ᠋ᠣᠨ ᠭᠠᠷᠴᠤ ᠮᠡᠳᠡᠨᠡ</translation> + </message> + <message> + <location filename="../power.cpp" line="640"/> +@@ -91,37 +91,37 @@ + <message> + <location filename="../power.cpp" line="644"/> + <source>Using battery</source> +- <translation>ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠬᠡᠷᠡᠭ᠍ᠯᠡᠨᠡ ᠃</translation> ++ <translation>ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠬᠡᠷᠡᠭ᠍ᠯᠡᠨᠡ</translation> + </message> + <message> + <location filename="../power.cpp" line="648"/> + <location filename="../power.cpp" line="649"/> + <source>Open battery saving</source> +- <translation>ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠮᠤᠵᠢ ᠶᠢᠨ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠢ ᠨᠡᠭᠡᠭᠡᠨᠡ ᠃</translation> ++ <translation>ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠮᠤᠵᠢ ᠶᠢᠨ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠢ ᠨᠡᠭᠡᠭᠡᠨᠡ</translation> + </message> + <message> + <location filename="../power.cpp" line="652"/> + <location filename="../power.cpp" line="653"/> + <source>Automatically run saving mode when low battery</source> +- <translation>ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠤ ᠬᠡᠮᠵᠢᠶᠡ ᠬᠦᠷᠦᠯᠴᠡᠬᠦ ᠦᠭᠡᠶ ᠦᠶᠡ ᠳᠦ ᠠᠦᠢᠲ᠋ᠣ᠋ ᠠᠵᠢᠯᠯᠠᠭᠠᠨ ᠤ ᠬᠠᠳᠠᠭᠠᠯᠠᠬᠤ ᠵᠠᠭᠪᠤᠷ ᠃</translation> ++ <translation>ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠤ ᠬᠡᠮᠵᠢᠶᠡ ᠬᠦᠷᠦᠯᠴᠡᠬᠦ ᠦᠭᠡᠶ ᠦᠶᠡ ᠳᠦ ᠠᠦᠢᠲ᠋ᠣ᠋ ᠠᠵᠢᠯᠯᠠᠭᠠᠨ ᠤ ᠬᠠᠳᠠᠭᠠᠯᠠᠬᠤ ᠵᠠᠭᠪᠤᠷ</translation> + </message> + <message> + <location filename="../power.cpp" line="656"/> + <location filename="../power.cpp" line="657"/> + <source>Auto display brightness level</source> +- <translation>ᠠᠦᠢᠲ᠋ᠣ᠋ ᠢᠯᠡᠷᠡᠭᠦᠯᠦᠯᠲᠡ ᠶᠢᠨ ᠳᠡᠰ ᠢ ᠠᠦᠢᠲ᠋ᠣᠴᠢᠯᠠᠨ ᠢᠯᠡᠷᠡᠭᠦᠯᠵᠡᠢ ᠃</translation> ++ <translation>ᠠᠦᠢᠲ᠋ᠣ᠋ ᠢᠯᠡᠷᠡᠭᠦᠯᠦᠯᠲᠡ ᠶᠢᠨ ᠳᠡᠰ ᠢ ᠠᠦᠢᠲ᠋ᠣᠴᠢᠯᠠᠨ ᠢᠯᠡᠷᠡᠭᠦᠯᠵᠡᠢ</translation> + </message> + <message> + <location filename="../power.cpp" line="635"/> + <location filename="../power.cpp" line="636"/> + <source>Ice freeze mode</source> +- <translation>ᠮᠥᠰᠥ ᠬᠥᠯᠳᠡᠬᠦ ᠵᠠᠭᠪᠤᠷ ᠃</translation> ++ <translation>ᠮᠥᠰᠥ ᠬᠥᠯᠳᠡᠬᠦ ᠵᠠᠭᠪᠤᠷ</translation> + </message> + <message> + <location filename="../power.cpp" line="660"/> + <location filename="../power.cpp" line="661"/> + <source>Automatically run ice freeze mode when low battery</source> +- <translation>ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠤ ᠬᠡᠮᠵᠢᠶᠡ ᠬᠦᠷᠦᠯᠴᠡᠬᠦ ᠦᠭᠡᠶ ᠦᠶᠡ ᠳᠦ ᠠᠦᠢᠲ᠋ᠣ᠋ ᠠᠵᠢᠯᠯᠠᠭᠠᠨ ᠤ ᠬᠥᠯᠳᠡᠬᠦ ᠵᠠᠭᠪᠤᠷ ᠢ ᠠᠦ᠋ᠲ᠋ᠣ᠋ ᠪᠠᠷ ᠠᠵᠢᠯᠯᠠᠳᠠᠭ ᠃</translation> ++ <translation>ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠤ ᠬᠡᠮᠵᠢᠶᠡ ᠬᠦᠷᠦᠯᠴᠡᠬᠦ ᠦᠭᠡᠶ ᠦᠶᠡ ᠳᠦ ᠠᠦᠢᠲ᠋ᠣ᠋ ᠠᠵᠢᠯᠯᠠᠭᠠᠨ ᠤ ᠬᠥᠯᠳᠡᠬᠦ ᠵᠠᠭᠪᠤᠷ ᠢ ᠠᠦ᠋ᠲ᠋ᠣ᠋ ᠪᠠᠷ ᠠᠵᠢᠯᠯᠠᠳᠠᠭ</translation> + </message> + <message> + <location filename="../power.cpp" line="664"/> +@@ -133,23 +133,23 @@ + <location filename="../power.cpp" line="668"/> + <location filename="../power.cpp" line="669"/> + <source>Battery level is lower than</source> +- <translation>ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠤ ᠬᠡᠮᠵᠢᠶᠡ ᠨᠢ ᠳᠣᠤᠷᠠ ᠪᠠᠶᠢᠳᠠᠭ ᠃</translation> ++ <translation>ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠤ ᠬᠡᠮᠵᠢᠶᠡ ᠨᠢ ᠳᠣᠤᠷᠠ ᠪᠠᠶᠢᠳᠠᠭ</translation> + </message> + <message> + <location filename="../power.cpp" line="672"/> + <source>Run</source> +- <translation>ᠭᠦᠶᠦᠨᠡ ᠃</translation> ++ <translation>ᠭᠦᠶᠦᠨᠡ</translation> + </message> + <message> + <location filename="../power.cpp" line="674"/> + <location filename="../power.cpp" line="675"/> + <source>Display remaining charging time and usage time</source> +- <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠨᠡᠮᠡᠬᠦ ᠴᠠᠭ ᠪᠠ ᠬᠡᠷᠡᠭᠯᠡᠬᠦ ᠴᠠᠭ ᠢ ᠢᠯᠡᠷᠡᠭᠦᠯᠵᠡᠶ ᠃</translation> ++ <translation>ᠦᠯᠡᠳᠡᠭᠰᠡᠨ ᠴᠠᠬᠢᠯᠭᠠᠨ ᠨᠡᠮᠡᠬᠦ ᠴᠠᠭ ᠪᠠ ᠬᠡᠷᠡᠭᠯᠡᠬᠦ ᠴᠠᠭ ᠢ ᠢᠯᠡᠷᠡᠭᠦᠯᠵᠡᠶ</translation> + </message> + <message> + <location filename="../power.cpp" line="681"/> + <source>interactive</source> +- <translation>ᠬᠠᠷᠢᠯᠴᠠᠨ ᠬᠦᠳᠡᠯᠦᠯᠴᠡᠨᠡ᠃</translation> ++ <translation>ᠬᠠᠷᠢᠯᠴᠠᠨ ᠬᠦᠳᠡᠯᠦᠯᠴᠡᠨᠡ</translation> + </message> + <message> + <location filename="../power.cpp" line="681"/> +@@ -163,134 +163,134 @@ + <location filename="../power.cpp" line="709"/> + <location filename="../power.cpp" line="740"/> + <source>suspend</source> +- <translation></translation> ++ <translation>ᠵᠤᠭ᠍ᠰᠤᠭᠠᠬᠤ</translation> + </message> + <message> + <location filename="../power.cpp" line="681"/> + <location filename="../power.cpp" line="709"/> + <location filename="../power.cpp" line="740"/> + <source>hibernate</source> +- <translation>ᠡᠪᠦᠯ ᠦᠨ ᠨᠣᠶᠢᠷ᠃</translation> ++ <translation>ᠡᠪᠦᠯ ᠦᠨ ᠨᠣᠶᠢᠷ</translation> + </message> + <message> + <location filename="../power.cpp" line="691"/> + <source>5min</source> +- <translation>ᠲᠠᠪᠤᠨ ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>5 ᠮᠢᠨᠦ᠋ᠲ</translation> + </message> + <message> + <location filename="../power.cpp" line="691"/> + <location filename="../power.cpp" line="700"/> + <source>10min</source> +- <translation>ᠠᠷᠪᠠᠨ ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>10 ᠮᠢᠨᠦ᠋ᠲ</translation> + </message> + <message> + <location filename="../power.cpp" line="691"/> + <location filename="../power.cpp" line="700"/> + <source>15min</source> +- <translation>ᠠᠷᠪᠠᠨ ᠲᠠᠪᠤᠨ ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>15 ᠮᠢᠨᠦ᠋ᠲ</translation> + </message> + <message> + <location filename="../power.cpp" line="691"/> + <location filename="../power.cpp" line="700"/> + <source>30min</source> +- <translation>ᠭᠤᠴᠢᠨ ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>30 ᠮᠢᠨᠦ᠋ᠲ</translation> + </message> + <message> + <location filename="../power.cpp" line="691"/> + <location filename="../power.cpp" line="700"/> + <source>1h</source> +- <translation>ᠨᠢᠭᠡ ᠴᠠᠭ ᠃</translation> ++ <translation>1 ᠴᠠᠭ</translation> + </message> + <message> + <location filename="../power.cpp" line="691"/> + <location filename="../power.cpp" line="700"/> + <source>2h</source> +- <translation>ᠬᠣᠶᠠᠨ ᠴᠠᠭ ᠃</translation> ++ <translation>2 ᠴᠠᠭ</translation> + </message> + <message> + <location filename="../power.cpp" line="691"/> + <location filename="../power.cpp" line="700"/> + <source>never</source> +- <translation>ᠶᠡᠷᠦ ᠡᠴᠡ ᠪᠢᠰᠢ ᠃</translation> ++ <translation>ᠶᠡᠷᠦ ᠡᠴᠡ ᠪᠢᠰᠢ</translation> + </message> + <message> + <location filename="../power.cpp" line="700"/> + <source>3h</source> +- <translation>3 ᠴᠠᠭ ᠃</translation> ++ <translation>3 ᠴᠠᠭ</translation> + </message> + <message> + <location filename="../power.cpp" line="709"/> + <location filename="../power.cpp" line="740"/> + <source>nothing</source> +- <translation>ᠦᠭᠡᠢ ᠃</translation> ++ <translation>ᠠᠵᠢᠯᠯᠠᠬᠤᠢ ᠦᠬᠡᠢ</translation> + </message> + <message> + <location filename="../power.cpp" line="709"/> + <source>blank</source> +- <translation>ᠬᠣᠭᠣᠰᠣᠨ ᠃</translation> ++ <translation>ᠦᠵᠡᠬᠦᠷ ᠢ᠋ ᠬᠠᠭᠠᠬᠤ</translation> + </message> + <message> + <location filename="../power.cpp" line="720"/> + <location filename="../power.cpp" line="725"/> + <source>Balance</source> +- <translation>ᠲᠡᠩᠴᠡᠭᠦᠷᠢᠲᠡᠢ ᠃</translation> ++ <translation>ᠲᠡᠩᠴᠡᠭᠦᠷᠢ</translation> + </message> + <message> + <location filename="../power.cpp" line="720"/> + <location filename="../power.cpp" line="725"/> + <source>Energy Efficiency</source> +- <translation>ᠬᠦᠴᠦᠨ ᠴᠢᠳᠠᠪᠤᠷᠢ ᠃</translation> ++ <translation>ᠬᠠᠮᠤᠭ ᠰᠠᠢᠨ ᠡᠨᠧᠷᠭᠢᠶ᠋ᠢᠨ ᠠᠰᠢᠭᠯᠠᠮᠵᠢ</translation> + </message> + <message> + <location filename="../power.cpp" line="720"/> + <location filename="../power.cpp" line="725"/> + <source>Performance</source> +- <translation>ᠴᠢᠳᠠᠪᠬᠢ ᠃</translation> ++ <translation>ᠬᠠᠮᠤᠭ ᠰᠠᠢᠨ ᠴᠢᠳᠠᠮᠵᠢ</translation> + </message> + <message> + <location filename="../power.cpp" line="1189"/> + <source>It can improve battery life, but it will freeze background apps.</source> +- <translation>ᠲᠡᠷᠡ ᠨᠢ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠠᠮᠢ ᠨᠠᠰᠤ ᠶᠢ ᠤᠷᠲᠤᠳᠬᠠᠵᠤ ᠪᠣᠯᠣᠨᠠ ᠂ ᠭᠡᠪᠡᠴᠦ ᠠᠷᠤ ᠳᠠᠪᠴᠠᠩ ᠤᠨ ᠬᠡᠷᠡᠭᠯᠡᠭᠡᠨ ᠦ ᠫᠷᠤᠭ᠍ᠷᠠᠮ ᠢ ᠴᠡᠪᠳᠡᠭᠯᠡᠵᠦ ᠴᠢᠳᠠᠨᠠ ᠃</translation> ++ <translation>ᠲᠡᠷᠡ ᠨᠢ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠠᠮᠢ ᠨᠠᠰᠤ ᠶᠢ ᠤᠷᠲᠤᠳᠬᠠᠵᠤ ᠪᠣᠯᠣᠨᠠ ᠂ ᠭᠡᠪᠡᠴᠦ ᠠᠷᠤ ᠳᠠᠪᠴᠠᠩ ᠤᠨ ᠬᠡᠷᠡᠭᠯᠡᠭᠡᠨ ᠦ ᠫᠷᠤᠭ᠍ᠷᠠᠮ ᠢ ᠴᠡᠪᠳᠡᠭᠯᠡᠵᠦ ᠴᠢᠳᠠᠨᠠ</translation> + </message> + <message> + <location filename="../power.cpp" line="1203"/> + <source>When turned on, the battery life is increased by 1 minute</source> +- <translation>ᠡᠬᠢᠯᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠭᠰᠡᠨ ᠴᠠᠭ ᠨᠢᠭᠡ ᠮᠢᠨᠦᠢᠲ᠋ ᠨᠡᠮᠡᠭᠳᠡᠵᠡᠶ ᠃</translation> ++ <translation>ᠡᠬᠢᠯᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠭᠰᠡᠨ ᠴᠠᠭ ᠨᠢᠭᠡ ᠮᠢᠨᠦᠢᠲ᠋ ᠨᠡᠮᠡᠭᠳᠡᠵᠡᠶ</translation> + </message> + <message> + <location filename="../power.cpp" line="1205"/> + <source>When turned on, the battery life is increased by %1 minutes</source> +- <translation>ᠨᠡᠭᠡᠭᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠭᠰᠡᠨ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠨᠡ %1 ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>ᠨᠡᠭᠡᠭᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠭᠰᠡᠨ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠨᠡ %1 ᠮᠢᠨᠦᠢᠲ</translation> + </message> + <message> + <location filename="../power.cpp" line="1211"/> + <source>When turned on, the battery life is increased by 1 hour</source> +- <translation>ᠡᠬᠢᠯᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠠᠮᠢ ᠨᠠᠰᠤ ᠨᠢᠭᠡ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠵᠡᠶ ᠃</translation> ++ <translation>ᠡᠬᠢᠯᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠠᠮᠢ ᠨᠠᠰᠤ ᠨᠢᠭᠡ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠵᠡᠶ</translation> + </message> + <message> + <location filename="../power.cpp" line="1213"/> + <source>When turned on, the battery life is increased by 1 hour 1 minute</source> +- <translation>ᠡᠬᠢᠯᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠭᠰᠡᠨ ᠴᠠᠭ ᠨᠢᠭᠡ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠵᠦ ᠨᠢᠭᠡ ᠮᠢᠨᠦᠢᠲ᠋ ᠨᠡᠮᠡᠭᠳᠡᠵᠡᠶ ᠃</translation> ++ <translation>ᠡᠬᠢᠯᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠭᠰᠡᠨ ᠴᠠᠭ ᠨᠢᠭᠡ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠵᠦ ᠨᠢᠭᠡ ᠮᠢᠨᠦᠢᠲ᠋ ᠨᠡᠮᠡᠭᠳᠡᠵᠡᠶ</translation> + </message> + <message> + <location filename="../power.cpp" line="1215"/> + <source>When turned on, the battery life is increased by 1 hour %1 minutes</source> +- <translation>ᠨᠡᠭᠡᠭᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠭᠰᠡᠨ ᠴᠠᠭ ᠨᠢ ᠨᠢᠭᠡ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠨᠡ ( %1 ) ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>ᠨᠡᠭᠡᠭᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠭᠰᠡᠨ ᠴᠠᠭ ᠨᠢ ᠨᠢᠭᠡ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠨᠡ ( %1 ) ᠮᠢᠨᠦᠢᠲ</translation> + </message> + <message> + <location filename="../power.cpp" line="1219"/> + <source>When turned on, the battery life is increased by %1 hours</source> +- <translation>ᠨᠡᠭᠡᠭᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠭᠰᠡᠨ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠨᠡ %1 ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠨᠡ ᠃</translation> ++ <translation>ᠨᠡᠭᠡᠭᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠭᠰᠡᠨ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠨᠡ %1 ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠨᠡ</translation> + </message> + <message> + <location filename="../power.cpp" line="1221"/> + <source>When turned on, the battery life is increased by %1 hours 1 minute</source> +- <translation>ᠨᠡᠭᠡᠭᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠨ ᠠᠶᠠᠯᠠᠬᠤ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠵᠡᠶ %1 ᠴᠠᠭ 1 ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>ᠨᠡᠭᠡᠭᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠨ ᠠᠶᠠᠯᠠᠬᠤ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠵᠡᠶ %1 ᠴᠠᠭ 1 ᠮᠢᠨᠦᠢᠲ</translation> + </message> + <message> + <location filename="../power.cpp" line="1223"/> + <source>When turned on, the battery life is increased by %1 hours %2 minutes</source> +- <translation>ᠨᠡᠭᠡᠭᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠭᠰᠡᠨ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠨᠡ %1 ᠴᠠᠭ %2 ᠮᠢᠨᠦᠢᠲ᠋ ᠃</translation> ++ <translation>ᠨᠡᠭᠡᠭᠡᠭᠰᠡᠨ ᠦ ᠳᠠᠷᠠᠭᠠ ᠂ ᠳ᠋ᠢᠶᠠᠨ ᠢ ᠶᠢᠨ ᠦᠷᠭᠦᠯᠵᠢᠯᠡᠭᠰᠡᠨ ᠴᠠᠭ ᠨᠡᠮᠡᠭᠳᠡᠨᠡ %1 ᠴᠠᠭ %2 ᠮᠢᠨᠦᠢᠲ</translation> + </message> + </context> + </TS> diff -Nru ukui-power-manager-4.10.0.0/debian/patches/0026-49-IALGI4.patch ukui-power-manager-4.10.0.0/debian/patches/0026-49-IALGI4.patch --- ukui-power-manager-4.10.0.0/debian/patches/0026-49-IALGI4.patch 1970-01-01 08:00:00.000000000 +0800 +++ ukui-power-manager-4.10.0.0/debian/patches/0026-49-IALGI4.patch 2024-08-29 18:04:23.000000000 +0800 @@ -0,0 +1,98 @@ +From: =?utf-8?b?5rGf5bed5pyX5pyI?= <seolaeo@foxmail.com> +Date: Thu, 29 Aug 2024 10:07:50 +0000 +Subject: =?utf-8?b?ITQ5ICNJQUxHSTQg57u05ZOI5p+v6K+t6KiA54K55Ye75omY55uY55S1?= + =?utf-8?b?5rqQ566h55CG5L2N572u6ZSZ6K+vIE1lcmdlIHB1bGwgcmVxdWVzdCAhNDkgZnJv?= + =?utf-8?b?bSBoeXRlci9vcGVua3lsaW4vbmlsZQ==?= + +--- + ukui-power-manager-tray/powerwindow.cpp | 27 +++++++++++++++++++++++---- + ukui-power-manager-tray/powerwindow.h | 6 ++++-- + 2 files changed, 27 insertions(+), 6 deletions(-) + +diff --git a/ukui-power-manager-tray/powerwindow.cpp b/ukui-power-manager-tray/powerwindow.cpp +index 8d829db..ffa768d 100644 +--- a/ukui-power-manager-tray/powerwindow.cpp ++++ b/ukui-power-manager-tray/powerwindow.cpp +@@ -28,6 +28,7 @@ + powerwindow::powerwindow(QWidget *parent) : QWidget(parent) + { + qDebug() << " power window init start"; ++ m_specialLanguage = specialLanguage(); + initPlatformType(); + setWindowProperty(); //设置窗口属性 + installEventFilter(this); +@@ -440,8 +441,13 @@ void powerwindow::resetWindowPosition() + + switch (panelPosition) { + case PanelPosition::panel_top: +- x = availableGeometry.x() + availableGeometry.width() - this->width() - margin; +- y = availableGeometry.y() + panelSize + margin; ++ if (true == m_specialLanguage) { ++ x = availableGeometry.x() + margin; ++ y = availableGeometry.y() + panelSize + margin; ++ } else { ++ x = availableGeometry.x() + availableGeometry.width() - this->width() - margin; ++ y = availableGeometry.y() + panelSize + margin; ++ } + break; + + case PanelPosition::panel_left: +@@ -455,8 +461,13 @@ void powerwindow::resetWindowPosition() + break; + + default: +- x = availableGeometry.x() + availableGeometry.width() - this->width() - margin; +- y = availableGeometry.y() + availableGeometry.height() - panelSize - this->height() - margin; ++ if (true == m_specialLanguage) { ++ x = availableGeometry.x() + margin; ++ y = availableGeometry.y() + availableGeometry.height() - panelSize - this->height() - margin; ++ } else { ++ x = availableGeometry.x() + availableGeometry.width() - this->width() - margin; ++ y = availableGeometry.y() + availableGeometry.height() - panelSize - this->height() - margin; ++ } + break; + } + +@@ -534,3 +545,11 @@ void powerwindow::keyPressEvent(QKeyEvent *event) + } + QWidget::keyPressEvent(event); + } ++ ++bool powerwindow::specialLanguage() ++{ ++ if (qgetenv("LANGUAGE") == "ug_CN" || qgetenv("LANGUAGE") == "kk_KZ" || qgetenv("LANGUAGE") == "ky_KG") { ++ return true; ++ } ++ return false; ++} +diff --git a/ukui-power-manager-tray/powerwindow.h b/ukui-power-manager-tray/powerwindow.h +index 0ff988f..b23e9a5 100644 +--- a/ukui-power-manager-tray/powerwindow.h ++++ b/ukui-power-manager-tray/powerwindow.h +@@ -110,6 +110,8 @@ private : + KSlider *m_StateSlider; + KyLable *m_settingLabel; + ++ bool m_specialLanguage; ++ + enum powerPolicy + { + Performance = 0, +@@ -124,8 +126,6 @@ private : + panel_right + }; + +- +- + void initUI(); + void initPlatformType(); + void resetWindowPosition(); +@@ -135,6 +135,8 @@ private : + bool eventFilter(QObject *watched, QEvent *event); + void keyPressEvent(QKeyEvent *event); + ++ bool specialLanguage(); ++ + private Q_SLOTS: + void sliderValueChanged(int); + diff -Nru ukui-power-manager-4.10.0.0/debian/patches/0027-Translated-using-Weblate-Uyghur.patch ukui-power-manager-4.10.0.0/debian/patches/0027-Translated-using-Weblate-Uyghur.patch --- ukui-power-manager-4.10.0.0/debian/patches/0027-Translated-using-Weblate-Uyghur.patch 1970-01-01 08:00:00.000000000 +0800 +++ ukui-power-manager-4.10.0.0/debian/patches/0027-Translated-using-Weblate-Uyghur.patch 2024-08-29 18:04:23.000000000 +0800 @@ -0,0 +1,619 @@ +From: KevinDuan <duankaiwen@kylinos.cn> +Date: Sun, 29 Sep 2024 09:48:07 +0000 +Subject: Translated using Weblate (Uyghur) + +Currently translated at 100.0% (39 of 39 strings) + +Translation: openkylin-nile-new/ukui-power-manager-tray +Translate-URL: http://weblate.openkylin.top/projects/openkylin-nile-new/ukui-power-manager-tray/ug/ +--- + .../translations/ukui-power-manager-tray_kk.ts | 90 +++++++++++++--------- + .../translations/ukui-power-manager-tray_ky.ts | 88 ++++++++++++--------- + .../translations/ukui-power-manager-tray_ug.ts | 6 +- + 3 files changed, 106 insertions(+), 78 deletions(-) + +diff --git a/ukui-power-manager-tray/translations/ukui-power-manager-tray_kk.ts b/ukui-power-manager-tray/translations/ukui-power-manager-tray_kk.ts +index ec893e6..8dee013 100644 +--- a/ukui-power-manager-tray/translations/ukui-power-manager-tray_kk.ts ++++ b/ukui-power-manager-tray/translations/ukui-power-manager-tray_kk.ts +@@ -6,32 +6,32 @@ + <message> + <location filename="../notificationdialog.cpp" line="58"/> + <source>The system will %1 in 60 seconds as the battery is about to run out.</source> +- <translation>باتارىيەنىڭ توگى بىتەيىن دوپ قالدى، سەستيما 60 سەكٶنىتتن كەيىن%1 بولادٸ</translation> ++ <translation>باتاريا تۇگەگندە سەستاما %1 نى 60 سەكونتتا اتقار ىستەيدى.</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="69"/> + <source>I know</source> +- <translation>بەلگٸلەۋ</translation> ++ <translation>مەن بىلەمىن</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="107"/> + <source>The system will %1 in %2 seconds as the battery is about to run out.</source> +- <translation>باتارىيەنىڭ توگى بىتەيىن دوپ قالدى، سەستيما 60 سەكٶنىتتن كەيىن%2 بولادٸ</translation> ++ <translation>باتاريا تۇگەگندە سەستاما %1 نى 2% سەكونتتا اتقار ىستەيدى.</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="129"/> + <source>shutdown</source> +- <translation>جاۋىپ جىبەرۋ</translation> ++ <translation>تاقاۋ</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="131"/> + <source>hibernate</source> +- <translation>ۇيقتىاۋ</translation> ++ <translation>دولان مۇقامى</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="133"/> + <source>suspend</source> +- <translation>ۇيقى</translation> ++ <translation>توقتاتٸپ قويۋ</translation> + </message> + </context> + <context> +@@ -39,21 +39,21 @@ + <message> + <location filename="../powertray.cpp" line="104"/> + <source>SetPower</source> +- <translation>توك قاينارى ۋا ئۇيقۇنى تەڭشەۋ</translation> ++ <translation>توك قاينارى ۋا ۇيقى ورنالاسترعان ەتۋ</translation> + </message> + <message> + <location filename="../powertray.cpp" line="135"/> + <location filename="../powertray.cpp" line="153"/> + <location filename="../powertray.cpp" line="163"/> + <source>fully charged (100%)</source> +- <translation>(100%) تولدٸ</translation> ++ <translation>تولٸق زەرەتلەنگەن (%100)</translation> + </message> + <message> + <location filename="../powertray.cpp" line="137"/> + <location filename="../powertray.cpp" line="165"/> + <location filename="../powertray.cpp" line="174"/> + <source>%1% available (plugged in)</source> +- <translation>%1 ٸستەتكەلٸ بولادٸ (توككا شارپىلدى)</translation> ++ <translation>%1% ٸستەتكەلٸ بولاتٸن (قىستىرىلعان)</translation> + </message> + <message> + <location filename="../powertray.cpp" line="140"/> +@@ -62,27 +62,27 @@ + <location filename="../powertray.cpp" line="195"/> + <location filename="../powertray.cpp" line="206"/> + <source>%1% remaining</source> +- <translation>%1 ٸستەتكەلٸ بولادٸ</translation> ++ <translation>%1% قالىپ قالدى</translation> + </message> + <message> + <location filename="../powertray.cpp" line="170"/> + <source>%1 min to fully charge (%2%)</source> +- <translation>ٸشٸپ قالعان بٸر مينۋت تولدٸ</translation> ++ <translation>%1 تىن تولٸق توك تۇسىرۋ (%%2)</translation> + </message> + <message> + <location filename="../powertray.cpp" line="176"/> + <source>%1 hr %2 min to fully charge (%3%)</source> +- <translation>ٸشٸپ قالعان بٸر ساعات بٸر مينۋت تولدٸ</translation> ++ <translation>%1 hr %2 مينۋت تولٸق زەرەتلىمەكچى (%%3)</translation> + </message> + <message> + <location filename="../powertray.cpp" line="191"/> + <source>%1 min (%2%) remaining</source> +- <translation>بٸر مينۋت ٸشٸپ قالدى</translation> ++ <translation>%1 مىن (%%2) قالىپ قالدى</translation> + </message> + <message> + <location filename="../powertray.cpp" line="197"/> + <source>%1 hr %2 min (%3%) remaining</source> +- <translation>بٸر ساعات ەكٸ مينۋت ٸشٸپ قالدى</translation> ++ <translation>%1 hr %2 min (%3%) قالىپ قالدى</translation> + </message> + </context> + <context> +@@ -90,17 +90,17 @@ + <message> + <location filename="../powerwindow.cpp" line="134"/> + <source>Endurance</source> +- <translation>ەڭ جاقسى ەنەرگيا ٴونٸمٸ</translation> ++ <translation>چىدامچانلىق</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="142"/> + <source>Performance</source> +- <translation>ەڭ جاقسى رولٸ</translation> ++ <translation>ويٸن قويۋ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="146"/> + <source>PowerSettings</source> +- <translation>توك قاينارىنا تەڭشەۋ</translation> ++ <translation>توك قاينارىنا ورنالاسترعان ەتۋ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="149"/> +@@ -111,133 +111,147 @@ + <message> + <location filename="../powerwindow.cpp" line="245"/> + <source>BatteryMode</source> +- <translation>باتەريە كۇيى</translation> ++ <translation>باتاريا كۇيى</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="282"/> + <location filename="../powerwindow.cpp" line="302"/> + <location filename="../powerwindow.cpp" line="309"/> + <source>fully charged</source> +- <translation>تولدٸ</translation> ++ <translation>تولٸق ادىلەت الۋ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="284"/> + <location filename="../powerwindow.cpp" line="311"/> + <location filename="../powerwindow.cpp" line="319"/> + <source>Charging</source> +- <translation>توك تۇسىرىلپ جاتىر</translation> ++ <translation>زەرەتلەش</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="287"/> + <location filename="../powerwindow.cpp" line="348"/> + <location filename="../powerwindow.cpp" line="355"/> + <source>Discharging</source> +- <translation>رازياد قٶيىپ جاتىر</translation> ++ <translation>زەرەتلەش</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="317"/> + <source>%1 minutes + until fully charged</source> +- <translation>بٸر مينوتتىن كەيىن باتارىيەگە توك تۇسىرىلدى</translation> ++ <translation>%1 مينۋت ++تولٸق ادىلەت ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="323"/> + <source>%1 hour %2 minute + until fully charged</source> +- <translation>بٸر ساعات ەكٸ مينوتتىن كەيىن باتارىيەگە توك تۇسىرىلدى</translation> ++ <translation>%1 ساعات %2 مينۋت ++تولٸق ادىلەت ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="326"/> + <source>%1 hour + until fully charged</source> +- <translation>بٸر ساعاتتان كەيىن باتارىيەگە توك تۇسىرىلدى</translation> ++ <translation>%1 ساعات ++تولٸق ادىلەت ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="328"/> + <source>%1 hour %2 minutes + until fully charged</source> +- <translation>بٸر ساعات ەكٸ مينوتتىن كەيىن باتارىيەگە توك تۇسىرىلدى</translation> ++ <translation>%1 ساعات %2 مينۋت ++تولٸق ادىلەت ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="333"/> + <source>%1 hours %2 minute + until fully charged</source> +- <translation>بٸر ساعات ەكٸ مينوتتىن كەيىن باتارىيەگە توك تۇسىرىلدى</translation> ++ <translation>%1 ساعات %2 مينۋت ++تولٸق ادىلەت ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="336"/> + <source>%1 hours + until fully charged</source> +- <translation>بٸر ساعاتتان كەيىن باتارىيەگە توك تۇسىرىلدى</translation> ++ <translation>%1 ساعات ++تولٸق ادىلەت ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="338"/> + <source>%1 hours %2 minutes + until fully charged</source> +- <translation>بٸر ساعات ەكٸ مينوتتىن كەيىن باتارىيەگە توك تۇسىرىلدى</translation> ++ <translation>%1 ساعات %2 مينۋت ++تولٸق ادىلەت ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="353"/> + <source>%1 minutes + remaining</source> +- <translation>بٸر مينۋت قالدى</translation> ++ <translation>%1 مينۋت ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="359"/> + <source>%1 hour %2 minute + remaining</source> +- <translation>بٸر ساعات ەكٸ مينۋت قالدى</translation> ++ <translation>%1 ساعات %2 مينۋت ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="362"/> + <source>%1 hour + remaining</source> +- <translation>بٸر ساعات قالدى</translation> ++ <translation>%1 ساعات ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="365"/> + <source>%1 hour %2 minutes + remaining</source> +- <translation>بٸر ساعات ەكٸ مينۋت قالدى</translation> ++ <translation>%1 ساعات %2 مينۋت ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="370"/> + <source>%1 hours %2 minute + remaining</source> +- <translation>بٸر ساعات ەكٸ مينۋت قالدى</translation> ++ <translation>%1 ساعات %2 مينۋت ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="373"/> + <source>%1 hours + remaining</source> +- <translation>بٸر ساعات قالدى</translation> ++ <translation>%1 ساعات ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="376"/> + <source>%1 hours %2 minutes + remaining</source> +- <translation>بٸر ساعات ەكٸ مينۋت قالدى</translation> ++ <translation>%1 ساعات %2 مينۋت ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="463"/> + <location filename="../powerwindow.cpp" line="480"/> + <location filename="../powerwindow.cpp" line="517"/> + <source>Better endurance</source> +- <translation>توك ٸستەتۋ ۋاقىتى الٸدە جاقسى</translation> ++ <translation>الٸدە جاقسى چىدامچانلىق</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="467"/> + <location filename="../powerwindow.cpp" line="484"/> + <location filename="../powerwindow.cpp" line="513"/> + <source>Better performance</source> +- <translation>رولدارٸ الٸدە جاقسى</translation> ++ <translation>الٸدە جاقسى بەينەلەنۋٸ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="471"/> + <location filename="../powerwindow.cpp" line="488"/> + <location filename="../powerwindow.cpp" line="509"/> + <source>Best performance</source> +- <translation>ەڭ جاقسى رولٸ</translation> ++ <translation>ەڭ جاقسى بەينەلەنۋٸ</translation> + </message> + </context> + </TS> +diff --git a/ukui-power-manager-tray/translations/ukui-power-manager-tray_ky.ts b/ukui-power-manager-tray/translations/ukui-power-manager-tray_ky.ts +index 51b1052..58e8bd7 100644 +--- a/ukui-power-manager-tray/translations/ukui-power-manager-tray_ky.ts ++++ b/ukui-power-manager-tray/translations/ukui-power-manager-tray_ky.ts +@@ -6,32 +6,32 @@ + <message> + <location filename="../notificationdialog.cpp" line="58"/> + <source>The system will %1 in 60 seconds as the battery is about to run out.</source> +- <translation>باتارىيەنىڭ تۅگۉ تۉگۅيۉن دەپ قالدى، ساامالىق 60 سەكونتتون كىيىن%1 بولوت</translation> ++ <translation>باتارىيا تۈگىگەندە سەستىما %1 نى 60 سېكۇنتتا اتقارماق جاسايت .</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="69"/> + <source>I know</source> +- <translation>بەلگىلۅۅ</translation> ++ <translation>مەن بىلىمەن</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="107"/> + <source>The system will %1 in %2 seconds as the battery is about to run out.</source> +- <translation>باتارىيەنىڭ تۅگۉ تۉگۅيۉن دەپ قالدى، ساامالىق 60 سەكونتتون كىيىن%2 بولوت</translation> ++ <translation>باتارىيا تۈگىگەندە سەستىما %1 نى 2% سېكۇنتتا اتقارماق جاسايت .</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="129"/> + <source>shutdown</source> +- <translation>ئىتىۋېتىش</translation> ++ <translation>بەكىتىش</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="131"/> + <source>hibernate</source> +- <translation>ۇقتوو</translation> ++ <translation>دولان مۇقامى</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="133"/> + <source>suspend</source> +- <translation>ۇيقۇ</translation> ++ <translation>توقتوتۇپ قويۇش</translation> + </message> + </context> + <context> +@@ -39,21 +39,21 @@ + <message> + <location filename="../powertray.cpp" line="104"/> + <source>SetPower</source> +- <translation>تۅك قاينارى جانا ئۇيقۇنى تەڭشۅۅ</translation> ++ <translation>تۅك قاينارى جانا ۇيقۇ قۇرۇۇ ، اچۇۇ ، باشتوو جاسوو ،اتقارۇۇ</translation> + </message> + <message> + <location filename="../powertray.cpp" line="135"/> + <location filename="../powertray.cpp" line="153"/> + <location filename="../powertray.cpp" line="163"/> + <source>fully charged (100%)</source> +- <translation>(100%) توشتۇ</translation> ++ <translation>تولۇق زەرەتلەنگەن (%100)</translation> + </message> + <message> + <location filename="../powertray.cpp" line="137"/> + <location filename="../powertray.cpp" line="165"/> + <location filename="../powertray.cpp" line="174"/> + <source>%1% available (plugged in)</source> +- <translation>%1 ىشتەتكەلى بولوت (توككا چېتىلدى)</translation> ++ <translation>%1% ىشتەتكەلى بولوتۇرعان (قىستارىلعان)</translation> + </message> + <message> + <location filename="../powertray.cpp" line="140"/> +@@ -62,27 +62,27 @@ + <location filename="../powertray.cpp" line="195"/> + <location filename="../powertray.cpp" line="206"/> + <source>%1% remaining</source> +- <translation>%1 ىشتەتكەلى بولوت</translation> ++ <translation>%1% قالپ قالدى</translation> + </message> + <message> + <location filename="../powertray.cpp" line="170"/> + <source>%1 min to fully charge (%2%)</source> +- <translation>اشىپ قالعان بىر مىنۇت توشتۇ</translation> ++ <translation>%1 تىن تولۇق تۅك قاچالوو (%%2)</translation> + </message> + <message> + <location filename="../powertray.cpp" line="176"/> + <source>%1 hr %2 min to fully charge (%3%)</source> +- <translation>اشىپ قالعان بىر ساات بىر مىنۇت توشتۇ</translation> ++ <translation>%1 hr %2 مىنۇت تولۇق زەرەتلىمەكچى (%%3)</translation> + </message> + <message> + <location filename="../powertray.cpp" line="191"/> + <source>%1 min (%2%) remaining</source> +- <translation>بىر مىنۇت اشىپ قالدى</translation> ++ <translation>%1 مىن (%%2) قالپ قالدى</translation> + </message> + <message> + <location filename="../powertray.cpp" line="197"/> + <source>%1 hr %2 min (%3%) remaining</source> +- <translation>بىر ساات ەكى مىنۇت اشىپ قالدى</translation> ++ <translation>%1 hr %2 min (%3%) قالپ قالدى</translation> + </message> + </context> + <context> +@@ -90,17 +90,17 @@ + <message> + <location filename="../powerwindow.cpp" line="134"/> + <source>Endurance</source> +- <translation>ەڭ جاقشى ەنەرگىيا ۅنۉمۉ</translation> ++ <translation>چىدامچانلىق</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="142"/> + <source>Performance</source> +- <translation>ەڭ جاقشى قۇربات ، جۅندۅم</translation> ++ <translation>ويۇن قويۇش</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="146"/> + <source>PowerSettings</source> +- <translation>تۅك كەلۉۉ قاينارىن تەڭشۅۅ</translation> ++ <translation>تۅك كەلۉۉ قاينارىن قۇرۇۇ ، اچۇۇ ، باشتوو جاسوو ،اتقارۇۇ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="149"/> +@@ -118,126 +118,140 @@ + <location filename="../powerwindow.cpp" line="302"/> + <location filename="../powerwindow.cpp" line="309"/> + <source>fully charged</source> +- <translation>توشتۇ</translation> ++ <translation>تولۇق اقى الۇۇ</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="284"/> + <location filename="../powerwindow.cpp" line="311"/> + <location filename="../powerwindow.cpp" line="319"/> + <source>Charging</source> +- <translation>تۅك قاچالانىپ جاتات</translation> ++ <translation>زەرەتلەش</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="287"/> + <location filename="../powerwindow.cpp" line="348"/> + <location filename="../powerwindow.cpp" line="355"/> + <source>Discharging</source> +- <translation>زارات قويۇپ جاتات</translation> ++ <translation>زەرەتلەش</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="317"/> + <source>%1 minutes + until fully charged</source> +- <translation>بىر مىنۇتتان كىيىن باتارىيەگە تۅك قاچالانات</translation> ++ <translation>%1 مىنۇت ++تولۇق اقى ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="323"/> + <source>%1 hour %2 minute + until fully charged</source> +- <translation>بىر ساات ەكى مىنۇتتان كىيىن باتارىيەگە تۅك قاچالانات</translation> ++ <translation>%1 ساات %2 مىنۇت ++تولۇق اقى ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="326"/> + <source>%1 hour + until fully charged</source> +- <translation>بىر سائەتتىن كىيىن باتارىيەگە تۅك قاچالانات</translation> ++ <translation>%1 ساات ++تولۇق اقى ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="328"/> + <source>%1 hour %2 minutes + until fully charged</source> +- <translation>بىر ساات ەكى مىنۇتتان كىيىن باتارىيەگە تۅك قاچالانات</translation> ++ <translation>%1 ساات %2 مىنۇت ++تولۇق اقى ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="333"/> + <source>%1 hours %2 minute + until fully charged</source> +- <translation>بىر ساات ەكى مىنۇتتان كىيىن باتارىيەگە تۅك قاچالانات</translation> ++ <translation>%1 ساات %2 مىنۇت ++تولۇق اقى ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="336"/> + <source>%1 hours + until fully charged</source> +- <translation>بىر سائەتتىن كىيىن باتارىيەگە تۅك قاچالانات</translation> ++ <translation>%1 ساات ++تولۇق اقى ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="338"/> + <source>%1 hours %2 minutes + until fully charged</source> +- <translation>بىر ساات ەكى مىنۇتتان كىيىن باتارىيەگە تۅك قاچالانات</translation> ++ <translation>%1 ساات %2 مىنۇت ++تولۇق اقى ئالغۇچە</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="353"/> + <source>%1 minutes + remaining</source> +- <translation>بىر مىنۇت قالدى</translation> ++ <translation>%1 مىنۇت ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="359"/> + <source>%1 hour %2 minute + remaining</source> +- <translation>بىر ساات ەكى مىنۇت قالدى</translation> ++ <translation>%1 ساات %2 مىنۇت ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="362"/> + <source>%1 hour + remaining</source> +- <translation>بىر ساات قالدى</translation> ++ <translation>%1 ساات ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="365"/> + <source>%1 hour %2 minutes + remaining</source> +- <translation>بىر ساات ەكى مىنۇت قالدى</translation> ++ <translation>%1 ساات %2 مىنۇت ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="370"/> + <source>%1 hours %2 minute + remaining</source> +- <translation>بىر ساات ەكى مىنۇت قالدى</translation> ++ <translation>%1 ساات %2 مىنۇت ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="373"/> + <source>%1 hours + remaining</source> +- <translation>بىر ساات قالدى</translation> ++ <translation>%1 ساات ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="376"/> + <source>%1 hours %2 minutes + remaining</source> +- <translation>بىر ساات ەكى مىنۇت قالدى</translation> ++ <translation>%1 ساات %2 مىنۇت ++قالعان</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="463"/> + <location filename="../powerwindow.cpp" line="480"/> + <location filename="../powerwindow.cpp" line="517"/> + <source>Better endurance</source> +- <translation>تۅك ىشتەتىش ۇباقتى داعى ەلە جاقشى</translation> ++ <translation>داعى ەلە جاقشى چىدامچانلىق</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="467"/> + <location filename="../powerwindow.cpp" line="484"/> + <location filename="../powerwindow.cpp" line="513"/> + <source>Better performance</source> +- <translation>قۇرباتى داعى ەلە جاقشى</translation> ++ <translation>داعى ەلە جاقشى تۇيۇنتاماسى</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="471"/> + <location filename="../powerwindow.cpp" line="488"/> + <location filename="../powerwindow.cpp" line="509"/> + <source>Best performance</source> +- <translation>ەڭ جاقشى قۇربات ، جۅندۅم</translation> ++ <translation>ەڭ جاقشى تۇيۇنتاماسى</translation> + </message> + </context> + </TS> +diff --git a/ukui-power-manager-tray/translations/ukui-power-manager-tray_ug.ts b/ukui-power-manager-tray/translations/ukui-power-manager-tray_ug.ts +index b61714e..a8fdf14 100644 +--- a/ukui-power-manager-tray/translations/ukui-power-manager-tray_ug.ts ++++ b/ukui-power-manager-tray/translations/ukui-power-manager-tray_ug.ts +@@ -6,7 +6,7 @@ + <message> + <location filename="../notificationdialog.cpp" line="58"/> + <source>The system will %1 in 60 seconds as the battery is about to run out.</source> +- <translation>باتارىيە تۈگىگەندە سېستىما %1 نى 60 سېكۇنتتا ئىجرا قىلىدۇ.</translation> ++ <translation>باتارېيە تۈگىگەندە سېسىتما %1 نى 60 سېكۇنتتا ئىجرا قىلىدۇ.</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="69"/> +@@ -16,7 +16,7 @@ + <message> + <location filename="../notificationdialog.cpp" line="107"/> + <source>The system will %1 in %2 seconds as the battery is about to run out.</source> +- <translation>باتارىيە تۈگىگەندە سېستىما %1 نى 2% سېكۇنتتا ئىجرا قىلىدۇ.</translation> ++ <translation>باتارېيە تۈگىگەندە سېسىتما %1 نى 2% سېكۇنتتا ئىجرا قىلىدۇ.</translation> + </message> + <message> + <location filename="../notificationdialog.cpp" line="129"/> +@@ -111,7 +111,7 @@ + <message> + <location filename="../powerwindow.cpp" line="245"/> + <source>BatteryMode</source> +- <translation>باتارىيە ھالىتى</translation> ++ <translation>باتارېيە ھالىتى</translation> + </message> + <message> + <location filename="../powerwindow.cpp" line="282"/> diff -Nru ukui-power-manager-4.10.0.0/debian/patches/0028-Translated-using-Weblate-Kyrgyz.patch ukui-power-manager-4.10.0.0/debian/patches/0028-Translated-using-Weblate-Kyrgyz.patch --- ukui-power-manager-4.10.0.0/debian/patches/0028-Translated-using-Weblate-Kyrgyz.patch 1970-01-01 08:00:00.000000000 +0800 +++ ukui-power-manager-4.10.0.0/debian/patches/0028-Translated-using-Weblate-Kyrgyz.patch 2024-08-29 18:04:23.000000000 +0800 @@ -0,0 +1,45 @@ +From: KevinDuan <duankaiwen@kylinos.cn> +Date: Sun, 29 Sep 2024 15:50:58 +0000 +Subject: Translated using Weblate (Kyrgyz) + +Currently translated at 100.0% (39 of 39 strings) + +Translation: openkylin-nile-new/ukui-power-manager-tray +Translate-URL: http://weblate.openkylin.top/projects/openkylin-nile-new/ukui-power-manager-tray/ky/ +--- + ukui-power-manager-tray/translations/ukui-power-manager-tray_kk.ts | 4 ++-- + ukui-power-manager-tray/translations/ukui-power-manager-tray_ky.ts | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ukui-power-manager-tray/translations/ukui-power-manager-tray_kk.ts b/ukui-power-manager-tray/translations/ukui-power-manager-tray_kk.ts +index 8dee013..b34f0bc 100644 +--- a/ukui-power-manager-tray/translations/ukui-power-manager-tray_kk.ts ++++ b/ukui-power-manager-tray/translations/ukui-power-manager-tray_kk.ts +@@ -67,12 +67,12 @@ + <message> + <location filename="../powertray.cpp" line="170"/> + <source>%1 min to fully charge (%2%)</source> +- <translation>%1 تىن تولٸق توك تۇسىرۋ (%%2)</translation> ++ <translation>%1 تىن تولٸق توك تۇسىرۋ (%2%)</translation> + </message> + <message> + <location filename="../powertray.cpp" line="176"/> + <source>%1 hr %2 min to fully charge (%3%)</source> +- <translation>%1 hr %2 مينۋت تولٸق زەرەتلىمەكچى (%%3)</translation> ++ <translation>%1 hr %2 مينۋت تولٸق زەرەتلىمەكچى (%3%)</translation> + </message> + <message> + <location filename="../powertray.cpp" line="191"/> +diff --git a/ukui-power-manager-tray/translations/ukui-power-manager-tray_ky.ts b/ukui-power-manager-tray/translations/ukui-power-manager-tray_ky.ts +index 58e8bd7..2507f3c 100644 +--- a/ukui-power-manager-tray/translations/ukui-power-manager-tray_ky.ts ++++ b/ukui-power-manager-tray/translations/ukui-power-manager-tray_ky.ts +@@ -67,7 +67,7 @@ + <message> + <location filename="../powertray.cpp" line="170"/> + <source>%1 min to fully charge (%2%)</source> +- <translation>%1 تىن تولۇق تۅك قاچالوو (%%2)</translation> ++ <translation>%1 تىن تولۇق تۅك قاچالوو (%2%)</translation> + </message> + <message> + <location filename="../powertray.cpp" line="176"/> diff -Nru ukui-power-manager-4.10.0.0/debian/patches/series ukui-power-manager-4.10.0.0/debian/patches/series --- ukui-power-manager-4.10.0.0/debian/patches/series 2024-03-26 09:23:35.000000000 +0800 +++ ukui-power-manager-4.10.0.0/debian/patches/series 2024-08-29 18:04:23.000000000 +0800 @@ -20,3 +20,9 @@ 0020-Translated-using-Weblate-Kyrgyz.patch 0021-Translated-using-Weblate-Kyrgyz.patch 0022-update-debian-changelog.patch +0023-47-UpmGsettings-key-getValueType.patch +0024-Translated-using-Weblate-Mongolian.patch +0025-update-debian-changelog.patch +0026-49-IALGI4.patch +0027-Translated-using-Weblate-Uyghur.patch +0028-Translated-using-Weblate-Kyrgyz.patch