调整翻译

This commit is contained in:
2024-05-02 21:28:10 +08:00
parent adc6d1836c
commit dc64db73bf
3 changed files with 21 additions and 9 deletions

View File

@@ -25,8 +25,10 @@ KernelInstaller::KernelInstaller(Option option, QStringList kernelList, QWidget
switch(runOption) {
case Option::Install:
ui->m_status->setText(tr("Try to install ") + kernel);
break;
case Option::Remove:
ui->m_status->setText(tr("Try to remove ") + kernel);
break;
}
@@ -75,8 +77,10 @@ QString KernelInstaller::BuildKernelInstallerBash(QStringList kernelList, QStrin
switch(runOption) {
case Option::Install:
filePath = ":/shell/kernel-installer-template.sh";
break;
case Option::Remove:
filePath = ":/shell/kernel-installer-remove-template.sh";
break;
}
QFile file(filePath);