forked from openkylin/ukui-search
Adjust code for v10.
This commit is contained in:
parent
82e74f4c6c
commit
7b386ec0d5
|
@ -14,7 +14,7 @@
|
|||
*.so.*
|
||||
*_pch.h.cpp
|
||||
*_resource.rc
|
||||
*.qm
|
||||
#*.qm
|
||||
.#*
|
||||
*.*#
|
||||
core
|
||||
|
|
|
@ -11,9 +11,8 @@ Build-Depends: debhelper (>=9.0.0),
|
|||
qtscript5-dev,
|
||||
qttools5-dev-tools,
|
||||
libxapian-dev,
|
||||
libquazip5-dev(>=0.7.6-6build1),
|
||||
libquazip5-dev,
|
||||
libglib2.0-dev,
|
||||
libkf5windowsystem-dev,
|
||||
libgsettings-qt-dev,
|
||||
libqt5x11extras5-dev,
|
||||
libuchardet-dev,
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
usr/bin/ukui-search
|
||||
etc/xdg/autostart/*.desktop
|
||||
usr/share/applications/*.desktop
|
||||
src/.qm/*.qm usr/share/ukui-search/translations
|
||||
|
|
|
@ -39,7 +39,7 @@ struct SKeyWord{
|
|||
~SKeyWord(){
|
||||
word = std::move("");
|
||||
offsets.clear();
|
||||
offsets.shrink_to_fit();
|
||||
// offsets.shrink_to_fit();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -55,9 +55,10 @@ GlobalSettings::GlobalSettings(QObject *parent) : QObject(parent)
|
|||
qWarning()<<"Kylinssoclient Dbus connect fail!";
|
||||
|
||||
this->forceSync();
|
||||
m_cache.insert(FONT_SIZE_KEY, 11);
|
||||
//the default number of transparency in mainwindow is 0.7
|
||||
//if someone changes the num in mainwindow, here should be modified too
|
||||
m_cache.insert(TRANSPARENCY_KEY, 0.7);
|
||||
m_cache.insert(TRANSPARENCY_KEY, 1);
|
||||
if (QGSettings::isSchemaInstalled(CONTROL_CENTER_PERSONALISE_GSETTINGS_ID)) {
|
||||
m_trans_gsettings = new QGSettings(CONTROL_CENTER_PERSONALISE_GSETTINGS_ID, QByteArray(), this);
|
||||
connect(m_trans_gsettings, &QGSettings::changed, this, [=](const QString& key) {
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/wait.h>
|
||||
#include "assert.h"
|
||||
#include <sys/prctl.h>
|
||||
//#include <QtConcurrent>
|
||||
#include "traverse_bfs.h"
|
||||
|
|
|
@ -56,7 +56,8 @@ void HighlightItemDelegate::paint(QPainter * painter, const QStyleOptionViewItem
|
|||
ctx.palette.setColor(QPalette::Text, optionV4.palette.color(QPalette::Active, QPalette::HighlightedText));
|
||||
|
||||
QRect textRect = style->subElementRect(QStyle::SE_ItemViewItemText, &optionV4);
|
||||
textRect.adjust(-20, -5, 0, 0);
|
||||
// textRect.adjust(-20, -5, 0, 0);
|
||||
textRect.adjust(0, -5, 0, 0);
|
||||
painter->save();
|
||||
painter->translate(textRect.topLeft());
|
||||
painter->setClipRect(textRect.translated(-textRect.topLeft()));
|
||||
|
|
|
@ -37,16 +37,16 @@ SearchListView::SearchListView(QWidget * parent, const QStringList& list, const
|
|||
m_model->setItem(m_item);
|
||||
this->setModel(m_model);
|
||||
this->setHeaderHidden(true);
|
||||
this->setColumnWidth(0, 20);
|
||||
this->setColumnWidth(1, 80);
|
||||
// this->setColumnWidth(0, 20);
|
||||
// this->setColumnWidth(1, 80);
|
||||
rowheight = this->rowHeight(this->model()->index(0, 0, QModelIndex())) + 1;
|
||||
this->setFixedHeight(list.count() * rowheight + 4);
|
||||
this->setAttribute(Qt::WA_TranslucentBackground, true);
|
||||
this->setAutoFillBackground(false);
|
||||
this->setStyleSheet("QWidget{background:transparent;}");
|
||||
m_styleDelegate = new HighlightItemDelegate(this);
|
||||
// this->setStyleSheet("QWidget{background:transparent;}");
|
||||
// m_styleDelegate = new HighlightItemDelegate(this);
|
||||
// m_styleDelegate->setSearchKeyword(keyword);
|
||||
this->setItemDelegate(m_styleDelegate);
|
||||
// this->setItemDelegate(m_styleDelegate);
|
||||
|
||||
m_type = type;
|
||||
connect(this->selectionModel(), &QItemSelectionModel::selectionChanged, this, [ = ](const QItemSelection &selected, const QItemSelection &deselected) {
|
||||
|
@ -99,6 +99,8 @@ void SearchListView::setList(QStringList list)
|
|||
this->blockSignals(false);
|
||||
}
|
||||
rowheight = this->rowHeight(this->model()->index(0, 0, QModelIndex()));
|
||||
qDebug()<<"setList rowheight"<< rowheight;
|
||||
qDebug()<<"setList indexRowSizeHint"<<indexRowSizeHint(QModelIndex());
|
||||
this->setFixedHeight(m_item->getCurrentSize() * rowheight + 4);
|
||||
}
|
||||
|
||||
|
@ -135,7 +137,7 @@ void SearchListView::clear()
|
|||
*/
|
||||
void SearchListView::setKeyword(QString keyword)
|
||||
{
|
||||
m_styleDelegate->setSearchKeyword(keyword);
|
||||
// m_styleDelegate->setSearchKeyword(keyword);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -229,7 +229,8 @@ int main(int argc, char *argv[])
|
|||
// Load translations
|
||||
QTranslator translator;
|
||||
try {
|
||||
if (! translator.load("/usr/share/ukui-search/translations/" + QLocale::system().name())) throw -1;
|
||||
// if (! translator.load("/usr/share/ukui-search/translations/" + QLocale::system().name())) throw -1;
|
||||
if (! translator.load(":/res/translations/zh_CN.qm" + QLocale::system().name())) throw -1;
|
||||
app.installTranslator(&translator);
|
||||
} catch (...) {
|
||||
qDebug() << "Load translations file" << QLocale() << "failed!";
|
||||
|
@ -263,7 +264,7 @@ int main(int argc, char *argv[])
|
|||
if (QString::compare(QString("-s"), QString(QLatin1String(argv[1]))) == 0) {
|
||||
// w->moveToPanel();
|
||||
centerToScreen(w);
|
||||
XAtomHelper::getInstance()->setWindowMotifHint(w->winId(), w->m_hints);
|
||||
// XAtomHelper::getInstance()->setWindowMotifHint(w->winId(), w->m_hints);
|
||||
w->show();
|
||||
}
|
||||
|
||||
|
|
|
@ -29,9 +29,9 @@
|
|||
#include <QPalette>
|
||||
#include <QScreen>
|
||||
#include <QStyleOption>
|
||||
#include <KWindowEffects>
|
||||
//#include <KWindowEffects>
|
||||
#include <QPixmap>
|
||||
#include "kwindowsystem.h"
|
||||
//#include "kwindowsystem.h"
|
||||
#include "qt-single-application.h"
|
||||
|
||||
//#include "inotify-manager.h"
|
||||
|
@ -67,10 +67,10 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||
initUi();
|
||||
|
||||
// setProperty("useStyleWindowManager", false); //禁止拖动
|
||||
m_hints.flags = MWM_HINTS_FUNCTIONS|MWM_HINTS_DECORATIONS;
|
||||
m_hints.functions = MWM_FUNC_ALL;
|
||||
m_hints.decorations = MWM_DECOR_BORDER;
|
||||
XAtomHelper::getInstance()->setWindowMotifHint(winId(), m_hints);
|
||||
// m_hints.flags = MWM_HINTS_FUNCTIONS|MWM_HINTS_DECORATIONS;
|
||||
// m_hints.functions = MWM_FUNC_ALL;
|
||||
// m_hints.decorations = MWM_DECOR_BORDER;
|
||||
// XAtomHelper::getInstance()->setWindowMotifHint(winId(), m_hints);
|
||||
|
||||
QPainterPath path;
|
||||
auto rect = this->rect();
|
||||
|
@ -78,7 +78,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||
// path.addRoundedRect(rect, 0, 0);
|
||||
path.addRect(rect);
|
||||
setProperty("blurRegion", QRegion(path.toFillPolygon().toPolygon()));
|
||||
KWindowEffects::enableBlurBehind(this->winId(), true, QRegion(path.toFillPolygon().toPolygon()));
|
||||
// KWindowEffects::enableBlurBehind(this->winId(), true, QRegion(path.toFillPolygon().toPolygon()));
|
||||
|
||||
const QByteArray id("org.ukui.control-center.personalise");
|
||||
if (QGSettings::isSchemaInstalled(id)) {
|
||||
|
@ -130,7 +130,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||
clearSearchResult();
|
||||
// this->moveToPanel();
|
||||
centerToScreen(this);
|
||||
XAtomHelper::getInstance()->setWindowMotifHint(winId(), m_hints);
|
||||
// XAtomHelper::getInstance()->setWindowMotifHint(winId(), m_hints);
|
||||
this->show();
|
||||
this->m_searchLayout->focusIn(); //打开主界面时输入框夺焦,可直接输入
|
||||
this->raise();
|
||||
|
@ -272,7 +272,7 @@ void MainWindow::bootOptionsFilter(QString opt)
|
|||
clearSearchResult();
|
||||
// this->moveToPanel();
|
||||
centerToScreen(this);
|
||||
XAtomHelper::getInstance()->setWindowMotifHint(winId(), m_hints);
|
||||
// XAtomHelper::getInstance()->setWindowMotifHint(winId(), m_hints);
|
||||
this->show();
|
||||
this->m_searchLayout->focusIn();
|
||||
this->raise();
|
||||
|
@ -438,10 +438,12 @@ bool MainWindow::nativeEvent(const QByteArray &eventType, void *message, long *r
|
|||
|
||||
switch (event->response_type & ~0x80) {
|
||||
case XCB_FOCUS_OUT:
|
||||
this->hide();
|
||||
m_contentFrame->closeWebView();
|
||||
m_search_result_thread->requestInterruption();
|
||||
m_search_result_thread->quit();
|
||||
//iaom begian
|
||||
// this->hide();
|
||||
// m_contentFrame->closeWebView();
|
||||
// m_search_result_thread->requestInterruption();
|
||||
// m_search_result_thread->quit();
|
||||
//iaom finish
|
||||
// m_seach_app_thread->stop();
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include <QKeyEvent>
|
||||
#include <QGSettings/QGSettings>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <xcb/xcb.h>
|
||||
|
||||
#include "content-widget.h"
|
||||
#include "input-box.h"
|
||||
|
@ -50,7 +51,7 @@
|
|||
#include "settings-widget.h"
|
||||
#include "libsearch.h"
|
||||
#include "search-app-thread.h"
|
||||
#include "xatom-helper.h"
|
||||
//#include "xatom-helper.h"
|
||||
|
||||
class SearchResult;
|
||||
class MainWindow : public QMainWindow
|
||||
|
@ -74,7 +75,7 @@ public:
|
|||
// The position which mainwindow shows in the center of screen where the cursor in.
|
||||
void centerToScreen(QWidget* widget);
|
||||
|
||||
MotifWmHints m_hints;
|
||||
// MotifWmHints m_hints;
|
||||
|
||||
private:
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ int SearchItemModel::rowCount(const QModelIndex& index) const
|
|||
*/
|
||||
int SearchItemModel::columnCount(const QModelIndex& index) const
|
||||
{
|
||||
return index.isValid() ? 0 : 2;
|
||||
return index.isValid() ? 0 : 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -96,29 +96,31 @@ QVariant SearchItemModel::data(const QModelIndex &index, int role) const
|
|||
{
|
||||
if(!index.isValid())
|
||||
return QVariant();
|
||||
switch (index.column()) {
|
||||
case Icon: {
|
||||
// switch (index.column()) {
|
||||
// case Icon: {
|
||||
switch (role) {
|
||||
case Qt::DecorationRole: {
|
||||
return m_item->getIcon(index.row());
|
||||
}
|
||||
case Qt::DisplayRole: {
|
||||
return QVariant(m_item->getName(index.row()));
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
}
|
||||
case Name: {
|
||||
switch (role) {
|
||||
case Qt::DisplayRole: {
|
||||
return QVariant(m_item->getName(index.row()));
|
||||
}
|
||||
// case Name: {
|
||||
// switch (role) {
|
||||
// case Qt::DisplayRole: {
|
||||
// return QVariant(m_item->getName(index.row()));
|
||||
// }
|
||||
// case Qt::ForegroundRole: {
|
||||
// return QColor(50, 50, 50);
|
||||
// }
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
}
|
||||
}
|
||||
// default:
|
||||
// return QVariant();
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
return QVariant();
|
||||
}
|
||||
|
|
|
@ -5,5 +5,6 @@
|
|||
<file>res/icons/close.svg</file>
|
||||
<file>res/qt-translations/qt_zh_CN.qm</file>
|
||||
<file>res/icons/net-disconnected.svg</file>
|
||||
<file>res/translations/zh_CN.qm</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -34,13 +34,13 @@ SettingsWidget::SettingsWidget(QWidget *parent) : QWidget(parent)
|
|||
{
|
||||
this->setWindowIcon(QIcon::fromTheme("kylin-search"));
|
||||
this->setWindowTitle(tr("ukui-search-settings"));
|
||||
// this->setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint);
|
||||
this->setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint);
|
||||
// this->setAttribute(Qt::WA_TranslucentBackground);
|
||||
|
||||
m_hints.flags = MWM_HINTS_FUNCTIONS|MWM_HINTS_DECORATIONS;
|
||||
m_hints.functions = MWM_FUNC_ALL;
|
||||
m_hints.decorations = MWM_DECOR_BORDER;
|
||||
XAtomHelper::getInstance()->setWindowMotifHint(winId(), m_hints);
|
||||
// m_hints.flags = MWM_HINTS_FUNCTIONS|MWM_HINTS_DECORATIONS;
|
||||
// m_hints.functions = MWM_FUNC_ALL;
|
||||
// m_hints.decorations = MWM_DECOR_BORDER;
|
||||
// XAtomHelper::getInstance()->setWindowMotifHint(winId(), m_hints);
|
||||
|
||||
initUi();
|
||||
refreshIndexState();
|
||||
|
@ -375,7 +375,7 @@ void SettingsWidget::showWidget()
|
|||
flags &= ~Qt::WindowStaysOnTopHint;
|
||||
this->setWindowFlags(flags);
|
||||
m_timer->start();
|
||||
XAtomHelper::getInstance()->setWindowMotifHint(winId(), m_hints);
|
||||
// XAtomHelper::getInstance()->setWindowMotifHint(winId(), m_hints);
|
||||
this->show();
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include <QScrollArea>
|
||||
#include <QTimer>
|
||||
#include <libsearch.h>
|
||||
#include "xatom-helper.h"
|
||||
//#include "xatom-helper.h"
|
||||
|
||||
class SettingsWidget : public QWidget
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ private:
|
|||
void showWarningDialog(const int&);
|
||||
void resetWebEngine();
|
||||
|
||||
MotifWmHints m_hints;
|
||||
// MotifWmHints m_hints;
|
||||
|
||||
//标题栏
|
||||
QVBoxLayout * m_mainLyt = nullptr;
|
||||
|
|
16
src/src.pro
16
src/src.pro
|
@ -1,4 +1,4 @@
|
|||
QT += core gui dbus KWindowSystem xml x11extras
|
||||
QT += core gui dbus xml x11extras
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
|
@ -32,8 +32,8 @@ SOURCES += \
|
|||
mainwindow.cpp \
|
||||
search-app-thread.cpp \
|
||||
search-result.cpp \
|
||||
settings-widget.cpp \
|
||||
xatom-helper.cpp
|
||||
settings-widget.cpp
|
||||
# xatom-helper.cpp
|
||||
|
||||
|
||||
HEADERS += \
|
||||
|
@ -43,8 +43,8 @@ HEADERS += \
|
|||
mainwindow.h \
|
||||
search-app-thread.h \
|
||||
search-result.h \
|
||||
settings-widget.h \
|
||||
xatom-helper.h
|
||||
settings-widget.h
|
||||
# xatom-helper.h
|
||||
|
||||
# Default rules for deployment.
|
||||
|
||||
|
@ -78,9 +78,3 @@ DEPENDPATH += $$PWD/../libchinese-segmentation
|
|||
|
||||
INCLUDEPATH += $$PWD/../libsearch
|
||||
DEPENDPATH += $$PWD/../libsearch
|
||||
|
||||
#DISTFILES += \
|
||||
# ../data/ukui-search-menu.desktop \
|
||||
# $$OUT_PWD/.qm/bo.qm \
|
||||
# $$OUT_PWD/.qm/tr.qm \
|
||||
# $$OUT_PWD/.qm/zh_CN.qm
|
||||
|
|
|
@ -4,57 +4,57 @@
|
|||
<context>
|
||||
<name>ContentWidget</name>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="377"/>
|
||||
<location filename="../../src/content-widget.cpp" line="364"/>
|
||||
<source>Recently Opened</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="413"/>
|
||||
<location filename="../../src/content-widget.cpp" line="400"/>
|
||||
<source>Open Quickly</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="414"/>
|
||||
<location filename="../../src/content-widget.cpp" line="401"/>
|
||||
<source>Commonly Used</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="681"/>
|
||||
<location filename="../../src/content-widget.cpp" line="668"/>
|
||||
<source>Apps</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="683"/>
|
||||
<location filename="../../src/content-widget.cpp" line="670"/>
|
||||
<source>Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="685"/>
|
||||
<location filename="../../src/content-widget.cpp" line="672"/>
|
||||
<source>Files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="687"/>
|
||||
<location filename="../../src/content-widget.cpp" line="674"/>
|
||||
<source>Dirs</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="689"/>
|
||||
<location filename="../../src/content-widget.cpp" line="676"/>
|
||||
<source>File Contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="691"/>
|
||||
<location filename="../../src/content-widget.cpp" line="678"/>
|
||||
<source>Best Matches</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="693"/>
|
||||
<location filename="../../src/content-widget.cpp" line="680"/>
|
||||
<source>Web Pages</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="695"/>
|
||||
<location filename="../../src/content-widget.cpp" line="682"/>
|
||||
<source>Unknown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -70,12 +70,12 @@
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="75"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="66"/>
|
||||
<source>ukui-search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="126"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="124"/>
|
||||
<source>Global Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -121,7 +121,7 @@
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../src/main.cpp" line="182"/>
|
||||
<location filename="../../src/main.cpp" line="172"/>
|
||||
<source>ukui-search is already running!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -129,7 +129,7 @@
|
|||
<context>
|
||||
<name>SearchBarHLayout</name>
|
||||
<message>
|
||||
<location filename="../../src/input-box.cpp" line="120"/>
|
||||
<location filename="../../src/input-box.cpp" line="126"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -137,32 +137,32 @@
|
|||
<context>
|
||||
<name>SearchDetailView</name>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="525"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="545"/>
|
||||
<source>Path</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="533"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="553"/>
|
||||
<source>Last time modified</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="234"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="235"/>
|
||||
<source>Application</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="215"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="216"/>
|
||||
<source>Introduction: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="353"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="373"/>
|
||||
<source>Document</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="475"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="495"/>
|
||||
<source>Preview is not avaliable</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -170,55 +170,55 @@
|
|||
<context>
|
||||
<name>SettingsWidget</name>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="69"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="286"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="519"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="75"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="292"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="526"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="105"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="107"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="111"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="113"/>
|
||||
<source>...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="117"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="123"/>
|
||||
<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="126"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="132"/>
|
||||
<source>Add ignored folders</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="149"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="155"/>
|
||||
<source>Please select search engine you preferred.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="162"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="168"/>
|
||||
<source>baidu</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="164"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="170"/>
|
||||
<source>sougou</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="166"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="172"/>
|
||||
<source>360</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="408"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="415"/>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="347"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="353"/>
|
||||
<source>Creating ...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -228,102 +228,102 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="98"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="104"/>
|
||||
<source><h2>Settings</h2></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="103"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="109"/>
|
||||
<source><h3>Index State</h3></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="115"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="121"/>
|
||||
<source><h3>File Index Settings</h3></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="147"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="153"/>
|
||||
<source><h3>Search Engine Settings</h3></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="286"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="292"/>
|
||||
<source>Whether to delete this directory?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="287"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="293"/>
|
||||
<source>Yes</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="288"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="294"/>
|
||||
<source>No</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="350"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="356"/>
|
||||
<source>Done</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="358"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="364"/>
|
||||
<source>Index Entry: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="402"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="409"/>
|
||||
<source>Directories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="403"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="410"/>
|
||||
<source>select blocked folder</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="404"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="411"/>
|
||||
<source>Select</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="405"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="412"/>
|
||||
<source>Position: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="406"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="413"/>
|
||||
<source>FileName: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="407"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="414"/>
|
||||
<source>FileType: </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="503"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="510"/>
|
||||
<source>Choosen path is Empty!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="507"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="514"/>
|
||||
<source>Choosen path is not in "home"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="511"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="518"/>
|
||||
<source>Its' parent folder has been blocked!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="515"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="522"/>
|
||||
<source>Set blocked folder failed!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="520"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="527"/>
|
||||
<source>OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -4,57 +4,57 @@
|
|||
<context>
|
||||
<name>ContentWidget</name>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="377"/>
|
||||
<location filename="../../src/content-widget.cpp" line="364"/>
|
||||
<source>Recently Opened</source>
|
||||
<translation>Yeni Açılan</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="413"/>
|
||||
<location filename="../../src/content-widget.cpp" line="400"/>
|
||||
<source>Open Quickly</source>
|
||||
<translation>Hızlı Aç</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="414"/>
|
||||
<location filename="../../src/content-widget.cpp" line="401"/>
|
||||
<source>Commonly Used</source>
|
||||
<translation>Genel olarak kullanılan</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="681"/>
|
||||
<location filename="../../src/content-widget.cpp" line="668"/>
|
||||
<source>Apps</source>
|
||||
<translation>Uygulamalar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="683"/>
|
||||
<location filename="../../src/content-widget.cpp" line="670"/>
|
||||
<source>Settings</source>
|
||||
<translation>Ayarlar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="685"/>
|
||||
<location filename="../../src/content-widget.cpp" line="672"/>
|
||||
<source>Files</source>
|
||||
<translation>Dosyalar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="687"/>
|
||||
<location filename="../../src/content-widget.cpp" line="674"/>
|
||||
<source>Dirs</source>
|
||||
<translation>Dizinler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="689"/>
|
||||
<location filename="../../src/content-widget.cpp" line="676"/>
|
||||
<source>File Contents</source>
|
||||
<translation>Dosya İçeriği</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="691"/>
|
||||
<location filename="../../src/content-widget.cpp" line="678"/>
|
||||
<source>Best Matches</source>
|
||||
<translation>En İyi Eşleşen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="693"/>
|
||||
<location filename="../../src/content-widget.cpp" line="680"/>
|
||||
<source>Web Pages</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="695"/>
|
||||
<location filename="../../src/content-widget.cpp" line="682"/>
|
||||
<source>Unknown</source>
|
||||
<translation>Bilinmeyen</translation>
|
||||
</message>
|
||||
|
@ -70,12 +70,12 @@
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="75"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="66"/>
|
||||
<source>ukui-search</source>
|
||||
<translation>ukui-ara</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="126"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="124"/>
|
||||
<source>Global Search</source>
|
||||
<translation>Genel Arama</translation>
|
||||
</message>
|
||||
|
@ -121,7 +121,7 @@
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../src/main.cpp" line="182"/>
|
||||
<location filename="../../src/main.cpp" line="172"/>
|
||||
<source>ukui-search is already running!</source>
|
||||
<translation>ukui-bul zaten çalışıyor!</translation>
|
||||
</message>
|
||||
|
@ -129,7 +129,7 @@
|
|||
<context>
|
||||
<name>SearchBarHLayout</name>
|
||||
<message>
|
||||
<location filename="../../src/input-box.cpp" line="120"/>
|
||||
<location filename="../../src/input-box.cpp" line="126"/>
|
||||
<source>Search</source>
|
||||
<translation>Ara</translation>
|
||||
</message>
|
||||
|
@ -137,32 +137,32 @@
|
|||
<context>
|
||||
<name>SearchDetailView</name>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="525"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="545"/>
|
||||
<source>Path</source>
|
||||
<translation>Yol</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="533"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="553"/>
|
||||
<source>Last time modified</source>
|
||||
<translation>Son değiştirilme zamanı</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="234"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="235"/>
|
||||
<source>Application</source>
|
||||
<translation>Uygulama</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="215"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="216"/>
|
||||
<source>Introduction: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="353"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="373"/>
|
||||
<source>Document</source>
|
||||
<translation>Belge</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="475"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="495"/>
|
||||
<source>Preview is not avaliable</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -170,55 +170,55 @@
|
|||
<context>
|
||||
<name>SettingsWidget</name>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="69"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="286"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="519"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="75"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="292"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="526"/>
|
||||
<source>Search</source>
|
||||
<translation>Ara</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="105"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="107"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="111"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="113"/>
|
||||
<source>...</source>
|
||||
<translation>...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="117"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="123"/>
|
||||
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
||||
<translation>Aşağıdaki klasörler aranmayacaktır. Klasör ekleyip kaldırarak ayarlayabilirsiniz.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="126"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="132"/>
|
||||
<source>Add ignored folders</source>
|
||||
<translation>Göz ardı edilen klasörleri ekleyin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="149"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="155"/>
|
||||
<source>Please select search engine you preferred.</source>
|
||||
<translation>Lütfen tercih ettiğiniz arama motorunu seçin.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="162"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="168"/>
|
||||
<source>baidu</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="164"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="170"/>
|
||||
<source>sougou</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="166"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="172"/>
|
||||
<source>360</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="408"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="415"/>
|
||||
<source>Cancel</source>
|
||||
<translation>İptal</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="347"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="353"/>
|
||||
<source>Creating ...</source>
|
||||
<translation>Oluşturuluyor...</translation>
|
||||
</message>
|
||||
|
@ -232,102 +232,102 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="98"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="104"/>
|
||||
<source><h2>Settings</h2></source>
|
||||
<translation><h2>Ayarlar</h2></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="103"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="109"/>
|
||||
<source><h3>Index State</h3></source>
|
||||
<translation><h3>Dizin Durumu</h3></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="115"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="121"/>
|
||||
<source><h3>File Index Settings</h3></source>
|
||||
<translation><h3>Dosya Dizini Ayarları</h3></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="147"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="153"/>
|
||||
<source><h3>Search Engine Settings</h3></source>
|
||||
<translation><h3>SArama Motoru Ayarları</h3></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="286"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="292"/>
|
||||
<source>Whether to delete this directory?</source>
|
||||
<translation>Bu dizini silinsin mi?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="287"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="293"/>
|
||||
<source>Yes</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="288"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="294"/>
|
||||
<source>No</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="350"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="356"/>
|
||||
<source>Done</source>
|
||||
<translation>Tamam</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="358"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="364"/>
|
||||
<source>Index Entry: %1</source>
|
||||
<translation>Dizin Girişi: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="402"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="409"/>
|
||||
<source>Directories</source>
|
||||
<translation>Dizinler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="403"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="410"/>
|
||||
<source>select blocked folder</source>
|
||||
<translation>engellenen klasörü seç</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="404"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="411"/>
|
||||
<source>Select</source>
|
||||
<translation>Seç</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="405"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="412"/>
|
||||
<source>Position: </source>
|
||||
<translation>Pozisyon: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="406"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="413"/>
|
||||
<source>FileName: </source>
|
||||
<translation>Dosya Adı: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="407"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="414"/>
|
||||
<source>FileType: </source>
|
||||
<translation>Dosya Türü: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="503"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="510"/>
|
||||
<source>Choosen path is Empty!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="507"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="514"/>
|
||||
<source>Choosen path is not in "home"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="511"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="518"/>
|
||||
<source>Its' parent folder has been blocked!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="515"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="522"/>
|
||||
<source>Set blocked folder failed!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="520"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="527"/>
|
||||
<source>OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -4,57 +4,57 @@
|
|||
<context>
|
||||
<name>ContentWidget</name>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="377"/>
|
||||
<location filename="../../src/content-widget.cpp" line="364"/>
|
||||
<source>Recently Opened</source>
|
||||
<translation>最近</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="413"/>
|
||||
<location filename="../../src/content-widget.cpp" line="400"/>
|
||||
<source>Open Quickly</source>
|
||||
<translation>快速入口</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="414"/>
|
||||
<location filename="../../src/content-widget.cpp" line="401"/>
|
||||
<source>Commonly Used</source>
|
||||
<translation>常用</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="681"/>
|
||||
<location filename="../../src/content-widget.cpp" line="668"/>
|
||||
<source>Apps</source>
|
||||
<translation>应用</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="683"/>
|
||||
<location filename="../../src/content-widget.cpp" line="670"/>
|
||||
<source>Settings</source>
|
||||
<translation>配置项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="685"/>
|
||||
<location filename="../../src/content-widget.cpp" line="672"/>
|
||||
<source>Files</source>
|
||||
<translation>文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="687"/>
|
||||
<location filename="../../src/content-widget.cpp" line="674"/>
|
||||
<source>Dirs</source>
|
||||
<translation>文件夹</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="689"/>
|
||||
<location filename="../../src/content-widget.cpp" line="676"/>
|
||||
<source>File Contents</source>
|
||||
<translation>文件内容</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="691"/>
|
||||
<location filename="../../src/content-widget.cpp" line="678"/>
|
||||
<source>Best Matches</source>
|
||||
<translation>最佳匹配</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="693"/>
|
||||
<location filename="../../src/content-widget.cpp" line="680"/>
|
||||
<source>Web Pages</source>
|
||||
<translation>网页</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/content-widget.cpp" line="695"/>
|
||||
<location filename="../../src/content-widget.cpp" line="682"/>
|
||||
<source>Unknown</source>
|
||||
<translation>未知</translation>
|
||||
</message>
|
||||
|
@ -70,12 +70,12 @@
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="75"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="66"/>
|
||||
<source>ukui-search</source>
|
||||
<translation>搜索</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="126"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="124"/>
|
||||
<source>Global Search</source>
|
||||
<translation>搜索</translation>
|
||||
</message>
|
||||
|
@ -121,7 +121,7 @@
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../src/main.cpp" line="182"/>
|
||||
<location filename="../../src/main.cpp" line="172"/>
|
||||
<source>ukui-search is already running!</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
|
@ -129,7 +129,7 @@
|
|||
<context>
|
||||
<name>SearchBarHLayout</name>
|
||||
<message>
|
||||
<location filename="../../src/input-box.cpp" line="120"/>
|
||||
<location filename="../../src/input-box.cpp" line="126"/>
|
||||
<source>Search</source>
|
||||
<translation>搜索</translation>
|
||||
</message>
|
||||
|
@ -137,32 +137,32 @@
|
|||
<context>
|
||||
<name>SearchDetailView</name>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="525"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="545"/>
|
||||
<source>Path</source>
|
||||
<translation>路径</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="533"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="553"/>
|
||||
<source>Last time modified</source>
|
||||
<translation>上次修改时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="234"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="235"/>
|
||||
<source>Application</source>
|
||||
<translation>应用</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="215"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="216"/>
|
||||
<source>Introduction: %1</source>
|
||||
<translation>软件介绍: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="353"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="373"/>
|
||||
<source>Document</source>
|
||||
<translation>文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="475"/>
|
||||
<location filename="../../src/control/search-detail-view.cpp" line="495"/>
|
||||
<source>Preview is not avaliable</source>
|
||||
<translation>当前预览不可用</translation>
|
||||
</message>
|
||||
|
@ -175,115 +175,115 @@
|
|||
<translation>搜索</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="69"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="286"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="519"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="75"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="292"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="526"/>
|
||||
<source>Search</source>
|
||||
<translation>搜索</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="98"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="104"/>
|
||||
<source><h2>Settings</h2></source>
|
||||
<translation><h2>设置</h2></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="103"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="109"/>
|
||||
<source><h3>Index State</h3></source>
|
||||
<translation><h3>索引状态</h3></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="105"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="107"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="111"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="113"/>
|
||||
<source>...</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="115"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="121"/>
|
||||
<source><h3>File Index Settings</h3></source>
|
||||
<translation><h3>文件索引设置</h3></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="117"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="123"/>
|
||||
<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="126"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="132"/>
|
||||
<source>Add ignored folders</source>
|
||||
<translation>添加文件夹至黑名单</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="147"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="153"/>
|
||||
<source><h3>Search Engine Settings</h3></source>
|
||||
<translation><h3>搜索引擎设置</h3></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="149"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="155"/>
|
||||
<source>Please select search engine you preferred.</source>
|
||||
<translation>设置互联网搜索引擎</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="162"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="168"/>
|
||||
<source>baidu</source>
|
||||
<translation>百度</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="164"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="170"/>
|
||||
<source>sougou</source>
|
||||
<translation>搜狗</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="166"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="172"/>
|
||||
<source>360</source>
|
||||
<translation>360</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="286"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="292"/>
|
||||
<source>Whether to delete this directory?</source>
|
||||
<translation>是否要删除此目录</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="287"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="293"/>
|
||||
<source>Yes</source>
|
||||
<translation>是(Y)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="288"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="294"/>
|
||||
<source>No</source>
|
||||
<translation>否(N)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="408"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="415"/>
|
||||
<source>Cancel</source>
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="503"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="510"/>
|
||||
<source>Choosen path is Empty!</source>
|
||||
<translation>选择的路径不存在!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="507"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="514"/>
|
||||
<source>Choosen path is not in "home"!</source>
|
||||
<translation>请选择家目录下的文件夹!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="511"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="518"/>
|
||||
<source>Its' parent folder has been blocked!</source>
|
||||
<translation>父文件夹已被屏蔽!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="515"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="522"/>
|
||||
<source>Set blocked folder failed!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="520"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="527"/>
|
||||
<source>OK</source>
|
||||
<translation>好的</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="347"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="353"/>
|
||||
<source>Creating ...</source>
|
||||
<translation>正在索引</translation>
|
||||
</message>
|
||||
|
@ -292,42 +292,42 @@
|
|||
<translation type="vanished">搜索</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="350"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="356"/>
|
||||
<source>Done</source>
|
||||
<translation>索引完成</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="358"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="364"/>
|
||||
<source>Index Entry: %1</source>
|
||||
<translation>索引项: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="402"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="409"/>
|
||||
<source>Directories</source>
|
||||
<translation>文件夹</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="403"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="410"/>
|
||||
<source>select blocked folder</source>
|
||||
<translation>选择屏蔽文件夹</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="404"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="411"/>
|
||||
<source>Select</source>
|
||||
<translation>选择</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="405"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="412"/>
|
||||
<source>Position: </source>
|
||||
<translation>位置:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="406"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="413"/>
|
||||
<source>FileName: </source>
|
||||
<translation>名称:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/settings-widget.cpp" line="407"/>
|
||||
<location filename="../../src/settings-widget.cpp" line="414"/>
|
||||
<source>FileType: </source>
|
||||
<translation>类型:</translation>
|
||||
</message>
|
||||
|
|
Loading…
Reference in New Issue