调整中晶关于界面与繁体翻译

This commit is contained in:
yangjiaxuan 2024-03-13 14:20:40 +08:00
parent 66d0069cc5
commit d7cc4cd181
5 changed files with 19 additions and 11 deletions

Binary file not shown.

View File

@ -2786,7 +2786,7 @@ Please finish scanning first.</source>
<message> <message>
<location filename="mainwindow.cpp" line="3490"/> <location filename="mainwindow.cpp" line="3490"/>
<source>&lt;p&gt;Company GPS: &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt;&lt;/p&gt;</source> <source>&lt;p&gt;Company GPS: &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt;&lt;/p&gt;</source>
<translation>&lt;p&gt;: &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt;&lt;/p&gt;</translation> <translation>&lt;p&gt;: &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt;&lt;/p&gt;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1487"/> <location filename="mainwindow.cpp" line="1487"/>
@ -2813,7 +2813,7 @@ Please finish scanning first.</source>
<message> <message>
<location filename="mainwindow.cpp" line="3452"/> <location filename="mainwindow.cpp" line="3452"/>
<source>&lt;p&gt;DriverVer: %1&lt;/p&gt;</source> <source>&lt;p&gt;DriverVer: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation> <translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3462"/> <location filename="mainwindow.cpp" line="3462"/>
@ -2827,7 +2827,7 @@ Please finish scanning first.</source>
<location filename="mainwindow.cpp" line="3474"/> <location filename="mainwindow.cpp" line="3474"/>
<location filename="mainwindow.cpp" line="3478"/> <location filename="mainwindow.cpp" line="3478"/>
<source>&lt;p&gt;Copyright: %1&lt;/p&gt;</source> <source>&lt;p&gt;Copyright: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation> <translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3465"/> <location filename="mainwindow.cpp" line="3465"/>
@ -2835,26 +2835,26 @@ Please finish scanning first.</source>
<location filename="mainwindow.cpp" line="3479"/> <location filename="mainwindow.cpp" line="3479"/>
<source>&lt;p&gt;Company website: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;&lt;/p&gt;</source> <source>&lt;p&gt;Company website: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;&lt;/p&gt;</source>
<oldsource>&lt;p&gt;Company website: &lt;a href=%1&gt;%1&lt;/p&gt;</oldsource> <oldsource>&lt;p&gt;Company website: &lt;a href=%1&gt;%1&lt;/p&gt;</oldsource>
<translation>&lt;p&gt;: &lt;a href=&quot;%1&quot;&gt;%1&lt;/p&gt;</translation> <translation>&lt;p&gt;: &lt;a href=&quot;%1&quot;&gt;%1&lt;/p&gt;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3463"/> <location filename="mainwindow.cpp" line="3463"/>
<location filename="mainwindow.cpp" line="3471"/> <location filename="mainwindow.cpp" line="3471"/>
<location filename="mainwindow.cpp" line="3480"/> <location filename="mainwindow.cpp" line="3480"/>
<source>&lt;p&gt;Company address: %1&lt;/p&gt;</source> <source>&lt;p&gt;Company address: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation> <translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3464"/> <location filename="mainwindow.cpp" line="3464"/>
<location filename="mainwindow.cpp" line="3472"/> <location filename="mainwindow.cpp" line="3472"/>
<location filename="mainwindow.cpp" line="3487"/> <location filename="mainwindow.cpp" line="3487"/>
<source>&lt;p&gt;Company telephone: %1&lt;/p&gt;</source> <source>&lt;p&gt;Company telephone: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation> <translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3490"/> <location filename="mainwindow.cpp" line="3490"/>
<source>Baidu map access</source> <source>Baidu map access</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<source>Open device failed</source> <source>Open device failed</source>

View File

@ -3487,7 +3487,6 @@ void MainWindow::on_act_about_triggered()
content += tr("<p>Company address: %1</p>").arg(QString::fromStdWString(BRAND_COMPANY_ADDRESS_TRADCN)); content += tr("<p>Company address: %1</p>").arg(QString::fromStdWString(BRAND_COMPANY_ADDRESS_TRADCN));
content += tr("<p>Company telephone: %1</p>").arg(QString::fromStdWString(BRAND_COMPANY_TEL_TRADCN)); content += tr("<p>Company telephone: %1</p>").arg(QString::fromStdWString(BRAND_COMPANY_TEL_TRADCN));
content += tr("<p>Company website: <a href=\"%1\">%1</a></p>").arg(QString::fromStdWString(BRAND_COMPANY_URL_EN)); content += tr("<p>Company website: <a href=\"%1\">%1</a></p>").arg(QString::fromStdWString(BRAND_COMPANY_URL_EN));
content += tr("<p>Copyright: %1</p>").arg(QString::fromStdWString(BRAND_COPYRIGHT_TRADCN));
} }
#else #else
content += tr("<p>Vendor: %1</p>").arg(QString::fromStdWString(COMPANY_NAME)); content += tr("<p>Vendor: %1</p>").arg(QString::fromStdWString(COMPANY_NAME));
@ -3505,10 +3504,19 @@ void MainWindow::on_act_about_triggered()
#endif #endif
#if defined (OEM_ZHONGJING) #if defined (OEM_ZHONGJING)
if (appLang == "chinese-trad" || appLang == "english") if (appLang == "english")
{
content += tr("<p>Company GPS: <a href=\"%1\">%2</a></p>").arg(QString::fromStdWString(BRAND_URL_GPS_TRADCN)).arg(tr("Baidu map access")); content += tr("<p>Company GPS: <a href=\"%1\">%2</a></p>").arg(QString::fromStdWString(BRAND_URL_GPS_TRADCN)).arg(tr("Baidu map access"));
}
else if (appLang == "chinese-trad")
{
content += tr("<p>Company GPS: <a href=\"%1\">%2</a></p>").arg(QString::fromStdWString(BRAND_URL_GPS_TRADCN)).arg(tr("Baidu map access"));
content += tr("<p>Copyright: %1</p>").arg(QString::fromStdWString(BRAND_COPYRIGHT_TRADCN));
}
else else
{
content += tr("<p>Company GPS: <a href=\"%1\">%2</a></p>").arg(QString::fromStdWString(BRAND_URL_GPS)).arg(tr("Baidu map access")); content += tr("<p>Company GPS: <a href=\"%1\">%2</a></p>").arg(QString::fromStdWString(BRAND_URL_GPS)).arg(tr("Baidu map access"));
}
#else #else
content += tr("<p>Company GPS: <a href=\"%1\">%2</a></p>").arg(QString::fromStdWString(BRAND_URL_GPS)).arg(tr("Baidu map access")); content += tr("<p>Company GPS: <a href=\"%1\">%2</a></p>").arg(QString::fromStdWString(BRAND_URL_GPS)).arg(tr("Baidu map access"));
#endif #endif

Binary file not shown.

View File

@ -2885,7 +2885,7 @@ Are you sure to close?</source>
<location filename="hg_settingdialog.cpp" line="392"/> <location filename="hg_settingdialog.cpp" line="392"/>
<location filename="hg_settingdialog.cpp" line="2909"/> <location filename="hg_settingdialog.cpp" line="2909"/>
<source>The current parameter settings are inconsistent with the configuration scheme &apos;%1&apos;. To use the configuration scheme &apos;%1&apos; parameters, please click the restore button</source> <source>The current parameter settings are inconsistent with the configuration scheme &apos;%1&apos;. To use the configuration scheme &apos;%1&apos; parameters, please click the restore button</source>
<translation> %1 使 %1 </translation> <translation> %1 使 %1 </translation>
</message> </message>
<message> <message>
<location filename="hg_settingdialog.cpp" line="438"/> <location filename="hg_settingdialog.cpp" line="438"/>
@ -2999,7 +2999,7 @@ Are you sure to close?</source>
<location filename="hg_settingdialog.cpp" line="1920"/> <location filename="hg_settingdialog.cpp" line="1920"/>
<location filename="hg_settingdialog.cpp" line="1925"/> <location filename="hg_settingdialog.cpp" line="1925"/>
<source>&lt;p&gt;History count: %1&lt;/p&gt;</source> <source>&lt;p&gt;History count: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation> <translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message> </message>
<message> <message>
<location filename="hg_settingdialog.cpp" line="1935"/> <location filename="hg_settingdialog.cpp" line="1935"/>