fix(frontend): Window title is not translated.
Description: 修复任务栏窗口标题未汉化的Bug Log: 修复任务栏窗口标题未汉化的Bug Bug: http://172.17.66.192/biz/bug-view-36548.html
This commit is contained in:
parent
9d0fb57fa5
commit
dbecee473d
|
@ -16,7 +16,8 @@ Build-Depends: debhelper (>=9.0.0),
|
|||
libkf5windowsystem-dev,
|
||||
libgsettings-qt-dev,
|
||||
libqt5x11extras5-dev,
|
||||
libuchardet-dev
|
||||
libuchardet-dev,
|
||||
qtwebengine5-dev
|
||||
Standards-Version: 4.5.0
|
||||
Homepage: https://www.ukui.org/
|
||||
Vcs-Git: https://github.com/ukui/ukui-search.git
|
||||
|
|
|
@ -28,6 +28,7 @@ ContentWidget::ContentWidget(QWidget * parent):QStackedWidget(parent)
|
|||
{
|
||||
initUI();
|
||||
initListView();
|
||||
m_quicklyOpenList<<"/usr/share/applications/peony.desktop"<<"/usr/share/applications/ukui-control-center.desktop"<<"Background/背景/更改壁纸";
|
||||
}
|
||||
|
||||
ContentWidget::~ContentWidget()
|
||||
|
@ -236,6 +237,7 @@ void ContentWidget::setupConnect(SearchListView * listview) {
|
|||
m_detailView->setContent(m_contentDetailList.at(listview->currentIndex().row()), m_keyword);
|
||||
}
|
||||
m_detailView->setupWidget(type, path);
|
||||
// m_detailView->setWebWidget(this->m_keyword);
|
||||
listview->is_current_list = true;
|
||||
Q_EMIT this->currentItemChanged();
|
||||
listview->is_current_list = false;
|
||||
|
@ -308,11 +310,9 @@ void ContentWidget::initHomePage() {
|
|||
commonlyList = map.value("Commonly");
|
||||
QStringList recentlyList;
|
||||
recentlyList = map.value("Recently");
|
||||
QStringList quicklyList;
|
||||
quicklyList<<"/usr/share/applications/peony.desktop"<<"/usr/share/applications/ukui-control-center.desktop"<<"Background/背景/更改壁纸";
|
||||
lists.append(commonlyList);
|
||||
lists.append(recentlyList);
|
||||
lists.append(quicklyList);
|
||||
lists.append(m_quicklyOpenList);
|
||||
|
||||
for (int i = 0; i < lists.count(); i++) {
|
||||
if (lists.at(i).isEmpty())
|
||||
|
@ -650,3 +650,12 @@ void ContentWidget::setKeyword(QString keyword)
|
|||
m_appListView->setKeyword(keyword);
|
||||
m_bestListView->setKeyword(keyword);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ContentWidget::setQuicklyOpenList 设置快速打开列表
|
||||
* @param list
|
||||
*/
|
||||
void ContentWidget::setQuicklyOpenList(const QStringList & list)
|
||||
{
|
||||
m_quicklyOpenList = list;
|
||||
}
|
||||
|
|
|
@ -44,6 +44,7 @@ public:
|
|||
void initHomePage();
|
||||
void setContentList(const QStringList&);
|
||||
void setKeyword(QString);
|
||||
void setQuicklyOpenList(const QStringList &);
|
||||
private:
|
||||
void initUI();
|
||||
void initListView();
|
||||
|
@ -88,6 +89,7 @@ private:
|
|||
QStringList m_dirList;
|
||||
QStringList m_fileList;
|
||||
QStringList m_contentList;
|
||||
QStringList m_quicklyOpenList;
|
||||
|
||||
int m_currentType = 0;
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ SearchDetailView::SearchDetailView(QWidget *parent) : QWidget(parent)
|
|||
SearchDetailView::~SearchDetailView()
|
||||
{
|
||||
if (m_layout) {
|
||||
clearLayout();
|
||||
delete m_layout;
|
||||
m_layout = NULL;
|
||||
}
|
||||
|
@ -108,6 +107,23 @@ int SearchDetailView::getType()
|
|||
return m_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief SearchDetailView::setWebWidget 显示为网页
|
||||
* @param keyword 关键词
|
||||
*/
|
||||
//void SearchDetailView::setWebWidget(const QString& keyword)
|
||||
//{
|
||||
// QWebEngineView * m_webView = new QWebEngineView(this);
|
||||
// m_webView->move(0, 0);
|
||||
// m_webView->setFixedSize(360, 522);
|
||||
// m_isEmpty = false;
|
||||
// clearLayout();
|
||||
|
||||
// QString str = "http://m.baidu.com/s?word=" + keyword;
|
||||
// m_webView->load(str);
|
||||
// m_webView->show();
|
||||
//}
|
||||
|
||||
QString SearchDetailView::getHtmlText(const QString & text, const QString & keyword) {
|
||||
QString htmlString;
|
||||
bool boldOpenned = false;
|
||||
|
@ -404,6 +420,8 @@ void SearchDetailView::initUI()
|
|||
|
||||
m_layout->addStretch();
|
||||
|
||||
|
||||
|
||||
this->clearLayout(); //初始化时隐藏所有控件
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#define SEARCHDETAILVIEW_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QWebEngineView>
|
||||
#include "option-view.h"
|
||||
|
||||
class SearchDetailView : public QWidget
|
||||
|
@ -36,6 +37,7 @@ public:
|
|||
void setContent(const QString&, const QString&);
|
||||
bool isEmpty();
|
||||
int getType();
|
||||
// void setWebWidget(const QString&);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *);
|
||||
|
|
|
@ -72,6 +72,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||
this->setAutoFillBackground(false);
|
||||
this->setFocusPolicy(Qt::StrongFocus);
|
||||
this->setSizePolicy(QSizePolicy::Minimum,QSizePolicy::Minimum);
|
||||
this->setWindowTitle(tr("ukui-search"));
|
||||
initUi();
|
||||
|
||||
QPainterPath path;
|
||||
|
@ -234,6 +235,7 @@ void MainWindow::initUi()
|
|||
});
|
||||
|
||||
//初始化homepage
|
||||
// m_contentFrame->setQuicklyOpenList(list); //如需自定义快捷打开使用本函数
|
||||
m_contentFrame->initHomePage();
|
||||
}
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@ extern void qt_blurImage(QImage &blurImage, qreal radius, bool quality, int tran
|
|||
SettingsWidget::SettingsWidget(QWidget *parent) : QDialog(parent)
|
||||
{
|
||||
this->setWindowIcon(QIcon::fromTheme("kylin-search"));
|
||||
this->setWindowTitle(tr("ukui-search"));
|
||||
this->setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint);
|
||||
this->setAttribute(Qt::WA_TranslucentBackground);
|
||||
initUi();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
QT += core gui dbus KWindowSystem xml x11extras
|
||||
QT += core gui dbus KWindowSystem xml x11extras webenginewidgets
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
|
|
|
@ -65,12 +65,17 @@
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="110"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="71"/>
|
||||
<source>ukui-search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="111"/>
|
||||
<source>Global Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="164"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="165"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -106,7 +111,7 @@
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../src/main.cpp" line="145"/>
|
||||
<location filename="../../src/main.cpp" line="144"/>
|
||||
<source>ukui-search is already running!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -122,22 +127,22 @@
|
|||
<context>
|
||||
<name>SearchDetailView</name>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="340"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="372"/>
|
||||
<source>Path</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="348"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="380"/>
|
||||
<source>Last time modified</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="179"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="208"/>
|
||||
<source>Application</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="190"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="220"/>
|
||||
<source>Document</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -145,121 +150,126 @@
|
|||
<context>
|
||||
<name>SettingsWidget</name>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="48"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="242"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="264"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="353"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="49"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="247"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="269"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="358"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="78"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="80"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="79"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="81"/>
|
||||
<source>...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="90"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="91"/>
|
||||
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="99"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="100"/>
|
||||
<source>Add ignored folders</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="122"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="123"/>
|
||||
<source>Please select search engine you preferred.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="135"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="136"/>
|
||||
<source>baidu</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="137"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="138"/>
|
||||
<source>sougou</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="139"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="140"/>
|
||||
<source>360</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="336"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="341"/>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="275"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="280"/>
|
||||
<source>Creating ...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="71"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="17"/>
|
||||
<source>ukui-search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="72"/>
|
||||
<source><h2>Settings</h2></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="76"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="77"/>
|
||||
<source><h3>Index State</h3></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="88"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="89"/>
|
||||
<source><h3>File Index Settings</h3></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="120"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="121"/>
|
||||
<source><h3>Search Engine Settings</h3></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="242"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="247"/>
|
||||
<source>Whether to delete this directory?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="278"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="283"/>
|
||||
<source>Done</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="286"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="291"/>
|
||||
<source>Index Entry: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="330"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="335"/>
|
||||
<source>Directories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="331"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="336"/>
|
||||
<source>select blocked folder</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="332"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="337"/>
|
||||
<source>Select</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="333"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="338"/>
|
||||
<source>Position: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="334"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="339"/>
|
||||
<source>FileName: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="335"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="340"/>
|
||||
<source>FileType: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -65,12 +65,17 @@
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="110"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="71"/>
|
||||
<source>ukui-search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="111"/>
|
||||
<source>Global Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="164"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="165"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -106,7 +111,7 @@
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../src/main.cpp" line="145"/>
|
||||
<location filename="../../src/main.cpp" line="144"/>
|
||||
<source>ukui-search is already running!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -122,22 +127,22 @@
|
|||
<context>
|
||||
<name>SearchDetailView</name>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="340"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="372"/>
|
||||
<source>Path</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="348"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="380"/>
|
||||
<source>Last time modified</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="179"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="208"/>
|
||||
<source>Application</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="190"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="220"/>
|
||||
<source>Document</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -145,121 +150,126 @@
|
|||
<context>
|
||||
<name>SettingsWidget</name>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="48"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="242"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="264"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="353"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="49"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="247"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="269"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="358"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="78"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="80"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="79"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="81"/>
|
||||
<source>...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="90"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="91"/>
|
||||
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="99"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="100"/>
|
||||
<source>Add ignored folders</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="122"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="123"/>
|
||||
<source>Please select search engine you preferred.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="135"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="136"/>
|
||||
<source>baidu</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="137"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="138"/>
|
||||
<source>sougou</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="139"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="140"/>
|
||||
<source>360</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="336"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="341"/>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="275"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="280"/>
|
||||
<source>Creating ...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="71"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="17"/>
|
||||
<source>ukui-search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="72"/>
|
||||
<source><h2>Settings</h2></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="76"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="77"/>
|
||||
<source><h3>Index State</h3></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="88"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="89"/>
|
||||
<source><h3>File Index Settings</h3></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="120"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="121"/>
|
||||
<source><h3>Search Engine Settings</h3></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="242"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="247"/>
|
||||
<source>Whether to delete this directory?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="278"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="283"/>
|
||||
<source>Done</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="286"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="291"/>
|
||||
<source>Index Entry: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="330"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="335"/>
|
||||
<source>Directories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="331"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="336"/>
|
||||
<source>select blocked folder</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="332"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="337"/>
|
||||
<source>Select</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="333"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="338"/>
|
||||
<source>Position: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="334"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="339"/>
|
||||
<source>FileName: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="335"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="340"/>
|
||||
<source>FileType: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -65,12 +65,17 @@
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="110"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="71"/>
|
||||
<source>ukui-search</source>
|
||||
<translation>搜索</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="111"/>
|
||||
<source>Global Search</source>
|
||||
<translation>搜索</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="164"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="165"/>
|
||||
<source>Search</source>
|
||||
<translation>搜索</translation>
|
||||
</message>
|
||||
|
@ -106,7 +111,7 @@
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../src/main.cpp" line="145"/>
|
||||
<location filename="../../src/main.cpp" line="144"/>
|
||||
<source>ukui-search is already running!</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
|
@ -122,22 +127,22 @@
|
|||
<context>
|
||||
<name>SearchDetailView</name>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="340"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="372"/>
|
||||
<source>Path</source>
|
||||
<translation>路径</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="348"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="380"/>
|
||||
<source>Last time modified</source>
|
||||
<translation>上次修改时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="179"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="208"/>
|
||||
<source>Application</source>
|
||||
<translation>应用</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="190"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="220"/>
|
||||
<source>Document</source>
|
||||
<translation>文件</translation>
|
||||
</message>
|
||||
|
@ -145,121 +150,126 @@
|
|||
<context>
|
||||
<name>SettingsWidget</name>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="48"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="242"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="264"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="353"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="49"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="247"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="269"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="358"/>
|
||||
<source>Search</source>
|
||||
<translation>搜索</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="71"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="72"/>
|
||||
<source><h2>Settings</h2></source>
|
||||
<translation><h2>设置</h2></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="76"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="77"/>
|
||||
<source><h3>Index State</h3></source>
|
||||
<translation><h3>索引状态</h3></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="78"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="80"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="79"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="81"/>
|
||||
<source>...</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="88"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="89"/>
|
||||
<source><h3>File Index Settings</h3></source>
|
||||
<translation><h3>文件索引设置</h3></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="90"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="91"/>
|
||||
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
||||
<translation>搜索将不再查看以下文件夹。通过增加和删除文件夹可进行文件索引设置。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="99"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="100"/>
|
||||
<source>Add ignored folders</source>
|
||||
<translation>添加文件夹至黑名单</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="120"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="121"/>
|
||||
<source><h3>Search Engine Settings</h3></source>
|
||||
<translation><h3>搜索引擎设置</h3></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="122"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="123"/>
|
||||
<source>Please select search engine you preferred.</source>
|
||||
<translation>设置互联网搜索引擎</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="135"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="136"/>
|
||||
<source>baidu</source>
|
||||
<translation>百度</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="137"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="138"/>
|
||||
<source>sougou</source>
|
||||
<translation>搜狗</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="139"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="140"/>
|
||||
<source>360</source>
|
||||
<translation>360</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="242"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="247"/>
|
||||
<source>Whether to delete this directory?</source>
|
||||
<translation>是否要删除此目录</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="336"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="341"/>
|
||||
<source>Cancel</source>
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="275"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="280"/>
|
||||
<source>Creating ...</source>
|
||||
<translation>正在索引</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="278"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="17"/>
|
||||
<source>ukui-search</source>
|
||||
<translation>搜索</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="283"/>
|
||||
<source>Done</source>
|
||||
<translation>索引完成</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="286"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="291"/>
|
||||
<source>Index Entry: %1</source>
|
||||
<translation>索引项: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="330"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="335"/>
|
||||
<source>Directories</source>
|
||||
<translation>文件夹</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="331"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="336"/>
|
||||
<source>select blocked folder</source>
|
||||
<translation>选择屏蔽文件夹</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="332"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="337"/>
|
||||
<source>Select</source>
|
||||
<translation>选择</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="333"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="338"/>
|
||||
<source>Position: </source>
|
||||
<translation>位置:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="334"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="339"/>
|
||||
<source>FileName: </source>
|
||||
<translation>名称:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="335"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="340"/>
|
||||
<source>FileType: </source>
|
||||
<translation>类型:</translation>
|
||||
</message>
|
||||
|
@ -276,7 +286,7 @@
|
|||
<message>
|
||||
<location filename="../../src/control/show-more-label.cpp" line="56"/>
|
||||
<source>Retract</source>
|
||||
<translation><u>收起<</translation>
|
||||
<translation>收起</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/show-more-label.cpp" line="67"/>
|
||||
|
|
Loading…
Reference in New Issue