完善翻译
This commit is contained in:
@@ -1,11 +1,25 @@
|
||||
#include "aboutwindow.h"
|
||||
#include "ui_aboutwindow.h"
|
||||
|
||||
#include <QDateTime>
|
||||
|
||||
AboutWindow::AboutWindow(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
ui(new Ui::AboutWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
QString info = "";
|
||||
info += "<pre>";
|
||||
info += tr("A kernel manager allows users to install or remove kernels easily.") + "\n\n";
|
||||
info += "<b>" + tr("Warning: You may damage your system unless you know what you will do!") + "</b>\n";
|
||||
info += "</pre>";
|
||||
info += "<hr/>";
|
||||
info += "<h3>" + tr("Website") + "</h3>";
|
||||
info += "<p>Gitee: <a href='https://gitee.com/GXDE-OS/gxde-kernel-manager'>https://gitee.com/GXDE-OS/gxde-kernel-manager</a></p>";
|
||||
info += "<p>Github: <a href='https://github.com/GXDE-OS/gxde-kernel-manager'>https://github.com/GXDE-OS/gxde-kernel-manager</a></p>";
|
||||
info += "<hr/>\n";
|
||||
info += "<h1>©2023~" + QDateTime::currentDateTime().toString("yyyy") + " gfdgd xi</h1>\n";
|
||||
ui->textBrowser->setHtml(info);
|
||||
}
|
||||
|
||||
AboutWindow::~AboutWindow()
|
||||
|
||||
@@ -32,7 +32,14 @@
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QTextBrowser" name="textBrowser"/>
|
||||
<widget class="QTextBrowser" name="textBrowser">
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="openLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
|
||||
5
debian/control
vendored
5
debian/control
vendored
@@ -5,6 +5,11 @@ Maintainer: gfdgd_xi <3025613752@qq.com>
|
||||
Rules-Requires-Root: no
|
||||
Build-Depends:
|
||||
debhelper-compat (= 13),
|
||||
qtbase5-dev,
|
||||
qtbase5-dev-tools
|
||||
qtbase5-private-dev,
|
||||
libqtermwidget5-1-dev,
|
||||
qttools5-dev-tools
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: https://gitee.com/GXDE-OS/gxde-kernel-manager
|
||||
#Vcs-Browser: https://salsa.debian.org/debian/gxde-kernel-manager
|
||||
|
||||
@@ -14,10 +14,25 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwindow.ui" line="55"/>
|
||||
<location filename="../aboutwindow.ui" line="62"/>
|
||||
<source>OK</source>
|
||||
<translation>确定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwindow.cpp" line="13"/>
|
||||
<source>A kernel manager allows users to install or remove kernels easily.</source>
|
||||
<translation>内核管理器是一个帮助用户更方便获取、安装、移除内核的工具。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwindow.cpp" line="14"/>
|
||||
<source>Warning: You may damage your system unless you know what you will do!</source>
|
||||
<translation>警告:请不要随意操作内核除非你知道你在做什么!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwindow.cpp" line="17"/>
|
||||
<source>Website</source>
|
||||
<translation>网址</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>KernelInstaller</name>
|
||||
@@ -161,24 +176,24 @@
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../main.cpp" line="16"/>
|
||||
<location filename="../main.cpp" line="23"/>
|
||||
<source>Waring</source>
|
||||
<translation>警告</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.cpp" line="16"/>
|
||||
<location filename="../main.cpp" line="23"/>
|
||||
<source>It is danger because it may make your system unboot.
|
||||
Press 'OK' to countinue</source>
|
||||
<translation>免责声明:
|
||||
操作内核有可能导致系统无法正常启动,按“OK”键继续</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.cpp" line="23"/>
|
||||
<location filename="../main.cpp" line="30"/>
|
||||
<source>Error</source>
|
||||
<translation>错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.cpp" line="23"/>
|
||||
<location filename="../main.cpp" line="30"/>
|
||||
<source>It unsupport Windows</source>
|
||||
<translation>该程序不支持 Windows</translation>
|
||||
</message>
|
||||
|
||||
Reference in New Issue
Block a user