refact(frontend):优化部分内存占用,删除一些冗余代码
This commit is contained in:
parent
d3375fa031
commit
1354acbc44
|
@ -42,7 +42,6 @@ set(UKUI_SEARCH_SRC
|
||||||
model/best-list-model.cpp model/best-list-model.h
|
model/best-list-model.cpp model/best-list-model.h
|
||||||
model/search-result-manager.cpp model/search-result-manager.h
|
model/search-result-manager.cpp model/search-result-manager.h
|
||||||
model/search-result-model.cpp model/search-result-model.h
|
model/search-result-model.cpp model/search-result-model.h
|
||||||
model/web-search-model.cpp model/web-search-model.h
|
|
||||||
search-app-widget-plugin/search.cpp search-app-widget-plugin/search.h
|
search-app-widget-plugin/search.cpp search-app-widget-plugin/search.h
|
||||||
ukui-search-dbus-service.cpp ukui-search-dbus-service.h
|
ukui-search-dbus-service.cpp ukui-search-dbus-service.h
|
||||||
ukui-search-gui.cpp ukui-search-gui.h
|
ukui-search-gui.cpp ukui-search-gui.h
|
||||||
|
|
|
@ -25,16 +25,15 @@ using namespace UkuiSearch;
|
||||||
BestListModel::BestListModel(QObject *parent)
|
BestListModel::BestListModel(QObject *parent)
|
||||||
: QAbstractItemModel(parent)
|
: QAbstractItemModel(parent)
|
||||||
{
|
{
|
||||||
m_item = new SearchResultItem;
|
|
||||||
initConnections();
|
initConnections();
|
||||||
}
|
}
|
||||||
|
|
||||||
QModelIndex BestListModel::index(int row, int column, const QModelIndex &parent) const
|
QModelIndex BestListModel::index(int row, int column, const QModelIndex &parent) const
|
||||||
{
|
{
|
||||||
Q_UNUSED(parent)
|
Q_UNUSED(parent)
|
||||||
if(row < 0 || row > m_item->m_result_info_list.length() - 1)
|
if(row < 0 || row > m_items.length() - 1)
|
||||||
return QModelIndex();
|
return QModelIndex();
|
||||||
return createIndex(row, column, m_item);
|
return createIndex(row, column, nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
QModelIndex BestListModel::parent(const QModelIndex &index) const
|
QModelIndex BestListModel::parent(const QModelIndex &index) const
|
||||||
|
@ -45,7 +44,7 @@ QModelIndex BestListModel::parent(const QModelIndex &index) const
|
||||||
|
|
||||||
int BestListModel::rowCount(const QModelIndex &parent) const
|
int BestListModel::rowCount(const QModelIndex &parent) const
|
||||||
{
|
{
|
||||||
return parent.isValid() ? 0 : (m_isExpanded ? m_item->m_result_info_list.length() : NUM_LIMIT_SHOWN_DEFAULT);
|
return parent.isValid() ? 0 : (m_isExpanded ? m_items.length() : NUM_LIMIT_SHOWN_DEFAULT);
|
||||||
}
|
}
|
||||||
|
|
||||||
int BestListModel::columnCount(const QModelIndex &parent) const
|
int BestListModel::columnCount(const QModelIndex &parent) const
|
||||||
|
@ -57,13 +56,13 @@ QVariant BestListModel::data(const QModelIndex &index, int role) const
|
||||||
{
|
{
|
||||||
switch(role) {
|
switch(role) {
|
||||||
case Qt::DecorationRole: {
|
case Qt::DecorationRole: {
|
||||||
return m_item->m_result_info_list.at(index.row()).icon;
|
return m_items.at(index.row()).icon;
|
||||||
}
|
}
|
||||||
case Qt::DisplayRole: {
|
case Qt::DisplayRole: {
|
||||||
return m_item->m_result_info_list.at(index.row()).name;
|
return m_items.at(index.row()).name;
|
||||||
}
|
}
|
||||||
case Qt::ToolTipRole: {
|
case Qt::ToolTipRole: {
|
||||||
return m_item->m_result_info_list.at(index.row()).name;
|
return m_items.at(index.row()).name;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return QVariant();
|
return QVariant();
|
||||||
|
@ -73,7 +72,7 @@ QVariant BestListModel::data(const QModelIndex &index, int role) const
|
||||||
|
|
||||||
const SearchPluginIface::ResultInfo &BestListModel::getInfo(const QModelIndex &index)
|
const SearchPluginIface::ResultInfo &BestListModel::getInfo(const QModelIndex &index)
|
||||||
{
|
{
|
||||||
return m_item->m_result_info_list.at(index.row());
|
return m_items.at(index.row());
|
||||||
}
|
}
|
||||||
|
|
||||||
const QString &BestListModel::getPluginInfo(const QModelIndex &index)
|
const QString &BestListModel::getPluginInfo(const QModelIndex &index)
|
||||||
|
@ -86,7 +85,7 @@ void BestListModel::setExpanded(const bool &is_expanded)
|
||||||
this->beginResetModel();
|
this->beginResetModel();
|
||||||
m_isExpanded = is_expanded;
|
m_isExpanded = is_expanded;
|
||||||
this->endResetModel();
|
this->endResetModel();
|
||||||
Q_EMIT this->itemListChanged(m_item->m_result_info_list.length());
|
Q_EMIT this->itemListChanged(m_items.length());
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool &BestListModel::isExpanded()
|
const bool &BestListModel::isExpanded()
|
||||||
|
@ -104,8 +103,8 @@ QStringList BestListModel::getActions(const QModelIndex &index)
|
||||||
|
|
||||||
QString BestListModel::getKey(const QModelIndex &index)
|
QString BestListModel::getKey(const QModelIndex &index)
|
||||||
{
|
{
|
||||||
if (m_item->m_result_info_list.length() > index.row() && index.row() >= 0)
|
if (m_items.length() > index.row() && index.row() >= 0)
|
||||||
return m_item->m_result_info_list.at(index.row()).actionKey;
|
return m_items.at(index.row()).actionKey;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -118,19 +117,19 @@ void BestListModel::appendInfo(const QString &pluginId, const SearchPluginIface:
|
||||||
m_plugin_action_key_list.append(info.actionKey);
|
m_plugin_action_key_list.append(info.actionKey);
|
||||||
}
|
}
|
||||||
if (m_plugin_id_list.contains(pluginId)) {
|
if (m_plugin_id_list.contains(pluginId)) {
|
||||||
if (info.name == m_item->m_result_info_list.at(m_plugin_id_list.lastIndexOf(pluginId)).name) {
|
if (info.name == m_items.at(m_plugin_id_list.lastIndexOf(pluginId)).name) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// qDebug()<<"plugin ID:"<<pluginId<<"Repalce result. name ="<<info.name;
|
// qDebug()<<"plugin ID:"<<pluginId<<"Repalce result. name ="<<info.name;
|
||||||
this->beginResetModel();
|
this->beginResetModel();
|
||||||
m_item->m_result_info_list.replace(m_plugin_id_list.lastIndexOf(pluginId), info);
|
m_items.replace(m_plugin_id_list.lastIndexOf(pluginId), info);
|
||||||
this->endResetModel();
|
this->endResetModel();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this->beginResetModel();
|
this->beginResetModel();
|
||||||
// qDebug()<<"plugin ID:"<<pluginId<<"Got a result. name ="<<info.name;
|
// qDebug()<<"plugin ID:"<<pluginId<<"Got a result. name ="<<info.name;
|
||||||
m_plugin_id_list.append(pluginId);
|
m_plugin_id_list.append(pluginId);
|
||||||
m_item->m_result_info_list.append(info);
|
m_items.append(info);
|
||||||
QVector<SearchPluginIface::ResultInfo> result_info_list_tmp;
|
QVector<SearchPluginIface::ResultInfo> result_info_list_tmp;
|
||||||
QVector<QString> plugin_id_list_tmp;
|
QVector<QString> plugin_id_list_tmp;
|
||||||
|
|
||||||
|
@ -150,16 +149,16 @@ void BestListModel::appendInfo(const QString &pluginId, const SearchPluginIface:
|
||||||
|
|
||||||
Q_FOREACH (const QString& plugin, orders) {
|
Q_FOREACH (const QString& plugin, orders) {
|
||||||
if (m_plugin_id_list.contains(plugin)) {
|
if (m_plugin_id_list.contains(plugin)) {
|
||||||
result_info_list_tmp.append(m_item->m_result_info_list.at(m_plugin_id_list.lastIndexOf(plugin)));
|
result_info_list_tmp.append(m_items.at(m_plugin_id_list.lastIndexOf(plugin)));
|
||||||
plugin_id_list_tmp.append(plugin);
|
plugin_id_list_tmp.append(plugin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m_item->m_result_info_list.clear();
|
m_items.clear();
|
||||||
m_item->m_result_info_list.swap(result_info_list_tmp);
|
m_items.swap(result_info_list_tmp);
|
||||||
m_plugin_id_list.clear();
|
m_plugin_id_list.clear();
|
||||||
m_plugin_id_list.swap(plugin_id_list_tmp);
|
m_plugin_id_list.swap(plugin_id_list_tmp);
|
||||||
this->endResetModel();
|
this->endResetModel();
|
||||||
Q_EMIT this->itemListChanged(m_item->m_result_info_list.length());
|
Q_EMIT this->itemListChanged(m_items.length());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -170,10 +169,10 @@ void BestListModel::removeInfo(const QString &pluginId)
|
||||||
if (index == -1) {
|
if (index == -1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_item->m_result_info_list.removeAt(index);
|
m_items.removeAt(index);
|
||||||
m_plugin_id_list.removeAll(pluginId);
|
m_plugin_id_list.removeAll(pluginId);
|
||||||
this->endResetModel();
|
this->endResetModel();
|
||||||
Q_EMIT this->itemListChanged(m_item->m_result_info_list.length());
|
Q_EMIT this->itemListChanged(m_items.length());
|
||||||
}
|
}
|
||||||
|
|
||||||
void BestListModel::moveInfo(const QString &pluginName, const int pos)
|
void BestListModel::moveInfo(const QString &pluginName, const int pos)
|
||||||
|
@ -191,12 +190,12 @@ void BestListModel::moveInfo(const QString &pluginName, const int pos)
|
||||||
m_plugin_id_list.insert(pos - 1, pluginName);
|
m_plugin_id_list.insert(pos - 1, pluginName);
|
||||||
}
|
}
|
||||||
|
|
||||||
SearchPluginIface::ResultInfo info = m_item->m_result_info_list.at(index);
|
SearchPluginIface::ResultInfo info = m_items.at(index);
|
||||||
m_item->m_result_info_list.removeAt(index);
|
m_items.removeAt(index);
|
||||||
if (pos > m_item->m_result_info_list.size()) {
|
if (pos > m_items.size()) {
|
||||||
m_item->m_result_info_list.append(info);
|
m_items.append(info);
|
||||||
} else {
|
} else {
|
||||||
m_item->m_result_info_list.insert(pos - 1, info);
|
m_items.insert(pos - 1, info);
|
||||||
}
|
}
|
||||||
this->endResetModel();
|
this->endResetModel();
|
||||||
}
|
}
|
||||||
|
@ -204,13 +203,13 @@ void BestListModel::moveInfo(const QString &pluginName, const int pos)
|
||||||
void BestListModel::startSearch(const QString &keyword)
|
void BestListModel::startSearch(const QString &keyword)
|
||||||
{
|
{
|
||||||
Q_UNUSED(keyword)
|
Q_UNUSED(keyword)
|
||||||
if (!m_item->m_result_info_list.isEmpty()) {
|
if (!m_items.isEmpty()) {
|
||||||
this->beginResetModel();
|
this->beginResetModel();
|
||||||
m_plugin_id_list.clear();
|
m_plugin_id_list.clear();
|
||||||
m_plugin_action_key_list.clear();
|
m_plugin_action_key_list.clear();
|
||||||
m_item->m_result_info_list.clear();
|
m_items.clear();
|
||||||
this->endResetModel();
|
this->endResetModel();
|
||||||
Q_EMIT this->itemListChanged(m_item->m_result_info_list.length());
|
Q_EMIT this->itemListChanged(m_items.length());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -218,3 +217,9 @@ void BestListModel::initConnections()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BestListModel::~BestListModel()
|
||||||
|
{
|
||||||
|
m_items.clear();
|
||||||
|
m_items.squeeze();
|
||||||
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@ class BestListModel : public QAbstractItemModel
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit BestListModel(QObject *parent = nullptr);
|
explicit BestListModel(QObject *parent = nullptr);
|
||||||
|
~BestListModel();
|
||||||
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
|
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
|
||||||
QModelIndex parent(const QModelIndex &index) const override;
|
QModelIndex parent(const QModelIndex &index) const override;
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ Q_SIGNALS:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void initConnections();
|
void initConnections();
|
||||||
SearchResultItem * m_item = nullptr;
|
QVector<SearchPluginIface::ResultInfo> m_items;
|
||||||
QVector<QString> m_plugin_id_list;
|
QVector<QString> m_plugin_id_list;
|
||||||
QVector<QString> m_plugin_action_key_list;
|
QVector<QString> m_plugin_action_key_list;
|
||||||
bool m_isExpanded = false;
|
bool m_isExpanded = false;
|
||||||
|
|
|
@ -52,6 +52,7 @@ void SearchResultManager::stopSearch()
|
||||||
SearchPluginIface *plugin = SearchPluginManager::getInstance()->getPlugin(m_pluginId);
|
SearchPluginIface *plugin = SearchPluginManager::getInstance()->getPlugin(m_pluginId);
|
||||||
plugin->stopSearch();
|
plugin->stopSearch();
|
||||||
qDebug() << m_pluginId << "stopped";
|
qDebug() << m_pluginId << "stopped";
|
||||||
|
m_resultQueue->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SearchResultManager::initConnections()
|
void SearchResultManager::initConnections()
|
||||||
|
@ -86,4 +87,5 @@ void ReceiveResultThread::run()
|
||||||
Q_EMIT gotResultInfo(oneResult);
|
Q_EMIT gotResultInfo(oneResult);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
m_resultQueue->clear();
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,6 @@ using namespace UkuiSearch;
|
||||||
|
|
||||||
SearchResultModel::SearchResultModel(const QString &plugin_id)
|
SearchResultModel::SearchResultModel(const QString &plugin_id)
|
||||||
{
|
{
|
||||||
m_item = new SearchResultItem;
|
|
||||||
m_plugin_id = plugin_id;
|
m_plugin_id = plugin_id;
|
||||||
m_search_manager = new SearchResultManager(plugin_id);
|
m_search_manager = new SearchResultManager(plugin_id);
|
||||||
m_timer = new QTimer(this);
|
m_timer = new QTimer(this);
|
||||||
|
@ -34,10 +33,11 @@ SearchResultModel::SearchResultModel(const QString &plugin_id)
|
||||||
QModelIndex SearchResultModel::index(int row, int column, const QModelIndex &parent) const
|
QModelIndex SearchResultModel::index(int row, int column, const QModelIndex &parent) const
|
||||||
{
|
{
|
||||||
Q_UNUSED(parent)
|
Q_UNUSED(parent)
|
||||||
if(row < 0 || row > m_item->m_result_info_list.length() - 1)
|
if(row < 0 || row > m_items.length() - 1)
|
||||||
return QModelIndex();
|
return QModelIndex();
|
||||||
// QVector<SearchPluginIface::ResultInfo> * m_info = &m_result_info_list;
|
// QVector<SearchPluginIface::ResultInfo> * m_info = &m_result_info_list;
|
||||||
return createIndex(row, column, m_item);
|
return createIndex(row, column, nullptr);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QModelIndex SearchResultModel::parent(const QModelIndex &child) const
|
QModelIndex SearchResultModel::parent(const QModelIndex &child) const
|
||||||
|
@ -48,7 +48,7 @@ QModelIndex SearchResultModel::parent(const QModelIndex &child) const
|
||||||
|
|
||||||
int SearchResultModel::rowCount(const QModelIndex &index) const
|
int SearchResultModel::rowCount(const QModelIndex &index) const
|
||||||
{
|
{
|
||||||
return index.isValid() ? 0 : (m_isExpanded ? m_item->m_result_info_list.length() : NUM_LIMIT_SHOWN_DEFAULT);
|
return index.isValid() ? 0 : (m_isExpanded ? m_items.length() : NUM_LIMIT_SHOWN_DEFAULT);
|
||||||
}
|
}
|
||||||
|
|
||||||
int SearchResultModel::columnCount(const QModelIndex &index) const
|
int SearchResultModel::columnCount(const QModelIndex &index) const
|
||||||
|
@ -58,15 +58,18 @@ int SearchResultModel::columnCount(const QModelIndex &index) const
|
||||||
|
|
||||||
QVariant SearchResultModel::data(const QModelIndex &index, int role) const
|
QVariant SearchResultModel::data(const QModelIndex &index, int role) const
|
||||||
{
|
{
|
||||||
|
if (!index.isValid() || index.row() >= m_items.count()) {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
switch(role) {
|
switch(role) {
|
||||||
case Qt::DecorationRole: {
|
case Qt::DecorationRole: {
|
||||||
return m_item->m_result_info_list.at(index.row()).icon;
|
return m_items.at(index.row()).icon;
|
||||||
}
|
}
|
||||||
case Qt::DisplayRole: {
|
case Qt::DisplayRole: {
|
||||||
return m_item->m_result_info_list.at(index.row()).name;
|
return m_items.at(index.row()).name;
|
||||||
}
|
}
|
||||||
case Qt::ToolTipRole: {
|
case Qt::ToolTipRole: {
|
||||||
return m_item->m_result_info_list.at(index.row()).name;
|
return m_items.at(index.row()).name;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return QVariant();
|
return QVariant();
|
||||||
|
@ -76,35 +79,37 @@ QVariant SearchResultModel::data(const QModelIndex &index, int role) const
|
||||||
|
|
||||||
void SearchResultModel::appendInfo(const SearchPluginIface::ResultInfo &info)//TODO 代码逻辑可尝试梳理优化
|
void SearchResultModel::appendInfo(const SearchPluginIface::ResultInfo &info)//TODO 代码逻辑可尝试梳理优化
|
||||||
{
|
{
|
||||||
if (m_item->m_result_info_list.length() > 5 //搜索结果大于5个并且搜索结果处于收起状态时只存储数据无需刷新UI
|
if (m_items.length() > 5 //搜索结果大于5个并且搜索结果处于收起状态时只存储数据无需刷新UI
|
||||||
and !m_isExpanded) {
|
and !m_isExpanded) {
|
||||||
m_item->m_result_info_list.append(info);
|
m_items.append(info);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (m_item->m_result_info_list.length() > 50
|
if (m_items.length() > 50
|
||||||
and m_isExpanded) {//搜索结果大于50个并且搜索结果处于展开状态时只存储数据并启动定时,500ms刷新一次UI
|
and m_isExpanded) {//搜索结果大于50个并且搜索结果处于展开状态时只存储数据并启动定时,500ms刷新一次UI
|
||||||
m_item->m_result_info_list.append(info);
|
m_items.append(info);
|
||||||
if (!m_timer->isActive()) {
|
if (!m_timer->isActive()) {
|
||||||
m_timer->start();
|
m_timer->start();
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this->beginResetModel();
|
// this->beginResetModel();
|
||||||
m_item->m_result_info_list.append(info);
|
beginInsertRows(QModelIndex(), m_items.length(), m_items.length());
|
||||||
this->endResetModel();
|
m_items.append(info);
|
||||||
Q_EMIT this->itemListChanged(m_item->m_result_info_list.length());
|
// this->endResetModel();
|
||||||
|
endInsertRows();
|
||||||
|
Q_EMIT this->itemListChanged(m_items.length());
|
||||||
if (m_plugin_id != "Web Page") {
|
if (m_plugin_id != "Web Page") {
|
||||||
Q_EMIT this->sendBestListData(m_plugin_id, m_item->m_result_info_list.at(0));
|
Q_EMIT this->sendBestListData(m_plugin_id, m_items.at(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SearchResultModel::startSearch(const QString &keyword)
|
void SearchResultModel::startSearch(const QString &keyword)
|
||||||
{
|
{
|
||||||
if (!m_item->m_result_info_list.isEmpty()) {
|
if (!m_items.isEmpty()) {
|
||||||
this->beginResetModel();
|
this->beginResetModel();
|
||||||
m_item->m_result_info_list.clear();
|
m_items.clear();
|
||||||
this->endResetModel();
|
this->endResetModel();
|
||||||
Q_EMIT this->itemListChanged(m_item->m_result_info_list.length());
|
Q_EMIT this->itemListChanged(m_items.length());
|
||||||
}
|
}
|
||||||
m_search_manager->startSearch(keyword);
|
m_search_manager->startSearch(keyword);
|
||||||
}
|
}
|
||||||
|
@ -114,14 +119,14 @@ void SearchResultModel::initConnections()
|
||||||
connect(this, &SearchResultModel::stopSearch, m_search_manager, &SearchResultManager::stopSearch);
|
connect(this, &SearchResultModel::stopSearch, m_search_manager, &SearchResultManager::stopSearch);
|
||||||
connect(m_search_manager, &SearchResultManager::gotResultInfo, this, &SearchResultModel::appendInfo);
|
connect(m_search_manager, &SearchResultManager::gotResultInfo, this, &SearchResultModel::appendInfo);
|
||||||
connect(m_timer, &QTimer::timeout, [ = ] () {//500ms刷新一次UI,防止搜索结果数据量过大导致的UI卡顿
|
connect(m_timer, &QTimer::timeout, [ = ] () {//500ms刷新一次UI,防止搜索结果数据量过大导致的UI卡顿
|
||||||
Q_EMIT this->itemListChanged(m_item->m_result_info_list.length());
|
Q_EMIT this->itemListChanged(m_items.length());
|
||||||
m_timer->stop();
|
m_timer->stop();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const SearchPluginIface::ResultInfo &SearchResultModel::getInfo(const QModelIndex &index)
|
const SearchPluginIface::ResultInfo &SearchResultModel::getInfo(const QModelIndex &index)
|
||||||
{
|
{
|
||||||
return m_item->m_result_info_list.at(index.row());
|
return m_items.at(index.row());
|
||||||
}
|
}
|
||||||
|
|
||||||
void SearchResultModel::setExpanded(const bool &is_expanded)
|
void SearchResultModel::setExpanded(const bool &is_expanded)
|
||||||
|
@ -129,7 +134,7 @@ void SearchResultModel::setExpanded(const bool &is_expanded)
|
||||||
this->beginResetModel();
|
this->beginResetModel();
|
||||||
m_isExpanded = is_expanded;
|
m_isExpanded = is_expanded;
|
||||||
this->endResetModel();
|
this->endResetModel();
|
||||||
Q_EMIT this->itemListChanged(m_item->m_result_info_list.length());
|
Q_EMIT this->itemListChanged(m_items.length());
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool &SearchResultModel::isExpanded()
|
const bool &SearchResultModel::isExpanded()
|
||||||
|
@ -143,7 +148,17 @@ void SearchResultModel::refresh()
|
||||||
this->endResetModel();
|
this->endResetModel();
|
||||||
}
|
}
|
||||||
|
|
||||||
SearchResultItem::SearchResultItem(QObject *parent) : QObject(parent)
|
void SearchResultModel::stopSearchSlot()
|
||||||
{
|
{
|
||||||
|
beginResetModel();
|
||||||
|
m_items.clear();
|
||||||
|
m_items.squeeze();
|
||||||
|
endResetModel();
|
||||||
|
Q_EMIT stopSearch();
|
||||||
|
}
|
||||||
|
|
||||||
|
SearchResultModel::~SearchResultModel()
|
||||||
|
{
|
||||||
|
m_items.clear();
|
||||||
|
m_items.squeeze();
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,24 +27,12 @@
|
||||||
|
|
||||||
namespace UkuiSearch {
|
namespace UkuiSearch {
|
||||||
|
|
||||||
class SearchResultItem : public QObject {
|
|
||||||
friend class SearchResultModel;
|
|
||||||
friend class BestListModel;
|
|
||||||
friend class WebSearchModel;
|
|
||||||
Q_OBJECT
|
|
||||||
public:
|
|
||||||
explicit SearchResultItem(QObject *parent = nullptr);
|
|
||||||
~SearchResultItem() = default;
|
|
||||||
private:
|
|
||||||
//此插件所有搜索结果<具体信息>
|
|
||||||
QVector<SearchPluginIface::ResultInfo> m_result_info_list;
|
|
||||||
};
|
|
||||||
class SearchResultModel : public QAbstractItemModel
|
class SearchResultModel : public QAbstractItemModel
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
SearchResultModel(const QString &plugin_id);
|
SearchResultModel(const QString &plugin_id);
|
||||||
~SearchResultModel() = default;
|
~SearchResultModel();
|
||||||
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
|
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
|
||||||
QModelIndex parent(const QModelIndex &child) const override;
|
QModelIndex parent(const QModelIndex &child) const override;
|
||||||
int rowCount(const QModelIndex &parent) const override;
|
int rowCount(const QModelIndex &parent) const override;
|
||||||
|
@ -59,6 +47,7 @@ public:
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void appendInfo(const SearchPluginIface::ResultInfo &);
|
void appendInfo(const SearchPluginIface::ResultInfo &);
|
||||||
void startSearch(const QString &);
|
void startSearch(const QString &);
|
||||||
|
void stopSearchSlot();
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void stopSearch();
|
void stopSearch();
|
||||||
|
@ -67,7 +56,7 @@ Q_SIGNALS:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void initConnections();
|
void initConnections();
|
||||||
SearchResultItem * m_item = nullptr;
|
QVector<SearchPluginIface::ResultInfo> m_items;
|
||||||
QString m_plugin_id;
|
QString m_plugin_id;
|
||||||
SearchResultManager * m_search_manager = nullptr;
|
SearchResultManager * m_search_manager = nullptr;
|
||||||
bool m_isExpanded = false;
|
bool m_isExpanded = false;
|
||||||
|
|
|
@ -1,86 +0,0 @@
|
||||||
/*
|
|
||||||
*
|
|
||||||
* Copyright (C) 2021, KylinSoft Co., Ltd.
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* Authors: jixiaoxu <jixiaoxu@kylinos.cn>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
#include "web-search-model.h"
|
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
using namespace UkuiSearch;
|
|
||||||
WebSearchModel::WebSearchModel(QObject *parent)
|
|
||||||
: QAbstractItemModel(parent)
|
|
||||||
{
|
|
||||||
m_item = new SearchResultItem;
|
|
||||||
}
|
|
||||||
|
|
||||||
QModelIndex WebSearchModel::index(int row, int column, const QModelIndex &parent) const
|
|
||||||
{
|
|
||||||
Q_UNUSED(parent)
|
|
||||||
if(row < 0 || row > m_item->m_result_info_list.length() - 1)
|
|
||||||
return QModelIndex();
|
|
||||||
return createIndex(row, column, m_item);
|
|
||||||
}
|
|
||||||
|
|
||||||
QModelIndex WebSearchModel::parent(const QModelIndex &index) const
|
|
||||||
{
|
|
||||||
Q_UNUSED(index)
|
|
||||||
return QModelIndex();
|
|
||||||
}
|
|
||||||
|
|
||||||
int WebSearchModel::rowCount(const QModelIndex &parent) const
|
|
||||||
{
|
|
||||||
if (parent.isValid()) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int WebSearchModel::columnCount(const QModelIndex &parent) const
|
|
||||||
{
|
|
||||||
return parent.isValid() ? 0 : 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
QVariant WebSearchModel::data(const QModelIndex &index, int role) const
|
|
||||||
{
|
|
||||||
switch(role) {
|
|
||||||
case Qt::DecorationRole: {
|
|
||||||
return m_item->m_result_info_list.at(index.row()).icon;
|
|
||||||
}
|
|
||||||
case Qt::DisplayRole: {
|
|
||||||
return m_item->m_result_info_list.at(index.row()).name;
|
|
||||||
}
|
|
||||||
case Qt::ToolTipRole: {
|
|
||||||
return m_item->m_result_info_list.at(index.row()).name;
|
|
||||||
}
|
|
||||||
default:
|
|
||||||
return QVariant();
|
|
||||||
}
|
|
||||||
return QVariant();
|
|
||||||
}
|
|
||||||
|
|
||||||
void WebSearchModel::startSearch(const QString &keyword)
|
|
||||||
{
|
|
||||||
this->beginResetModel();
|
|
||||||
m_item->m_result_info_list.clear();
|
|
||||||
SearchPluginIface::ResultInfo info;
|
|
||||||
info.icon = QIcon(":/res/icons/edit-find-symbolic.svg");
|
|
||||||
info.name = keyword;
|
|
||||||
m_item->m_result_info_list.append(info);
|
|
||||||
this->endResetModel();
|
|
||||||
}
|
|
|
@ -1,50 +0,0 @@
|
||||||
/*
|
|
||||||
*
|
|
||||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
#ifndef WEBSEARCHMODEL_H
|
|
||||||
#define WEBSEARCHMODEL_H
|
|
||||||
|
|
||||||
#include <QAbstractItemModel>
|
|
||||||
#include <QIcon>
|
|
||||||
#include <QLabel>
|
|
||||||
#include "search-result-model.h"
|
|
||||||
|
|
||||||
namespace UkuiSearch {
|
|
||||||
class WebSearchModel : public QAbstractItemModel
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
explicit WebSearchModel(QObject *parent = nullptr);
|
|
||||||
|
|
||||||
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
|
|
||||||
QModelIndex parent(const QModelIndex &index) const override;
|
|
||||||
|
|
||||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
|
||||||
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
|
||||||
|
|
||||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
|
||||||
public Q_SLOTS:
|
|
||||||
void startSearch(const QString &);
|
|
||||||
|
|
||||||
private:
|
|
||||||
SearchResultItem * m_item = nullptr;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
#endif // WEBSEARCHMODEL_H
|
|
|
@ -423,7 +423,7 @@ void ResultView::initConnections()
|
||||||
m_styleDelegate->setSearchKeyword(keyword);
|
m_styleDelegate->setSearchKeyword(keyword);
|
||||||
m_model->startSearch(keyword);
|
m_model->startSearch(keyword);
|
||||||
});
|
});
|
||||||
connect(this, &ResultView::stopSearch, m_model, &SearchResultModel::stopSearch);
|
connect(this, &ResultView::stopSearch, m_model, &SearchResultModel::stopSearchSlot);
|
||||||
//connect(this->selectionModel(), &QItemSelectionModel::selectionChanged, this, &ResultView::onRowSelectedSlot);
|
//connect(this->selectionModel(), &QItemSelectionModel::selectionChanged, this, &ResultView::onRowSelectedSlot);
|
||||||
connect(this, &ResultView::clicked, this, &ResultView::onRowSelectedSlot);
|
connect(this, &ResultView::clicked, this, &ResultView::onRowSelectedSlot);
|
||||||
connect(this, &ResultView::activated, this, &ResultView::onRowDoubleClickedSlot);
|
connect(this, &ResultView::activated, this, &ResultView::onRowDoubleClickedSlot);
|
||||||
|
|
|
@ -1,237 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (C) 2020, KylinSoft Co., Ltd.
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* Authors: sunfengsheng <sunfengsheng@kylinos.cn>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
#include "app-match.h"
|
|
||||||
#include <glib.h>
|
|
||||||
#include <qt5xdg/XdgIcon>
|
|
||||||
#include <qt5xdg/XdgDesktopFile>
|
|
||||||
#include <QMap>
|
|
||||||
#include "file-utils.h"
|
|
||||||
#include "app-search-plugin.h"
|
|
||||||
|
|
||||||
using namespace UkuiSearch;
|
|
||||||
static AppMatch *app_match_Class = nullptr;
|
|
||||||
|
|
||||||
AppMatch *AppMatch::getAppMatch() {
|
|
||||||
if(!app_match_Class) {
|
|
||||||
app_match_Class = new AppMatch;
|
|
||||||
}
|
|
||||||
return app_match_Class;
|
|
||||||
}
|
|
||||||
AppMatch::AppMatch(QObject *parent) : QThread(parent)
|
|
||||||
// m_versionCommand(new QProcess(this))
|
|
||||||
{
|
|
||||||
qDBusRegisterMetaType<QMap<QString, QString>>();
|
|
||||||
qDBusRegisterMetaType<QList<QMap<QString, QString>>>();
|
|
||||||
m_interFace = new QDBusInterface("com.kylin.softwarecenter.getsearchresults", "/com/kylin/softwarecenter/getsearchresults",
|
|
||||||
"com.kylin.getsearchresults",
|
|
||||||
QDBusConnection::sessionBus());
|
|
||||||
if(!m_interFace->isValid()) {
|
|
||||||
qWarning() << qPrintable(QDBusConnection::sessionBus().lastError().message());
|
|
||||||
}
|
|
||||||
m_interFace->setTimeout(1500);
|
|
||||||
m_appInfoTable = new AppInfoTable;
|
|
||||||
qDebug() << "AppMatch init finished.";
|
|
||||||
}
|
|
||||||
|
|
||||||
AppMatch::~AppMatch() {
|
|
||||||
if(m_interFace) {
|
|
||||||
delete m_interFace;
|
|
||||||
}
|
|
||||||
m_interFace = NULL;
|
|
||||||
if(m_appInfoTable) {
|
|
||||||
delete m_appInfoTable;
|
|
||||||
}
|
|
||||||
m_appInfoTable = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
void AppMatch::startMatchApp(QString input, size_t uniqueSymbol, DataQueue<SearchPluginIface::ResultInfo> *searchResult) {
|
|
||||||
appNameMatch(input, uniqueSymbol, searchResult);
|
|
||||||
slotDBusCallFinished(input, uniqueSymbol, searchResult);
|
|
||||||
qDebug() << "App match finished!";
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief AppMatch::appNameMatch
|
|
||||||
* 进行匹配
|
|
||||||
* @param appname
|
|
||||||
* 应用名字
|
|
||||||
*/
|
|
||||||
void AppMatch::appNameMatch(QString keyWord, size_t uniqueSymbol, DataQueue<SearchPluginIface::ResultInfo> *searchResult) {
|
|
||||||
QStringList results;
|
|
||||||
//m_appInfoTable->searchInstallAppOrderByFavoritesDesc(keyWord, results);
|
|
||||||
for (int i = 0; i < results.size() / 3; i++) {
|
|
||||||
{
|
|
||||||
QMutexLocker locker(&AppSearchPlugin::m_mutex);
|
|
||||||
if (uniqueSymbol != AppSearchPlugin::uniqueSymbol) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
SearchPluginIface::ResultInfo ri;
|
|
||||||
ri.actionKey = results.at(i*3);
|
|
||||||
ri.name = results.at(i*3 + 1);
|
|
||||||
ri.icon = XdgIcon::fromTheme(results.at(i*3 + 2), QIcon(":/res/icons/desktop.png"));
|
|
||||||
ri.type = 0;
|
|
||||||
|
|
||||||
searchResult->enqueue(ri);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* QMultiMap<QString, QStringList> installAppMap;
|
|
||||||
m_appInfoTable->getInstallAppMap(installAppMap);
|
|
||||||
QMap<NameString, QStringList> resultAppMap;
|
|
||||||
for (auto i = installAppMap.begin(); i != installAppMap.end(); ++i) {
|
|
||||||
NameString name;
|
|
||||||
name.app_name = i.key();
|
|
||||||
QStringList infoList;
|
|
||||||
infoList = i.value();
|
|
||||||
resultAppMap.insert(name, infoList);
|
|
||||||
}
|
|
||||||
QMapIterator<NameString, QStringList> iter(resultAppMap);
|
|
||||||
while(iter.hasNext()) {
|
|
||||||
iter.next();
|
|
||||||
if(iter.key().app_name.contains(keyWord, Qt::CaseInsensitive)) {
|
|
||||||
SearchPluginIface::ResultInfo ri;
|
|
||||||
creatResultInfo(ri, iter, true);
|
|
||||||
AppSearchPlugin::m_mutex.lock();
|
|
||||||
if (uniqueSymbol == AppSearchPlugin::uniqueSymbol) {
|
|
||||||
searchResult->enqueue(ri);
|
|
||||||
AppSearchPlugin::m_mutex.unlock();
|
|
||||||
continue;
|
|
||||||
} else {
|
|
||||||
AppSearchPlugin::m_mutex.unlock();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if(iter.value().at(3) == ""){
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
QStringList pinyinlist;
|
|
||||||
pinyinlist = FileUtils::findMultiToneWords(iter.value().at(3));
|
|
||||||
|
|
||||||
bool matched = false;
|
|
||||||
for(int i = 0; i < pinyinlist.size() / 2; i++) {
|
|
||||||
QString shouzimu = pinyinlist.at(2 * i + 1); // 中文转首字母
|
|
||||||
if(shouzimu.contains(keyWord, Qt::CaseInsensitive)) {
|
|
||||||
SearchPluginIface::ResultInfo ri;
|
|
||||||
creatResultInfo(ri, iter, true);
|
|
||||||
AppSearchPlugin::m_mutex.lock();
|
|
||||||
if (uniqueSymbol == AppSearchPlugin::uniqueSymbol) {
|
|
||||||
searchResult->enqueue(ri);
|
|
||||||
AppSearchPlugin::m_mutex.unlock();
|
|
||||||
matched = true;
|
|
||||||
break;
|
|
||||||
} else {
|
|
||||||
AppSearchPlugin::m_mutex.unlock();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if(keyWord.size() < 2)
|
|
||||||
break;
|
|
||||||
QString pinyin = pinyinlist.at(2 * i); // 中文转拼音
|
|
||||||
if(pinyin.contains(keyWord, Qt::CaseInsensitive)) {
|
|
||||||
SearchPluginIface::ResultInfo ri;
|
|
||||||
AppSearchPlugin::m_mutex.lock();
|
|
||||||
creatResultInfo(ri, iter, true);
|
|
||||||
if (uniqueSymbol == AppSearchPlugin::uniqueSymbol) {
|
|
||||||
searchResult->enqueue(ri);
|
|
||||||
AppSearchPlugin::m_mutex.unlock();
|
|
||||||
matched = true;
|
|
||||||
break;
|
|
||||||
} else {
|
|
||||||
AppSearchPlugin::m_mutex.unlock();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if(matched) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
QStringList tmpList;
|
|
||||||
tmpList << iter.value().at(2) << iter.value().at(3);
|
|
||||||
for(QString s : tmpList) {
|
|
||||||
if(s.contains(keyWord, Qt::CaseInsensitive)) {
|
|
||||||
SearchPluginIface::ResultInfo ri;
|
|
||||||
AppSearchPlugin::m_mutex.lock();
|
|
||||||
creatResultInfo(ri, iter, true);
|
|
||||||
if (uniqueSymbol == AppSearchPlugin::uniqueSymbol) {
|
|
||||||
searchResult->enqueue(ri);
|
|
||||||
AppSearchPlugin::m_mutex.unlock();
|
|
||||||
break;
|
|
||||||
} else {
|
|
||||||
AppSearchPlugin::m_mutex.unlock();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
}
|
|
||||||
|
|
||||||
void AppMatch::slotDBusCallFinished(QString keyWord, size_t uniqueSymbol, DataQueue<SearchPluginIface::ResultInfo> *searchResult) {
|
|
||||||
QDBusReply<QList<QMap<QString, QString>>> reply = m_interFace->call("get_search_result", keyWord); //阻塞,直到远程方法调用完成。
|
|
||||||
if(reply.isValid()) {
|
|
||||||
parseSoftWareCenterReturn(reply.value(), uniqueSymbol, searchResult);
|
|
||||||
} else {
|
|
||||||
qWarning() << "SoftWareCenter dbus called failed!";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void AppMatch::parseSoftWareCenterReturn(QList<QMap<QString, QString>> list, size_t uniqueSymbol, DataQueue<SearchPluginIface::ResultInfo> *searchResult) {
|
|
||||||
qDebug() << "Begin parseSoftWareCenterReturn";
|
|
||||||
QLocale locale;
|
|
||||||
for(int i = 0; i < list.size(); i++) {
|
|
||||||
SearchPluginIface::ResultInfo ri;
|
|
||||||
if(locale.language() == QLocale::Chinese) {
|
|
||||||
ri.name = list.at(i).value("displayname_cn");
|
|
||||||
} else {
|
|
||||||
ri.name = list.at(i).value("appname");
|
|
||||||
}
|
|
||||||
ri.icon = !(QIcon(list.at(i).value("icon")).isNull()) ? QIcon(list.at(i).value("icon")) : QIcon(":/res/icons/desktop.png");
|
|
||||||
SearchPluginIface::DescriptionInfo di;
|
|
||||||
di.key = QString(tr("Application Description:"));
|
|
||||||
di.value = list.at(i).value("discription");
|
|
||||||
ri.description.append(di);
|
|
||||||
ri.actionKey = list.at(i).value("appname");
|
|
||||||
ri.type = 1; //1 means not installed apps.
|
|
||||||
AppSearchPlugin::m_mutex.lock();
|
|
||||||
if (uniqueSymbol == AppSearchPlugin::uniqueSymbol) {
|
|
||||||
searchResult->enqueue(ri);
|
|
||||||
AppSearchPlugin::m_mutex.unlock();
|
|
||||||
} else {
|
|
||||||
AppSearchPlugin::m_mutex.unlock();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//void AppMatch::creatResultInfo(SearchPluginIface::ResultInfo &ri, QMapIterator<NameString, QStringList> &iter, bool isInstalled)
|
|
||||||
//{
|
|
||||||
//// ri.icon = QIcon::fromTheme(iter.value().at(1), QIcon(":/res/icons/desktop.png"));
|
|
||||||
// ri.icon = XdgIcon::fromTheme(iter.value().at(1), QIcon(":/res/icons/desktop.png"));
|
|
||||||
// ri.name = iter.key().app_name;
|
|
||||||
// ri.actionKey = iter.value().at(0);
|
|
||||||
// ri.type = 0; //0 means installed apps.
|
|
||||||
//}
|
|
||||||
|
|
||||||
void AppMatch::run() {
|
|
||||||
qDebug() << "App map init..";
|
|
||||||
|
|
||||||
qDebug() << "App map init finished..";
|
|
||||||
}
|
|
|
@ -1,61 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (C) 2020, KylinSoft Co., Ltd.
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* Authors: sunfengsheng <sunfengsheng@kylinos.cn>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
#ifndef APPMATCH_H
|
|
||||||
#define APPMATCH_H
|
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
#include <QDir>
|
|
||||||
#include <QLocale>
|
|
||||||
#include <QDebug>
|
|
||||||
#include <QDBusInterface>
|
|
||||||
#include <QDBusReply>
|
|
||||||
#include <QtDBus>
|
|
||||||
#include <QThread>
|
|
||||||
#include "search-plugin-iface.h"
|
|
||||||
#include "../appdata/app-info-table.h"
|
|
||||||
|
|
||||||
namespace UkuiSearch {
|
|
||||||
class AppMatch : public QThread {
|
|
||||||
Q_OBJECT
|
|
||||||
public:
|
|
||||||
static AppMatch *getAppMatch();
|
|
||||||
void startMatchApp(QString input, size_t uniqueSymbol, DataQueue<SearchPluginIface::ResultInfo> *searchResult);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void run() override;
|
|
||||||
|
|
||||||
private:
|
|
||||||
explicit AppMatch(QObject *parent = nullptr);
|
|
||||||
~AppMatch();
|
|
||||||
void getAllDesktopFilePath(QString path);
|
|
||||||
void appNameMatch(QString keyWord, size_t uniqueSymbol, DataQueue<SearchPluginIface::ResultInfo> *searchResult);
|
|
||||||
void parseSoftWareCenterReturn(QList<QMap<QString, QString>> list, size_t uniqueSymbol, DataQueue<SearchPluginIface::ResultInfo> *searchResult);
|
|
||||||
//void creatResultInfo(SearchPluginIface::ResultInfo &ri, QMapIterator<UkuiSearch::NameString, QStringList> &iter, bool isInstalled = true);
|
|
||||||
QString m_sourceText;
|
|
||||||
size_t m_uniqueSymbol;
|
|
||||||
DataQueue<SearchPluginIface::ResultInfo> *m_search_result = nullptr;
|
|
||||||
QDBusInterface *m_interFace = nullptr;
|
|
||||||
|
|
||||||
private Q_SLOTS:
|
|
||||||
void slotDBusCallFinished(QString keyWord, size_t uniqueSymbol, DataQueue<SearchPluginIface::ResultInfo> *searchResult);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // APPMATCH_H
|
|
|
@ -205,6 +205,7 @@ void AppSearchPlugin::run()
|
||||||
m_searchResult->enqueue(ri);
|
m_searchResult->enqueue(ri);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
m_appSearchResults->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void AppSearchPlugin::initDetailPage()
|
void AppSearchPlugin::initDetailPage()
|
||||||
|
|
|
@ -39,7 +39,6 @@ namespace UkuiSearch {
|
||||||
class LIBSEARCH_EXPORT AppSearchPlugin : public QThread, public SearchPluginIface
|
class LIBSEARCH_EXPORT AppSearchPlugin : public QThread, public SearchPluginIface
|
||||||
{
|
{
|
||||||
friend class AppSearch;
|
friend class AppSearch;
|
||||||
friend class AppMatch;
|
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
AppSearchPlugin(QObject *parent = nullptr);
|
AppSearchPlugin(QObject *parent = nullptr);
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#define LIBSEARCH_H
|
#define LIBSEARCH_H
|
||||||
|
|
||||||
#include "libsearch_global.h"
|
#include "libsearch_global.h"
|
||||||
#include "appsearch/app-match.h"
|
|
||||||
#include "file-utils.h"
|
#include "file-utils.h"
|
||||||
#include "global-settings.h"
|
#include "global-settings.h"
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ public:
|
||||||
inline void clear() {
|
inline void clear() {
|
||||||
QMutexLocker locker(&m_mutex);
|
QMutexLocker locker(&m_mutex);
|
||||||
QList<T>::clear();
|
QList<T>::clear();
|
||||||
return;
|
QList<T>::reserve(QList<T>::size());
|
||||||
}
|
}
|
||||||
inline bool isEmpty() {
|
inline bool isEmpty() {
|
||||||
QMutexLocker locker(&m_mutex);
|
QMutexLocker locker(&m_mutex);
|
||||||
|
|
|
@ -70,6 +70,10 @@ public:
|
||||||
actionKey = actionKeyToSet;
|
actionKey = actionKeyToSet;
|
||||||
type = typeToSet;
|
type = typeToSet;
|
||||||
}
|
}
|
||||||
|
~ResultInfo() {
|
||||||
|
description.clear();
|
||||||
|
description.squeeze();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
virtual ~SearchPluginIface() {}
|
virtual ~SearchPluginIface() {}
|
||||||
|
|
|
@ -42,13 +42,13 @@
|
||||||
<translation>360</translation>
|
<translation>360</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="377"/>
|
<location filename="../search.cpp" line="388"/>
|
||||||
<source>Block Folders</source>
|
<source>Block Folders</source>
|
||||||
<translation>ལྐོག་བཀོད་མིང་ཐོ།</translation>
|
<translation>ལྐོག་བཀོད་མིང་ཐོ།</translation>
|
||||||
<extra-contents_path>/Search/Block Folders</extra-contents_path>
|
<extra-contents_path>/Search/Block Folders</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="382"/>
|
<location filename="../search.cpp" line="393"/>
|
||||||
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
||||||
<translation>གཤམ་གྱི་ཡིག་སྣོད་འཚོལ་བཤེར་མི་བྱེད། ཡིག་སྣོད་གསར་སྣོན་དང་གསུབ་འཕྲི་བྱས་ཚེ་ཡིག་ཆའི་དཀར་ཆག་སྒྲིག་འགོད་བྱ་ཐུབ།</translation>
|
<translation>གཤམ་གྱི་ཡིག་སྣོད་འཚོལ་བཤེར་མི་བྱེད། ཡིག་སྣོད་གསར་སྣོན་དང་གསུབ་འཕྲི་བྱས་ཚེ་ཡིག་ཆའི་དཀར་ཆག་སྒྲིག་འགོད་བྱ་ཐུབ།</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -57,14 +57,14 @@
|
||||||
<translation type="vanished">བསལ་འདེམས་ཀྱི་དཀར་ཆག།</translation>
|
<translation type="vanished">བསལ་འདེམས་ཀྱི་དཀར་ཆག།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="698"/>
|
<location filename="../search.cpp" line="709"/>
|
||||||
<location filename="../search.cpp" line="769"/>
|
<location filename="../search.cpp" line="780"/>
|
||||||
<source>delete</source>
|
<source>delete</source>
|
||||||
<translation>བསུབ་པ།</translation>
|
<translation>བསུབ་པ།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="427"/>
|
<location filename="../search.cpp" line="438"/>
|
||||||
<location filename="../search.cpp" line="471"/>
|
<location filename="../search.cpp" line="482"/>
|
||||||
<source>Directories</source>
|
<source>Directories</source>
|
||||||
<translation>དཀར་ཆག</translation>
|
<translation>དཀར་ཆག</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -74,106 +74,106 @@
|
||||||
<extra-contents_path>/Search/File Content Search</extra-contents_path>
|
<extra-contents_path>/Search/File Content Search</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="318"/>
|
<location filename="../search.cpp" line="328"/>
|
||||||
<source>show more results that match the keyword</source>
|
<source>show more results that match the keyword</source>
|
||||||
<translation>ངེས་མངོན་པ་དེ་བས་མང་བ་དང་ནང་འདྲེན་བྱེད་པའི་ནང་དོན་གཉིས་དོ་མཉམ་པའི་འཚོལ་ཞིབ་བྱས་པའི་འབྲས་བུ།</translation>
|
<translation>ངེས་མངོན་པ་དེ་བས་མང་བ་དང་ནང་འདྲེན་བྱེད་པའི་ནང་དོན་གཉིས་དོ་མཉམ་པའི་འཚོལ་ཞིབ་བྱས་པའི་འབྲས་བུ།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="316"/>
|
<location filename="../search.cpp" line="325"/>
|
||||||
<source>Fuzzy Search</source>
|
<source>Fuzzy Search</source>
|
||||||
<translation>རབ་རིབ་བཤེར་འཚོལ</translation>
|
<translation>རབ་རིབ་བཤེར་འཚོལ</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="254"/>
|
<location filename="../search.cpp" line="255"/>
|
||||||
<source>Create file index</source>
|
<source>Create file index</source>
|
||||||
<translation>ཡིག་ཆའི་མིང་གི་སྟོན་གྲངས་གསར་སྐྲུན་བྱེད་པ།</translation>
|
<translation>ཡིག་ཆའི་མིང་གི་སྟོན་གྲངས་གསར་སྐྲུན་བྱེད་པ།</translation>
|
||||||
<extra-contents_path>/Search/Create file index</extra-contents_path>
|
<extra-contents_path>/Search/Create file index</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="277"/>
|
<location filename="../search.cpp" line="280"/>
|
||||||
<source>Create file content index</source>
|
<source>Create file content index</source>
|
||||||
<translation>ཡིག་ཆའི་ནང་དོན་སྟོན་གྲངས་གསར་སྐྲུན་བྱེད་པ།</translation>
|
<translation>ཡིག་ཆའི་ནང་དོན་སྟོན་གྲངས་གསར་སྐྲུན་བྱེད་པ།</translation>
|
||||||
<extra-contents_path>/Search/Create file content index</extra-contents_path>
|
<extra-contents_path>/Search/Create file content index</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="305"/>
|
<location filename="../search.cpp" line="312"/>
|
||||||
<source>Precise Search</source>
|
<source>Precise Search</source>
|
||||||
<translation>གནད་ལ་འཁེལ་བའི་བཤེར་འཚོལ</translation>
|
<translation>གནད་ལ་འཁེལ་བའི་བཤེར་འཚོལ</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="307"/>
|
<location filename="../search.cpp" line="315"/>
|
||||||
<source>show the results that exactly match the keyword</source>
|
<source>show the results that exactly match the keyword</source>
|
||||||
<translation>ཕྱིར་མངོན་པ་དང་ནང་འཇུག་གི་ནང་དོན་ཡོངས་སུ་མཐུན་པའི་འཚོལ་ཞིབ་ཀྱི་མཇུག་འབྲས</translation>
|
<translation>ཕྱིར་མངོན་པ་དང་ནང་འཇུག་གི་ནང་དོན་ཡོངས་སུ་མཐུན་པའི་འཚོལ་ཞིབ་ཀྱི་མཇུག་འབྲས</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="344"/>
|
<location filename="../search.cpp" line="355"/>
|
||||||
<source>Search Folders</source>
|
<source>Search Folders</source>
|
||||||
<translation>བཤེར་འཚོལ་གྱི་ཁྱབ་ཁོངས།</translation>
|
<translation>བཤེར་འཚོལ་གྱི་ཁྱབ་ཁོངས།</translation>
|
||||||
<extra-contents_path>/Search/Search Folders</extra-contents_path>
|
<extra-contents_path>/Search/Search Folders</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="350"/>
|
<location filename="../search.cpp" line="361"/>
|
||||||
<source>Following folders will be searched. You can set it by adding and removing folders.</source>
|
<source>Following folders will be searched. You can set it by adding and removing folders.</source>
|
||||||
<translation>གཤམ་གྱི་ཡིག་ཆ་འཚོལ་བཤེར་བྱེད་སྲིད།ཁྱོད་ཀྱིས་ཡིག་ཆའི་སྒམ་ནང་འཇུག་དང་མེད་པར་བཟོས་ནས་འཚོལ་བཤེར་གྱི་ཁྱབ་ཁོངས་བཀོད་སྒྲིག་བྱེད་ཆོག</translation>
|
<translation>གཤམ་གྱི་ཡིག་ཆ་འཚོལ་བཤེར་བྱེད་སྲིད།ཁྱོད་ཀྱིས་ཡིག་ཆའི་སྒམ་ནང་འཇུག་དང་མེད་པར་བཟོས་ནས་འཚོལ་བཤེར་གྱི་ཁྱབ་ཁོངས་བཀོད་སྒྲིག་བྱེད་ཆོག</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="428"/>
|
<location filename="../search.cpp" line="439"/>
|
||||||
<source>select blocked folder</source>
|
<source>select blocked folder</source>
|
||||||
<translation>བཀག་སྡོམ་བྱས་པའི་ཡིག་སྣོད་གདམ་གསེས</translation>
|
<translation>བཀག་སྡོམ་བྱས་པའི་ཡིག་སྣོད་གདམ་གསེས</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="429"/>
|
<location filename="../search.cpp" line="440"/>
|
||||||
<location filename="../search.cpp" line="473"/>
|
<location filename="../search.cpp" line="484"/>
|
||||||
<source>Select</source>
|
<source>Select</source>
|
||||||
<translation>བདམས་ཐོན་བྱུང་བ།</translation>
|
<translation>བདམས་ཐོན་བྱུང་བ།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="430"/>
|
<location filename="../search.cpp" line="441"/>
|
||||||
<location filename="../search.cpp" line="474"/>
|
<location filename="../search.cpp" line="485"/>
|
||||||
<source>Position: </source>
|
<source>Position: </source>
|
||||||
<translation>གོ་གནས་ནི། </translation>
|
<translation>གོ་གནས་ནི། </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="431"/>
|
<location filename="../search.cpp" line="442"/>
|
||||||
<location filename="../search.cpp" line="475"/>
|
<location filename="../search.cpp" line="486"/>
|
||||||
<source>FileName: </source>
|
<source>FileName: </source>
|
||||||
<translation>ཡིག་ཆའི་མིང་ནི། </translation>
|
<translation>ཡིག་ཆའི་མིང་ནི། </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="432"/>
|
<location filename="../search.cpp" line="443"/>
|
||||||
<location filename="../search.cpp" line="476"/>
|
<location filename="../search.cpp" line="487"/>
|
||||||
<source>FileType: </source>
|
<source>FileType: </source>
|
||||||
<translation>ཡིག་ཆའི་རིགས་དབྱིབས་ནི། </translation>
|
<translation>ཡིག་ཆའི་རིགས་དབྱིབས་ནི། </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="433"/>
|
<location filename="../search.cpp" line="444"/>
|
||||||
<location filename="../search.cpp" line="477"/>
|
<location filename="../search.cpp" line="488"/>
|
||||||
<source>Cancel</source>
|
<source>Cancel</source>
|
||||||
<translation>ཕྱིར་འཐེན།</translation>
|
<translation>ཕྱིར་འཐེན།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="447"/>
|
<location filename="../search.cpp" line="458"/>
|
||||||
<location filename="../search.cpp" line="451"/>
|
<location filename="../search.cpp" line="462"/>
|
||||||
<location filename="../search.cpp" line="455"/>
|
<location filename="../search.cpp" line="466"/>
|
||||||
<location filename="../search.cpp" line="459"/>
|
<location filename="../search.cpp" line="470"/>
|
||||||
<location filename="../search.cpp" line="488"/>
|
<location filename="../search.cpp" line="499"/>
|
||||||
<location filename="../search.cpp" line="491"/>
|
<location filename="../search.cpp" line="502"/>
|
||||||
<location filename="../search.cpp" line="494"/>
|
<location filename="../search.cpp" line="505"/>
|
||||||
<location filename="../search.cpp" line="497"/>
|
<location filename="../search.cpp" line="508"/>
|
||||||
<location filename="../search.cpp" line="500"/>
|
<location filename="../search.cpp" line="511"/>
|
||||||
<location filename="../search.cpp" line="503"/>
|
<location filename="../search.cpp" line="514"/>
|
||||||
<location filename="../search.cpp" line="506"/>
|
<location filename="../search.cpp" line="517"/>
|
||||||
<source>Warning</source>
|
<source>Warning</source>
|
||||||
<translation>ཐ་ཚིག་སྒྲོག་པ།</translation>
|
<translation>ཐ་ཚིག་སྒྲོག་པ།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="459"/>
|
<location filename="../search.cpp" line="470"/>
|
||||||
<location filename="../search.cpp" line="503"/>
|
<location filename="../search.cpp" line="514"/>
|
||||||
<source>Add search folder failed, hidden path is not supported!</source>
|
<source>Add search folder failed, hidden path is not supported!</source>
|
||||||
<translation>ཡིག་ཆའི་སྒམ་དེ་མིང་ཐོ་ནག་པོའི་ནང་དུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་སྦས་ཡོད་པའི་ཡིག་ཆའི་སྒམ་འཇོག་མི་རུང་།</translation>
|
<translation>ཡིག་ཆའི་སྒམ་དེ་མིང་ཐོ་ནག་པོའི་ནང་དུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་སྦས་ཡོད་པའི་ཡིག་ཆའི་སྒམ་འཇོག་མི་རུང་།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="506"/>
|
<location filename="../search.cpp" line="517"/>
|
||||||
<source>Add search folder failed, permission denied!</source>
|
<source>Add search folder failed, permission denied!</source>
|
||||||
<translation>ཡིག་ཆའི་སྒམ་དེ་མིང་ཐོ་ནག་པོའི་ནང་དུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་ལྟ་སྤྱོད་བྱེད་པའི་དབང་ཆ་མེད་པའི་ཡིག་ཆའི་སྒམ་ཁ་སྣོན་བྱེད་མི་ཐུབ།</translation>
|
<translation>ཡིག་ཆའི་སྒམ་དེ་མིང་ཐོ་ནག་པོའི་ནང་དུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་ལྟ་སྤྱོད་བྱེད་པའི་དབང་ཆ་མེད་པའི་ཡིག་ཆའི་སྒམ་ཁ་སྣོན་བྱེད་མི་ཐུབ།</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -186,47 +186,47 @@
|
||||||
<translation type="vanished">སྦྱོར་རྟ་ལྐོག་བཀོད་མིང་ཐོ་ཕམ་ཁ་བསལ་འདེམས་ཀྱི་དཀར་ཆག་མི་ཁྱིམ་དཀར་ཆག་འོག།</translation>
|
<translation type="vanished">སྦྱོར་རྟ་ལྐོག་བཀོད་མིང་ཐོ་ཕམ་ཁ་བསལ་འདེམས་ཀྱི་དཀར་ཆག་མི་ཁྱིམ་དཀར་ཆག་འོག།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="447"/>
|
<location filename="../search.cpp" line="458"/>
|
||||||
<source>Add blocked folder failed, its parent dir has been added!</source>
|
<source>Add blocked folder failed, its parent dir has been added!</source>
|
||||||
<translation>སྦྱོར་རྟ་ལྐོག་བཀོད་མིང་ཐོ་ཕམ་ཁ་བསལ་འདེམས་ཀྱི་དཀར་ཆག་ནི་ལྐོག་བཀོད་མིང་ཐོ་འི་ཁྲོད་ཀྱི་དཀར་ཆག་འོག</translation>
|
<translation>སྦྱོར་རྟ་ལྐོག་བཀོད་མིང་ཐོ་ཕམ་ཁ་བསལ་འདེམས་ཀྱི་དཀར་ཆག་ནི་ལྐོག་བཀོད་མིང་ཐོ་འི་ཁྲོད་ཀྱི་དཀར་ཆག་འོག</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="451"/>
|
<location filename="../search.cpp" line="462"/>
|
||||||
<source>Add blocked folder failed, choosen path is not exist!</source>
|
<source>Add blocked folder failed, choosen path is not exist!</source>
|
||||||
<translation>ཡིག་ཆའི་སྒམ་དེ་མིང་ཐོ་ནག་པོའི་ནང་དུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་མི་གནས་པའི་ཡིག་ཆའི་སྒམ་འཇོག་མི་རུང་།</translation>
|
<translation>ཡིག་ཆའི་སྒམ་དེ་མིང་ཐོ་ནག་པོའི་ནང་དུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་མི་གནས་པའི་ཡིག་ཆའི་སྒམ་འཇོག་མི་རུང་།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="455"/>
|
<location filename="../search.cpp" line="466"/>
|
||||||
<source>Add blocked folder failed, it has already been blocked!</source>
|
<source>Add blocked folder failed, it has already been blocked!</source>
|
||||||
<translation>སྦྱོར་རྟ་ལྐོག་བཀོད་མིང་ཐོ་ཕམ་ཁ་བསལ་འདེམས་ཀྱི་དཀར་ཆག་ནི་ལྐོག་བཀོད་མིང་ཐོ་འི་ཁྲོད་ཀྱི་དཀར་ཆག་འོག</translation>
|
<translation>སྦྱོར་རྟ་ལྐོག་བཀོད་མིང་ཐོ་ཕམ་ཁ་བསལ་འདེམས་ཀྱི་དཀར་ཆག་ནི་ལྐོག་བཀོད་མིང་ཐོ་འི་ཁྲོད་ཀྱི་དཀར་ཆག་འོག</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="472"/>
|
<location filename="../search.cpp" line="483"/>
|
||||||
<source>select search folder</source>
|
<source>select search folder</source>
|
||||||
<translation>འཚོལ་ཞིབ་བྱེད་དགོས་པའི་དཀར་ཆག་འདེམས་དགོས།</translation>
|
<translation>འཚོལ་ཞིབ་བྱེད་དགོས་པའི་དཀར་ཆག་འདེམས་དགོས།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="491"/>
|
<location filename="../search.cpp" line="502"/>
|
||||||
<source>Add search folder failed, choosen path is not supported currently!</source>
|
<source>Add search folder failed, choosen path is not supported currently!</source>
|
||||||
<translation>ཡིག་ཆའི་སྒམ་དེ་འཚོལ་བཤེར་གྱི་ཁྱབ་ཁོངས་སུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་མིག་སྔར་ད་དུང་རྒྱབ་སྐྱོར་མི་བྱེད་པའི་ཡིག་ཆའི་སྒམ་ཁ་སྣོན་བྱེད་མི་རུང་།</translation>
|
<translation>ཡིག་ཆའི་སྒམ་དེ་འཚོལ་བཤེར་གྱི་ཁྱབ་ཁོངས་སུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་མིག་སྔར་ད་དུང་རྒྱབ་སྐྱོར་མི་བྱེད་པའི་ཡིག་ཆའི་སྒམ་ཁ་སྣོན་བྱེད་མི་རུང་།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="497"/>
|
<location filename="../search.cpp" line="508"/>
|
||||||
<source>Add search folder failed, another path which is in the same device has been added!</source>
|
<source>Add search folder failed, another path which is in the same device has been added!</source>
|
||||||
<translation>ཡིག་ཁུག་འཚོལ་བཤེར་ཁྱབ་ཁོངས་སུ་ཁ་སྣོན་བྱེད་མི་ཆོགགང་ལགས་ཤེ་ན།སྒྲིག་ཆས་འོག་གི་ཡིག་ཁུག་ཅིག་ཁ་སྣོན་བྱས་ཡོད་པས་རེད།</translation>
|
<translation>ཡིག་ཁུག་འཚོལ་བཤེར་ཁྱབ་ཁོངས་སུ་ཁ་སྣོན་བྱེད་མི་ཆོགགང་ལགས་ཤེ་ན།སྒྲིག་ཆས་འོག་གི་ཡིག་ཁུག་ཅིག་ཁ་སྣོན་བྱས་ཡོད་པས་རེད།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="488"/>
|
<location filename="../search.cpp" line="499"/>
|
||||||
<source>Add search folder failed, choosen path or its parent dir has been added!</source>
|
<source>Add search folder failed, choosen path or its parent dir has been added!</source>
|
||||||
<translation>ཡིག་ཆ་འཚོལ་བཤེར་གྱི་ཁྱབ་ཁོངས་སུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་དེའི་ཨ་ཕའི་ཡིག་ཆ་འཚོལ་བཤེར་གྱི་ཁྱབ་ཁོངས་སུ་ཁ་སྣོན་བྱས་ཡོད།</translation>
|
<translation>ཡིག་ཆ་འཚོལ་བཤེར་གྱི་ཁྱབ་ཁོངས་སུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་དེའི་ཨ་ཕའི་ཡིག་ཆ་འཚོལ་བཤེར་གྱི་ཁྱབ་ཁོངས་སུ་ཁ་སྣོན་བྱས་ཡོད།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="494"/>
|
<location filename="../search.cpp" line="505"/>
|
||||||
<source>Add search folder failed, choosen path is in repeat mounted devices and another path which is in the same device has been added!</source>
|
<source>Add search folder failed, choosen path is in repeat mounted devices and another path which is in the same device has been added!</source>
|
||||||
<translation>ཡིག་ཆའི་སྒམ་དེ་འཚོལ་བཤེར་གྱི་ཁྱབ་ཁོངས་སུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་དེ་ནི་བསྐྱར་ཟློས་ཀྱི་སྒྲིག་ཆས་འོག་གི་ཡིག་ཆའི་སྒམ་ཡིན་པར་མ་ཟད།སྒྲིག་ཆས་འདིའི་འོག་གི་ཡིག་ཆའི་སྒམ་ཁ་སྣོན་བྱས་ཡོད།</translation>
|
<translation>ཡིག་ཆའི་སྒམ་དེ་འཚོལ་བཤེར་གྱི་ཁྱབ་ཁོངས་སུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་དེ་ནི་བསྐྱར་ཟློས་ཀྱི་སྒྲིག་ཆས་འོག་གི་ཡིག་ཆའི་སྒམ་ཡིན་པར་མ་ཟད།སྒྲིག་ཆས་འདིའི་འོག་གི་ཡིག་ཆའི་སྒམ་ཁ་སྣོན་བྱས་ཡོད།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="500"/>
|
<location filename="../search.cpp" line="511"/>
|
||||||
<source>Add search folder failed, choosen path is not exists!</source>
|
<source>Add search folder failed, choosen path is not exists!</source>
|
||||||
<translation>ཡིག་ཆའི་སྒམ་དེ་འཚོལ་བཤེར་གྱི་ཁྱབ་ཁོངས་སུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་མི་གནས་པའི་ཡིག་ཆའི་སྒམ་ཁ་སྣོན་བྱེད་མི་རུང་།</translation>
|
<translation>ཡིག་ཆའི་སྒམ་དེ་འཚོལ་བཤེར་གྱི་ཁྱབ་ཁོངས་སུ་འཇོག་མི་རུང་།རྒྱུ་མཚན་ནི་མི་གནས་པའི་ཡིག་ཆའི་སྒམ་ཁ་སྣོན་བྱེད་མི་རུང་།</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -43,174 +43,174 @@
|
||||||
<extra-contents_path>/Search/File Content Search</extra-contents_path>
|
<extra-contents_path>/Search/File Content Search</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="305"/>
|
<location filename="../search.cpp" line="312"/>
|
||||||
<source>Precise Search</source>
|
<source>Precise Search</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="307"/>
|
<location filename="../search.cpp" line="315"/>
|
||||||
<source>show the results that exactly match the keyword</source>
|
<source>show the results that exactly match the keyword</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="316"/>
|
<location filename="../search.cpp" line="325"/>
|
||||||
<source>Fuzzy Search</source>
|
<source>Fuzzy Search</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="318"/>
|
<location filename="../search.cpp" line="328"/>
|
||||||
<source>show more results that match the keyword</source>
|
<source>show more results that match the keyword</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="344"/>
|
<location filename="../search.cpp" line="355"/>
|
||||||
<source>Search Folders</source>
|
<source>Search Folders</source>
|
||||||
<translation>Search Folders</translation>
|
<translation>Search Folders</translation>
|
||||||
<extra-contents_path>/Search/Search Folders</extra-contents_path>
|
<extra-contents_path>/Search/Search Folders</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="350"/>
|
<location filename="../search.cpp" line="361"/>
|
||||||
<source>Following folders will be searched. You can set it by adding and removing folders.</source>
|
<source>Following folders will be searched. You can set it by adding and removing folders.</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="377"/>
|
<location filename="../search.cpp" line="388"/>
|
||||||
<source>Block Folders</source>
|
<source>Block Folders</source>
|
||||||
<translation>Block Folders</translation>
|
<translation>Block Folders</translation>
|
||||||
<extra-contents_path>/Search/Block Folders</extra-contents_path>
|
<extra-contents_path>/Search/Block Folders</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="382"/>
|
<location filename="../search.cpp" line="393"/>
|
||||||
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="427"/>
|
<location filename="../search.cpp" line="438"/>
|
||||||
<location filename="../search.cpp" line="471"/>
|
<location filename="../search.cpp" line="482"/>
|
||||||
<source>Directories</source>
|
<source>Directories</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="428"/>
|
<location filename="../search.cpp" line="439"/>
|
||||||
<source>select blocked folder</source>
|
<source>select blocked folder</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="429"/>
|
<location filename="../search.cpp" line="440"/>
|
||||||
<location filename="../search.cpp" line="473"/>
|
<location filename="../search.cpp" line="484"/>
|
||||||
<source>Select</source>
|
<source>Select</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="430"/>
|
<location filename="../search.cpp" line="441"/>
|
||||||
<location filename="../search.cpp" line="474"/>
|
<location filename="../search.cpp" line="485"/>
|
||||||
<source>Position: </source>
|
<source>Position: </source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="431"/>
|
<location filename="../search.cpp" line="442"/>
|
||||||
<location filename="../search.cpp" line="475"/>
|
<location filename="../search.cpp" line="486"/>
|
||||||
<source>FileName: </source>
|
<source>FileName: </source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="432"/>
|
<location filename="../search.cpp" line="443"/>
|
||||||
<location filename="../search.cpp" line="476"/>
|
<location filename="../search.cpp" line="487"/>
|
||||||
<source>FileType: </source>
|
<source>FileType: </source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="433"/>
|
<location filename="../search.cpp" line="444"/>
|
||||||
<location filename="../search.cpp" line="477"/>
|
<location filename="../search.cpp" line="488"/>
|
||||||
<source>Cancel</source>
|
<source>Cancel</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="447"/>
|
<location filename="../search.cpp" line="458"/>
|
||||||
<location filename="../search.cpp" line="451"/>
|
<location filename="../search.cpp" line="462"/>
|
||||||
<location filename="../search.cpp" line="455"/>
|
<location filename="../search.cpp" line="466"/>
|
||||||
<location filename="../search.cpp" line="459"/>
|
<location filename="../search.cpp" line="470"/>
|
||||||
<location filename="../search.cpp" line="488"/>
|
<location filename="../search.cpp" line="499"/>
|
||||||
<location filename="../search.cpp" line="491"/>
|
<location filename="../search.cpp" line="502"/>
|
||||||
<location filename="../search.cpp" line="494"/>
|
<location filename="../search.cpp" line="505"/>
|
||||||
<location filename="../search.cpp" line="497"/>
|
<location filename="../search.cpp" line="508"/>
|
||||||
<location filename="../search.cpp" line="500"/>
|
<location filename="../search.cpp" line="511"/>
|
||||||
<location filename="../search.cpp" line="503"/>
|
<location filename="../search.cpp" line="514"/>
|
||||||
<location filename="../search.cpp" line="506"/>
|
<location filename="../search.cpp" line="517"/>
|
||||||
<source>Warning</source>
|
<source>Warning</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="447"/>
|
<location filename="../search.cpp" line="458"/>
|
||||||
<source>Add blocked folder failed, its parent dir has been added!</source>
|
<source>Add blocked folder failed, its parent dir has been added!</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="451"/>
|
<location filename="../search.cpp" line="462"/>
|
||||||
<source>Add blocked folder failed, choosen path is not exist!</source>
|
<source>Add blocked folder failed, choosen path is not exist!</source>
|
||||||
<translation>Add blocked folder failed, choosen path is not exist!</translation>
|
<translation>Add blocked folder failed, choosen path is not exist!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="455"/>
|
<location filename="../search.cpp" line="466"/>
|
||||||
<source>Add blocked folder failed, it has already been blocked!</source>
|
<source>Add blocked folder failed, it has already been blocked!</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="472"/>
|
<location filename="../search.cpp" line="483"/>
|
||||||
<source>select search folder</source>
|
<source>select search folder</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="488"/>
|
<location filename="../search.cpp" line="499"/>
|
||||||
<source>Add search folder failed, choosen path or its parent dir has been added!</source>
|
<source>Add search folder failed, choosen path or its parent dir has been added!</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="491"/>
|
<location filename="../search.cpp" line="502"/>
|
||||||
<source>Add search folder failed, choosen path is not supported currently!</source>
|
<source>Add search folder failed, choosen path is not supported currently!</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="494"/>
|
<location filename="../search.cpp" line="505"/>
|
||||||
<source>Add search folder failed, choosen path is in repeat mounted devices and another path which is in the same device has been added!</source>
|
<source>Add search folder failed, choosen path is in repeat mounted devices and another path which is in the same device has been added!</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="497"/>
|
<location filename="../search.cpp" line="508"/>
|
||||||
<source>Add search folder failed, another path which is in the same device has been added!</source>
|
<source>Add search folder failed, another path which is in the same device has been added!</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="500"/>
|
<location filename="../search.cpp" line="511"/>
|
||||||
<source>Add search folder failed, choosen path is not exists!</source>
|
<source>Add search folder failed, choosen path is not exists!</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="459"/>
|
<location filename="../search.cpp" line="470"/>
|
||||||
<location filename="../search.cpp" line="503"/>
|
<location filename="../search.cpp" line="514"/>
|
||||||
<source>Add search folder failed, hidden path is not supported!</source>
|
<source>Add search folder failed, hidden path is not supported!</source>
|
||||||
<translation>Add search folder failed, hidden path is not supported!</translation>
|
<translation>Add search folder failed, hidden path is not supported!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="254"/>
|
<location filename="../search.cpp" line="255"/>
|
||||||
<source>Create file index</source>
|
<source>Create file index</source>
|
||||||
<translation>Create file index</translation>
|
<translation>Create file index</translation>
|
||||||
<extra-contents_path>/Search/Create file index</extra-contents_path>
|
<extra-contents_path>/Search/Create file index</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="277"/>
|
<location filename="../search.cpp" line="280"/>
|
||||||
<source>Create file content index</source>
|
<source>Create file content index</source>
|
||||||
<translation>Create file content index</translation>
|
<translation>Create file content index</translation>
|
||||||
<extra-contents_path>/Search/Create file content index</extra-contents_path>
|
<extra-contents_path>/Search/Create file content index</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="506"/>
|
<location filename="../search.cpp" line="517"/>
|
||||||
<source>Add search folder failed, permission denied!</source>
|
<source>Add search folder failed, permission denied!</source>
|
||||||
<translation>Add search folder failed, permission denied!</translation>
|
<translation>Add search folder failed, permission denied!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="698"/>
|
<location filename="../search.cpp" line="709"/>
|
||||||
<location filename="../search.cpp" line="769"/>
|
<location filename="../search.cpp" line="780"/>
|
||||||
<source>delete</source>
|
<source>delete</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -42,25 +42,25 @@
|
||||||
<translation>360</translation>
|
<translation>360</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="254"/>
|
<location filename="../search.cpp" line="255"/>
|
||||||
<source>Create file index</source>
|
<source>Create file index</source>
|
||||||
<translation>ᠪᠢᠴᠢᠭ ᠮᠠᠲ᠋ᠧᠷᠢᠶᠠᠯ ᠤᠨ ᠨᠡᠷᠡ ᠶᠢᠨ ᠰᠦᠪᠡᠭᠴᠢ ᠶᠢ ᠡᠭᠦᠳᠦᠨ ᠪᠠᠶᠢᠭᠤᠯᠬᠤ ᠬᠡᠷᠡᠭᠲᠡᠶ᠃</translation>
|
<translation>ᠪᠢᠴᠢᠭ ᠮᠠᠲ᠋ᠧᠷᠢᠶᠠᠯ ᠤᠨ ᠨᠡᠷᠡ ᠶᠢᠨ ᠰᠦᠪᠡᠭᠴᠢ ᠶᠢ ᠡᠭᠦᠳᠦᠨ ᠪᠠᠶᠢᠭᠤᠯᠬᠤ ᠬᠡᠷᠡᠭᠲᠡᠶ᠃</translation>
|
||||||
<extra-contents_path>/Search/Create file index</extra-contents_path>
|
<extra-contents_path>/Search/Create file index</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="277"/>
|
<location filename="../search.cpp" line="280"/>
|
||||||
<source>Create file content index</source>
|
<source>Create file content index</source>
|
||||||
<translation>ᠪᠢᠴᠢᠭ ᠮᠠᠲ᠋ᠧᠷᠢᠶᠠᠯ ᠤᠨ ᠠᠭᠤᠯᠭᠠ ᠶᠢᠨ ᠰᠦᠪᠡᠭᠴᠢ ᠶᠢ ᠡᠭᠦᠳᠦᠨ ᠪᠠᠶᠢᠭᠤᠯᠬᠤ ᠬᠡᠷᠡᠭᠲᠡᠶ᠃</translation>
|
<translation>ᠪᠢᠴᠢᠭ ᠮᠠᠲ᠋ᠧᠷᠢᠶᠠᠯ ᠤᠨ ᠠᠭᠤᠯᠭᠠ ᠶᠢᠨ ᠰᠦᠪᠡᠭᠴᠢ ᠶᠢ ᠡᠭᠦᠳᠦᠨ ᠪᠠᠶᠢᠭᠤᠯᠬᠤ ᠬᠡᠷᠡᠭᠲᠡᠶ᠃</translation>
|
||||||
<extra-contents_path>/Search/Create file content index</extra-contents_path>
|
<extra-contents_path>/Search/Create file content index</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="377"/>
|
<location filename="../search.cpp" line="388"/>
|
||||||
<source>Block Folders</source>
|
<source>Block Folders</source>
|
||||||
<translation>ᠢᠯᠭᠠᠵᠤ ᠭᠠᠷᠭᠠᠭᠰᠠᠨ ᠴᠤᠮᠤᠭ</translation>
|
<translation>ᠢᠯᠭᠠᠵᠤ ᠭᠠᠷᠭᠠᠭᠰᠠᠨ ᠴᠤᠮᠤᠭ</translation>
|
||||||
<extra-contents_path>/Search/Block Folders</extra-contents_path>
|
<extra-contents_path>/Search/Block Folders</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="382"/>
|
<location filename="../search.cpp" line="393"/>
|
||||||
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
||||||
<translation>ᠬᠠᠢᠯᠲᠠᠪᠠᠷ ᠳᠠᠷᠠᠭᠠᠬᠢ ᠴᠤᠮᠤᠭᠢ ᠪᠠᠢᠴᠠᠭᠠᠵᠤ ᠦᠵᠡᠬᠦ᠌ ᠦᠬᠡᠢ ᠂ ᠨᠡᠮᠡᠬᠦ᠌ ᠪᠤᠶᠤ ᠬᠠᠰᠤᠬᠤᠪᠠᠷ ᠳᠠᠮᠵᠢᠭᠤᠯᠤᠨ ᠢᠯᠭᠠᠵᠤ ᠭᠠᠷᠭᠠᠭᠰᠠᠨ ᠴᠤᠮᠤᠭᠤᠨ ᠪᠠᠢᠷᠢᠶᠢ ᠳᠤᠬᠢᠷᠠᠭᠤᠯᠵᠤ ᠪᠤᠯᠤᠨᠠ ᠃</translation>
|
<translation>ᠬᠠᠢᠯᠲᠠᠪᠠᠷ ᠳᠠᠷᠠᠭᠠᠬᠢ ᠴᠤᠮᠤᠭᠢ ᠪᠠᠢᠴᠠᠭᠠᠵᠤ ᠦᠵᠡᠬᠦ᠌ ᠦᠬᠡᠢ ᠂ ᠨᠡᠮᠡᠬᠦ᠌ ᠪᠤᠶᠤ ᠬᠠᠰᠤᠬᠤᠪᠠᠷ ᠳᠠᠮᠵᠢᠭᠤᠯᠤᠨ ᠢᠯᠭᠠᠵᠤ ᠭᠠᠷᠭᠠᠭᠰᠠᠨ ᠴᠤᠮᠤᠭᠤᠨ ᠪᠠᠢᠷᠢᠶᠢ ᠳᠤᠬᠢᠷᠠᠭᠤᠯᠵᠤ ᠪᠤᠯᠤᠨᠠ ᠃</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -69,14 +69,14 @@
|
||||||
<translation type="vanished">ᠨᠡᠮᠡᠬᠦ᠌</translation>
|
<translation type="vanished">ᠨᠡᠮᠡᠬᠦ᠌</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="698"/>
|
<location filename="../search.cpp" line="709"/>
|
||||||
<location filename="../search.cpp" line="769"/>
|
<location filename="../search.cpp" line="780"/>
|
||||||
<source>delete</source>
|
<source>delete</source>
|
||||||
<translation>ᠬᠠᠰᠤᠬᠤ</translation>
|
<translation>ᠬᠠᠰᠤᠬᠤ</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="427"/>
|
<location filename="../search.cpp" line="438"/>
|
||||||
<location filename="../search.cpp" line="471"/>
|
<location filename="../search.cpp" line="482"/>
|
||||||
<source>Directories</source>
|
<source>Directories</source>
|
||||||
<translation>ᠴᠤᠮᠤᠭ</translation>
|
<translation>ᠴᠤᠮᠤᠭ</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -86,139 +86,139 @@
|
||||||
<extra-contents_path>/Search/File Content Search</extra-contents_path>
|
<extra-contents_path>/Search/File Content Search</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="305"/>
|
<location filename="../search.cpp" line="312"/>
|
||||||
<source>Precise Search</source>
|
<source>Precise Search</source>
|
||||||
<translation>ᠣᠨᠣᠪᠴᠢᠲᠠᠢ ᠡᠷᠢᠬᠦ</translation>
|
<translation>ᠣᠨᠣᠪᠴᠢᠲᠠᠢ ᠡᠷᠢᠬᠦ</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="307"/>
|
<location filename="../search.cpp" line="315"/>
|
||||||
<source>show the results that exactly match the keyword</source>
|
<source>show the results that exactly match the keyword</source>
|
||||||
<translation>ᠵᠠᠩᠭᠢᠯᠠᠭᠠ ᠶᠢᠨ ᠦᠰᠦᠭ ᠲᠡᠢ ᠪᠦᠷᠢᠮᠦᠰᠦᠨ ᠲᠣᠬᠢᠷᠠᠯᠴᠠᠭᠰᠠᠨ ᠦᠷᠡ ᠳ᠋ᠦᠩ ᠢ ᠢᠯᠡᠷᠡᠭᠦᠯᠵᠡᠢ</translation>
|
<translation>ᠵᠠᠩᠭᠢᠯᠠᠭᠠ ᠶᠢᠨ ᠦᠰᠦᠭ ᠲᠡᠢ ᠪᠦᠷᠢᠮᠦᠰᠦᠨ ᠲᠣᠬᠢᠷᠠᠯᠴᠠᠭᠰᠠᠨ ᠦᠷᠡ ᠳ᠋ᠦᠩ ᠢ ᠢᠯᠡᠷᠡᠭᠦᠯᠵᠡᠢ</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="316"/>
|
<location filename="../search.cpp" line="325"/>
|
||||||
<source>Fuzzy Search</source>
|
<source>Fuzzy Search</source>
|
||||||
<translation>ᠪᠠᠯᠠᠷᠬᠠᠢ ᠡᠷᠢᠬᠦ</translation>
|
<translation>ᠪᠠᠯᠠᠷᠬᠠᠢ ᠡᠷᠢᠬᠦ</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="318"/>
|
<location filename="../search.cpp" line="328"/>
|
||||||
<source>show more results that match the keyword</source>
|
<source>show more results that match the keyword</source>
|
||||||
<translation>ᠨᠡᠩ ᠠᠷᠪᠢᠨ ᠵᠠᠩᠭᠢᠯᠠᠭᠠ ᠶᠢᠨ ᠦᠰᠦᠭ ᠲᠡᠢ ᠲᠣᠬᠢᠷᠠᠯᠴᠠᠭᠰᠠᠨ ᠦᠷᠡ ᠳ᠋ᠦᠩ ᠢ ᠢᠯᠡᠷᠡᠭᠦᠯᠵᠡᠢ</translation>
|
<translation>ᠨᠡᠩ ᠠᠷᠪᠢᠨ ᠵᠠᠩᠭᠢᠯᠠᠭᠠ ᠶᠢᠨ ᠦᠰᠦᠭ ᠲᠡᠢ ᠲᠣᠬᠢᠷᠠᠯᠴᠠᠭᠰᠠᠨ ᠦᠷᠡ ᠳ᠋ᠦᠩ ᠢ ᠢᠯᠡᠷᠡᠭᠦᠯᠵᠡᠢ</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="344"/>
|
<location filename="../search.cpp" line="355"/>
|
||||||
<source>Search Folders</source>
|
<source>Search Folders</source>
|
||||||
<translation>ᠡᠷᠢᠬᠦ ᠭᠠᠷᠴᠠᠭ</translation>
|
<translation>ᠡᠷᠢᠬᠦ ᠭᠠᠷᠴᠠᠭ</translation>
|
||||||
<extra-contents_path>/Search/Search Folders</extra-contents_path>
|
<extra-contents_path>/Search/Search Folders</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="350"/>
|
<location filename="../search.cpp" line="361"/>
|
||||||
<source>Following folders will be searched. You can set it by adding and removing folders.</source>
|
<source>Following folders will be searched. You can set it by adding and removing folders.</source>
|
||||||
<translation>ᠳᠣᠣᠷᠠᠬᠢ ᠭᠠᠷᠴᠠᠭ ᠢ ᠡᠷᠢᠨᠡ ᠃ ᠲᠠ ᠭᠠᠷᠴᠠᠭ ᠢᠶᠠᠷ ᠳᠠᠮᠵᠢᠨ ᠡᠷᠢᠬᠦ ᠬᠡᠪᠴᠢᠶᠡ ᠶᠢ ᠵᠢᠭᠠᠨ ᠲᠣᠭᠲᠠᠭᠠᠵᠤ ᠪᠣᠯᠣᠨᠠ᠃</translation>
|
<translation>ᠳᠣᠣᠷᠠᠬᠢ ᠭᠠᠷᠴᠠᠭ ᠢ ᠡᠷᠢᠨᠡ ᠃ ᠲᠠ ᠭᠠᠷᠴᠠᠭ ᠢᠶᠠᠷ ᠳᠠᠮᠵᠢᠨ ᠡᠷᠢᠬᠦ ᠬᠡᠪᠴᠢᠶᠡ ᠶᠢ ᠵᠢᠭᠠᠨ ᠲᠣᠭᠲᠠᠭᠠᠵᠤ ᠪᠣᠯᠣᠨᠠ᠃</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="428"/>
|
<location filename="../search.cpp" line="439"/>
|
||||||
<source>select blocked folder</source>
|
<source>select blocked folder</source>
|
||||||
<translation>ᠢᠯᠭᠠᠵᠤ ᠭᠠᠷᠭᠠᠭᠰᠠᠨ ᠴᠤᠮᠤᠭᠢ ᠰᠤᠩᠭᠤᠬᠤ</translation>
|
<translation>ᠢᠯᠭᠠᠵᠤ ᠭᠠᠷᠭᠠᠭᠰᠠᠨ ᠴᠤᠮᠤᠭᠢ ᠰᠤᠩᠭᠤᠬᠤ</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="429"/>
|
<location filename="../search.cpp" line="440"/>
|
||||||
<location filename="../search.cpp" line="473"/>
|
<location filename="../search.cpp" line="484"/>
|
||||||
<source>Select</source>
|
<source>Select</source>
|
||||||
<translation>ᠰᠤᠩᠭᠤᠬᠤ</translation>
|
<translation>ᠰᠤᠩᠭᠤᠬᠤ</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="430"/>
|
<location filename="../search.cpp" line="441"/>
|
||||||
<location filename="../search.cpp" line="474"/>
|
<location filename="../search.cpp" line="485"/>
|
||||||
<source>Position: </source>
|
<source>Position: </source>
|
||||||
<translation>ᠪᠠᠢᠷᠢ ᠄ </translation>
|
<translation>ᠪᠠᠢᠷᠢ ᠄ </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="431"/>
|
<location filename="../search.cpp" line="442"/>
|
||||||
<location filename="../search.cpp" line="475"/>
|
<location filename="../search.cpp" line="486"/>
|
||||||
<source>FileName: </source>
|
<source>FileName: </source>
|
||||||
<translation>ᠹᠠᠢᠯᠤᠨ ᠨᠡᠷᠡ ᠄ </translation>
|
<translation>ᠹᠠᠢᠯᠤᠨ ᠨᠡᠷᠡ ᠄ </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="432"/>
|
<location filename="../search.cpp" line="443"/>
|
||||||
<location filename="../search.cpp" line="476"/>
|
<location filename="../search.cpp" line="487"/>
|
||||||
<source>FileType: </source>
|
<source>FileType: </source>
|
||||||
<translation>ᠬᠡᠯᠪᠡᠷᠢ ᠮᠠᠶᠢᠭ </translation>
|
<translation>ᠬᠡᠯᠪᠡᠷᠢ ᠮᠠᠶᠢᠭ </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="433"/>
|
<location filename="../search.cpp" line="444"/>
|
||||||
<location filename="../search.cpp" line="477"/>
|
<location filename="../search.cpp" line="488"/>
|
||||||
<source>Cancel</source>
|
<source>Cancel</source>
|
||||||
<translation>ᠦᠬᠡᠢᠰᠭᠡᠬᠦ᠌</translation>
|
<translation>ᠦᠬᠡᠢᠰᠭᠡᠬᠦ᠌</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="447"/>
|
<location filename="../search.cpp" line="458"/>
|
||||||
<location filename="../search.cpp" line="451"/>
|
<location filename="../search.cpp" line="462"/>
|
||||||
<location filename="../search.cpp" line="455"/>
|
<location filename="../search.cpp" line="466"/>
|
||||||
<location filename="../search.cpp" line="459"/>
|
<location filename="../search.cpp" line="470"/>
|
||||||
<location filename="../search.cpp" line="488"/>
|
<location filename="../search.cpp" line="499"/>
|
||||||
<location filename="../search.cpp" line="491"/>
|
<location filename="../search.cpp" line="502"/>
|
||||||
<location filename="../search.cpp" line="494"/>
|
<location filename="../search.cpp" line="505"/>
|
||||||
<location filename="../search.cpp" line="497"/>
|
<location filename="../search.cpp" line="508"/>
|
||||||
<location filename="../search.cpp" line="500"/>
|
<location filename="../search.cpp" line="511"/>
|
||||||
<location filename="../search.cpp" line="503"/>
|
<location filename="../search.cpp" line="514"/>
|
||||||
<location filename="../search.cpp" line="506"/>
|
<location filename="../search.cpp" line="517"/>
|
||||||
<source>Warning</source>
|
<source>Warning</source>
|
||||||
<translation>ᠰᠡᠷᠡᠮᠵᠢᠯᠡᠬᠦᠯᠬᠦ᠌</translation>
|
<translation>ᠰᠡᠷᠡᠮᠵᠢᠯᠡᠬᠦᠯᠬᠦ᠌</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="447"/>
|
<location filename="../search.cpp" line="458"/>
|
||||||
<source>Add blocked folder failed, its parent dir has been added!</source>
|
<source>Add blocked folder failed, its parent dir has been added!</source>
|
||||||
<translation>ᠡᠨᠡ ᠭᠠᠷᠴᠠᠭ ᠢ ᠨᠡᠮᠡᠵᠦ ᠳᠡᠶᠢᠯᠬᠦ ᠦᠭᠡᠢ ᠂ ᠲᠡᠭᠦᠨ ᠦ ᠡᠴᠢᠭᠡ ᠶᠢᠨ ᠭᠠᠷᠴᠠᠭ ᠨᠢᠭᠡᠨᠲᠡ ᠨᠡᠮᠡᠭ᠍ᠳᠡᠵᠡᠢ !</translation>
|
<translation>ᠡᠨᠡ ᠭᠠᠷᠴᠠᠭ ᠢ ᠨᠡᠮᠡᠵᠦ ᠳᠡᠶᠢᠯᠬᠦ ᠦᠭᠡᠢ ᠂ ᠲᠡᠭᠦᠨ ᠦ ᠡᠴᠢᠭᠡ ᠶᠢᠨ ᠭᠠᠷᠴᠠᠭ ᠨᠢᠭᠡᠨᠲᠡ ᠨᠡᠮᠡᠭ᠍ᠳᠡᠵᠡᠢ !</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="451"/>
|
<location filename="../search.cpp" line="462"/>
|
||||||
<source>Add blocked folder failed, choosen path is not exist!</source>
|
<source>Add blocked folder failed, choosen path is not exist!</source>
|
||||||
<translation>ᠭᠠᠷᠴᠠᠭ ᠨᠡᠮᠡᠵᠦ ᠳᠡᠶᠢᠯᠬᠦ ᠦᠭᠡᠢ ᠂ ᠡᠨᠡ ᠭᠠᠷᠴᠠᠭ ᠣᠷᠣᠰᠢᠬᠤ ᠦᠭᠡᠢ !</translation>
|
<translation>ᠭᠠᠷᠴᠠᠭ ᠨᠡᠮᠡᠵᠦ ᠳᠡᠶᠢᠯᠬᠦ ᠦᠭᠡᠢ ᠂ ᠡᠨᠡ ᠭᠠᠷᠴᠠᠭ ᠣᠷᠣᠰᠢᠬᠤ ᠦᠭᠡᠢ !</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="455"/>
|
<location filename="../search.cpp" line="466"/>
|
||||||
<source>Add blocked folder failed, it has already been blocked!</source>
|
<source>Add blocked folder failed, it has already been blocked!</source>
|
||||||
<translation>ᠭᠠᠷᠴᠠᠭ ᠨᠡᠮᠡᠵᠦ ᠳᠡᠶᠢᠯᠬᠦ ᠦᠭᠡᠢ ᠂ ᠡᠨᠡ ᠭᠠᠷᠴᠠᠭ ᠨᠢᠭᠡᠨᠲᠡ ᠨᠡᠮᠡᠭ᠍ᠳᠡᠵᠡᠢ !</translation>
|
<translation>ᠭᠠᠷᠴᠠᠭ ᠨᠡᠮᠡᠵᠦ ᠳᠡᠶᠢᠯᠬᠦ ᠦᠭᠡᠢ ᠂ ᠡᠨᠡ ᠭᠠᠷᠴᠠᠭ ᠨᠢᠭᠡᠨᠲᠡ ᠨᠡᠮᠡᠭ᠍ᠳᠡᠵᠡᠢ !</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="459"/>
|
<location filename="../search.cpp" line="470"/>
|
||||||
<location filename="../search.cpp" line="503"/>
|
<location filename="../search.cpp" line="514"/>
|
||||||
<source>Add search folder failed, hidden path is not supported!</source>
|
<source>Add search folder failed, hidden path is not supported!</source>
|
||||||
<translation>ᠭᠠᠷᠴᠠᠭ ᠨᠡᠮᠡᠬᠦ ᠶᠢᠨ ᠠᠷᠭᠠ ᠦᠭᠡᠢ ᠂ ᠨᠢᠭᠤᠴᠠ ᠭᠠᠷᠴᠠᠭ ᠢ ᠳᠡᠮᠵᠢᠬᠦ ᠦᠭᠡᠢ !</translation>
|
<translation>ᠭᠠᠷᠴᠠᠭ ᠨᠡᠮᠡᠬᠦ ᠶᠢᠨ ᠠᠷᠭᠠ ᠦᠭᠡᠢ ᠂ ᠨᠢᠭᠤᠴᠠ ᠭᠠᠷᠴᠠᠭ ᠢ ᠳᠡᠮᠵᠢᠬᠦ ᠦᠭᠡᠢ !</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="472"/>
|
<location filename="../search.cpp" line="483"/>
|
||||||
<source>select search folder</source>
|
<source>select search folder</source>
|
||||||
<translation>ᠡᠷᠢᠬᠦ ᠭᠠᠷᠴᠠᠭ ᠢ ᠰᠣᠩᠭᠣᠨᠠ</translation>
|
<translation>ᠡᠷᠢᠬᠦ ᠭᠠᠷᠴᠠᠭ ᠢ ᠰᠣᠩᠭᠣᠨᠠ</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="488"/>
|
<location filename="../search.cpp" line="499"/>
|
||||||
<source>Add search folder failed, choosen path or its parent dir has been added!</source>
|
<source>Add search folder failed, choosen path or its parent dir has been added!</source>
|
||||||
<translation>ᠡᠷᠢᠬᠦ ᠪᠢᠴᠢᠭ᠌ ᠮᠠᠲ᠋ᠧᠷᠢᠶᠠᠯ ᠢ ᠨᠡᠮᠡᠵᠦ ᠢᠯᠠᠭᠳᠠᠵᠠᠢ ᠂ ᠨᠢᠭᠡᠨᠲᠡ ᠰᠤᠩᠭ᠋ᠤᠬᠤ ᠵᠠᠮ ᠪᠤᠶᠤ ᠲᠡᠭᠦᠨ ᠦ ᠡᠴᠢᠭᠡ ᠶᠢᠨ ᠭᠠᠷᠴᠠᠭ ᠨᠡᠮᠡᠵᠡᠢ !</translation>
|
<translation>ᠡᠷᠢᠬᠦ ᠪᠢᠴᠢᠭ᠌ ᠮᠠᠲ᠋ᠧᠷᠢᠶᠠᠯ ᠢ ᠨᠡᠮᠡᠵᠦ ᠢᠯᠠᠭᠳᠠᠵᠠᠢ ᠂ ᠨᠢᠭᠡᠨᠲᠡ ᠰᠤᠩᠭ᠋ᠤᠬᠤ ᠵᠠᠮ ᠪᠤᠶᠤ ᠲᠡᠭᠦᠨ ᠦ ᠡᠴᠢᠭᠡ ᠶᠢᠨ ᠭᠠᠷᠴᠠᠭ ᠨᠡᠮᠡᠵᠡᠢ !</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="491"/>
|
<location filename="../search.cpp" line="502"/>
|
||||||
<source>Add search folder failed, choosen path is not supported currently!</source>
|
<source>Add search folder failed, choosen path is not supported currently!</source>
|
||||||
<translation>ᠡᠷᠢᠬᠦ ᠭᠠᠷᠴᠠᠭ ᠢ ᠨᠡᠮᠡᠵᠦ ᠢᠯᠠᠭᠳᠠᠵᠠᠢ ᠂ ᠣᠳᠣᠬᠠᠨ ᠳᠤ ᠡᠨᠡ ᠭᠠᠷᠴᠠᠭ ᠢ ᠳᠡᠮᠵᠢᠬᠦ ᠦᠭᠡᠢ !</translation>
|
<translation>ᠡᠷᠢᠬᠦ ᠭᠠᠷᠴᠠᠭ ᠢ ᠨᠡᠮᠡᠵᠦ ᠢᠯᠠᠭᠳᠠᠵᠠᠢ ᠂ ᠣᠳᠣᠬᠠᠨ ᠳᠤ ᠡᠨᠡ ᠭᠠᠷᠴᠠᠭ ᠢ ᠳᠡᠮᠵᠢᠬᠦ ᠦᠭᠡᠢ !</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="494"/>
|
<location filename="../search.cpp" line="505"/>
|
||||||
<source>Add search folder failed, choosen path is in repeat mounted devices and another path which is in the same device has been added!</source>
|
<source>Add search folder failed, choosen path is in repeat mounted devices and another path which is in the same device has been added!</source>
|
||||||
<translation>ᠡᠷᠢᠬᠦ ᠪᠢᠴᠢᠭ᠌ ᠮᠠᠲ᠋ᠧᠷᠢᠶᠠᠯ ᠢ ᠬᠠᠪᠴᠢᠭᠤᠯᠤᠨ ᠢᠯᠠᠭᠳᠠᠵᠠᠢ ᠂ ᠠᠷᠭᠠ ᠵᠠᠮ ᠢ ᠰᠣᠩᠭᠣᠵᠤ ᠳᠠᠬᠢᠨ ᠳᠠᠪᠲᠠᠨ ᠠᠴᠢᠶᠠᠯᠠᠭᠰᠠᠨ ᠲᠥᠬᠥᠭᠡᠷᠦᠮᠵᠢ ᠳᠦ ᠨᠡᠮᠡᠵᠦ ᠂ ᠨᠢᠭᠡᠨᠲᠡ ᠠᠳᠠᠯᠢ ᠨᠢᠭᠡᠨ ᠲᠥᠬᠥᠭᠡᠷᠦᠮᠵᠢ ᠳᠣᠲᠣᠷᠠᠬᠢ ᠨᠥᠭᠥᠭᠡ ᠨᠢᠭᠡ ᠠᠷᠭᠠ ᠵᠠᠮ ᠨᠡᠮᠡᠵᠡᠢ !</translation>
|
<translation>ᠡᠷᠢᠬᠦ ᠪᠢᠴᠢᠭ᠌ ᠮᠠᠲ᠋ᠧᠷᠢᠶᠠᠯ ᠢ ᠬᠠᠪᠴᠢᠭᠤᠯᠤᠨ ᠢᠯᠠᠭᠳᠠᠵᠠᠢ ᠂ ᠠᠷᠭᠠ ᠵᠠᠮ ᠢ ᠰᠣᠩᠭᠣᠵᠤ ᠳᠠᠬᠢᠨ ᠳᠠᠪᠲᠠᠨ ᠠᠴᠢᠶᠠᠯᠠᠭᠰᠠᠨ ᠲᠥᠬᠥᠭᠡᠷᠦᠮᠵᠢ ᠳᠦ ᠨᠡᠮᠡᠵᠦ ᠂ ᠨᠢᠭᠡᠨᠲᠡ ᠠᠳᠠᠯᠢ ᠨᠢᠭᠡᠨ ᠲᠥᠬᠥᠭᠡᠷᠦᠮᠵᠢ ᠳᠣᠲᠣᠷᠠᠬᠢ ᠨᠥᠭᠥᠭᠡ ᠨᠢᠭᠡ ᠠᠷᠭᠠ ᠵᠠᠮ ᠨᠡᠮᠡᠵᠡᠢ !</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="497"/>
|
<location filename="../search.cpp" line="508"/>
|
||||||
<source>Add search folder failed, another path which is in the same device has been added!</source>
|
<source>Add search folder failed, another path which is in the same device has been added!</source>
|
||||||
<translation>ᠡᠷᠢᠬᠦ ᠪᠢᠴᠢᠭ᠌ ᠮᠠᠲ᠋ᠧᠷᠢᠶᠠᠯ ᠢ ᠨᠡᠮᠡᠵᠦ ᠢᠯᠠᠭᠳᠠᠵᠠᠢ ᠂ ᠨᠢᠭᠡᠨᠲᠡ ᠠᠳᠠᠯᠢ ᠨᠢᠭᠡᠨ ᠲᠥᠬᠥᠭᠡᠷᠦᠮᠵᠢ ᠳᠣᠲᠣᠷᠠᠬᠢ ᠨᠥᠭᠥᠭᠡ ᠨᠢᠭᠡ ᠠᠷᠭᠠ ᠵᠠᠮ ᠢ ᠨᠡᠮᠡᠵᠡᠢ !</translation>
|
<translation>ᠡᠷᠢᠬᠦ ᠪᠢᠴᠢᠭ᠌ ᠮᠠᠲ᠋ᠧᠷᠢᠶᠠᠯ ᠢ ᠨᠡᠮᠡᠵᠦ ᠢᠯᠠᠭᠳᠠᠵᠠᠢ ᠂ ᠨᠢᠭᠡᠨᠲᠡ ᠠᠳᠠᠯᠢ ᠨᠢᠭᠡᠨ ᠲᠥᠬᠥᠭᠡᠷᠦᠮᠵᠢ ᠳᠣᠲᠣᠷᠠᠬᠢ ᠨᠥᠭᠥᠭᠡ ᠨᠢᠭᠡ ᠠᠷᠭᠠ ᠵᠠᠮ ᠢ ᠨᠡᠮᠡᠵᠡᠢ !</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="500"/>
|
<location filename="../search.cpp" line="511"/>
|
||||||
<source>Add search folder failed, choosen path is not exists!</source>
|
<source>Add search folder failed, choosen path is not exists!</source>
|
||||||
<translation>ᠨᠡᠮᠡᠵᠦ ᠡᠷᠢᠬᠦ ᠭᠠᠷᠴᠠᠭ ᠢᠯᠠᠭᠳᠠᠵᠠᠢ ᠂ ᠡᠨᠡ ᠭᠠᠷᠴᠠᠭ ᠣᠷᠣᠰᠢᠬᠤ ᠦᠭᠡᠢ !</translation>
|
<translation>ᠨᠡᠮᠡᠵᠦ ᠡᠷᠢᠬᠦ ᠭᠠᠷᠴᠠᠭ ᠢᠯᠠᠭᠳᠠᠵᠠᠢ ᠂ ᠡᠨᠡ ᠭᠠᠷᠴᠠᠭ ᠣᠷᠣᠰᠢᠬᠤ ᠦᠭᠡᠢ !</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="506"/>
|
<location filename="../search.cpp" line="517"/>
|
||||||
<source>Add search folder failed, permission denied!</source>
|
<source>Add search folder failed, permission denied!</source>
|
||||||
<translation>ᠡᠷᠢᠬᠦ ᠭᠠᠷᠴᠠᠭ ᠢ ᠨᠡᠮᠡᠵᠦ ᠢᠯᠠᠭᠳᠠᠵᠠᠢ ᠂ ᠡᠨᠡ ᠭᠠᠷᠴᠠᠭ ᠢ ᠰᠤᠷᠪᠤᠯᠵᠢᠯᠠᠬᠤ ᠡᠷᠬᠡ ᠦᠭᠡᠢ !</translation>
|
<translation>ᠡᠷᠢᠬᠦ ᠭᠠᠷᠴᠠᠭ ᠢ ᠨᠡᠮᠡᠵᠦ ᠢᠯᠠᠭᠳᠠᠵᠠᠢ ᠂ ᠡᠨᠡ ᠭᠠᠷᠴᠠᠭ ᠢ ᠰᠤᠷᠪᠤᠯᠵᠢᠯᠠᠬᠤ ᠡᠷᠬᠡ ᠦᠭᠡᠢ !</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -42,13 +42,13 @@
|
||||||
<translation>360</translation>
|
<translation>360</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="377"/>
|
<location filename="../search.cpp" line="388"/>
|
||||||
<source>Block Folders</source>
|
<source>Block Folders</source>
|
||||||
<translation>排除的文件夹</translation>
|
<translation>排除的文件夹</translation>
|
||||||
<extra-contents_path>/Search/Block Folders</extra-contents_path>
|
<extra-contents_path>/Search/Block Folders</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="382"/>
|
<location filename="../search.cpp" line="393"/>
|
||||||
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
||||||
<translation>搜索将不查看以下文件夹,通过添加和删除可以设置排除的文件夹位置</translation>
|
<translation>搜索将不查看以下文件夹,通过添加和删除可以设置排除的文件夹位置</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -57,14 +57,14 @@
|
||||||
<translation type="vanished">添加</translation>
|
<translation type="vanished">添加</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="698"/>
|
<location filename="../search.cpp" line="709"/>
|
||||||
<location filename="../search.cpp" line="769"/>
|
<location filename="../search.cpp" line="780"/>
|
||||||
<source>delete</source>
|
<source>delete</source>
|
||||||
<translation>删除</translation>
|
<translation>删除</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="427"/>
|
<location filename="../search.cpp" line="438"/>
|
||||||
<location filename="../search.cpp" line="471"/>
|
<location filename="../search.cpp" line="482"/>
|
||||||
<source>Directories</source>
|
<source>Directories</source>
|
||||||
<translation>文件夹</translation>
|
<translation>文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -74,151 +74,151 @@
|
||||||
<extra-contents_path>/Search/File Content Search</extra-contents_path>
|
<extra-contents_path>/Search/File Content Search</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="318"/>
|
<location filename="../search.cpp" line="328"/>
|
||||||
<source>show more results that match the keyword</source>
|
<source>show more results that match the keyword</source>
|
||||||
<translation>显示更多与输入内容匹配的搜索结果</translation>
|
<translation>显示更多与输入内容匹配的搜索结果</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="316"/>
|
<location filename="../search.cpp" line="325"/>
|
||||||
<source>Fuzzy Search</source>
|
<source>Fuzzy Search</source>
|
||||||
<translation>模糊搜索</translation>
|
<translation>模糊搜索</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="254"/>
|
<location filename="../search.cpp" line="255"/>
|
||||||
<source>Create file index</source>
|
<source>Create file index</source>
|
||||||
<translation>文件索引</translation>
|
<translation>文件索引</translation>
|
||||||
<extra-contents_path>/Search/Create file index</extra-contents_path>
|
<extra-contents_path>/Search/Create file index</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="277"/>
|
<location filename="../search.cpp" line="280"/>
|
||||||
<source>Create file content index</source>
|
<source>Create file content index</source>
|
||||||
<translation>文件内容索引</translation>
|
<translation>文件内容索引</translation>
|
||||||
<extra-contents_path>/Search/Create file content index</extra-contents_path>
|
<extra-contents_path>/Search/Create file content index</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="305"/>
|
<location filename="../search.cpp" line="312"/>
|
||||||
<source>Precise Search</source>
|
<source>Precise Search</source>
|
||||||
<translation>精确搜索</translation>
|
<translation>精确搜索</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="307"/>
|
<location filename="../search.cpp" line="315"/>
|
||||||
<source>show the results that exactly match the keyword</source>
|
<source>show the results that exactly match the keyword</source>
|
||||||
<translation>仅显示与输入内容完全一致的搜索结果</translation>
|
<translation>仅显示与输入内容完全一致的搜索结果</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="344"/>
|
<location filename="../search.cpp" line="355"/>
|
||||||
<source>Search Folders</source>
|
<source>Search Folders</source>
|
||||||
<translation>搜索范围</translation>
|
<translation>搜索范围</translation>
|
||||||
<extra-contents_path>/Search/Search Folders</extra-contents_path>
|
<extra-contents_path>/Search/Search Folders</extra-contents_path>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="350"/>
|
<location filename="../search.cpp" line="361"/>
|
||||||
<source>Following folders will be searched. You can set it by adding and removing folders.</source>
|
<source>Following folders will be searched. You can set it by adding and removing folders.</source>
|
||||||
<translation>以下文件的内容将出现在全局搜索的结果中</translation>
|
<translation>以下文件的内容将出现在全局搜索的结果中</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="428"/>
|
<location filename="../search.cpp" line="439"/>
|
||||||
<source>select blocked folder</source>
|
<source>select blocked folder</source>
|
||||||
<translation>选择排除的文件夹</translation>
|
<translation>选择排除的文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="429"/>
|
<location filename="../search.cpp" line="440"/>
|
||||||
<location filename="../search.cpp" line="473"/>
|
<location filename="../search.cpp" line="484"/>
|
||||||
<source>Select</source>
|
<source>Select</source>
|
||||||
<translation>选择</translation>
|
<translation>选择</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="430"/>
|
<location filename="../search.cpp" line="441"/>
|
||||||
<location filename="../search.cpp" line="474"/>
|
<location filename="../search.cpp" line="485"/>
|
||||||
<source>Position: </source>
|
<source>Position: </source>
|
||||||
<translation>位置</translation>
|
<translation>位置</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="431"/>
|
<location filename="../search.cpp" line="442"/>
|
||||||
<location filename="../search.cpp" line="475"/>
|
<location filename="../search.cpp" line="486"/>
|
||||||
<source>FileName: </source>
|
<source>FileName: </source>
|
||||||
<translation>文件名</translation>
|
<translation>文件名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="432"/>
|
<location filename="../search.cpp" line="443"/>
|
||||||
<location filename="../search.cpp" line="476"/>
|
<location filename="../search.cpp" line="487"/>
|
||||||
<source>FileType: </source>
|
<source>FileType: </source>
|
||||||
<translation>类型</translation>
|
<translation>类型</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="433"/>
|
<location filename="../search.cpp" line="444"/>
|
||||||
<location filename="../search.cpp" line="477"/>
|
<location filename="../search.cpp" line="488"/>
|
||||||
<source>Cancel</source>
|
<source>Cancel</source>
|
||||||
<translation>取消</translation>
|
<translation>取消</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="447"/>
|
<location filename="../search.cpp" line="458"/>
|
||||||
<location filename="../search.cpp" line="451"/>
|
<location filename="../search.cpp" line="462"/>
|
||||||
<location filename="../search.cpp" line="455"/>
|
<location filename="../search.cpp" line="466"/>
|
||||||
<location filename="../search.cpp" line="459"/>
|
<location filename="../search.cpp" line="470"/>
|
||||||
<location filename="../search.cpp" line="488"/>
|
<location filename="../search.cpp" line="499"/>
|
||||||
<location filename="../search.cpp" line="491"/>
|
<location filename="../search.cpp" line="502"/>
|
||||||
<location filename="../search.cpp" line="494"/>
|
<location filename="../search.cpp" line="505"/>
|
||||||
<location filename="../search.cpp" line="497"/>
|
<location filename="../search.cpp" line="508"/>
|
||||||
<location filename="../search.cpp" line="500"/>
|
<location filename="../search.cpp" line="511"/>
|
||||||
<location filename="../search.cpp" line="503"/>
|
<location filename="../search.cpp" line="514"/>
|
||||||
<location filename="../search.cpp" line="506"/>
|
<location filename="../search.cpp" line="517"/>
|
||||||
<source>Warning</source>
|
<source>Warning</source>
|
||||||
<translation>警告</translation>
|
<translation>警告</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="459"/>
|
<location filename="../search.cpp" line="470"/>
|
||||||
<location filename="../search.cpp" line="503"/>
|
<location filename="../search.cpp" line="514"/>
|
||||||
<source>Add search folder failed, hidden path is not supported!</source>
|
<source>Add search folder failed, hidden path is not supported!</source>
|
||||||
<translation>添加失败,不支持隐藏目录!</translation>
|
<translation>添加失败,不支持隐藏目录!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="506"/>
|
<location filename="../search.cpp" line="517"/>
|
||||||
<source>Add search folder failed, permission denied!</source>
|
<source>Add search folder failed, permission denied!</source>
|
||||||
<translation>添加失败,该目录无权限访问!</translation>
|
<translation>添加失败,该目录无权限访问!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="447"/>
|
<location filename="../search.cpp" line="458"/>
|
||||||
<source>Add blocked folder failed, its parent dir has been added!</source>
|
<source>Add blocked folder failed, its parent dir has been added!</source>
|
||||||
<translation>添加失败,父目录已被添加!</translation>
|
<translation>添加失败,父目录已被添加!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="451"/>
|
<location filename="../search.cpp" line="462"/>
|
||||||
<source>Add blocked folder failed, choosen path is not exist!</source>
|
<source>Add blocked folder failed, choosen path is not exist!</source>
|
||||||
<translation>添加失败,要添加的路径不存在!</translation>
|
<translation>添加失败,要添加的路径不存在!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="455"/>
|
<location filename="../search.cpp" line="466"/>
|
||||||
<source>Add blocked folder failed, it has already been blocked!</source>
|
<source>Add blocked folder failed, it has already been blocked!</source>
|
||||||
<translation>添加失败,这个文件夹已经被添加过了!</translation>
|
<translation>添加失败,这个文件夹已经被添加过了!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="472"/>
|
<location filename="../search.cpp" line="483"/>
|
||||||
<source>select search folder</source>
|
<source>select search folder</source>
|
||||||
<translation>选择要搜索的文件夹</translation>
|
<translation>选择要搜索的文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="491"/>
|
<location filename="../search.cpp" line="502"/>
|
||||||
<source>Add search folder failed, choosen path is not supported currently!</source>
|
<source>Add search folder failed, choosen path is not supported currently!</source>
|
||||||
<translation>添加失败,暂不支持该目录!</translation>
|
<translation>添加失败,暂不支持该目录!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="497"/>
|
<location filename="../search.cpp" line="508"/>
|
||||||
<source>Add search folder failed, another path which is in the same device has been added!</source>
|
<source>Add search folder failed, another path which is in the same device has been added!</source>
|
||||||
<translation>添加失败,文件夹位于重复挂载设备下,相同内容的文件夹已被添加!</translation>
|
<translation>添加失败,文件夹位于重复挂载设备下,相同内容的文件夹已被添加!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="488"/>
|
<location filename="../search.cpp" line="499"/>
|
||||||
<source>Add search folder failed, choosen path or its parent dir has been added!</source>
|
<source>Add search folder failed, choosen path or its parent dir has been added!</source>
|
||||||
<translation>添加失败,该目录或其父目录已被添加!</translation>
|
<translation>添加失败,该目录或其父目录已被添加!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="494"/>
|
<location filename="../search.cpp" line="505"/>
|
||||||
<source>Add search folder failed, choosen path is in repeat mounted devices and another path which is in the same device has been added!</source>
|
<source>Add search folder failed, choosen path is in repeat mounted devices and another path which is in the same device has been added!</source>
|
||||||
<translation>添加失败,文件夹位于重复挂载设备下,且该设备另一个挂载点的文件夹已被添加!</translation>
|
<translation>添加失败,文件夹位于重复挂载设备下,且该设备另一个挂载点的文件夹已被添加!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../search.cpp" line="500"/>
|
<location filename="../search.cpp" line="511"/>
|
||||||
<source>Add search folder failed, choosen path is not exists!</source>
|
<source>Add search folder failed, choosen path is not exists!</source>
|
||||||
<translation>添加失败,要添加的路径不存在!</translation>
|
<translation>添加失败,要添加的路径不存在!</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -17,34 +17,33 @@
|
||||||
<context>
|
<context>
|
||||||
<name>UkuiSearch::AppMatch</name>
|
<name>UkuiSearch::AppMatch</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-match.cpp" line="208"/>
|
|
||||||
<source>Application Description:</source>
|
<source>Application Description:</source>
|
||||||
<translation>ཉེར་སྤྱོད་གོ་རིམ་གྱི་གསལ་བཤད།</translation>
|
<translation type="vanished">ཉེར་སྤྱོད་གོ་རིམ་གྱི་གསལ་བཤད།</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>UkuiSearch::AppSearchPlugin</name>
|
<name>UkuiSearch::AppSearchPlugin</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="31"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="31"/>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="247"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="248"/>
|
||||||
<source>Open</source>
|
<source>Open</source>
|
||||||
<translation>སྒོ་ཕྱེ་བ།</translation>
|
<translation>སྒོ་ཕྱེ་བ།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="32"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="32"/>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="248"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="249"/>
|
||||||
<source>Add Shortcut to Desktop</source>
|
<source>Add Shortcut to Desktop</source>
|
||||||
<translation>ཅོག་ངོས་སུ་མྱུར་འཐེབ་སྣོན་པ།</translation>
|
<translation>ཅོག་ངོས་སུ་མྱུར་འཐེབ་སྣོན་པ།</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="33"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="33"/>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="249"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="250"/>
|
||||||
<source>Add Shortcut to Panel</source>
|
<source>Add Shortcut to Panel</source>
|
||||||
<translation>ལས་འགན་གྱི་སྒྲོམ་ཐོག་མགྱོགས་མྱུར་གྱི་བྱེད་ཐབས་གསར་སྣོན་བྱ་དགོས</translation>
|
<translation>ལས་འགན་གྱི་སྒྲོམ་ཐོག་མགྱོགས་མྱུར་གྱི་བྱེད་ཐབས་གསར་སྣོན་བྱ་དགོས</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="34"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="34"/>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="250"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="251"/>
|
||||||
<source>Install</source>
|
<source>Install</source>
|
||||||
<translation>སྒྲིག་སྦྱོར་བྱེད་པ</translation>
|
<translation>སྒྲིག་སྦྱོར་བྱེད་པ</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -17,9 +17,8 @@
|
||||||
<context>
|
<context>
|
||||||
<name>UkuiSearch::AppMatch</name>
|
<name>UkuiSearch::AppMatch</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-match.cpp" line="208"/>
|
|
||||||
<source>Application Description:</source>
|
<source>Application Description:</source>
|
||||||
<translation>应用描述:</translation>
|
<translation type="vanished">应用描述:</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
|
@ -33,25 +32,25 @@
|
||||||
<name>UkuiSearch::AppSearchPlugin</name>
|
<name>UkuiSearch::AppSearchPlugin</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="31"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="31"/>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="247"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="248"/>
|
||||||
<source>Open</source>
|
<source>Open</source>
|
||||||
<translation>ᠨᠡᠬᠡᠬᠡᠬᠦ᠌</translation>
|
<translation>ᠨᠡᠬᠡᠬᠡᠬᠦ᠌</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="32"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="32"/>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="248"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="249"/>
|
||||||
<source>Add Shortcut to Desktop</source>
|
<source>Add Shortcut to Desktop</source>
|
||||||
<translation>ᠱᠢᠷᠡᠭᠡᠨ ᠨᠢᠭᠤᠷᠤᠨ ᠲᠦᠳᠡ ᠴᠦᠷᠬᠡᠶᠢᠨ ᠠᠷᠭᠠᠳᠤ ᠨᠡᠮᠡᠬᠦ᠌</translation>
|
<translation>ᠱᠢᠷᠡᠭᠡᠨ ᠨᠢᠭᠤᠷᠤᠨ ᠲᠦᠳᠡ ᠴᠦᠷᠬᠡᠶᠢᠨ ᠠᠷᠭᠠᠳᠤ ᠨᠡᠮᠡᠬᠦ᠌</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="33"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="33"/>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="249"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="250"/>
|
||||||
<source>Add Shortcut to Panel</source>
|
<source>Add Shortcut to Panel</source>
|
||||||
<translation>ᠡᠬᠦᠷᠭᠡᠶᠢᠨ ᠬᠡᠷᠡᠭᠰᠡᠬᠡᠶᠢᠨ ᠲᠦᠲᠡ ᠴᠦᠷᠬᠡᠳᠦ ᠨᠡᠮᠡᠬᠦ᠌</translation>
|
<translation>ᠡᠬᠦᠷᠭᠡᠶᠢᠨ ᠬᠡᠷᠡᠭᠰᠡᠬᠡᠶᠢᠨ ᠲᠦᠲᠡ ᠴᠦᠷᠬᠡᠳᠦ ᠨᠡᠮᠡᠬᠦ᠌</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="34"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="34"/>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="250"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="251"/>
|
||||||
<source>Install</source>
|
<source>Install</source>
|
||||||
<translation>ᠤᠭᠰᠠᠷᠠᠬᠤ</translation>
|
<translation>ᠤᠭᠰᠠᠷᠠᠬᠤ</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -17,9 +17,8 @@
|
||||||
<context>
|
<context>
|
||||||
<name>UkuiSearch::AppMatch</name>
|
<name>UkuiSearch::AppMatch</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-match.cpp" line="208"/>
|
|
||||||
<source>Application Description:</source>
|
<source>Application Description:</source>
|
||||||
<translation>应用描述:</translation>
|
<translation type="vanished">应用描述:</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
|
@ -33,25 +32,25 @@
|
||||||
<name>UkuiSearch::AppSearchPlugin</name>
|
<name>UkuiSearch::AppSearchPlugin</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="31"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="31"/>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="247"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="248"/>
|
||||||
<source>Open</source>
|
<source>Open</source>
|
||||||
<translation>打开</translation>
|
<translation>打开</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="32"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="32"/>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="248"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="249"/>
|
||||||
<source>Add Shortcut to Desktop</source>
|
<source>Add Shortcut to Desktop</source>
|
||||||
<translation>添加到桌面快捷方式</translation>
|
<translation>添加到桌面快捷方式</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="33"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="33"/>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="249"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="250"/>
|
||||||
<source>Add Shortcut to Panel</source>
|
<source>Add Shortcut to Panel</source>
|
||||||
<translation>添加到任务栏快捷方式</translation>
|
<translation>添加到任务栏快捷方式</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="34"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="34"/>
|
||||||
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="250"/>
|
<location filename="../../libsearch/appsearch/app-search-plugin.cpp" line="251"/>
|
||||||
<source>Install</source>
|
<source>Install</source>
|
||||||
<translation>安装</translation>
|
<translation>安装</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
Loading…
Reference in New Issue