Add namespace 'Zeeker';

Add plugin iface;
Add libchinese-segmentation-dev package;
Update translations.
This commit is contained in:
iaom 2021-04-30 16:28:50 +08:00
parent ace0096d60
commit 2f0e34774f
81 changed files with 956 additions and 545 deletions

8
debian/control vendored
View File

@ -44,6 +44,14 @@ Description: Libraries for chinese-segmentation
This package contains a few runtime libraries needed by
libsearch.
Package: libchinese-segmentation-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends},
libchinese-segmentation0 (= ${binary:Version})
Description: Libraries for chinese-segmentation(development files).
Package: libukui-search0
Section: libs
Architecture: any

View File

@ -0,0 +1,2 @@
usr/include/chinese-seg/*
usr/lib/*.so

View File

@ -39,6 +39,12 @@ unix {
}
!isEmpty(target.path): INSTALLS += target
header.path = /usr/include/chinese-seg/
header.files += *.h
header_cppjieba.path = /usr/include/chinese-seg/cppjieba/
header_cppjieba.files = cppjieba/*
INSTALLS += header header_cppjieba
#DISTFILES += \
# jiaba/jieba.pri

View File

@ -20,7 +20,7 @@
#include "app-match.h"
#include <glib.h>
#include "file-utils.h"
using namespace Zeeker;
static AppMatch *app_match_Class = nullptr;
AppMatch *AppMatch::getAppMatch() {

View File

@ -29,7 +29,7 @@
#include <QtDBus>
#include <QElapsedTimer>
#include <QThread>
namespace Zeeker {
class NameString {
public:
explicit NameString(const QString &str_) : app_name(str_) {}
@ -89,5 +89,6 @@ protected:
void run() override;
};
}
#endif // APPMATCH_H

View File

@ -21,7 +21,7 @@
*/
#include "file-utils.h"
using namespace Zeeker;
size_t FileUtils::_max_index_count = 0;
size_t FileUtils::_current_index_count = 0;
unsigned short FileUtils::_index_status = 0;

View File

@ -58,7 +58,7 @@
#define UKUI_SEARCH_PIPE_PATH (QDir::homePath()+"/.config/org.ukui/ukui-search/ukuisearch").toLocal8Bit().constData()
namespace Zeeker {
class LIBSEARCH_EXPORT FileUtils {
public:
static std::string makeDocUterm(QString);
@ -94,4 +94,6 @@ private:
FileUtils();
};
}
#endif // FILEUTILS_H

View File

@ -23,6 +23,7 @@
#include <QPalette>
#include "global-settings.h"
using namespace Zeeker;
static GlobalSettings *global_instance_of_global_settings = nullptr;
GlobalSettings *GlobalSettings::getInstance() {

View File

@ -56,6 +56,7 @@
//#define CLOUD_HISTORY "history"
//#define CLOUD_APPLICATIONS "applications"
namespace Zeeker {
class LIBSEARCH_EXPORT GlobalSettings : public QObject {
Q_OBJECT
public:
@ -105,8 +106,8 @@ private:
QMutex m_mutex;
};
}
#endif // GLOBALSETTINGS_H

View File

@ -54,4 +54,5 @@ private:
std::shared_ptr<gobjecttemplate<GFile>> wrapGFile(GFile *file);
std::shared_ptr<gobjecttemplate<GFileInfo>> wrapGFileInfo(GFileInfo *info);
#endif // GT_H

View File

@ -19,14 +19,14 @@
*/
#include "construct-document.h"
#include "file-utils.h"
#include "chinese-segmentation.h"
#include "chinese-seg/chinese-segmentation.h"
#include <QDebug>
#include <QThread>
#include <QUrl>
//extern QList<Document> *_doc_list_path;
//extern QMutex _mutex_doc_list_path;
using namespace Zeeker;
ConstructDocumentForPath::ConstructDocumentForPath(QVector<QString> list) {
this->setAutoDelete(true);
m_list = std::move(list);
@ -34,8 +34,8 @@ ConstructDocumentForPath::ConstructDocumentForPath(QVector<QString> list) {
void ConstructDocumentForPath::run() {
// qDebug()<<"ConstructDocumentForPath";
if(!_doc_list_path)
_doc_list_path = new QList<Document>;
if(!Zeeker::_doc_list_path)
Zeeker::_doc_list_path = new QList<Document>;
// qDebug()<<_doc_list_path->size();
QString index_text = m_list.at(0).toLower();
QString sourcePath = m_list.at(1);
@ -87,9 +87,9 @@ void ConstructDocumentForPath::run() {
}
// QMetaObject::invokeMethod(m_indexGenerator,"appendDocListPath",Q_ARG(Document,doc));
_mutex_doc_list_path.lock();
_doc_list_path->append(doc);
_mutex_doc_list_path.unlock();
Zeeker::_mutex_doc_list_path.lock();
Zeeker::_doc_list_path->append(doc);
Zeeker::_mutex_doc_list_path.unlock();
// qDebug()<<"ConstructDocumentForPath finish";
return;
}
@ -102,8 +102,8 @@ ConstructDocumentForContent::ConstructDocumentForContent(QString path) {
void ConstructDocumentForContent::run() {
// qDebug() << "ConstructDocumentForContent currentThreadId()" << QThread::currentThreadId();
// 构造文本索引的document
if(!_doc_list_content)
_doc_list_content = new QList<Document>;
if(!Zeeker::_doc_list_content)
Zeeker::_doc_list_content = new QList<Document>;
QString content;
FileReader::getTextContent(m_path, content);
if(content.isEmpty())
@ -123,9 +123,9 @@ void ConstructDocumentForContent::run() {
}
_mutex_doc_list_content.lock();
_doc_list_content->append(doc);
_mutex_doc_list_content.unlock();
Zeeker::_mutex_doc_list_content.lock();
Zeeker::_doc_list_content->append(doc);
Zeeker::_mutex_doc_list_content.unlock();
content.clear();
content.squeeze();
term.clear();

View File

@ -25,8 +25,9 @@
//#include <QMetaObject>
#include "document.h"
#include "index-generator.h"
//extern QList<Document> *_doc_list_path;
//extern QMutex _mutex_doc_list_path;
namespace Zeeker {
class IndexGenerator;
class ConstructDocumentForPath : public QRunnable {
public:
@ -47,5 +48,6 @@ protected:
private:
QString m_path;
};
}
#endif // CONSTRUCTDOCUMENT_H

View File

@ -19,7 +19,7 @@
*/
#include "document.h"
#include <QDebug>
using namespace Zeeker;
void Document::setData(QString data) {
if(data.isEmpty())
return;

View File

@ -24,7 +24,7 @@
#include <QString>
#include <QStringList>
#include <QVector>
namespace Zeeker {
class Document {
public:
Document() = default;
@ -55,5 +55,6 @@ private:
QString m_unique_term;
};
}
#endif // DOCUMENT_H

View File

@ -20,7 +20,7 @@
#include "file-reader.h"
#include "file-utils.h"
#include "binary-parser.h"
using namespace Zeeker;
FileReader::FileReader(QObject *parent) : QObject(parent) {
}

View File

@ -22,7 +22,7 @@
#include <QObject>
#include <QFileInfo>
namespace Zeeker {
class FileReader : public QObject {
Q_OBJECT
public:
@ -31,5 +31,5 @@ public:
static void getTextContent(QString path, QString &textContent);
};
}
#endif // FILEREADER_H

View File

@ -24,7 +24,7 @@
#define NEW_QUEUE(a) a = new QQueue<QString>(); qDebug("---------------------------%s %s %s new at %d..",__FILE__,__FUNCTION__,#a,__LINE__);
//#define DELETE_QUEUE(a )
using namespace Zeeker;
FirstIndex::FirstIndex() {
}

View File

@ -42,6 +42,7 @@
#include "inotify-index.h"
#include "file-utils.h"
namespace Zeeker {
class FirstIndex : public QThread, public Traverse_BFS {
public:
FirstIndex();
@ -82,5 +83,6 @@ private:
//xapian will auto commit per 10,000 changes, donnot change it!!!
const size_t u_send_length = 8192;
};
}
#endif // FIRSTINDEX_H

View File

@ -28,7 +28,7 @@
#include "file-utils.h"
#include "index-generator.h"
#include "global-settings.h"
#include "chinese-segmentation.h"
#include "chinese-seg/chinese-segmentation.h"
#include "construct-document.h"
#include <QStandardPaths>
@ -36,12 +36,15 @@
#define INDEX_PATH (QStandardPaths::writableLocation(QStandardPaths::HomeLocation)+"/.config/org.ukui/ukui-search/index_data").toStdString()
#define CONTENT_INDEX_PATH (QStandardPaths::writableLocation(QStandardPaths::HomeLocation)+"/.config/org.ukui/ukui-search/content_index_data").toStdString()
using namespace Zeeker;
static IndexGenerator *global_instance = nullptr;
QMutex IndexGenerator::m_mutex;
QList<Document> *_doc_list_path;
QMutex _mutex_doc_list_path;
QList<Document> *_doc_list_content;
QMutex _mutex_doc_list_content;
QList<Document> *Zeeker::_doc_list_path;
QMutex Zeeker::_mutex_doc_list_path;
QList<Document> *Zeeker::_doc_list_content;
QMutex Zeeker::_mutex_doc_list_content;
IndexGenerator *IndexGenerator::getInstance(bool rebuild, QObject *parent) {
QMutexLocker locker(&m_mutex);
if(!global_instance) {

View File

@ -32,6 +32,7 @@
#include "document.h"
#include "file-reader.h"
namespace Zeeker {
extern QList<Document> *_doc_list_path;
extern QMutex _mutex_doc_list_path;
extern QList<Document> *_doc_list_content;
@ -79,5 +80,6 @@ private:
std::string m_index_text_str;
Xapian::TermGenerator m_indexer;
};
}
#endif // INDEXGENERATOR_H

View File

@ -45,7 +45,7 @@
#define CREATE_FILE \
CREATE_FILE_NAME_INDEX \
CREATE_FILE_CONTENT_INDEX
using namespace Zeeker;
InotifyIndex::InotifyIndex(const QString& path) : Traverse_BFS(path) {
qDebug() << "setInotifyMaxUserWatches start";
UkuiSearchQDBus usQDBus;

View File

@ -32,6 +32,8 @@
#include "first-index.h"
#define BUF_LEN 1024000
namespace Zeeker {
class InotifyIndex;
static InotifyIndex* global_instance_of_index = nullptr;
class InotifyIndex : public QThread, public Traverse_BFS {
@ -76,5 +78,6 @@ private:
};
};
}
#endif // INOTIFYINDEX_H

View File

@ -19,6 +19,7 @@
*/
#include "search-manager.h"
using namespace Zeeker;
size_t SearchManager::uniqueSymbol1 = 0;
size_t SearchManager::uniqueSymbol2 = 0;
size_t SearchManager::uniqueSymbol3 = 0;

View File

@ -37,16 +37,17 @@
#include <QThread>
#include <QUrl>
#include "file-utils.h"
#include "global-settings.h"
#include "chinese-segmentation.h"
#include "../file-utils.h"
#include "../global-settings.h"
#include "chinese-seg/chinese-segmentation.h"
#define INDEX_PATH (QStandardPaths::writableLocation(QStandardPaths::HomeLocation)+"/.config/org.ukui/ukui-search/index_data").toStdString()
#define CONTENT_INDEX_PATH (QStandardPaths::writableLocation(QStandardPaths::HomeLocation)+"/.config/org.ukui/ukui-search/content_index_data").toStdString()
namespace Zeeker {
class SearchManager : public QObject {
class LIBSEARCH_EXPORT SearchManager : public QObject {
friend class FileSearch;
friend class FileContentSearch;
Q_OBJECT
@ -143,4 +144,6 @@ private:
QQueue<QString>* m_searchResultDir = nullptr;
size_t m_uniqueSymbol;
};
}
#endif // SEARCHMANAGER_H

View File

@ -1,5 +1,5 @@
#include "searchmethodmanager.h"
using namespace Zeeker;
void SearchMethodManager::searchMethod(FileUtils::SearchMethod sm) {
qWarning() << "searchMethod start: " << static_cast<int>(sm);
if(FileUtils::SearchMethod::INDEXSEARCH == sm || FileUtils::SearchMethod::DIRECTSEARCH == sm) {

View File

@ -4,6 +4,7 @@
#include "first-index.h"
#include "inotify-index.h"
namespace Zeeker {
class SearchMethodManager {
public:
SearchMethodManager() = default;
@ -12,5 +13,6 @@ private:
FirstIndex m_fi;
InotifyIndex* m_ii;
};
}
#endif // SEARCHMETHODMANAGER_H

View File

@ -18,7 +18,7 @@
*
*/
#include "traverse_bfs.h"
using namespace Zeeker;
Traverse_BFS::Traverse_BFS(const QString& path) {
Q_ASSERT('/' == path.at(0));
this->path = path;

View File

@ -24,7 +24,7 @@
#include <QDebug>
#include <QDir>
#include <QQueue>
namespace Zeeker {
class Traverse_BFS {
public:
Traverse_BFS() = default;
@ -39,5 +39,6 @@ private:
Traverse_BFS(const Traverse_BFS&) = delete;
void operator=(const Traverse_BFS&) = delete;
};
}
#endif // TRAVERSE_BFS_H

View File

@ -19,7 +19,7 @@
*/
#include "ukui-search-qdbus.h"
#include <QDebug>
using namespace Zeeker;
UkuiSearchQDBus::UkuiSearchQDBus() {
this->tmpSystemQDBusInterface = new QDBusInterface("com.ukui.search.qt.systemdbus",
"/",

View File

@ -21,7 +21,7 @@
#define UKUISEARCHQDBUS_H
#include <QDBusInterface>
namespace Zeeker {
class UkuiSearchQDBus {
public:
UkuiSearchQDBus();
@ -30,5 +30,6 @@ public:
private:
QDBusInterface* tmpSystemQDBusInterface;
};
}
#endif // UKUISEARCHQDBUS_H

View File

@ -18,6 +18,6 @@
*
*/
#include "libsearch.h"
using namespace Zeeker;
// Encapsulate advanced interfaces here.

View File

@ -32,13 +32,15 @@
#include "index/inotify-index.h"
#include "index/search-manager.h"
class LIBSEARCH_EXPORT GlobalSearch {
public:
namespace Zeeker {
//class LIBSEARCH_EXPORT GlobalSearch {
//public:
static QStringList fileSearch(QString keyword, int begin = 0, int num = -1);
// static QStringList fileSearch(QString keyword, int begin = 0, int num = -1);
private:
GlobalSearch();
};
//private:
// GlobalSearch();
//};
}
#endif // LIBSEARCH_H

View File

@ -25,6 +25,7 @@ include(index/index.pri)
include(parser/parser.pri))
include(appsearch/appsearch.pri)
include(settingsearch/settingsearch.pri))
include(plugininterface/plugininterface.pri)
LIBS += -L$$OUT_PWD/../libchinese-segmentation/ -lchinese-segmentation
LIBS += -lxapian -lquazip5 -luchardet
@ -60,14 +61,20 @@ unix {
INSTALLS += target
header.path = /usr/include/ukui-search
header.files += libsearch.h
INSTALLS += header
header.files += *.h
header_index.path = /usr/include/ukui-search/index
header_index.files = index/*.h
header_appsearch.path = /usr/include/ukui-search/appsearch
header_appsearch.files = appsearch/*.h
header_settingsearch.path = /usr/include/ukui-search/settingsearch
header_settingsearch.files = settingsearch/*.h
INSTALLS += header header_index header_appsearch header_settingsearch
}
INCLUDEPATH += $$PWD/../libchinese-segmentation
DEPENDPATH += $$PWD/../libchinese-segmentation
#INCLUDEPATH += $$PWD/../libchinese-segmentation
#DEPENDPATH += $$PWD/../libchinese-segmentation
#DISTFILES += \
# ../translations/libsearch/libukui-search_zh_CN.ts

View File

@ -0,0 +1,27 @@
#ifndef PLUGININTERFACE_H
#define PLUGININTERFACE_H
namespace Zeeker {
class PluginInterface
{
public:
enum PluginType
{
MenuPlugin,
PreviewPagePlugin,
SearchPlugin,
Other
};
virtual ~PluginInterface() {}
virtual PluginType pluginType() = 0;
virtual const QString name() = 0;
virtual const QString description() = 0;
virtual const QIcon icon() = 0;
virtual void setEnable(bool enable) = 0;
virtual bool isEnable() = 0;
};
}
#endif // PLUGININTERFACE_H

View File

@ -0,0 +1,7 @@
INCLUDEPATH += $$PWD
HEADERS += \
$$PWD/plugin-iface.h \
$$PWD/search-plugin-iface.h
SOURCES +=

View File

@ -0,0 +1,33 @@
#ifndef SEARCHPLUGINIFACE_H
#define SEARCHPLUGINIFACE_H
#define SearchPluginIface_iid "org.ukui.ukui-search.plugin-iface.SearchPluginInterface"
#include <QString>
#include <QIcon>
#include <QMap>
#include "plugin-iface.h"
namespace Zeeker {
class SearchPluginIface : public PluginInterface
{
public:
///
/// \brief The resultInfo struct
///
struct resultInfo
{
QIcon icon;
QString name;
QString description;
QMap<QString,QString> actionMap;//action name and action key
};
virtual ~SearchInterface(){}
virtual QString getPluginName() = 0;
virtual void KeywordSearch(QString keyword,QQueue<resultInfo>);
virtual void openAction(QString key);
};
}
Q_DECLARE_INTERFACE(SearchPluginIface, SearchPluginIface_iid)
#endif // SEARCHPLUGINIFACE_H

View File

@ -19,6 +19,7 @@
*/
#include "setting-match.h"
#include "file-utils.h"
using namespace Zeeker;
SettingsMatch::SettingsMatch(QObject *parent) : QObject(parent) {
xmlElement();
}

View File

@ -30,6 +30,7 @@
#include <QStringList>
#include <QTimer>
#include <QDebug>
namespace Zeeker {
class SettingsMatch : public QObject {
Q_OBJECT
public:
@ -48,5 +49,6 @@ private:
QString m_sourceText;
};
}
#endif // SETTINGSEARCH_H

View File

@ -24,6 +24,7 @@
#include <QTimer>
#include "config-file.h"
using namespace Zeeker;
ContentWidget::ContentWidget(QWidget * parent): QStackedWidget(parent) {
initUI();
initListView();

View File

@ -30,6 +30,7 @@
#include "show-more-label.h"
#include "title-label.h"
namespace Zeeker {
class ContentWidget : public QStackedWidget {
Q_OBJECT
public:
@ -115,5 +116,6 @@ private Q_SLOTS:
void onListViewRowChanged(SearchListView * listview, const int& type, const QString& path);
void onListViewRowDoubleClicked(SearchListView * listview, const int& type, const QString& path);
};
}
#endif // CONTENTWIDGET_H

View File

@ -19,6 +19,7 @@
*/
#include "config-file.h"
using namespace Zeeker;
bool ConfigFile::writeCommonly(QString message) {
QSettings *m_qSettings = new QSettings(HOMEPAGE_SETTINGS, QSettings::IniFormat);
QStringList messagelist = message.split("/");

View File

@ -26,6 +26,7 @@
#include <QFileInfo>
#include <QDir>
#define HOMEPAGE_SETTINGS QDir::homePath()+"/.config/org.ukui/ukui-search/ukui-search-homepage.conf"
namespace Zeeker {
class ConfigFile : public QObject {
Q_OBJECT
public:
@ -39,5 +40,6 @@ private:
static QStringList readRecently();
};
}
#endif // CONFIGFILE_H

View File

@ -22,6 +22,7 @@
#include <QIcon>
#include <QEvent>
using namespace Zeeker;
FolderListItem::FolderListItem(QWidget *parent, const QString &path) : QWidget(parent) {
m_path = path;
initUi();

View File

@ -26,6 +26,7 @@
#include <QVBoxLayout>
#include <QLabel>
namespace Zeeker {
class FolderListItem : public QWidget {
Q_OBJECT
public:
@ -52,5 +53,6 @@ private:
Q_SIGNALS:
void onDelBtnClicked(const QString&);
};
}
#endif // FOLDERLISTITEM_H

View File

@ -25,8 +25,9 @@
#include <QDebug>
#include <QTextDocument>
#include <QAbstractTextDocumentLayout>
#include "global-settings.h"
#include "ukui-search/global-settings.h"
using namespace Zeeker;
HighlightItemDelegate::HighlightItemDelegate(QObject *parent) : QStyledItemDelegate(parent) {
}

View File

@ -23,6 +23,7 @@
#include <QStyledItemDelegate>
namespace Zeeker {
class HighlightItemDelegate : public QStyledItemDelegate {
Q_OBJECT
public:
@ -35,5 +36,6 @@ private:
QString escapeHtml(const QString&) const;
void paintKeywordHighlight(QPainter *, const QStyleOptionViewItem &, const QString &, const int &, const int &) const;
};
}
#endif // HIGHLIGHTITEMDELEGATE_H

View File

@ -28,6 +28,7 @@
#include <QUrl>
#include <QApplication>
using namespace Zeeker;
HomePageItem::HomePageItem(QWidget *parent, const int& type, const QString& path) : QWidget(parent) {
setupUi(type, path);
m_transparency = 0.06;

View File

@ -25,9 +25,10 @@
#include <QLabel>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include "file-utils.h"
#include "ukui-search/file-utils.h"
#include "search-list-view.h"
namespace Zeeker {
class HomePageItem : public QWidget {
Q_OBJECT
public:
@ -57,5 +58,6 @@ private:
QString m_path;
int m_type = 0;
};
}
#endif // HOMEPAGEITEM_H

View File

@ -22,6 +22,7 @@
#include <QDebug>
#include <QEvent>
using namespace Zeeker;
OptionView::OptionView(QWidget *parent) : QWidget(parent) {
m_mainLyt = new QVBoxLayout(this);
this->setLayout(m_mainLyt);

View File

@ -28,6 +28,7 @@
#include <QHBoxLayout>
#include "search-list-view.h"
namespace Zeeker {
class OptionView : public QWidget {
Q_OBJECT
public:
@ -71,5 +72,6 @@ private:
Q_SIGNALS:
void onOptionClicked(const int&);
};
}
#endif // OPTIONVIEW_H

View File

@ -37,6 +37,7 @@
//#include <QWebEngineCookieStore>
#include "config-file.h"
using namespace Zeeker;
SearchDetailView::SearchDetailView(QWidget *parent) : QWidget(parent) {
initUI();
}

View File

@ -28,8 +28,9 @@
//#include <QWebEngineUrlRequestInterceptor>
#include <QDesktopServices>
#include "option-view.h"
#include "global-settings.h"
#include "ukui-search/global-settings.h"
namespace Zeeker {
class SearchDetailView : public QWidget {
Q_OBJECT
public:
@ -113,5 +114,6 @@ private Q_SLOTS:
// explicit RequestInterceptor(QObject * parent = nullptr) : QWebEngineUrlRequestInterceptor(parent) {}
// virtual void interceptRequest(QWebEngineUrlRequestInfo & info) Q_DECL_OVERRIDE;
//};
}
#endif // SEARCHDETAILVIEW_H

View File

@ -23,6 +23,7 @@
#include <QFileInfo>
#include "custom-style.h"
using namespace Zeeker;
SearchListView::SearchListView(QWidget * parent, const QStringList& list, const int& type) : QTreeView(parent) {
// CustomStyle * style = new CustomStyle(GlobalSettings::getInstance()->getValue(STYLE_NAME_KEY).toString());
this->setStyle(CustomStyle::getStyle());

View File

@ -28,6 +28,7 @@
#include "model/search-item.h"
#include "highlight-item-delegate.h"
namespace Zeeker {
class SearchListView : public QTreeView {
Q_OBJECT
public:
@ -80,5 +81,6 @@ Q_SIGNALS:
public Q_SLOTS:
void clearSelection();
};
}
#endif // SEARCHLISTVIEW_H

View File

@ -22,6 +22,7 @@
#include <QEvent>
#include <QDebug>
using namespace Zeeker;
ShowMoreLabel::ShowMoreLabel(QWidget *parent) : QWidget(parent) {
initUi();
m_timer = new QTimer;

View File

@ -26,6 +26,7 @@
#include <QHBoxLayout>
#include <QTimer>
namespace Zeeker {
class ShowMoreLabel : public QWidget {
Q_OBJECT
public:
@ -56,5 +57,6 @@ public Q_SLOTS:
void stopLoading();
void refreshLoadState();
};
}
#endif // SHOWMORELABEL_H

View File

@ -22,6 +22,7 @@
#include <QPainter>
#include <QStyleOption>
using namespace Zeeker;
TitleLabel::TitleLabel(QWidget * parent) : QLabel(parent) {
this->setContentsMargins(8, 0, 0, 0);
this->setFixedHeight(24);

View File

@ -23,6 +23,7 @@
#include <QLabel>
namespace Zeeker {
class TitleLabel : public QLabel {
public:
TitleLabel(QWidget * parent = nullptr);
@ -31,5 +32,6 @@ public:
protected:
void paintEvent(QPaintEvent *);
};
}
#endif // TITLELABEL_H

View File

@ -22,6 +22,7 @@
#include "create-index-ask-dialog.h"
#include <QPainter>
using namespace Zeeker;
CreateIndexAskDialog::CreateIndexAskDialog(QWidget *parent) : QDialog(parent) {
this->setWindowIcon(QIcon::fromTheme("kylin-search"));
this->setWindowTitle(tr("ukui-search"));

View File

@ -31,6 +31,7 @@
#include <QPushButton>
#include <QStyleOption>
namespace Zeeker {
class CreateIndexAskDialog : public QDialog {
Q_OBJECT
public:
@ -67,5 +68,6 @@ Q_SIGNALS:
void btnClicked(const bool&, const bool&);
};
}
#endif // CREATEINDEXASKDIALOG_H

View File

@ -21,6 +21,7 @@
#include "custom-style.h"
using namespace Zeeker;
static CustomStyle *customstyle_global_instance = nullptr;
CustomStyle::CustomStyle(QStyle *style) {

View File

@ -24,6 +24,7 @@
#include <QProxyStyle>
#include "global-settings.h"
namespace Zeeker {
class CustomStyle : public QProxyStyle {
Q_OBJECT
public:
@ -33,5 +34,6 @@ private:
explicit CustomStyle(QStyle *style = nullptr);
~CustomStyle() override {}
};
}
#endif // CUSTOMSTYLE_H

View File

@ -20,6 +20,7 @@
*/
#include "input-box.h"
using namespace Zeeker;
/**
* @brief ukui-search顶部搜索界面
*/

View File

@ -33,6 +33,7 @@
#include <QListView>
#include "global-settings.h"
namespace Zeeker {
class SearchLineEdit;
class SeachBarWidget: public QWidget {
@ -110,3 +111,4 @@ private:
QCompleter *m_completer = nullptr;
bool m_isRecorded = false;
};
}

View File

@ -37,7 +37,7 @@
#include "libsearch.h"
#include "global-settings.h"
using namespace Zeeker;
//void handler(int){
// qDebug() << "Recieved SIGTERM!";

View File

@ -41,6 +41,7 @@
#include "global-settings.h"
#include "search-result.h"
using namespace Zeeker;
extern void qt_blurImage(QImage &blurImage, qreal radius, bool quality, int transposed);
/**
* @brief MainWindow

View File

@ -58,6 +58,7 @@
#define SEARCH_METHOD_KEY "indexSearch"
#define WEB_ENGINE_KEY "webEngine"
namespace Zeeker {
class SearchResult;
class MainWindow : public QMainWindow {
friend class SearchResult;
@ -149,5 +150,6 @@ public Q_SLOTS:
void clearSearchResult(); //清空搜索结果
void createIndexSlot();
};
}
#endif // MAINWINDOW_H

View File

@ -21,6 +21,7 @@
#include "search-item-model.h"
#include <QDebug>
using namespace Zeeker;
SearchItemModel::SearchItemModel(QObject *parent) : QAbstractItemModel(parent) {
}
@ -87,6 +88,8 @@ int SearchItemModel::columnCount(const QModelIndex& index) const {
* @param role
* @return
*/
using namespace Zeeker;
QVariant SearchItemModel::data(const QModelIndex &index, int role) const {
if(!index.isValid())
return QVariant();

View File

@ -25,6 +25,7 @@
#include <QAbstractItemModel>
#include "search-item.h"
namespace Zeeker {
class SearchItem;
class SearchItemModel : public QAbstractItemModel {
@ -62,5 +63,6 @@ public:
private :
SearchItem * m_item = nullptr;
};
}
#endif // SEARCHITEMMODEL_H

View File

@ -22,6 +22,8 @@
#include <QDebug>
#include <QFileInfo>
using namespace Zeeker;
SearchItem::SearchItem(QObject *parent) : QObject(parent) {
}

View File

@ -26,6 +26,7 @@
#include "search-item-model.h"
#include "file-utils.h"
namespace Zeeker {
class SearchItem : public QObject {
friend class SearchItemModel;
friend class SearchListView;
@ -69,5 +70,6 @@ private:
Q_SIGNALS:
};
}
#endif // SEARCHITEM_H

View File

@ -1,5 +1,6 @@
#include "search-app-thread.h"
using namespace Zeeker;
size_t uniqueSymbol = 0;
QMutex m_mutex;

View File

@ -3,8 +3,9 @@
#include <QThread>
#include <QObject>
#include <QRunnable>
#include "libsearch.h"
#include "ukui-search/libsearch.h"
namespace Zeeker {
class SearchAppThread : public QObject {
Q_OBJECT
@ -34,5 +35,6 @@ private:
Q_SIGNALS:
void searchResultApp(const QVector<QStringList>&);
};
}
#endif // SEARCHAPPTHREAD_H

View File

@ -20,6 +20,7 @@
*/
#include "search-result.h"
using namespace Zeeker;
SearchResult::SearchResult(QObject * parent) : QThread(parent) {
m_mainwindow = static_cast<MainWindow *>(parent);
// m_timer = new QTimer;

View File

@ -25,6 +25,7 @@
#include <QTimer>
#include "mainwindow.h"
namespace Zeeker {
class SearchResult : public QThread {
Q_OBJECT
public:
@ -44,4 +45,5 @@ Q_SIGNALS:
void searchResultContent(const QPair<QString, QStringList>);
};
}
#endif // SEARCHRESULT_H

View File

@ -29,6 +29,7 @@
#include "global-settings.h"
#include "file-utils.h"
using namespace Zeeker;
extern void qt_blurImage(QImage &blurImage, qreal radius, bool quality, int transposed);
SettingsWidget::SettingsWidget(QWidget *parent) : QWidget(parent) {
this->setWindowIcon(QIcon::fromTheme("kylin-search"));

View File

@ -35,6 +35,7 @@
#include <libsearch.h>
#include "xatom-helper.h"
namespace Zeeker {
class SettingsWidget : public QWidget {
Q_OBJECT
public:
@ -117,5 +118,6 @@ private Q_SLOTS:
void onBtnDelClicked(const QString&);
void setWebEngine(const QString&);
};
}
#endif // SETTINGSWIDGET_H

View File

@ -58,9 +58,8 @@ data-menu.path = /usr/share/applications
data-menu.files += ../data/ukui-search-menu.desktop
data.path = /etc/xdg/autostart
data.files += ../data/ukui-search.desktop
schemes.path = /usr/share/glib-2.0/schemas/
schemes.files += ../data/org.ukui.search.data.gschema.xml ../data/org.ukui.log4qt.ukui-search.gschema.xml
INSTALLS += data data-menu schemes
INSTALLS += data data-menu
RESOURCES += \
resource.qrc
@ -73,7 +72,10 @@ TRANSLATIONS += \
qm_files.path = /usr/share/ukui-search/translations/
qm_files.files = $$OUT_PWD/.qm/*.qm
INSTALLS += qm_files
schemes.path = /usr/share/glib-2.0/schemas/
schemes.files += ../data/org.ukui.search.data.gschema.xml ../data/org.ukui.log4qt.ukui-search.gschema.xml
INSTALLS += qm_files schemes
LIBS += -L$$OUT_PWD/../libchinese-segmentation -lchinese-segmentation \
-L$$OUT_PWD/../libsearch -lukui-search

View File

@ -2,106 +2,114 @@
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name>ContentWidget</name>
<name>QObject</name>
<message>
<location filename="../../src/content-widget.cpp" line="364"/>
<location filename="../../src/main.cpp" line="195"/>
<source>ukui-search is already running!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Zeeker::ContentWidget</name>
<message>
<location filename="../../src/content-widget.cpp" line="359"/>
<source>Recently Opened</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="400"/>
<location filename="../../src/content-widget.cpp" line="395"/>
<source>Open Quickly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="401"/>
<location filename="../../src/content-widget.cpp" line="396"/>
<source>Commonly Used</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="668"/>
<location filename="../../src/content-widget.cpp" line="661"/>
<source>Apps</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="670"/>
<location filename="../../src/content-widget.cpp" line="663"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="672"/>
<location filename="../../src/content-widget.cpp" line="665"/>
<source>Files</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="674"/>
<location filename="../../src/content-widget.cpp" line="667"/>
<source>Dirs</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="676"/>
<location filename="../../src/content-widget.cpp" line="669"/>
<source>File Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="678"/>
<location filename="../../src/content-widget.cpp" line="671"/>
<source>Best Matches</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="680"/>
<location filename="../../src/content-widget.cpp" line="673"/>
<source>Web Pages</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="682"/>
<location filename="../../src/content-widget.cpp" line="675"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CreateIndexAskDialog</name>
<name>Zeeker::CreateIndexAskDialog</name>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="28"/>
<source>ukui-search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="50"/>
<location filename="../../src/create-index-ask-dialog.cpp" line="49"/>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="75"/>
<location filename="../../src/create-index-ask-dialog.cpp" line="74"/>
<source>Creating index can help you getting results quickly, whether to create or not?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="84"/>
<location filename="../../src/create-index-ask-dialog.cpp" line="83"/>
<source>Don&apos;t remind</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="95"/>
<location filename="../../src/create-index-ask-dialog.cpp" line="94"/>
<source>No</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="97"/>
<location filename="../../src/create-index-ask-dialog.cpp" line="96"/>
<source>Yes</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FolderListItem</name>
<name>Zeeker::FolderListItem</name>
<message>
<location filename="../../src/control/folder-list-item.cpp" line="56"/>
<location filename="../../src/control/folder-list-item.cpp" line="55"/>
<source>Delete the folder out of blacklist</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<name>Zeeker::MainWindow</name>
<message>
<location filename="../../src/mainwindow.cpp" line="66"/>
<source>ukui-search</source>
@ -113,285 +121,277 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="196"/>
<location filename="../../src/mainwindow.cpp" line="197"/>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>OptionView</name>
<name>Zeeker::OptionView</name>
<message>
<location filename="../../src/control/option-view.cpp" line="101"/>
<location filename="../../src/control/option-view.cpp" line="99"/>
<source>Open</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="108"/>
<location filename="../../src/control/option-view.cpp" line="106"/>
<source>Add Shortcut to Desktop</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="115"/>
<location filename="../../src/control/option-view.cpp" line="113"/>
<source>Add Shortcut to Panel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="122"/>
<location filename="../../src/control/option-view.cpp" line="120"/>
<source>Open path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="129"/>
<location filename="../../src/control/option-view.cpp" line="127"/>
<source>Copy path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="136"/>
<location filename="../../src/control/option-view.cpp" line="134"/>
<source>Install</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<name>Zeeker::SearchBarHLayout</name>
<message>
<location filename="../../src/main.cpp" line="191"/>
<source>ukui-search is already running!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SearchBarHLayout</name>
<message>
<location filename="../../src/input-box.cpp" line="126"/>
<location filename="../../src/input-box.cpp" line="117"/>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SearchDetailView</name>
<name>Zeeker::SearchDetailView</name>
<message>
<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="553"/>
<source>Last time modified</source>
<translation type="unfinished"></translation>
</message>
<message>
<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="216"/>
<location filename="../../src/control/search-detail-view.cpp" line="211"/>
<source>Introduction: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="373"/>
<location filename="../../src/control/search-detail-view.cpp" line="230"/>
<source>Application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="365"/>
<source>Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="495"/>
<location filename="../../src/control/search-detail-view.cpp" line="486"/>
<source>Preview is not avaliable</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="536"/>
<source>Path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="544"/>
<source>Last time modified</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SettingsWidget</name>
<message>
<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="111"/>
<location filename="../../src/settings-widget.cpp" line="113"/>
<source>...</source>
<translation type="unfinished"></translation>
</message>
<message>
<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="132"/>
<source>Add ignored folders</source>
<translation type="unfinished"></translation>
</message>
<message>
<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="168"/>
<source>baidu</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="170"/>
<source>sougou</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="172"/>
<source>360</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="415"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="353"/>
<source>Creating ...</source>
<translation type="unfinished"></translation>
</message>
<name>Zeeker::SettingsWidget</name>
<message>
<location filename="../../src/settings-widget.cpp" line="36"/>
<source>ukui-search-settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="104"/>
<location filename="../../src/settings-widget.cpp" line="74"/>
<location filename="../../src/settings-widget.cpp" line="289"/>
<location filename="../../src/settings-widget.cpp" line="519"/>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="103"/>
<source>&lt;h2&gt;Settings&lt;/h2&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="109"/>
<location filename="../../src/settings-widget.cpp" line="108"/>
<source>&lt;h3&gt;Index State&lt;/h3&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="121"/>
<location filename="../../src/settings-widget.cpp" line="110"/>
<location filename="../../src/settings-widget.cpp" line="112"/>
<source>...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="120"/>
<source>&lt;h3&gt;File Index Settings&lt;/h3&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="153"/>
<location filename="../../src/settings-widget.cpp" line="122"/>
<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="131"/>
<source>Add ignored folders</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="152"/>
<source>&lt;h3&gt;Search Engine Settings&lt;/h3&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="292"/>
<location filename="../../src/settings-widget.cpp" line="154"/>
<source>Please select search engine you preferred.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="167"/>
<source>baidu</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="169"/>
<source>sougou</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="171"/>
<source>360</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="289"/>
<source>Whether to delete this directory?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="293"/>
<location filename="../../src/settings-widget.cpp" line="290"/>
<source>Yes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="294"/>
<location filename="../../src/settings-widget.cpp" line="291"/>
<source>No</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="356"/>
<location filename="../../src/settings-widget.cpp" line="349"/>
<source>Creating ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="352"/>
<source>Done</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="364"/>
<location filename="../../src/settings-widget.cpp" line="360"/>
<source>Index Entry: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="409"/>
<location filename="../../src/settings-widget.cpp" line="404"/>
<source>Directories</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="410"/>
<location filename="../../src/settings-widget.cpp" line="405"/>
<source>select blocked folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="411"/>
<location filename="../../src/settings-widget.cpp" line="406"/>
<source>Select</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="412"/>
<location filename="../../src/settings-widget.cpp" line="407"/>
<source>Position: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="413"/>
<location filename="../../src/settings-widget.cpp" line="408"/>
<source>FileName: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="414"/>
<location filename="../../src/settings-widget.cpp" line="409"/>
<source>FileType: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="510"/>
<location filename="../../src/settings-widget.cpp" line="410"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="503"/>
<source>Choosen path is Empty!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="514"/>
<location filename="../../src/settings-widget.cpp" line="507"/>
<source>Choosen path is not in &quot;home&quot;!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="518"/>
<location filename="../../src/settings-widget.cpp" line="511"/>
<source>Its&apos; parent folder has been blocked!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="522"/>
<location filename="../../src/settings-widget.cpp" line="515"/>
<source>Set blocked folder failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="527"/>
<location filename="../../src/settings-widget.cpp" line="520"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShowMoreLabel</name>
<name>Zeeker::ShowMoreLabel</name>
<message>
<location filename="../../src/control/show-more-label.cpp" line="40"/>
<location filename="../../src/control/show-more-label.cpp" line="57"/>
<location filename="../../src/control/show-more-label.cpp" line="87"/>
<location filename="../../src/control/show-more-label.cpp" line="38"/>
<location filename="../../src/control/show-more-label.cpp" line="53"/>
<location filename="../../src/control/show-more-label.cpp" line="81"/>
<source>Show More...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="85"/>
<location filename="../../src/control/show-more-label.cpp" line="79"/>
<source>Retract</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="96"/>
<location filename="../../src/control/show-more-label.cpp" line="89"/>
<source>Loading</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="101"/>
<location filename="../../src/control/show-more-label.cpp" line="94"/>
<source>Loading.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="106"/>
<location filename="../../src/control/show-more-label.cpp" line="99"/>
<source>Loading..</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="111"/>
<location filename="../../src/control/show-more-label.cpp" line="104"/>
<source>Loading...</source>
<translation type="unfinished"></translation>
</message>

View File

@ -4,157 +4,102 @@
<context>
<name>ContentWidget</name>
<message>
<location filename="../../src/content-widget.cpp" line="364"/>
<source>Recently Opened</source>
<translation>Yeni ılan</translation>
<translation type="vanished">Yeni ılan</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="400"/>
<source>Open Quickly</source>
<translation>Hızlı </translation>
<translation type="vanished">Hızlı </translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="401"/>
<source>Commonly Used</source>
<translation>Genel olarak kullanılan</translation>
<translation type="vanished">Genel olarak kullanılan</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="668"/>
<source>Apps</source>
<translation>Uygulamalar</translation>
<translation type="vanished">Uygulamalar</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="670"/>
<source>Settings</source>
<translation>Ayarlar</translation>
<translation type="vanished">Ayarlar</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="672"/>
<source>Files</source>
<translation>Dosyalar</translation>
<translation type="vanished">Dosyalar</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="674"/>
<source>Dirs</source>
<translation>Dizinler</translation>
<translation type="vanished">Dizinler</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="676"/>
<source>File Contents</source>
<translation>Dosya İçeriği</translation>
<translation type="vanished">Dosya İçeriği</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="678"/>
<source>Best Matches</source>
<translation>En İyi Eşleşen</translation>
<translation type="vanished">En İyi Eşleşen</translation>
</message>
<message>
<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="682"/>
<source>Unknown</source>
<translation>Bilinmeyen</translation>
<translation type="vanished">Bilinmeyen</translation>
</message>
</context>
<context>
<name>CreateIndexAskDialog</name>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="28"/>
<source>ukui-search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="50"/>
<source>Search</source>
<translation type="unfinished">Ara</translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="75"/>
<source>Creating index can help you getting results quickly, whether to create or not?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="84"/>
<source>Don&apos;t remind</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="95"/>
<source>No</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="97"/>
<source>Yes</source>
<translation type="unfinished"></translation>
<translation type="obsolete">Ara</translation>
</message>
</context>
<context>
<name>FolderListItem</name>
<message>
<location filename="../../src/control/folder-list-item.cpp" line="56"/>
<source>Delete the folder out of blacklist</source>
<translation>Klasörü kara listeden silin</translation>
<translation type="vanished">Klasörü kara listeden silin</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../../src/mainwindow.cpp" line="66"/>
<source>ukui-search</source>
<translation>ukui-ara</translation>
<translation type="vanished">ukui-ara</translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="120"/>
<source>Global Search</source>
<translation>Genel Arama</translation>
<translation type="vanished">Genel Arama</translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="196"/>
<source>Search</source>
<translation>Ara</translation>
<translation type="vanished">Ara</translation>
</message>
</context>
<context>
<name>OptionView</name>
<message>
<location filename="../../src/control/option-view.cpp" line="101"/>
<source>Open</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="108"/>
<source>Add Shortcut to Desktop</source>
<translation>Masaüstüne Kısayol Ekle</translation>
<translation type="vanished">Masaüstüne Kısayol Ekle</translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="115"/>
<source>Add Shortcut to Panel</source>
<translation>Panele Kısayol Ekle</translation>
<translation type="vanished">Panele Kısayol Ekle</translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="122"/>
<source>Open path</source>
<translation>Yolu </translation>
<translation type="vanished">Yolu </translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="129"/>
<source>Copy path</source>
<translation>Yolu kopyala</translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="136"/>
<source>Install</source>
<translation type="unfinished"></translation>
<translation type="vanished">Yolu kopyala</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../../src/main.cpp" line="191"/>
<location filename="../../src/main.cpp" line="195"/>
<source>ukui-search is already running!</source>
<translation>ukui-bul zaten çalışıyor!</translation>
</message>
@ -162,242 +107,528 @@
<context>
<name>SearchBarHLayout</name>
<message>
<location filename="../../src/input-box.cpp" line="126"/>
<source>Search</source>
<translation>Ara</translation>
<translation type="vanished">Ara</translation>
</message>
</context>
<context>
<name>SearchDetailView</name>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="545"/>
<source>Path</source>
<translation>Yol</translation>
<translation type="vanished">Yol</translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="553"/>
<source>Last time modified</source>
<translation>Son değiştirilme zamanı</translation>
<translation type="vanished">Son değiştirilme zamanı</translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="235"/>
<source>Application</source>
<translation>Uygulama</translation>
<translation type="vanished">Uygulama</translation>
</message>
<message>
<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="373"/>
<source>Document</source>
<translation>Belge</translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="495"/>
<source>Preview is not avaliable</source>
<translation type="unfinished"></translation>
<translation type="vanished">Belge</translation>
</message>
</context>
<context>
<name>SettingsWidget</name>
<message>
<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>
<translation type="vanished">Ara</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="111"/>
<location filename="../../src/settings-widget.cpp" line="113"/>
<source>...</source>
<translation>...</translation>
<translation type="vanished">...</translation>
</message>
<message>
<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>
<translation type="vanished">Aşağıdaki klasörler aranmayacaktır. Klasör ekleyip kaldırarak ayarlayabilirsiniz.</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="132"/>
<source>Add ignored folders</source>
<translation>Göz ardı edilen klasörleri ekleyin</translation>
<translation type="vanished">Göz ardı edilen klasörleri ekleyin</translation>
</message>
<message>
<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>
<translation type="vanished">Lütfen tercih ettiğiniz arama motorunu seçin.</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="168"/>
<source>baidu</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="170"/>
<source>sougou</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="172"/>
<source>360</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="415"/>
<source>Cancel</source>
<translation>İptal</translation>
<translation type="vanished">İptal</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="353"/>
<source>Creating ...</source>
<translation>Oluşturuluyor...</translation>
<translation type="vanished">Oluşturuluyor...</translation>
</message>
<message>
<source>ukui-search</source>
<translation type="vanished">ukui-bul</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="36"/>
<source>ukui-search-settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="104"/>
<source>&lt;h2&gt;Settings&lt;/h2&gt;</source>
<translation>&lt;h2&gt;Ayarlar&lt;/h2&gt;</translation>
<translation type="vanished">&lt;h2&gt;Ayarlar&lt;/h2&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="109"/>
<source>&lt;h3&gt;Index State&lt;/h3&gt;</source>
<translation>&lt;h3&gt;Dizin Durumu&lt;/h3&gt;</translation>
<translation type="vanished">&lt;h3&gt;Dizin Durumu&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="121"/>
<source>&lt;h3&gt;File Index Settings&lt;/h3&gt;</source>
<translation>&lt;h3&gt;Dosya Dizini Ayarları&lt;/h3&gt;</translation>
<translation type="vanished">&lt;h3&gt;Dosya Dizini Ayarları&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="153"/>
<source>&lt;h3&gt;Search Engine Settings&lt;/h3&gt;</source>
<translation>&lt;h3&gt;SArama Motoru Ayarları&lt;/h3&gt;</translation>
<translation type="vanished">&lt;h3&gt;SArama Motoru Ayarları&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="292"/>
<source>Whether to delete this directory?</source>
<translation>Bu dizini silinsin mi?</translation>
<translation type="vanished">Bu dizini silinsin mi?</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="293"/>
<source>Yes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="294"/>
<source>No</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="356"/>
<source>Done</source>
<translation>Tamam</translation>
<translation type="vanished">Tamam</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="364"/>
<source>Index Entry: %1</source>
<translation>Dizin Girişi: %1</translation>
<translation type="vanished">Dizin Girişi: %1</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="409"/>
<source>Directories</source>
<translation>Dizinler</translation>
<translation type="vanished">Dizinler</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="410"/>
<source>select blocked folder</source>
<translation>engellenen klasörü seç</translation>
<translation type="vanished">engellenen klasörü seç</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="411"/>
<source>Select</source>
<translation>Seç</translation>
<translation type="vanished">Seç</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="412"/>
<source>Position: </source>
<translation>Pozisyon: </translation>
<translation type="vanished">Pozisyon: </translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="413"/>
<source>FileName: </source>
<translation>Dosya Adı: </translation>
<translation type="vanished">Dosya Adı: </translation>
</message>
<message>
<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="510"/>
<source>Choosen path is Empty!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="514"/>
<source>Choosen path is not in &quot;home&quot;!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="518"/>
<source>Its&apos; parent folder has been blocked!</source>
<translation type="unfinished"></translation>
</message>
<message>
<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="527"/>
<source>OK</source>
<translation type="unfinished"></translation>
<translation type="vanished">Dosya Türü: </translation>
</message>
</context>
<context>
<name>ShowMoreLabel</name>
<message>
<location filename="../../src/control/show-more-label.cpp" line="40"/>
<location filename="../../src/control/show-more-label.cpp" line="57"/>
<location filename="../../src/control/show-more-label.cpp" line="87"/>
<source>Show More...</source>
<translation>Daha Fazla Göster...</translation>
<translation type="vanished">Daha Fazla Göster...</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="85"/>
<source>Retract</source>
<translation>Geri çek</translation>
<translation type="vanished">Geri çek</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="96"/>
<source>Loading</source>
<translation>Yükleniyor</translation>
<translation type="vanished">Yükleniyor</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="101"/>
<source>Loading.</source>
<translation>Yükleniyor.</translation>
<translation type="vanished">Yükleniyor.</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="106"/>
<source>Loading..</source>
<translation>Yükleniyor..</translation>
<translation type="vanished">Yükleniyor..</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="111"/>
<source>Loading...</source>
<translation>Yükleniyor...</translation>
<translation type="vanished">Yükleniyor...</translation>
</message>
</context>
<context>
<name>Zeeker::ContentWidget</name>
<message>
<location filename="../../src/content-widget.cpp" line="359"/>
<source>Recently Opened</source>
<translation type="unfinished">Yeni ılan</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="395"/>
<source>Open Quickly</source>
<translation type="unfinished">Hızlı </translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="396"/>
<source>Commonly Used</source>
<translation type="unfinished">Genel olarak kullanılan</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="661"/>
<source>Apps</source>
<translation type="unfinished">Uygulamalar</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="663"/>
<source>Settings</source>
<translation type="unfinished">Ayarlar</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="665"/>
<source>Files</source>
<translation type="unfinished">Dosyalar</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="667"/>
<source>Dirs</source>
<translation type="unfinished">Dizinler</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="669"/>
<source>File Contents</source>
<translation type="unfinished">Dosya İçeriği</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="671"/>
<source>Best Matches</source>
<translation type="unfinished">En İyi Eşleşen</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="673"/>
<source>Web Pages</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="675"/>
<source>Unknown</source>
<translation type="unfinished">Bilinmeyen</translation>
</message>
</context>
<context>
<name>Zeeker::CreateIndexAskDialog</name>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="28"/>
<source>ukui-search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="49"/>
<source>Search</source>
<translation type="unfinished">Ara</translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="74"/>
<source>Creating index can help you getting results quickly, whether to create or not?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="83"/>
<source>Don&apos;t remind</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="94"/>
<source>No</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="96"/>
<source>Yes</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Zeeker::FolderListItem</name>
<message>
<location filename="../../src/control/folder-list-item.cpp" line="55"/>
<source>Delete the folder out of blacklist</source>
<translation type="unfinished">Klasörü kara listeden silin</translation>
</message>
</context>
<context>
<name>Zeeker::MainWindow</name>
<message>
<location filename="../../src/mainwindow.cpp" line="66"/>
<source>ukui-search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="120"/>
<source>Global Search</source>
<translation type="unfinished">Genel Arama</translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="197"/>
<source>Search</source>
<translation type="unfinished">Ara</translation>
</message>
</context>
<context>
<name>Zeeker::OptionView</name>
<message>
<location filename="../../src/control/option-view.cpp" line="99"/>
<source>Open</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="106"/>
<source>Add Shortcut to Desktop</source>
<translation type="unfinished">Masaüstüne Kısayol Ekle</translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="113"/>
<source>Add Shortcut to Panel</source>
<translation type="unfinished">Panele Kısayol Ekle</translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="120"/>
<source>Open path</source>
<translation type="unfinished">Yolu </translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="127"/>
<source>Copy path</source>
<translation type="unfinished">Yolu kopyala</translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="134"/>
<source>Install</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Zeeker::SearchBarHLayout</name>
<message>
<location filename="../../src/input-box.cpp" line="117"/>
<source>Search</source>
<translation type="unfinished">Ara</translation>
</message>
</context>
<context>
<name>Zeeker::SearchDetailView</name>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="211"/>
<source>Introduction: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="230"/>
<source>Application</source>
<translation type="unfinished">Uygulama</translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="365"/>
<source>Document</source>
<translation type="unfinished">Belge</translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="486"/>
<source>Preview is not avaliable</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="536"/>
<source>Path</source>
<translation type="unfinished">Yol</translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="544"/>
<source>Last time modified</source>
<translation type="unfinished">Son değiştirilme zamanı</translation>
</message>
</context>
<context>
<name>Zeeker::SettingsWidget</name>
<message>
<location filename="../../src/settings-widget.cpp" line="36"/>
<source>ukui-search-settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="74"/>
<location filename="../../src/settings-widget.cpp" line="289"/>
<location filename="../../src/settings-widget.cpp" line="519"/>
<source>Search</source>
<translation type="unfinished">Ara</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="103"/>
<source>&lt;h2&gt;Settings&lt;/h2&gt;</source>
<translation type="unfinished">&lt;h2&gt;Ayarlar&lt;/h2&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="108"/>
<source>&lt;h3&gt;Index State&lt;/h3&gt;</source>
<translation type="unfinished">&lt;h3&gt;Dizin Durumu&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="110"/>
<location filename="../../src/settings-widget.cpp" line="112"/>
<source>...</source>
<translation type="unfinished">...</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="120"/>
<source>&lt;h3&gt;File Index Settings&lt;/h3&gt;</source>
<translation type="unfinished">&lt;h3&gt;Dosya Dizini Ayarları&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="122"/>
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
<translation type="unfinished">Aşağıdaki klasörler aranmayacaktır. Klasör ekleyip kaldırarak ayarlayabilirsiniz.</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="131"/>
<source>Add ignored folders</source>
<translation type="unfinished">Göz ardı edilen klasörleri ekleyin</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="152"/>
<source>&lt;h3&gt;Search Engine Settings&lt;/h3&gt;</source>
<translation type="unfinished">&lt;h3&gt;SArama Motoru Ayarları&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="154"/>
<source>Please select search engine you preferred.</source>
<translation type="unfinished">Lütfen tercih ettiğiniz arama motorunu seçin.</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="167"/>
<source>baidu</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="169"/>
<source>sougou</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="171"/>
<source>360</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="289"/>
<source>Whether to delete this directory?</source>
<translation type="unfinished">Bu dizini silinsin mi?</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="290"/>
<source>Yes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="291"/>
<source>No</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="349"/>
<source>Creating ...</source>
<translation type="unfinished">Oluşturuluyor...</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="352"/>
<source>Done</source>
<translation type="unfinished">Tamam</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="360"/>
<source>Index Entry: %1</source>
<translation type="unfinished">Dizin Girişi: %1</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="404"/>
<source>Directories</source>
<translation type="unfinished">Dizinler</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="405"/>
<source>select blocked folder</source>
<translation type="unfinished">engellenen klasörü seç</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="406"/>
<source>Select</source>
<translation type="unfinished">Seç</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="407"/>
<source>Position: </source>
<translation type="unfinished">Pozisyon: </translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="408"/>
<source>FileName: </source>
<translation type="unfinished">Dosya Adı: </translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="409"/>
<source>FileType: </source>
<translation type="unfinished">Dosya Türü: </translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="410"/>
<source>Cancel</source>
<translation type="unfinished">İptal</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="503"/>
<source>Choosen path is Empty!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="507"/>
<source>Choosen path is not in &quot;home&quot;!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="511"/>
<source>Its&apos; parent folder has been blocked!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="515"/>
<source>Set blocked folder failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="520"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Zeeker::ShowMoreLabel</name>
<message>
<location filename="../../src/control/show-more-label.cpp" line="38"/>
<location filename="../../src/control/show-more-label.cpp" line="53"/>
<location filename="../../src/control/show-more-label.cpp" line="81"/>
<source>Show More...</source>
<translation type="unfinished">Daha Fazla Göster...</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="79"/>
<source>Retract</source>
<translation type="unfinished">Geri çek</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="89"/>
<source>Loading</source>
<translation type="unfinished">Yükleniyor</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="94"/>
<source>Loading.</source>
<translation type="unfinished">Yükleniyor.</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="99"/>
<source>Loading..</source>
<translation type="unfinished">Yükleniyor..</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="104"/>
<source>Loading...</source>
<translation type="unfinished">Yükleniyor...</translation>
</message>
</context>
</TS>

View File

@ -2,106 +2,114 @@
<!DOCTYPE TS>
<TS version="2.1" language="zh_CN">
<context>
<name>ContentWidget</name>
<name>QObject</name>
<message>
<location filename="../../src/content-widget.cpp" line="364"/>
<location filename="../../src/main.cpp" line="195"/>
<source>ukui-search is already running!</source>
<translation></translation>
</message>
</context>
<context>
<name>Zeeker::ContentWidget</name>
<message>
<location filename="../../src/content-widget.cpp" line="359"/>
<source>Recently Opened</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="400"/>
<location filename="../../src/content-widget.cpp" line="395"/>
<source>Open Quickly</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="401"/>
<location filename="../../src/content-widget.cpp" line="396"/>
<source>Commonly Used</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="668"/>
<location filename="../../src/content-widget.cpp" line="661"/>
<source>Apps</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="670"/>
<location filename="../../src/content-widget.cpp" line="663"/>
<source>Settings</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="672"/>
<location filename="../../src/content-widget.cpp" line="665"/>
<source>Files</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="674"/>
<location filename="../../src/content-widget.cpp" line="667"/>
<source>Dirs</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="676"/>
<location filename="../../src/content-widget.cpp" line="669"/>
<source>File Contents</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="678"/>
<location filename="../../src/content-widget.cpp" line="671"/>
<source>Best Matches</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="680"/>
<location filename="../../src/content-widget.cpp" line="673"/>
<source>Web Pages</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="682"/>
<location filename="../../src/content-widget.cpp" line="675"/>
<source>Unknown</source>
<translation></translation>
</message>
</context>
<context>
<name>CreateIndexAskDialog</name>
<name>Zeeker::CreateIndexAskDialog</name>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="28"/>
<source>ukui-search</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="50"/>
<location filename="../../src/create-index-ask-dialog.cpp" line="49"/>
<source>Search</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="75"/>
<location filename="../../src/create-index-ask-dialog.cpp" line="74"/>
<source>Creating index can help you getting results quickly, whether to create or not?</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="84"/>
<location filename="../../src/create-index-ask-dialog.cpp" line="83"/>
<source>Don&apos;t remind</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="95"/>
<location filename="../../src/create-index-ask-dialog.cpp" line="94"/>
<source>No</source>
<translation type="unfinished">(N)</translation>
<translation>(N)</translation>
</message>
<message>
<location filename="../../src/create-index-ask-dialog.cpp" line="97"/>
<location filename="../../src/create-index-ask-dialog.cpp" line="96"/>
<source>Yes</source>
<translation type="unfinished">(Y)</translation>
<translation>(Y)</translation>
</message>
</context>
<context>
<name>FolderListItem</name>
<name>Zeeker::FolderListItem</name>
<message>
<location filename="../../src/control/folder-list-item.cpp" line="56"/>
<location filename="../../src/control/folder-list-item.cpp" line="55"/>
<source>Delete the folder out of blacklist</source>
<translation></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<name>Zeeker::MainWindow</name>
<message>
<location filename="../../src/mainwindow.cpp" line="66"/>
<source>ukui-search</source>
@ -113,289 +121,277 @@
<translation></translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="196"/>
<location filename="../../src/mainwindow.cpp" line="197"/>
<source>Search</source>
<translation></translation>
</message>
</context>
<context>
<name>OptionView</name>
<name>Zeeker::OptionView</name>
<message>
<location filename="../../src/control/option-view.cpp" line="101"/>
<location filename="../../src/control/option-view.cpp" line="99"/>
<source>Open</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="108"/>
<location filename="../../src/control/option-view.cpp" line="106"/>
<source>Add Shortcut to Desktop</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="115"/>
<location filename="../../src/control/option-view.cpp" line="113"/>
<source>Add Shortcut to Panel</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="122"/>
<location filename="../../src/control/option-view.cpp" line="120"/>
<source>Open path</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="129"/>
<location filename="../../src/control/option-view.cpp" line="127"/>
<source>Copy path</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="136"/>
<location filename="../../src/control/option-view.cpp" line="134"/>
<source>Install</source>
<translation></translation>
</message>
</context>
<context>
<name>QObject</name>
<name>Zeeker::SearchBarHLayout</name>
<message>
<location filename="../../src/main.cpp" line="191"/>
<source>ukui-search is already running!</source>
<translation></translation>
</message>
</context>
<context>
<name>SearchBarHLayout</name>
<message>
<location filename="../../src/input-box.cpp" line="126"/>
<location filename="../../src/input-box.cpp" line="117"/>
<source>Search</source>
<translation></translation>
</message>
</context>
<context>
<name>SearchDetailView</name>
<name>Zeeker::SearchDetailView</name>
<message>
<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="553"/>
<source>Last time modified</source>
<translation></translation>
</message>
<message>
<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="216"/>
<location filename="../../src/control/search-detail-view.cpp" line="211"/>
<source>Introduction: %1</source>
<translation>: %1</translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="373"/>
<location filename="../../src/control/search-detail-view.cpp" line="230"/>
<source>Application</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="365"/>
<source>Document</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="495"/>
<location filename="../../src/control/search-detail-view.cpp" line="486"/>
<source>Preview is not avaliable</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="536"/>
<source>Path</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="544"/>
<source>Last time modified</source>
<translation></translation>
</message>
</context>
<context>
<name>SettingsWidget</name>
<name>Zeeker::SettingsWidget</name>
<message>
<location filename="../../src/settings-widget.cpp" line="36"/>
<source>ukui-search-settings</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="75"/>
<location filename="../../src/settings-widget.cpp" line="292"/>
<location filename="../../src/settings-widget.cpp" line="526"/>
<location filename="../../src/settings-widget.cpp" line="74"/>
<location filename="../../src/settings-widget.cpp" line="289"/>
<location filename="../../src/settings-widget.cpp" line="519"/>
<source>Search</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="104"/>
<location filename="../../src/settings-widget.cpp" line="103"/>
<source>&lt;h2&gt;Settings&lt;/h2&gt;</source>
<translation>&lt;h2&gt;&lt;/h2&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="109"/>
<location filename="../../src/settings-widget.cpp" line="108"/>
<source>&lt;h3&gt;Index State&lt;/h3&gt;</source>
<translation>&lt;h3&gt;&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="111"/>
<location filename="../../src/settings-widget.cpp" line="113"/>
<location filename="../../src/settings-widget.cpp" line="110"/>
<location filename="../../src/settings-widget.cpp" line="112"/>
<source>...</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="121"/>
<location filename="../../src/settings-widget.cpp" line="120"/>
<source>&lt;h3&gt;File Index Settings&lt;/h3&gt;</source>
<translation>&lt;h3&gt;&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="123"/>
<location filename="../../src/settings-widget.cpp" line="122"/>
<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="132"/>
<location filename="../../src/settings-widget.cpp" line="131"/>
<source>Add ignored folders</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="153"/>
<location filename="../../src/settings-widget.cpp" line="152"/>
<source>&lt;h3&gt;Search Engine Settings&lt;/h3&gt;</source>
<translation>&lt;h3&gt;&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="155"/>
<location filename="../../src/settings-widget.cpp" line="154"/>
<source>Please select search engine you preferred.</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="168"/>
<location filename="../../src/settings-widget.cpp" line="167"/>
<source>baidu</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="170"/>
<location filename="../../src/settings-widget.cpp" line="169"/>
<source>sougou</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="172"/>
<location filename="../../src/settings-widget.cpp" line="171"/>
<source>360</source>
<translation>360</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="292"/>
<location filename="../../src/settings-widget.cpp" line="289"/>
<source>Whether to delete this directory?</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="293"/>
<location filename="../../src/settings-widget.cpp" line="290"/>
<source>Yes</source>
<translation>(Y)</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="294"/>
<location filename="../../src/settings-widget.cpp" line="291"/>
<source>No</source>
<translation>(N)</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="415"/>
<source>Cancel</source>
<translation></translation>
</message>
<message>
<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="514"/>
<source>Choosen path is not in &quot;home&quot;!</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="518"/>
<source>Its&apos; parent folder has been blocked!</source>
<translation></translation>
</message>
<message>
<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="527"/>
<source>OK</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="353"/>
<location filename="../../src/settings-widget.cpp" line="349"/>
<source>Creating ...</source>
<translation></translation>
</message>
<message>
<source>ukui-search</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="356"/>
<location filename="../../src/settings-widget.cpp" line="352"/>
<source>Done</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="364"/>
<location filename="../../src/settings-widget.cpp" line="360"/>
<source>Index Entry: %1</source>
<translation>: %1</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="409"/>
<location filename="../../src/settings-widget.cpp" line="404"/>
<source>Directories</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="410"/>
<location filename="../../src/settings-widget.cpp" line="405"/>
<source>select blocked folder</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="411"/>
<location filename="../../src/settings-widget.cpp" line="406"/>
<source>Select</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="412"/>
<location filename="../../src/settings-widget.cpp" line="407"/>
<source>Position: </source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="413"/>
<location filename="../../src/settings-widget.cpp" line="408"/>
<source>FileName: </source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="414"/>
<location filename="../../src/settings-widget.cpp" line="409"/>
<source>FileType: </source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="410"/>
<source>Cancel</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="503"/>
<source>Choosen path is Empty!</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="507"/>
<source>Choosen path is not in &quot;home&quot;!</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="511"/>
<source>Its&apos; parent folder has been blocked!</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="515"/>
<source>Set blocked folder failed!</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="520"/>
<source>OK</source>
<translation></translation>
</message>
</context>
<context>
<name>ShowMoreLabel</name>
<name>Zeeker::ShowMoreLabel</name>
<message>
<location filename="../../src/control/show-more-label.cpp" line="40"/>
<location filename="../../src/control/show-more-label.cpp" line="57"/>
<location filename="../../src/control/show-more-label.cpp" line="87"/>
<location filename="../../src/control/show-more-label.cpp" line="38"/>
<location filename="../../src/control/show-more-label.cpp" line="53"/>
<location filename="../../src/control/show-more-label.cpp" line="81"/>
<source>Show More...</source>
<translation>...</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="85"/>
<location filename="../../src/control/show-more-label.cpp" line="79"/>
<source>Retract</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="96"/>
<location filename="../../src/control/show-more-label.cpp" line="89"/>
<source>Loading</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="101"/>
<location filename="../../src/control/show-more-label.cpp" line="94"/>
<source>Loading.</source>
<translation>.</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="106"/>
<location filename="../../src/control/show-more-label.cpp" line="99"/>
<source>Loading..</source>
<translation>..</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="111"/>
<location filename="../../src/control/show-more-label.cpp" line="104"/>
<source>Loading...</source>
<translation>...</translation>
</message>