完善翻译
This commit is contained in:
@@ -1,11 +1,25 @@
|
|||||||
#include "aboutwindow.h"
|
#include "aboutwindow.h"
|
||||||
#include "ui_aboutwindow.h"
|
#include "ui_aboutwindow.h"
|
||||||
|
|
||||||
|
#include <QDateTime>
|
||||||
|
|
||||||
AboutWindow::AboutWindow(QWidget *parent) :
|
AboutWindow::AboutWindow(QWidget *parent) :
|
||||||
QMainWindow(parent),
|
QMainWindow(parent),
|
||||||
ui(new Ui::AboutWindow)
|
ui(new Ui::AboutWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
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()
|
AboutWindow::~AboutWindow()
|
||||||
|
|||||||
@@ -32,7 +32,14 @@
|
|||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<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>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<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
|
Rules-Requires-Root: no
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
debhelper-compat (= 13),
|
debhelper-compat (= 13),
|
||||||
|
qtbase5-dev,
|
||||||
|
qtbase5-dev-tools
|
||||||
|
qtbase5-private-dev,
|
||||||
|
libqtermwidget5-1-dev,
|
||||||
|
qttools5-dev-tools
|
||||||
Standards-Version: 4.6.2
|
Standards-Version: 4.6.2
|
||||||
Homepage: https://gitee.com/GXDE-OS/gxde-kernel-manager
|
Homepage: https://gitee.com/GXDE-OS/gxde-kernel-manager
|
||||||
#Vcs-Browser: https://salsa.debian.org/debian/gxde-kernel-manager
|
#Vcs-Browser: https://salsa.debian.org/debian/gxde-kernel-manager
|
||||||
|
|||||||
@@ -14,10 +14,25 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../aboutwindow.ui" line="55"/>
|
<location filename="../aboutwindow.ui" line="62"/>
|
||||||
<source>OK</source>
|
<source>OK</source>
|
||||||
<translation>确定</translation>
|
<translation>确定</translation>
|
||||||
</message>
|
</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>
|
||||||
<context>
|
<context>
|
||||||
<name>KernelInstaller</name>
|
<name>KernelInstaller</name>
|
||||||
@@ -161,24 +176,24 @@
|
|||||||
<context>
|
<context>
|
||||||
<name>QObject</name>
|
<name>QObject</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../main.cpp" line="16"/>
|
<location filename="../main.cpp" line="23"/>
|
||||||
<source>Waring</source>
|
<source>Waring</source>
|
||||||
<translation>警告</translation>
|
<translation>警告</translation>
|
||||||
</message>
|
</message>
|
||||||
<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.
|
<source>It is danger because it may make your system unboot.
|
||||||
Press 'OK' to countinue</source>
|
Press 'OK' to countinue</source>
|
||||||
<translation>免责声明:
|
<translation>免责声明:
|
||||||
操作内核有可能导致系统无法正常启动,按“OK”键继续</translation>
|
操作内核有可能导致系统无法正常启动,按“OK”键继续</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../main.cpp" line="23"/>
|
<location filename="../main.cpp" line="30"/>
|
||||||
<source>Error</source>
|
<source>Error</source>
|
||||||
<translation>错误</translation>
|
<translation>错误</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../main.cpp" line="23"/>
|
<location filename="../main.cpp" line="30"/>
|
||||||
<source>It unsupport Windows</source>
|
<source>It unsupport Windows</source>
|
||||||
<translation>该程序不支持 Windows</translation>
|
<translation>该程序不支持 Windows</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|||||||
Reference in New Issue
Block a user