新增获取CPU运行时长的翻译

This commit is contained in:
shaozhimin 2024-07-15 10:54:00 +08:00 committed by openkylin-cibot
parent 26a5ca30ab
commit b9e5360996
6 changed files with 1454 additions and 21 deletions

View File

@ -3,3 +3,14 @@ usr/lib/*/libkybluetooth.so*
usr/lib/*/libkyedid.so*
usr/lib/*/libkyfan.so*
usr/lib/*/libkyhwinfo.so*
po/kysdk-system_mn.mo usr/share/locale/mn/LC_MESSAGES/
po/kysdk-system_zh_CN.mo usr/share/locale/zh_CN/LC_MESSAGES/
po/kysdk-system_bo_CN.mo usr/share/locale/bo_CN/LC_MESSAGES/
po/kysdk-system_zh_HK.mo usr/share/locale/zh_HK/LC_MESSAGES/
po/kysdk-system_kk.mo usr/share/locale/kk/LC_MESSAGES/
po/kysdk-system_ky.mo usr/share/locale/ky/LC_MESSAGES/
po/kysdk-system_de.mo usr/share/locale/de/LC_MESSAGES/
po/kysdk-system_es.mo usr/share/locale/es/LC_MESSAGES/
po/kysdk-system_fr.mo usr/share/locale/fr/LC_MESSAGES/
po/kysdk-system_ug.mo usr/share/locale/ug/LC_MESSAGES/

View File

@ -3,4 +3,15 @@ if systemctl is-active --quiet kysdk-dbus.service; then
systemctl restart kysdk-dbus.service
else
echo "kysdk-dbus.service is not active"
fi
fi
mv /usr/share/locale/mn/LC_MESSAGES/kysdk-system_mn.mo /usr/share/locale/mn/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/zh_CN/LC_MESSAGES/kysdk-system_zh_CN.mo /usr/share/locale/zh_CN/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/bo_CN/LC_MESSAGES/kysdk-system_bo_CN.mo /usr/share/locale/bo_CN/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/zh_HK/LC_MESSAGES/kysdk-system_zh_HK.mo /usr/share/locale/zh_HK/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/kk/LC_MESSAGES/kysdk-system_kk.mo /usr/share/locale/kk/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/ky/LC_MESSAGES/kysdk-system_ky.mo /usr/share/locale/ky/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/de/LC_MESSAGES/kysdk-system_de.mo /usr/share/locale/de/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/es/LC_MESSAGES/kysdk-system_es.mo /usr/share/locale/es/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/fr/LC_MESSAGES/kysdk-system_fr.mo /usr/share/locale/fr/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/ug/LC_MESSAGES/kysdk-system_ug.mo /usr/share/locale/ug/LC_MESSAGES/kysdk-system.mo

View File

@ -1,11 +1,11 @@
usr/lib/*/libkysysinfo.so*
po/kysdk-sysinfo_mn.mo usr/share/locale/mn/LC_MESSAGES/
po/kysdk-sysinfo_zh_CN.mo usr/share/locale/zh_CN/LC_MESSAGES/
po/kysdk-sysinfo_bo_CN.mo usr/share/locale/bo_CN/LC_MESSAGES/
po/kysdk-sysinfo_zh_HK.mo usr/share/locale/zh_HK/LC_MESSAGES/
po/kysdk-sysinfo_kk.mo usr/share/locale/kk/LC_MESSAGES/
po/kysdk-sysinfo_ky.mo usr/share/locale/ky/LC_MESSAGES/
po/kysdk-sysinfo_de.mo usr/share/locale/de/LC_MESSAGES/
po/kysdk-sysinfo_es.mo usr/share/locale/es/LC_MESSAGES/
po/kysdk-sysinfo_fr.mo usr/share/locale/fr/LC_MESSAGES/
po/kysdk-sysinfo_ug.mo usr/share/locale/ug/LC_MESSAGES/
po/kysdk-system_mn.mo usr/share/locale/mn/LC_MESSAGES/
po/kysdk-system_zh_CN.mo usr/share/locale/zh_CN/LC_MESSAGES/
po/kysdk-system_bo_CN.mo usr/share/locale/bo_CN/LC_MESSAGES/
po/kysdk-system_zh_HK.mo usr/share/locale/zh_HK/LC_MESSAGES/
po/kysdk-system_kk.mo usr/share/locale/kk/LC_MESSAGES/
po/kysdk-system_ky.mo usr/share/locale/ky/LC_MESSAGES/
po/kysdk-system_de.mo usr/share/locale/de/LC_MESSAGES/
po/kysdk-system_es.mo usr/share/locale/es/LC_MESSAGES/
po/kysdk-system_fr.mo usr/share/locale/fr/LC_MESSAGES/
po/kysdk-system_ug.mo usr/share/locale/ug/LC_MESSAGES/

View File

@ -1,13 +1,13 @@
mv /usr/share/locale/mn/LC_MESSAGES/kysdk-sysinfo_mn.mo /usr/share/locale/mn/LC_MESSAGES/kysdk-sysinfo.mo
mv /usr/share/locale/zh_CN/LC_MESSAGES/kysdk-sysinfo_zh_CN.mo /usr/share/locale/zh_CN/LC_MESSAGES/kysdk-sysinfo.mo
mv /usr/share/locale/bo_CN/LC_MESSAGES/kysdk-sysinfo_bo_CN.mo /usr/share/locale/bo_CN/LC_MESSAGES/kysdk-sysinfo.mo
mv /usr/share/locale/zh_HK/LC_MESSAGES/kysdk-sysinfo_zh_HK.mo /usr/share/locale/zh_HK/LC_MESSAGES/kysdk-sysinfo.mo
mv /usr/share/locale/kk/LC_MESSAGES/kysdk-sysinfo_kk.mo /usr/share/locale/kk/LC_MESSAGES/kysdk-sysinfo.mo
mv /usr/share/locale/ky/LC_MESSAGES/kysdk-sysinfo_ky.mo /usr/share/locale/ky/LC_MESSAGES/kysdk-sysinfo.mo
mv /usr/share/locale/de/LC_MESSAGES/kysdk-sysinfo_de.mo /usr/share/locale/de/LC_MESSAGES/kysdk-sysinfo.mo
mv /usr/share/locale/es/LC_MESSAGES/kysdk-sysinfo_es.mo /usr/share/locale/es/LC_MESSAGES/kysdk-sysinfo.mo
mv /usr/share/locale/fr/LC_MESSAGES/kysdk-sysinfo_fr.mo /usr/share/locale/fr/LC_MESSAGES/kysdk-sysinfo.mo
mv /usr/share/locale/ug/LC_MESSAGES/kysdk-sysinfo_ug.mo /usr/share/locale/ug/LC_MESSAGES/kysdk-sysinfo.mo
mv /usr/share/locale/mn/LC_MESSAGES/kysdk-system_mn.mo /usr/share/locale/mn/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/zh_CN/LC_MESSAGES/kysdk-system_zh_CN.mo /usr/share/locale/zh_CN/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/bo_CN/LC_MESSAGES/kysdk-system_bo_CN.mo /usr/share/locale/bo_CN/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/zh_HK/LC_MESSAGES/kysdk-system_zh_HK.mo /usr/share/locale/zh_HK/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/kk/LC_MESSAGES/kysdk-system_kk.mo /usr/share/locale/kk/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/ky/LC_MESSAGES/kysdk-system_ky.mo /usr/share/locale/ky/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/de/LC_MESSAGES/kysdk-system_de.mo /usr/share/locale/de/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/es/LC_MESSAGES/kysdk-system_es.mo /usr/share/locale/es/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/fr/LC_MESSAGES/kysdk-system_fr.mo /usr/share/locale/fr/LC_MESSAGES/kysdk-system.mo
mv /usr/share/locale/ug/LC_MESSAGES/kysdk-system_ug.mo /usr/share/locale/ug/LC_MESSAGES/kysdk-system.mo
if systemctl is-active --quiet kysdk-dbus.service; then
echo "kysdk-dbus.service is active, restarting..."

1410
debian/patches/0011-CPU.patch vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -8,3 +8,4 @@
0008-.patch
0009-Added-translation-using-Weblate-Uyghur-ug_CN.patch
0010-Translated-using-Weblate-kysdk_SYSINFO-zh_hk-generat.patch
0011-CPU.patch