diff --git a/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts b/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts index 2561f254..418ced91 100644 --- a/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts +++ b/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts @@ -55,40 +55,15 @@ Versão: - - Non-GCC Compiler - Compilador não GCC + + unknown compiler + compilador desconhecido Website: <a href="%1">%1</a> Website: <a href="%1">%1</a> - - - Next Generation Microsoft Visual C++ - Microsoft Visual C++ de Próxima Geração - - - - Microsoft Visual C++ 2022 - Microsoft Visual C++ 2022 - - - - Microsoft Visual C++ 2019 - Microsoft Visual C++ 2019 - - - - Microsoft Visual C++ 2017 - Microsoft Visual C++ 2017 - - - - Legacy Microsoft Visual C++ - Microsoft Visual C++ Legado - Based on Qt %1 (%2) running on %3 @@ -498,7 +473,7 @@ CompetitiveCompanionThread - + Problem Case %1 Caso do problema %1 @@ -563,7 +538,7 @@ [Nota] - + The compiler process for '%1' failed to start. Falha ao iniciar a compilação para '%1'. @@ -598,7 +573,7 @@ - + - Command: %1 @@ -1814,7 +1789,7 @@ Remover ... - + diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts index 80cc951c..ee14a92a 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts @@ -129,34 +129,9 @@ p, li { white-space: pre-wrap; } 版本: - - Next Generation Microsoft Visual C++ - 下一代 Microsoft Visual C++ - - - - Microsoft Visual C++ 2022 - Microsoft Visual C++ 2022 - - - - Microsoft Visual C++ 2019 - Microsoft Visual C++ 2019 - - - - Microsoft Visual C++ 2017 - Microsoft Visual C++ 2017 - - - - Legacy Microsoft Visual C++ - 旧版 Microsoft Visual C++ - - - - Non-GCC Compiler - 非GCC编译器 + + unknown compiler + 未知编译器 @@ -566,7 +541,7 @@ p, li { white-space: pre-wrap; } CompetitiveCompanionThread - + Problem Case %1 试题案例%1 @@ -700,7 +675,7 @@ p, li { white-space: pre-wrap; } 警告: - + Can't open file "%1" for write! 无法写入文件“%1”。 @@ -2064,7 +2039,7 @@ p, li { white-space: pre-wrap; } 背景色 - + diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts b/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts index e86c132f..7f5c9aed 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts @@ -48,40 +48,15 @@ - - Non-GCC Compiler - + + unknown compiler + 未知編譯器 Website: <a href="%1">%1</a> - - - Next Generation Microsoft Visual C++ - 下一代 Microsoft Visual C++ - - - - Microsoft Visual C++ 2022 - Microsoft Visual C++ 2022 - - - - Microsoft Visual C++ 2019 - Microsoft Visual C++ 2019 - - - - Microsoft Visual C++ 2017 - Microsoft Visual C++ 2017 - - - - Legacy Microsoft Visual C++ - 舊版 Microsoft Visual C++ - Copyright(C) 2021-2024 瞿华(royqh1979@gmail.com) @@ -399,7 +374,7 @@ CompetitiveCompanionThread - + Problem Case %1 @@ -464,7 +439,7 @@ - + The compiler process for '%1' failed to start. @@ -499,7 +474,7 @@ - + - Command: %1 @@ -1615,7 +1590,7 @@ - + diff --git a/RedPandaIDE/widgets/aboutdialog.cpp b/RedPandaIDE/widgets/aboutdialog.cpp index 425f0553..2ad71293 100644 --- a/RedPandaIDE/widgets/aboutdialog.cpp +++ b/RedPandaIDE/widgets/aboutdialog.cpp @@ -55,25 +55,17 @@ AboutDialog::AboutDialog(QWidget *parent) : .arg(appArch())) .arg(osArch())); #elif defined(_MSC_VER) -# if (_MSC_VER >= 1940) - QString name = tr("Next Generation Microsoft Visual C++"); -# elif (_MSC_VER >= 1930) - QString name = tr("Microsoft Visual C++ 2022"); -# elif (_MSC_VER >= 1920) - QString name = tr("Microsoft Visual C++ 2019"); -# elif (_MSC_VER >= 1910) - QString name = tr("Microsoft Visual C++ 2017"); -# else - QString name = tr("Legacy Microsoft Visual C++"); -# endif ui->lblQt->setText(ui->lblQt->text() .arg(qVersion()) - .arg(name + " " + appArch()) + .arg(QStringLiteral("MSVC %1.%2 %3") + .arg(_MSC_VER / 100) + .arg(_MSC_VER % 100) + .arg(appArch())) .arg(osArch())); #else ui->lblQt->setText(ui->lblQt->text() .arg(qVersion()) - .arg(tr("Non-GCC Compiler")) + .arg(tr("unknown compiler")) .arg(osArch())); #endif ui->lblCompileTime->setText(ui->lblCompileTime->text()