fix: translation
Description: 【次要】【控制面板】蒙文下,二级页面存在未翻译部分 Log: https://gitee.com/openkylin/ukui-control-center/issues/I8WWGG Bug: https://gitee.com/openkylin/ukui-control-center/issues/I8WWGG
This commit is contained in:
parent
4d7afb89a1
commit
7ab2bef444
|
@ -93,7 +93,7 @@ private:
|
|||
|
||||
AutoBoot::AutoBoot() : mFirstLoad(true)
|
||||
{
|
||||
pluginName = tr("Auto Boot");
|
||||
pluginName = tr("Auto Start");
|
||||
pluginType = APPLICATION;
|
||||
}
|
||||
|
||||
|
@ -143,7 +143,7 @@ QWidget *AutoBoot::pluginUi()
|
|||
|
||||
const QString AutoBoot::name() const
|
||||
{
|
||||
return QStringLiteral("Autoboot");
|
||||
return QStringLiteral("Autostart");
|
||||
}
|
||||
|
||||
bool AutoBoot::isShowOnHomePage() const
|
||||
|
|
|
@ -13,8 +13,8 @@ void AutoBootUi::initUi()
|
|||
vLyt->setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
TitleLabel *mTitleLabel = new TitleLabel(this);
|
||||
//~ contents_path /Autoboot/Autoboot Settings
|
||||
mTitleLabel->setText(tr("Autoboot Settings"));
|
||||
//~ contents_path /Autostart/Autostart Settings
|
||||
mTitleLabel->setText(tr("Autostart Settings"));
|
||||
|
||||
mAutobootWidget = new SettingGroup(this);
|
||||
|
||||
|
@ -23,7 +23,7 @@ void AutoBootUi::initUi()
|
|||
QHBoxLayout *Lyt = new QHBoxLayout(mAddWidget);
|
||||
Lyt->setContentsMargins(0, 0, 0, 0);
|
||||
mAddBtn = new AddButton(mAddWidget);
|
||||
//~ contents_path /autoboot/Add
|
||||
//~ contents_path /Autostart/Add
|
||||
Lyt->addWidget(mAddBtn);
|
||||
|
||||
vLyt->addWidget(mTitleLabel);
|
||||
|
|
|
@ -632,6 +632,7 @@ void Theme::initConnection()
|
|||
revokeGlobalThemeSlot("getSupportBlur", "true");
|
||||
|
||||
changeEffectSlot(checked);
|
||||
personliseGsettings->set(PERSONALSIE_EFFECT_KEY, checked);
|
||||
|
||||
revokeGlobalThemeSlot("getTransparencyBlur", checked ? QString::number(save_trans) : "100");
|
||||
revokeGlobalThemeSlot("getSupportTransparency", "true");
|
||||
|
@ -705,10 +706,14 @@ void Theme::initConnection()
|
|||
if (key == "effect") {
|
||||
if (UkccCommon::isOpenkylin())
|
||||
qApp->setStyle(new InternalStyle("ukui"));
|
||||
bool effectEnabled = personliseGsettings->get("effect").toBool();
|
||||
mEffectWidget->blockSignals(true);
|
||||
mEffectWidget->setChecked(effectEnabled);
|
||||
mEffectWidget->blockSignals(false);
|
||||
bool effectEnabled = personliseGsettings->get(PERSONALSIE_EFFECT_KEY).toBool();
|
||||
bool effectBtnStatus = mEffectWidget->isChecked();
|
||||
if (effectEnabled != effectBtnStatus) {
|
||||
changeEffectSlot(effectEnabled);
|
||||
mEffectWidget->blockSignals(true);
|
||||
mEffectWidget->setChecked(effectEnabled);
|
||||
mEffectWidget->blockSignals(false);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
1507
shell/res/i18n/de.ts
1507
shell/res/i18n/de.ts
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1501
shell/res/i18n/es.ts
1501
shell/res/i18n/es.ts
File diff suppressed because it is too large
Load Diff
1507
shell/res/i18n/fr.ts
1507
shell/res/i18n/fr.ts
File diff suppressed because it is too large
Load Diff
1527
shell/res/i18n/kk.ts
1527
shell/res/i18n/kk.ts
File diff suppressed because it is too large
Load Diff
1527
shell/res/i18n/ky.ts
1527
shell/res/i18n/ky.ts
File diff suppressed because it is too large
Load Diff
1944
shell/res/i18n/mn.ts
1944
shell/res/i18n/mn.ts
File diff suppressed because it is too large
Load Diff
1814
shell/res/i18n/tr.ts
1814
shell/res/i18n/tr.ts
File diff suppressed because it is too large
Load Diff
1527
shell/res/i18n/ug.ts
1527
shell/res/i18n/ug.ts
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -153,5 +153,6 @@
|
|||
<file>i18n/ky.ts</file>
|
||||
<file>i18n/ug.ts</file>
|
||||
<file>i18n/bo_CN.ts</file>
|
||||
<file>i18n/zh_HK.ts</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -628,13 +628,10 @@ void SearchWidget::setLanguage(QString type) {
|
|||
} else {
|
||||
m_completer->setCompletionRole(Qt::DisplayRole);
|
||||
}
|
||||
QTimer::singleShot(1, this, [=]() {
|
||||
QtConcurrent::run([=]() {
|
||||
loadxml();
|
||||
//记录搜索项总数
|
||||
count = m_model->rowCount();
|
||||
});
|
||||
});
|
||||
// QtConcurrent search dbus cannot get result. issue#I8W7WE
|
||||
loadxml();
|
||||
//记录搜索项总数
|
||||
count = m_model->rowCount();
|
||||
}
|
||||
|
||||
//save all modules moduleInteface name and actual moduleName
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
[Desktop Entry]
|
||||
Name=Settings
|
||||
Name[zh_CN]=设置
|
||||
Name[zh_HK]=设置
|
||||
Name[zh_TW]=设置
|
||||
Name[zh_HK]=設置
|
||||
Name[zh_TW]=設置
|
||||
Name[bo_CN]=གསར་འཛུགས་
|
||||
Name[mn_MN]=тохируулах
|
||||
Name[tr]=Denetim Merkezi
|
||||
Comment=UKUI控制面板
|
||||
Comment[tr]=UKUI Kontrol Merkezi
|
||||
Icon=ukui-control-center
|
||||
Exec=/usr/bin/ukui-control-center
|
||||
Exec=/usr/bin/ukui-control-center %U
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
|
|
|
@ -31,6 +31,7 @@ TRANSLATIONS += \
|
|||
shell/res/i18n/lzh.ts \
|
||||
shell/res/i18n/mn.ts \
|
||||
shell/res/i18n/zh_Hant.ts \
|
||||
shell/res/i18n/zh_HK.ts \
|
||||
|
||||
|
||||
# Automating generation .qm files from .ts files
|
||||
|
|
Loading…
Reference in New Issue