From f71cd4c7c246f0aab89635580959d888ca427dd4 Mon Sep 17 00:00:00 2001 From: zhangyuanyuan1 Date: Thu, 10 Aug 2023 17:24:06 +0800 Subject: [PATCH] fix(APT proxy): modify APT text and update translation files(bug#187090) --- plugins/proxy/proxy.cpp | 4 ++-- plugins/proxy/translations/bo_CN.ts | 2 +- plugins/proxy/translations/en_US.ts | 2 +- plugins/proxy/translations/mn.ts | 2 +- plugins/proxy/translations/tr.ts | 2 +- plugins/proxy/translations/zh_CN.ts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/proxy/proxy.cpp b/plugins/proxy/proxy.cpp index 071ee18c..cdef6f4c 100644 --- a/plugins/proxy/proxy.cpp +++ b/plugins/proxy/proxy.cpp @@ -582,7 +582,7 @@ void Proxy::setupConnect(){ } else { QMessageBox *mReboot = new QMessageBox(pluginWidget->topLevelWidget()); mReboot->setIcon(QMessageBox::Warning); - mReboot->setText(tr("The apt proxy has been turned off and needs to be restarted to take effect")); + mReboot->setText(tr("The APT proxy has been turned off and needs to be restarted to take effect")); QPushButton *laterbtn = mReboot->addButton(tr("Reboot Later"), QMessageBox::RejectRole); QPushButton *nowbtn = mReboot->addButton(tr("Reboot Now"), QMessageBox::AcceptRole); mReboot->exec(); @@ -819,7 +819,7 @@ void Proxy::setAptInfo() { QMessageBox *mReboot = new QMessageBox(pluginWidget->topLevelWidget()); mReboot->setIcon(QMessageBox::Warning); - mReboot->setText(tr("The system needs to be restarted to set the Apt proxy, whether to reboot")); + mReboot->setText(tr("The system needs to be restarted to set the APT proxy, whether to reboot")); QPushButton *laterbtn = mReboot->addButton(tr("Reboot Later"), QMessageBox::RejectRole); QPushButton *nowbtn = mReboot->addButton(tr("Reboot Now"), QMessageBox::AcceptRole); mReboot->exec(); diff --git a/plugins/proxy/translations/bo_CN.ts b/plugins/proxy/translations/bo_CN.ts index 5ced087b..844a9638 100644 --- a/plugins/proxy/translations/bo_CN.ts +++ b/plugins/proxy/translations/bo_CN.ts @@ -145,7 +145,7 @@ - The apt proxy has been turned off and needs to be restarted to take effect + The APT proxy has been turned off and needs to be restarted to take effect ངོ་ཚབ་ཀྱི་སྒོ་བརྒྱབ་ཟིན་པས་ཡང་བསྐྱར་ནུས་པ་ཐོན་པར་བྱ་དགོས། diff --git a/plugins/proxy/translations/en_US.ts b/plugins/proxy/translations/en_US.ts index 0371d8ac..298d0630 100644 --- a/plugins/proxy/translations/en_US.ts +++ b/plugins/proxy/translations/en_US.ts @@ -145,7 +145,7 @@ - The apt proxy has been turned off and needs to be restarted to take effect + The APT proxy has been turned off and needs to be restarted to take effect diff --git a/plugins/proxy/translations/mn.ts b/plugins/proxy/translations/mn.ts index 42ce9f99..f9785d04 100644 --- a/plugins/proxy/translations/mn.ts +++ b/plugins/proxy/translations/mn.ts @@ -145,7 +145,7 @@ - The apt proxy has been turned off and needs to be restarted to take effect + The APT proxy has been turned off and needs to be restarted to take effect APT ᠤᠷᠤᠯᠠᠭᠴᠢ ᠬᠠᠭᠠᠭᠳᠠᠪᠠ᠂ ᠳᠠᠬᠢᠵᠤ ᠨᠡᠬᠡᠬᠡᠭᠰᠡᠨ ᠤ᠋ ᠳᠠᠷᠠᠭ᠎ᠠ ᠰᠠᠶᠢ ᠬᠦᠴᠦᠨ ᠲᠠᠢ ᠪᠤᠯᠤᠨ᠎ᠠ diff --git a/plugins/proxy/translations/tr.ts b/plugins/proxy/translations/tr.ts index 0371d8ac..298d0630 100644 --- a/plugins/proxy/translations/tr.ts +++ b/plugins/proxy/translations/tr.ts @@ -145,7 +145,7 @@ - The apt proxy has been turned off and needs to be restarted to take effect + The APT proxy has been turned off and needs to be restarted to take effect diff --git a/plugins/proxy/translations/zh_CN.ts b/plugins/proxy/translations/zh_CN.ts index 9019b64e..64c2d76c 100644 --- a/plugins/proxy/translations/zh_CN.ts +++ b/plugins/proxy/translations/zh_CN.ts @@ -145,7 +145,7 @@ - The apt proxy has been turned off and needs to be restarted to take effect + The APT proxy has been turned off and needs to be restarted to take effect APT 代理已关闭,需要重启才能生效