From 8d4126ee6b6af1c9c9382e6e35d88df578f44c9c Mon Sep 17 00:00:00 2001 From: iaom Date: Wed, 1 Nov 2023 10:56:16 +0800 Subject: [PATCH] =?UTF-8?q?feat(libsearch):=E6=90=9C=E7=B4=A2=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E5=A2=9E=E5=8A=A0=E6=95=B0=E6=8D=AE=E5=9F=8B=E7=82=B9?= =?UTF-8?q?=E6=94=B6=E9=9B=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libsearch/CMakeLists.txt | 9 +- libsearch/appsearch/app-search-plugin.cpp | 14 +- libsearch/data-collecter.cpp | 32 +++ libsearch/data-collecter.h | 33 +++ libsearch/icon-loader.cpp | 22 +- libsearch/icon-loader.h | 22 +- libsearch/index/file-search-plugin.cpp | 103 +++++---- libsearch/index/file-search-plugin.h | 6 +- libsearch/notesearch/note-search-plugin.cpp | 2 + .../pluginmanage/search-plugin-manager.cpp | 4 +- .../settingsearch/settings-search-plugin.cpp | 2 + libsearch/websearch/web-search-plugin.cpp | 2 + .../libukui-search/libukui-search_bo_CN.ts | 195 +++++++++++------- .../libukui-search/libukui-search_de_DE.ts | 195 +++++++++++------- .../libukui-search/libukui-search_es_ES.ts | 195 +++++++++++------- .../libukui-search/libukui-search_fr_FR.ts | 195 +++++++++++------- .../libukui-search/libukui-search_kk_KZ.ts | 195 +++++++++++------- .../libukui-search/libukui-search_ky.ts | 195 +++++++++++------- .../libukui-search/libukui-search_mn.ts | 195 +++++++++++------- .../libukui-search/libukui-search_tr.ts | 159 +++++++------- .../libukui-search/libukui-search_ug.ts | 195 +++++++++++------- .../libukui-search/libukui-search_zh_CN.ts | 195 +++++++++++------- .../libukui-search/libukui-search_zh_HK.ts | 195 +++++++++++------- 23 files changed, 1465 insertions(+), 895 deletions(-) create mode 100644 libsearch/data-collecter.cpp create mode 100644 libsearch/data-collecter.h diff --git a/libsearch/CMakeLists.txt b/libsearch/CMakeLists.txt index e1398d2..372e144 100644 --- a/libsearch/CMakeLists.txt +++ b/libsearch/CMakeLists.txt @@ -26,7 +26,8 @@ set(LIBUKUI_SEARCH_PC_PKGS lept uchardet tesseract - kysdk-systime) + kysdk-systime + kysdk-datacollect) foreach(PC_LIB IN ITEMS ${LIBUKUI_SEARCH_PC_PKGS}) pkg_check_modules(${PC_LIB} REQUIRED IMPORTED_TARGET ${PC_LIB}) @@ -100,7 +101,9 @@ set(LIBUKUI_SEARCH_SRC settingsearch/settings-search-plugin.cpp settingsearch/settings-search-plugin.h websearch/web-search-plugin.cpp websearch/web-search-plugin.h icon-loader.cpp icon-loader.h - ) + data-collecter.cpp + data-collecter.h +) set(QRC_FILES resource1.qrc) file(GLOB TS_FILES ${CMAKE_CURRENT_SOURCE_DIR}/../translations/libukui-search/*.ts) set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION ${CMAKE_BINARY_DIR}/libsearch/.qm) @@ -212,4 +215,4 @@ install(FILES ${HEADERS} DESTINATION ${HEADERS_INSTALL_DIR}) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pkgconfig/ukui-search.pc DESTINATION ${PC_INSTALL_DIR}) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ukui-search-config.cmake ${CMAKE_CURRENT_BINARY_DIR}/ukui-search-config-version.cmake - DESTINATION ${CMAKE_CONFIG_INSTALL_DIR}) \ No newline at end of file + DESTINATION ${CMAKE_CONFIG_INSTALL_DIR}) diff --git a/libsearch/appsearch/app-search-plugin.cpp b/libsearch/appsearch/app-search-plugin.cpp index 88920ee..f2e7150 100644 --- a/libsearch/appsearch/app-search-plugin.cpp +++ b/libsearch/appsearch/app-search-plugin.cpp @@ -23,6 +23,7 @@ #include #include #include "file-utils.h" +#include "data-collecter.h" using namespace UkuiSearch; AppSearchPlugin::AppSearchPlugin(QObject *parent) : QThread(parent), m_appSearchTask(new UkuiSearchTask(this)) @@ -279,6 +280,7 @@ void AppSearchPlugin::initDetailPage() bool AppSearchPlugin::launch(const QString &path) { + DataCollecter::collectLaunchEvent(QStringLiteral("Applications Search"), QStringLiteral("launch")); if(QFileInfo(path).fileName() == "kylin-screenshot.desktop") { invokeActions(InvokableAction::HideUI); } @@ -313,7 +315,9 @@ bool AppSearchPlugin::launch(const QString &path) return res; } -bool AppSearchPlugin::addPanelShortcut(const QString& path) { +bool AppSearchPlugin::addPanelShortcut(const QString& path) +{ + DataCollecter::collectLaunchEvent(QStringLiteral("Applications Search"), QStringLiteral("addPanelShortcut")); QDBusInterface iface("com.ukui.panel.desktop", "/", "com.ukui.panel.desktop", @@ -331,7 +335,9 @@ bool AppSearchPlugin::addPanelShortcut(const QString& path) { return false; } -bool AppSearchPlugin::addDesktopShortcut(const QString& path) { +bool AppSearchPlugin::addDesktopShortcut(const QString& path) +{ + DataCollecter::collectLaunchEvent(QStringLiteral("Applications Search"), QStringLiteral("addDesktopShortcut")); QString dirpath = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation); QFileInfo fileInfo(path); QString desktopfn = fileInfo.fileName(); @@ -345,7 +351,9 @@ bool AppSearchPlugin::addDesktopShortcut(const QString& path) { return false; } -bool AppSearchPlugin::installAppAction(const QString & name) { +bool AppSearchPlugin::installAppAction(const QString & name) +{ + DataCollecter::collectLaunchEvent(QStringLiteral("Applications Search"), QStringLiteral("installAppAction")); QDBusInterface * interface = new QDBusInterface("com.kylin.softwarecenter", "/com/kylin/softwarecenter", "com.kylin.utiliface", diff --git a/libsearch/data-collecter.cpp b/libsearch/data-collecter.cpp new file mode 100644 index 0000000..8c536e4 --- /dev/null +++ b/libsearch/data-collecter.cpp @@ -0,0 +1,32 @@ +/* + * 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 . + * + * Authors: iaom + * + */ + +#include "data-collecter.h" + +void DataCollecter::collectLaunchEvent(const QString &plugin, const QString &button) +{ + KCustomProperty property[2]; + property[0].key = plugin.toLocal8Bit().data(); + property[0].value = button.toLocal8Bit().data(); + KTrackData *node = kdk_dia_data_init(KEVENTSOURCE_DESKTOP,KEVENT_CLICK); + kdk_dia_append_custom_property(node,property,1); + kdk_dia_upload_default(node, QStringLiteral("launch").toLocal8Bit().data(), plugin.toLocal8Bit().data()); + kdk_dia_data_free(node); +} diff --git a/libsearch/data-collecter.h b/libsearch/data-collecter.h new file mode 100644 index 0000000..4b45573 --- /dev/null +++ b/libsearch/data-collecter.h @@ -0,0 +1,33 @@ +/* + * 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 . + * + * Authors: iaom + * + */ + +#ifndef UKUI_SEARCH_DATA_COLLECTER_H +#define UKUI_SEARCH_DATA_COLLECTER_H + +#include +#include +class DataCollecter +{ +public: + static void collectLaunchEvent(const QString &plugin, const QString &button); +}; + + +#endif //UKUI_SEARCH_DATA_COLLECTER_H diff --git a/libsearch/icon-loader.cpp b/libsearch/icon-loader.cpp index 7240224..e78aadc 100644 --- a/libsearch/icon-loader.cpp +++ b/libsearch/icon-loader.cpp @@ -1,6 +1,22 @@ -// -// Created by zpf on 2023/9/1. -// +/* + * 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 . + * + * Authors: iaom + * + */ #include "icon-loader.h" #include diff --git a/libsearch/icon-loader.h b/libsearch/icon-loader.h index d160196..f101a7a 100644 --- a/libsearch/icon-loader.h +++ b/libsearch/icon-loader.h @@ -1,6 +1,22 @@ -// -// Created by zpf on 2023/9/1. -// +/* + * 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 . + * + * Authors: iaom + * + */ #ifndef UKUI_SEARCH_ICON_LOADER_H #define UKUI_SEARCH_ICON_LOADER_H diff --git a/libsearch/index/file-search-plugin.cpp b/libsearch/index/file-search-plugin.cpp index df23f76..0544a6d 100644 --- a/libsearch/index/file-search-plugin.cpp +++ b/libsearch/index/file-search-plugin.cpp @@ -27,6 +27,7 @@ #include "search-manager.h" #include "file-indexer-config.h" #include "libkydate.h" +#include "data-collecter.h" #define OCR_ICONLABLE_WITH 352 #define OCR_ICONLABLE_HEIGHT 247 @@ -144,23 +145,26 @@ void FileSearchPlugin::openAction(int actionkey, QString key, int type) Q_UNUSED(type) //TODO add some return message here. switch (actionkey) { - case 0: - if(FileUtils::openFile(key) == -1) { - QMessageBox msgBox(m_detailPage); - msgBox.setModal(true); - msgBox.addButton(tr("OK"), QMessageBox::YesRole); - msgBox.setIcon(QMessageBox::Information); - msgBox.setText(tr("Can not get a default application for opening %1.").arg(key)); - msgBox.open(); - } - break; - case 1: - FileUtils::openFile(key, true); - break; - case 2: - FileUtils::copyPath(key); - default: - break; + case 0: + DataCollecter::collectLaunchEvent(QStringLiteral("File Search"), QStringLiteral("openFile")); + if(FileUtils::openFile(key) == -1) { + QMessageBox msgBox(m_detailPage); + msgBox.setModal(true); + msgBox.addButton(tr("OK"), QMessageBox::YesRole); + msgBox.setIcon(QMessageBox::Information); + msgBox.setText(tr("Can not get a default application for opening %1.").arg(key)); + msgBox.open(); + } + break; + case 1: + DataCollecter::collectLaunchEvent(QStringLiteral("File Search"), QStringLiteral("openFileInDir")); + FileUtils::openFile(key, true); + break; + case 2: + DataCollecter::collectLaunchEvent(QStringLiteral("File Search"), QStringLiteral("copyPath")); + FileUtils::copyPath(key); + default: + break; } } @@ -261,6 +265,7 @@ void FileSearchPlugin::initDetailPage() m_detailLyt->addStretch(); connect(m_actionLabel1, &ActionLabel::actionTriggered, [ & ](){ + DataCollecter::collectLaunchEvent(QStringLiteral("File Search"), QStringLiteral("openFile")); if(FileUtils::openFile(m_currentActionKey) == -1) { QMessageBox msgBox(m_detailPage); msgBox.setModal(true); @@ -271,9 +276,11 @@ void FileSearchPlugin::initDetailPage() } }); connect(m_actionLabel2, &ActionLabel::actionTriggered, [ & ](){ + DataCollecter::collectLaunchEvent(QStringLiteral("File Search"), QStringLiteral("openFileInDir")); FileUtils::openFile(m_currentActionKey, true); }); connect(m_actionLabel3, &ActionLabel::actionTriggered, [ & ](){ + DataCollecter::collectLaunchEvent(QStringLiteral("File Search"), QStringLiteral("copyPath")); FileUtils::copyPath(m_currentActionKey); }); } @@ -358,16 +365,19 @@ void DirSearchPlugin::openAction(int actionkey, QString key, int type) Q_UNUSED(type) //TODO add some return message here. switch (actionkey) { - case 0: - FileUtils::openFile(key); - break; - case 1: - FileUtils::openFile(key, true); - break; - case 2: - FileUtils::copyPath(key); - default: - break; + case 0: + DataCollecter::collectLaunchEvent(QStringLiteral("Dir Search"), QStringLiteral("openFile")); + FileUtils::openFile(key); + break; + case 1: + DataCollecter::collectLaunchEvent(QStringLiteral("Dir Search"), QStringLiteral("openFileInDir")); + FileUtils::openFile(key, true); + break; + case 2: + DataCollecter::collectLaunchEvent(QStringLiteral("Dir Search"), QStringLiteral("copyPath")); + FileUtils::copyPath(key); + default: + break; } } @@ -468,12 +478,15 @@ void DirSearchPlugin::initDetailPage() m_detailLyt->addStretch(); connect(m_actionLabel1, &ActionLabel::actionTriggered, [ & ](){ + DataCollecter::collectLaunchEvent(QStringLiteral("Dir Search"), QStringLiteral("openFile")); FileUtils::openFile(m_currentActionKey); }); connect(m_actionLabel2, &ActionLabel::actionTriggered, [ & ](){ + DataCollecter::collectLaunchEvent(QStringLiteral("Dir Search"), QStringLiteral("openFileInDir")); FileUtils::openFile(m_currentActionKey, true); }); connect(m_actionLabel3, &ActionLabel::actionTriggered, [ & ](){ + DataCollecter::collectLaunchEvent(QStringLiteral("Dir Search"), QStringLiteral("copyPath")); FileUtils::copyPath(m_currentActionKey); }); } @@ -488,7 +501,7 @@ void DirSearchPlugin::initDetailPage() // return nullptr; //} -FileContengSearchPlugin::FileContengSearchPlugin(QObject *parent) : QObject(parent) +FileContentSearchPlugin::FileContentSearchPlugin(QObject *parent) : QObject(parent) { SearchPluginIface::Actioninfo open { 0, tr("Open")}; SearchPluginIface::Actioninfo Openpath { 1, tr("Open path")}; @@ -500,7 +513,7 @@ FileContengSearchPlugin::FileContengSearchPlugin(QObject *parent) : QObject(pare initDetailPage(); } -FileContengSearchPlugin::~FileContengSearchPlugin() +FileContentSearchPlugin::~FileContentSearchPlugin() { m_pool.clear(); m_thumbnailPool.clear(); @@ -508,22 +521,22 @@ FileContengSearchPlugin::~FileContengSearchPlugin() m_pool.waitForDone(); } -const QString FileContengSearchPlugin::name() +const QString FileContentSearchPlugin::name() { return "File Content Search"; } -const QString FileContengSearchPlugin::description() +const QString FileContentSearchPlugin::description() { return tr("File content search."); } -QString FileContengSearchPlugin::getPluginName() +QString FileContentSearchPlugin::getPluginName() { return tr("File content search"); } -void UkuiSearch::FileContengSearchPlugin::KeywordSearch(QString keyword, DataQueue *searchResult) +void UkuiSearch::FileContentSearchPlugin::KeywordSearch(QString keyword, DataQueue *searchResult) { SearchManager::m_mutexContent.lock(); ++SearchManager::uniqueSymbolContent; @@ -537,7 +550,7 @@ void UkuiSearch::FileContengSearchPlugin::KeywordSearch(QString keyword, DataQue } } -void FileContengSearchPlugin::stopSearch() +void FileContentSearchPlugin::stopSearch() { SearchManager::m_mutexContent.lock(); ++SearchManager::uniqueSymbolContent; @@ -546,31 +559,34 @@ void FileContengSearchPlugin::stopSearch() m_pool.clear(); } -QList FileContengSearchPlugin::getActioninfo(int type) +QList FileContentSearchPlugin::getActioninfo(int type) { Q_UNUSED(type) return m_actionInfo; } -void FileContengSearchPlugin::openAction(int actionkey, QString key, int type) +void FileContentSearchPlugin::openAction(int actionkey, QString key, int type) { Q_UNUSED(type) //TODO add some return message here. switch (actionkey) { case 0: + DataCollecter::collectLaunchEvent(QStringLiteral("FileContent Search"), QStringLiteral("openFile")); FileUtils::openFile(key); break; case 1: + DataCollecter::collectLaunchEvent(QStringLiteral("FileContent Search"), QStringLiteral("openFileInDir")); FileUtils::openFile(key, true); break; case 2: + DataCollecter::collectLaunchEvent(QStringLiteral("FileContent Search"), QStringLiteral("copyPath")); FileUtils::copyPath(key); default: break; } } -QWidget *FileContengSearchPlugin::detailPage(const ResultInfo &ri) +QWidget *FileContentSearchPlugin::detailPage(const ResultInfo &ri) { //因为需要更新时间格式所以每次调用detailpage需要先设置时间文本 20230916@bjj QString modTimeText = ri.description.at(2).value; @@ -626,7 +642,7 @@ QWidget *FileContengSearchPlugin::detailPage(const ResultInfo &ri) return m_detailPage; } -QString FileContengSearchPlugin::getHtmlText(const QString &text, const QString &keyword) +QString FileContentSearchPlugin::getHtmlText(const QString &text, const QString &keyword) { QString htmlString; bool boldOpenned = false; @@ -649,7 +665,7 @@ QString FileContengSearchPlugin::getHtmlText(const QString &text, const QString return "
" + htmlString + "
"; } -QString FileContengSearchPlugin::wrapData(QLabel *p_label, const QString &text) +QString FileContentSearchPlugin::wrapData(QLabel *p_label, const QString &text) { QString wrapText = text; @@ -682,7 +698,7 @@ QString FileContengSearchPlugin::wrapData(QLabel *p_label, const QString &text) return wrapText; } -void FileContengSearchPlugin::initDetailPage() +void FileContentSearchPlugin::initDetailPage() { m_detailPage = new QWidget(); m_detailPage->setFixedWidth(360); @@ -759,22 +775,25 @@ void FileContengSearchPlugin::initDetailPage() m_detailLyt->addStretch(); connect(m_actionLabel1, &ActionLabel::actionTriggered, [ & ](){ + DataCollecter::collectLaunchEvent(QStringLiteral("FileContent Search"), QStringLiteral("openFile")); FileUtils::openFile(m_currentActionKey); }); connect(m_actionLabel2, &ActionLabel::actionTriggered, [ & ](){ + DataCollecter::collectLaunchEvent(QStringLiteral("FileContent Search"), QStringLiteral("openFileInDir")); FileUtils::openFile(m_currentActionKey, true); }); connect(m_actionLabel3, &ActionLabel::actionTriggered, [ & ](){ + DataCollecter::collectLaunchEvent(QStringLiteral("FileContent Search"), QStringLiteral("copyPath")); FileUtils::copyPath(m_currentActionKey); }); } -//bool FileContengSearchPlugin::isPreviewEnable(QString key, int type) +//bool FileContentSearchPlugin::isPreviewEnable(QString key, int type) //{ // return false; //} -//QWidget *FileContengSearchPlugin::previewPage(QString key, int type, QWidget *parent) +//QWidget *FileContentSearchPlugin::previewPage(QString key, int type, QWidget *parent) //{ // return nullptr; //} diff --git a/libsearch/index/file-search-plugin.h b/libsearch/index/file-search-plugin.h index 888ae0a..526e020 100644 --- a/libsearch/index/file-search-plugin.h +++ b/libsearch/index/file-search-plugin.h @@ -147,12 +147,12 @@ private: QThreadPool m_pool; }; -class LIBSEARCH_EXPORT FileContengSearchPlugin : public QObject, public SearchPluginIface +class LIBSEARCH_EXPORT FileContentSearchPlugin : public QObject, public SearchPluginIface { Q_OBJECT public: - FileContengSearchPlugin(QObject *parent = nullptr); - ~FileContengSearchPlugin(); + FileContentSearchPlugin(QObject *parent = nullptr); + ~FileContentSearchPlugin(); PluginType pluginType() {return PluginType::SearchPlugin;} const QString name(); const QString description(); diff --git a/libsearch/notesearch/note-search-plugin.cpp b/libsearch/notesearch/note-search-plugin.cpp index bde530d..44c8bdc 100644 --- a/libsearch/notesearch/note-search-plugin.cpp +++ b/libsearch/notesearch/note-search-plugin.cpp @@ -23,6 +23,7 @@ #include #include "file-utils.h" #include "chinese-segmentation.h" +#include "data-collecter.h" using namespace UkuiSearch; NoteSearchPlugin::NoteSearchPlugin(QObject *parent) @@ -80,6 +81,7 @@ void NoteSearchPlugin::openAction(int actionkey, QString key, int type) switch (actionkey) { case 0: { + DataCollecter::collectLaunchEvent(QStringLiteral("Note Search"), QStringLiteral("open")); bool res(false); QDBusInterface * appLaunchInterface = new QDBusInterface("com.kylin.AppManager", "/com/kylin/AppManager", diff --git a/libsearch/pluginmanage/search-plugin-manager.cpp b/libsearch/pluginmanage/search-plugin-manager.cpp index 6990591..a8eef46 100644 --- a/libsearch/pluginmanage/search-plugin-manager.cpp +++ b/libsearch/pluginmanage/search-plugin-manager.cpp @@ -47,7 +47,7 @@ SearchPluginManager::SearchPluginManager(QObject *parent) registerPlugin(new SettingsSearchPlugin); registerPlugin(new DirSearchPlugin); registerPlugin(new FileSearchPlugin); - registerPlugin(new FileContengSearchPlugin); + registerPlugin(new FileContentSearchPlugin); // registerPlugin(new MailSearchPlugin(this)); registerPlugin(new WebSearchPlugin); } @@ -177,7 +177,7 @@ bool SearchPluginManager::reRegisterPlugin(const QString &pluginName) reRegisterPlugin(new FileSearchPlugin, isExternal); res = true; } else if (pluginName == "Content") { - reRegisterPlugin(new FileContengSearchPlugin, isExternal); + reRegisterPlugin(new FileContentSearchPlugin, isExternal); res = true; } else if (pluginName == "Web") { reRegisterPlugin(new WebSearchPlugin, isExternal); diff --git a/libsearch/settingsearch/settings-search-plugin.cpp b/libsearch/settingsearch/settings-search-plugin.cpp index 70c6a9c..1fea970 100644 --- a/libsearch/settingsearch/settings-search-plugin.cpp +++ b/libsearch/settingsearch/settings-search-plugin.cpp @@ -8,6 +8,7 @@ #include #include "settings-search-plugin.h" #include "file-utils.h" +#include "data-collecter.h" using namespace UkuiSearch; static SettingsMatch * settingMatchClass = nullptr; @@ -68,6 +69,7 @@ void SettingsSearchPlugin::openAction(int actionkey, QString key, int type) switch (actionkey) { case 0: { + DataCollecter::collectLaunchEvent(QStringLiteral("Settings Search"), QStringLiteral("open")); bool res(false); QDBusInterface * appLaunchInterface = new QDBusInterface("com.kylin.AppManager", "/com/kylin/AppManager", diff --git a/libsearch/websearch/web-search-plugin.cpp b/libsearch/websearch/web-search-plugin.cpp index a2a78aa..6afe31f 100644 --- a/libsearch/websearch/web-search-plugin.cpp +++ b/libsearch/websearch/web-search-plugin.cpp @@ -5,6 +5,7 @@ #include #include #include +#include "data-collecter.h" #define UKUI_SEARCH_SCHEMAS "org.ukui.search.settings" #define BROWSERTYPE "x-scheme-handler/http" @@ -79,6 +80,7 @@ QList UkuiSearch::WebSearchPlugin::ge void UkuiSearch::WebSearchPlugin::openAction(int actionkey, QString key, int type) { + DataCollecter::collectLaunchEvent(QStringLiteral("Web Search"), QStringLiteral("open")); Q_UNUSED(actionkey) Q_UNUSED(key) Q_UNUSED(type) diff --git a/translations/libukui-search/libukui-search_bo_CN.ts b/translations/libukui-search/libukui-search_bo_CN.ts index ba8b024..26464e0 100644 --- a/translations/libukui-search/libukui-search_bo_CN.ts +++ b/translations/libukui-search/libukui-search_bo_CN.ts @@ -24,42 +24,42 @@ UkuiSearch::AppSearchPlugin - - + + Open སྒོ་ཕྱེ་བ། - - + + Add Shortcut to Desktop ཅོག་ངོས་སུ་མྱུར་འཐེབ་སྣོན་པ། - - + + Add Shortcut to Panel ལས་འགན་གྱི་སྒྲོམ་ཐོག་མགྱོགས་མྱུར་གྱི་བྱེད་ཐབས་གསར་སྣོན་བྱ་དགོས - - + + Install སྒྲིག་སྦྱོར་བྱེད་པ - + Application Description: ཉེར་སྤྱོད་གོ་རིམ་གྱི་གསལ་བཤད། - - + + Applications Search ཉེར་སྤྱོད་གོ་རིམ་འཚོལ་བཤེར། - + Application ཉེར་སྤྱོད་བྱ་རིམ། @@ -80,49 +80,49 @@ UkuiSearch::DirSearchPlugin - - + + Open སྒོ་ཕྱེ་བ། - - + + Open path ཡིག་ཆའི་ཐབས་ལམ་འབྱེད་དགོས། - + Copy Path ཡིག་ཆའི་ལམ་ཐིག་དཔར་བ། - + Dir search. ཡིག་ཆའི་དཀར་ཆག་ལ་ཞིབ་བཤེར་དང་འཚོལ་ཞིབ་ - + Dir Search ཡིག་ཆའི་དཀར་ཆག་ལ་ཞིབ་བཤེར་དང་འཚོལ་ཞིབ་ - + Directory དཀར་ཆག - + Path ལམ་ཐིག - + Last time modified ཐེངས་སྔ་མའི་བཟོ་བཅོས་དུས་ཚོད། - + Copy path ཡིག་ཆའི་ལམ་ཐིག་དཔར་བ། @@ -130,56 +130,99 @@ UkuiSearch::FileContengSearchPlugin - - Open - སྒོ་ཕྱེ་བ། + སྒོ་ཕྱེ་བ། - - Open path - ཡིག་ཆའི་ཐབས་ལམ་འབྱེད་དགོས། + ཡིག་ཆའི་ཐབས་ལམ་འབྱེད་དགོས། - Copy Path - ཡིག་ཆའི་ལམ་ཐིག་དཔར་བ། + ཡིག་ཆའི་ལམ་ཐིག་དཔར་བ། - File content search. - ཡིག་ཆའི་ནང་དོན་འཚོལ་ཞིབ་ + ཡིག་ཆའི་ནང་དོན་འཚོལ་ཞིབ་ - File content search - ཡིག་ཆའི་ནང་དོན་འཚོལ་ཞིབ་ + ཡིག་ཆའི་ནང་དོན་འཚོལ་ཞིབ་ - OCR - OCR + OCR - File - ཡིག་ཆ། + ཡིག་ཆ། - Path - ལམ་ཐིག + ལམ་ཐིག - Last time modified - ཐེངས་སྔ་མའི་བཟོ་བཅོས་དུས་ཚོད། + ཐེངས་སྔ་མའི་བཟོ་བཅོས་དུས་ཚོད། - Copy path - ཡིག་ཆའི་ལམ་ཐིག་དཔར་བ། + ཡིག་ཆའི་ལམ་ཐིག་དཔར་བ། + + + + UkuiSearch::FileContentSearchPlugin + + + + Open + སྒོ་ཕྱེ་བ། + + + + + Open path + ཡིག་ཆའི་ཐབས་ལམ་འབྱེད་དགོས། + + + + Copy Path + ཡིག་ཆའི་ལམ་ཐིག་དཔར་བ། + + + + File content search. + ཡིག་ཆའི་ནང་དོན་འཚོལ་ཞིབ་ + + + + File content search + ཡིག་ཆའི་ནང་དོན་འཚོལ་ཞིབ་ + + + + OCR + OCR + + + + File + ཡིག་ཆ། + + + + Path + ལམ་ཐིག + + + + Last time modified + ཐེངས་སྔ་མའི་བཟོ་བཅོས་དུས་ཚོད། + + + + Copy path + ཡིག་ཆའི་ལམ་ཐིག་དཔར་བ། @@ -199,35 +242,35 @@ UkuiSearch::FileSearchPlugin - - + + Open སྒོ་ཕྱེ་བ། - - + + Open path ཡིག་ཆའི་ཐབས་ལམ་འབྱེད་དགོས། - + Copy Path ཡིག་ཆའི་ལམ་ཐིག་དཔར་བ། - + File search. ཡིག་ཆ་འཚོལ་བཤེར། - + File Search ཡིག་ཆ་འཚོལ་བཤེར། - - + + OK རེད། @@ -236,28 +279,28 @@ རེད། - - + + Can not get a default application for opening %1. བཀོལ་སྤྱོད་ཀྱི་གོ་རིམ་མེད་ན་ཁ་ཕྱེ་ཆོག། - + File ཡིག་ཆ། - + Path ལམ་ཐིག - + Last time modified ཐེངས་སྔ་མའི་བཟོ་བཅོས་དུས་ཚོད། - + Copy path ཡིག་ཆའི་ལམ་ཐིག་དཔར་བ། @@ -313,7 +356,7 @@ UkuiSearch::NoteSearch - + Note Description: སྟབས་བདེ་བྱང་བུ།ནང་དོན། @@ -321,24 +364,24 @@ UkuiSearch::NoteSearchPlugin - - + + Open སྒོ་ཕྱེ་བ། - + Note Search. སྟབས་བདེ་བྱང་བུ།འཚོལ་ཞིབ་བྱེད་པ། - - + + Note Search སྟབས་བདེ་བྱང་བུ།འཚོལ་ཞིབ་བྱེད་པ། - + Application ཉེར་སྤྱོད་བྱ་རིམ། @@ -423,23 +466,23 @@ UkuiSearch::SettingsSearchPlugin - - + + Open སྒོ་ཕྱེ་བ། - + Settings search. སྒྲིག་བཀོད་འཚོལ་བཤེར་བྱ་དགོས། - + Settings Search སྒྲིག་བཀོད་འཚོལ་བཤེར་བྱ་དགོས། - + Settings སྒྲིག་བཀོད། @@ -455,14 +498,14 @@ UkuiSearch::WebSearchPlugin - - + + Start browser search དྲ་ངོས་ནས་འཚོལ་ཞིབ་བྱེད་འགོ་འཛུགས་དགོས། - - + + Web Page དྲ་ངོས། diff --git a/translations/libukui-search/libukui-search_de_DE.ts b/translations/libukui-search/libukui-search_de_DE.ts index 7c049de..b207547 100644 --- a/translations/libukui-search/libukui-search_de_DE.ts +++ b/translations/libukui-search/libukui-search_de_DE.ts @@ -31,42 +31,42 @@ UkuiSearch::AppSearchPlugin - - + + Open Offen - - + + Add Shortcut to Desktop Verknüpfung zum Desktop hinzufügen - - + + Add Shortcut to Panel Verknüpfung zum Bedienfeld hinzufügen - - + + Install Installieren - - + + Applications Search Anwendungen Suche - + Application Anwendung - + Application Description: Anwendungsbeschreibung: @@ -87,34 +87,34 @@ UkuiSearch::DirSearchPlugin - - + + Open Offen - - + + Open path Offener Pfad - + Copy Path Pfad kopieren - + Dir Search Dir-Suche - + Directory Verzeichnis - + Dir search. Dir-Suche. @@ -123,17 +123,17 @@ 目录 - + Path Pfad - + Last time modified Zuletzt geändert - + Copy path Pfad kopieren @@ -141,60 +141,103 @@ UkuiSearch::FileContengSearchPlugin - - Open - Offen + Offen - - Open path - Offener Pfad + Offener Pfad - Copy Path - Pfad kopieren + Pfad kopieren File Content Search 文本内容搜索 - File content search. - Suche nach Dateiinhalten. + Suche nach Dateiinhalten. - File content search - Suche nach Dateiinhalten + Suche nach Dateiinhalten - OCR - OCR + OCR - File - Datei + Datei - Path - Pfad + Pfad - Last time modified - Zuletzt geändert + Zuletzt geändert - Copy path - Pfad kopieren + Pfad kopieren + + + + UkuiSearch::FileContentSearchPlugin + + + + Open + + + + + + Open path + Offener Pfad + + + + Copy Path + Pfad kopieren + + + + File content search. + Suche nach Dateiinhalten. + + + + File content search + Suche nach Dateiinhalten + + + + OCR + OCR + + + + File + Datei + + + + Path + Pfad + + + + Last time modified + Zuletzt geändert + + + + Copy path + Pfad kopieren @@ -214,29 +257,29 @@ UkuiSearch::FileSearchPlugin - - + + Open Offen - - + + Open path Offener Pfad - + Copy Path Pfad kopieren - + File Search Datei-Suche - + File search. Dateisuche. @@ -245,34 +288,34 @@ Ja - - + + OK - - + + Can not get a default application for opening %1. Es kann keine Standardanwendung zum Öffnen von %1 abgerufen werden. - + File Datei - + Path Pfad - + Last time modified Zuletzt geändert - + Copy path Pfad kopieren @@ -328,7 +371,7 @@ UkuiSearch::NoteSearch - + Note Description: 便签内容: Hinweis Beschreibung: @@ -337,27 +380,27 @@ UkuiSearch::NoteSearchPlugin - - + + Open 打开 Offen - - + + Note Search 便签 Notiz Suche - + Note Search. 便签. Notiz Suche. - + Application 应用 Anwendung @@ -432,23 +475,23 @@ UkuiSearch::SettingsSearchPlugin - - + + Open Offen - + Settings Search Einstellungen Suche - + Settings search. Suche nach Einstellungen. - + Settings Einstellungen @@ -464,14 +507,14 @@ UkuiSearch::WebSearchPlugin - - + + Start browser search Browsersuche starten - - + + Web Page Webseite diff --git a/translations/libukui-search/libukui-search_es_ES.ts b/translations/libukui-search/libukui-search_es_ES.ts index b70a82f..b4daa26 100644 --- a/translations/libukui-search/libukui-search_es_ES.ts +++ b/translations/libukui-search/libukui-search_es_ES.ts @@ -31,42 +31,42 @@ UkuiSearch::AppSearchPlugin - - + + Open Abrir - - + + Add Shortcut to Desktop Agregar acceso directo al escritorio - - + + Add Shortcut to Panel Agregar acceso directo al panel - - + + Install Instalar - - + + Applications Search Búsqueda de aplicaciones - + Application Aplicación - + Application Description: Descripción de la aplicación: @@ -87,34 +87,34 @@ UkuiSearch::DirSearchPlugin - - + + Open Abrir - - + + Open path Ruta abierta - + Copy Path Ruta de copia - + Dir Search Búsqueda de directorios - + Directory Directorio - + Dir search. Búsqueda de directorios. @@ -123,17 +123,17 @@ 目录 - + Path Camino - + Last time modified Última modificación - + Copy path Ruta de copia @@ -141,60 +141,103 @@ UkuiSearch::FileContengSearchPlugin - - Open - Abrir + Abrir - - Open path - Ruta abierta + Ruta abierta - Copy Path - Ruta de copia + Ruta de copia File Content Search 文本内容搜索 - File content search. - Búsqueda de contenido de archivos. + Búsqueda de contenido de archivos. - File content search - Búsqueda de contenido de archivos + Búsqueda de contenido de archivos - OCR - OCR + OCR - File - Archivo + Archivo - Path - Camino + Camino - Last time modified - Última modificación + Última modificación - Copy path - Ruta de copia + Ruta de copia + + + + UkuiSearch::FileContentSearchPlugin + + + + Open + + + + + + Open path + Ruta abierta + + + + Copy Path + Ruta de copia + + + + File content search. + Búsqueda de contenido de archivos. + + + + File content search + Búsqueda de contenido de archivos + + + + OCR + OCR + + + + File + Archivo + + + + Path + Camino + + + + Last time modified + Última modificación + + + + Copy path + Ruta de copia @@ -214,29 +257,29 @@ UkuiSearch::FileSearchPlugin - - + + Open Abrir - - + + Open path Ruta abierta - + Copy Path Ruta de copia - + File Search Búsqueda de archivos - + File search. Búsqueda de archivos. @@ -245,34 +288,34 @@ - - + + OK - - + + Can not get a default application for opening %1. No se puede obtener una aplicación predeterminada para abrir %1. - + File Archivo - + Path Camino - + Last time modified Última modificación - + Copy path Ruta de copia @@ -328,7 +371,7 @@ UkuiSearch::NoteSearch - + Note Description: 便签内容: Descripción de la nota: @@ -337,27 +380,27 @@ UkuiSearch::NoteSearchPlugin - - + + Open 打开 Abrir - - + + Note Search 便签 Búsqueda de notas - + Note Search. 便签. Búsqueda de notas. - + Application 应用 Aplicación @@ -432,23 +475,23 @@ UkuiSearch::SettingsSearchPlugin - - + + Open Abrir - + Settings Search Búsqueda de configuración - + Settings search. Búsqueda de configuración. - + Settings Configuración @@ -464,14 +507,14 @@ UkuiSearch::WebSearchPlugin - - + + Start browser search Iniciar la búsqueda en el navegador - - + + Web Page Página web diff --git a/translations/libukui-search/libukui-search_fr_FR.ts b/translations/libukui-search/libukui-search_fr_FR.ts index 49318a4..2cbd374 100644 --- a/translations/libukui-search/libukui-search_fr_FR.ts +++ b/translations/libukui-search/libukui-search_fr_FR.ts @@ -31,42 +31,42 @@ UkuiSearch::AppSearchPlugin - - + + Open Ouvrir - - + + Add Shortcut to Desktop Ajouter un raccourci au bureau - - + + Add Shortcut to Panel Ajouter un raccourci au panneau - - + + Install Installer - - + + Applications Search Recherche d’applications - + Application Application - + Application Description: Description de l’application : @@ -87,34 +87,34 @@ UkuiSearch::DirSearchPlugin - - + + Open Ouvrir - - + + Open path Chemin ouvert - + Copy Path Copier le chemin - + Dir Search Recherche de répertoire - + Directory Répertoire - + Dir search. Recherche de répertoire. @@ -123,17 +123,17 @@ 目录 - + Path Chemin - + Last time modified Dernière modification - + Copy path Copier le chemin d’accès @@ -141,60 +141,103 @@ UkuiSearch::FileContengSearchPlugin - - Open - Ouvrir + Ouvrir - - Open path - Chemin ouvert + Chemin ouvert - Copy Path - Copier le chemin + Copier le chemin File Content Search 文本内容搜索 - File content search. - Recherche de contenu de fichier. + Recherche de contenu de fichier. - File content search - Recherche dans le contenu d’un fichier + Recherche dans le contenu d’un fichier - OCR - OCR + OCR - File - Lime + Lime - Path - Chemin + Chemin - Last time modified - Dernière modification + Dernière modification - Copy path - Copier le chemin d’accès + Copier le chemin d’accès + + + + UkuiSearch::FileContentSearchPlugin + + + + Open + + + + + + Open path + Chemin ouvert + + + + Copy Path + Copier le chemin + + + + File content search. + Recherche de contenu de fichier. + + + + File content search + Recherche dans le contenu d’un fichier + + + + OCR + OCR + + + + File + Lime + + + + Path + Chemin + + + + Last time modified + Dernière modification + + + + Copy path + Copier le chemin d’accès @@ -214,29 +257,29 @@ UkuiSearch::FileSearchPlugin - - + + Open Ouvrir - - + + Open path Chemin ouvert - + Copy Path Copier le chemin - + File Search Recherche de fichiers - + File search. Recherche de fichiers. @@ -245,34 +288,34 @@ Oui - - + + OK - - + + Can not get a default application for opening %1. Impossible d’obtenir une application par défaut pour l’ouverture de %1. - + File Lime - + Path Chemin - + Last time modified Dernière modification - + Copy path Copier le chemin d’accès @@ -328,7 +371,7 @@ UkuiSearch::NoteSearch - + Note Description: 便签内容: Description de la note : @@ -337,27 +380,27 @@ UkuiSearch::NoteSearchPlugin - - + + Open 打开 Ouvrir - - + + Note Search 便签 Recherche de notes - + Note Search. 便签. Recherche de notes. - + Application 应用 Application @@ -432,23 +475,23 @@ UkuiSearch::SettingsSearchPlugin - - + + Open Ouvrir - + Settings Search Recherche de paramètres - + Settings search. Recherche de paramètres. - + Settings Paramètres @@ -464,14 +507,14 @@ UkuiSearch::WebSearchPlugin - - + + Start browser search Lancer la recherche dans le navigateur - - + + Web Page Page Web diff --git a/translations/libukui-search/libukui-search_kk_KZ.ts b/translations/libukui-search/libukui-search_kk_KZ.ts index 8e5c39d..95e1956 100644 --- a/translations/libukui-search/libukui-search_kk_KZ.ts +++ b/translations/libukui-search/libukui-search_kk_KZ.ts @@ -31,42 +31,42 @@ UkuiSearch::AppSearchPlugin - - + + Open Ашу - - + + Add Shortcut to Desktop Жұмыс үстеліне пернелер тіркесімін қосу - - + + Add Shortcut to Panel Панельге пернелер тіркесімін қосу - - + + Install Орнату - - + + Applications Search Бағдарламаларды іздеу - + Application Қолданба - + Application Description: 应用描述: @@ -87,34 +87,34 @@ UkuiSearch::DirSearchPlugin - - + + Open Ашу - - + + Open path Жолды ашу - + Copy Path Жолды көшіру - + Dir Search Dir іздеу - + Directory Каталог - + Dir search. Dir іздеу. @@ -123,17 +123,17 @@ 目录 - + Path Жол - + Last time modified Соңғы рет өзгертілген - + Copy path Көшіру жолы @@ -141,60 +141,103 @@ UkuiSearch::FileContengSearchPlugin - - Open - Ашу + Ашу - - Open path - Жолды ашу + Жолды ашу - Copy Path - Жолды көшіру + Жолды көшіру File Content Search 文本内容搜索 - File content search. - Файл мазмұнын іздеу. + Файл мазмұнын іздеу. - File content search - Файл мазмұнын іздеу + Файл мазмұнын іздеу - OCR - OCR + OCR - File - Файл + Файл - Path - Жол + Жол - Last time modified - Соңғы рет өзгертілген + Соңғы рет өзгертілген - Copy path - Көшіру жолы + Көшіру жолы + + + + UkuiSearch::FileContentSearchPlugin + + + + Open + Ашу + + + + + Open path + Жолды ашу + + + + Copy Path + Жолды көшіру + + + + File content search. + Файл мазмұнын іздеу. + + + + File content search + Файл мазмұнын іздеу + + + + OCR + OCR + + + + File + Файл + + + + Path + Жол + + + + Last time modified + Соңғы рет өзгертілген + + + + Copy path + Көшіру жолы @@ -214,29 +257,29 @@ UkuiSearch::FileSearchPlugin - - + + Open Ашу - - + + Open path Жолды ашу - + Copy Path Жолды көшіру - + File Search Файлды іздеу - + File search. Файлды іздеу. @@ -245,34 +288,34 @@ Иә - - + + OK - - + + Can not get a default application for opening %1. % 1 дегенді ашу үшін әдепкі қолданба алынбады. - + File Файл - + Path Жол - + Last time modified Соңғы рет өзгертілген - + Copy path Көшіру жолы @@ -328,7 +371,7 @@ UkuiSearch::NoteSearch - + Note Description: 便签内容: Ескертпенің сипаттамасы: @@ -337,27 +380,27 @@ UkuiSearch::NoteSearchPlugin - - + + Open 打开 Ашу - - + + Note Search 便签 Жазбаны іздеу - + Note Search. 便签. Ескертуді іздеу. - + Application 应用 Қолданба @@ -443,23 +486,23 @@ UkuiSearch::SettingsSearchPlugin - - + + Open Ашу - + Settings Search Параметрлерді іздеу - + Settings search. Параметрлерді іздеу. - + Settings Параметрлер @@ -482,14 +525,14 @@ UkuiSearch::WebSearchPlugin - - + + Start browser search Браузерді іздеуді бастау - - + + Web Page Веб-бет diff --git a/translations/libukui-search/libukui-search_ky.ts b/translations/libukui-search/libukui-search_ky.ts index 15c300b..368bc88 100644 --- a/translations/libukui-search/libukui-search_ky.ts +++ b/translations/libukui-search/libukui-search_ky.ts @@ -31,42 +31,42 @@ UkuiSearch::AppSearchPlugin - - + + Open Ачуу - - + + Add Shortcut to Desktop Иш столуна кыска жолду кошуу - - + + Add Shortcut to Panel Панелге кыска жолду кошуу - - + + Install Орнотуу - - + + Applications Search Иштемелерди издөө - + Application Тиркеме - + Application Description: 应用描述: @@ -87,34 +87,34 @@ UkuiSearch::DirSearchPlugin - - + + Open Ачуу - - + + Open path Ачык жол - + Copy Path Көчүрүү жолу - + Dir Search Кир издөө - + Directory Каталог - + Dir search. Кир издөө. @@ -123,17 +123,17 @@ 目录 - + Path Жол - + Last time modified Акыркы жолу өзгөртүлүп берилди - + Copy path Көчүрмө жолу @@ -141,60 +141,103 @@ UkuiSearch::FileContengSearchPlugin - - Open - Ачуу + Ачуу - - Open path - Ачык жол + Ачык жол - Copy Path - Көчүрүү жолу + Көчүрүү жолу File Content Search 文本内容搜索 - File content search. - Файлдын мазмунун издөө. + Файлдын мазмунун издөө. - File content search - Файлдын мазмунун издөө + Файлдын мазмунун издөө - OCR - ОКР + ОКР - File - Файл + Файл - Path - Жол + Жол - Last time modified - Акыркы жолу өзгөртүлүп берилди + Акыркы жолу өзгөртүлүп берилди - Copy path - Көчүрмө жолу + Көчүрмө жолу + + + + UkuiSearch::FileContentSearchPlugin + + + + Open + Ачуу + + + + + Open path + Ачык жол + + + + Copy Path + Көчүрүү жолу + + + + File content search. + Файлдын мазмунун издөө. + + + + File content search + Файлдын мазмунун издөө + + + + OCR + ОКР + + + + File + Файл + + + + Path + Жол + + + + Last time modified + Акыркы жолу өзгөртүлүп берилди + + + + Copy path + Көчүрмө жолу @@ -214,29 +257,29 @@ UkuiSearch::FileSearchPlugin - - + + Open Ачуу - - + + Open path Ачык жол - + Copy Path Көчүрүү жолу - + File Search Файл издөө - + File search. Файлды издөө. @@ -245,34 +288,34 @@ Ооба - - + + OK - - + + Can not get a default application for opening %1. %1 ачуу үчүн дефолт өтүнмө ала албайт. - + File Файл - + Path Жол - + Last time modified Акыркы жолу өзгөртүлүп берилди - + Copy path Көчүрмө жолу @@ -328,7 +371,7 @@ UkuiSearch::NoteSearch - + Note Description: 便签内容: Эскертүү Сүрөттөлүшү: @@ -337,27 +380,27 @@ UkuiSearch::NoteSearchPlugin - - + + Open 打开 Ачуу - - + + Note Search 便签 Эскертүү Издөө - + Note Search. 便签. Эскертүү Издөө. - + Application 应用 Тиркеме @@ -443,23 +486,23 @@ UkuiSearch::SettingsSearchPlugin - - + + Open Ачуу - + Settings Search Издөө параметрлери - + Settings search. Издөө параметрлери. - + Settings Параметрлер @@ -482,14 +525,14 @@ UkuiSearch::WebSearchPlugin - - + + Start browser search Браузер издөө баштоо - - + + Web Page Веб-барак diff --git a/translations/libukui-search/libukui-search_mn.ts b/translations/libukui-search/libukui-search_mn.ts index 6a26068..e8cce13 100644 --- a/translations/libukui-search/libukui-search_mn.ts +++ b/translations/libukui-search/libukui-search_mn.ts @@ -31,42 +31,42 @@ UkuiSearch::AppSearchPlugin - - + + Open ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ - - + + Add Shortcut to Desktop ᠱᠢᠷᠡᠭᠡᠨ ᠨᠢᠭᠤᠷ᠎ᠤᠨ ᠲᠦᠳᠡ ᠴᠦᠷᠬᠡ᠎ᠶᠢᠨ ᠠᠷᠭ᠎ᠠ᠎ᠳᠤ ᠨᠡᠮᠡᠬᠦ᠌ - - + + Add Shortcut to Panel ᠡᠬᠦᠷᠭᠡ᠎ᠶᠢᠨ ᠬᠡᠷᠡᠭᠰᠡᠬᠡ᠎ᠶᠢᠨ ᠲᠦᠲᠡ ᠴᠦᠷᠬᠡ᠎ᠳᠦ ᠨᠡᠮᠡᠬᠦ᠌ - - + + Install ᠤᠭᠰᠠᠷᠠᠬᠤ - - + + Applications Search ᠬᠡᠷᠡᠭᠯᠡᠯᠳᠡ - + Application ᠬᠡᠷᠡᠭᠯᠡᠯᠳᠡ - + Application Description: 应用描述: @@ -87,34 +87,34 @@ UkuiSearch::DirSearchPlugin - - + + Open ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ - - + + Open path ᠹᠠᠢᠯ᠎ᠤᠨ ᠪᠠᠢᠭ᠎ᠠ ᠵᠠᠮ᠎ᠢ ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ - + Copy Path ᠵᠠᠮ᠎ᠢ ᠬᠠᠭᠤᠯᠪᠤᠷᠢᠯᠠᠬᠤ - + Dir Search ᠭᠠᠷᠴᠠᠭ - + Directory ᠭᠠᠷᠴᠠᠭ - + Dir search. ᠭᠠᠷᠴᠠᠭ᠎ᠤᠨ ᠬᠠᠢᠯᠲᠠ @@ -123,17 +123,17 @@ 目录 - + Path ᠵᠠᠮ - + Last time modified ᠳᠡᠭᠡᠷ᠎ᠡ ᠤᠳᠠᠭ᠎ᠠ᠎ᠶᠢᠨ ᠵᠠᠰᠠᠭᠰᠠᠨ ᠴᠠᠭ - + Copy path ᠵᠠᠮ᠎ᠢ ᠬᠠᠭᠤᠯᠪᠤᠷᠢᠯᠠᠬᠤ @@ -141,60 +141,103 @@ UkuiSearch::FileContengSearchPlugin - - Open - ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ + ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ - - Open path - ᠹᠠᠢᠯ᠎ᠤᠨ ᠪᠠᠢᠭ᠎ᠠ ᠵᠠᠮ᠎ᠢ ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ + ᠹᠠᠢᠯ᠎ᠤᠨ ᠪᠠᠢᠭ᠎ᠠ ᠵᠠᠮ᠎ᠢ ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ - Copy Path - ᠹᠠᠢᠯ᠎ᠤᠨ ᠵᠠᠮ᠎ᠢ ᠬᠠᠭᠤᠯᠪᠤᠷᠢᠯᠠᠬᠤ + ᠹᠠᠢᠯ᠎ᠤᠨ ᠵᠠᠮ᠎ᠢ ᠬᠠᠭᠤᠯᠪᠤᠷᠢᠯᠠᠬᠤ File Content Search 文本内容搜索 - File content search. - ᠲᠸᠺᠰᠲ᠎ᠦᠨ ᠠᠭᠤᠯᠭ᠎ᠠ᠎ᠶᠢ ᠬᠠᠢᠬᠤ᠃ + ᠲᠸᠺᠰᠲ᠎ᠦᠨ ᠠᠭᠤᠯᠭ᠎ᠠ᠎ᠶᠢ ᠬᠠᠢᠬᠤ᠃ - File content search - ᠲᠸᠺᠰᠲ᠎ᠦᠨ ᠠᠭᠤᠯᠭ᠎ᠠ + ᠲᠸᠺᠰᠲ᠎ᠦᠨ ᠠᠭᠤᠯᠭ᠎ᠠ - OCR - OCR + OCR - File - ᠹᠠᠢᠯ + ᠹᠠᠢᠯ - Path - ᠵᠠᠮ + ᠵᠠᠮ - Last time modified - ᠳᠡᠭᠡᠷ᠎ᠡ ᠤᠳᠠᠭ᠎ᠠ᠎ᠶᠢᠨ ᠵᠠᠰᠠᠭᠰᠠᠨ ᠴᠠᠭ + ᠳᠡᠭᠡᠷ᠎ᠡ ᠤᠳᠠᠭ᠎ᠠ᠎ᠶᠢᠨ ᠵᠠᠰᠠᠭᠰᠠᠨ ᠴᠠᠭ - Copy path - ᠹᠠᠢᠯ᠎ᠤᠨ ᠵᠠᠮ᠎ᠢ ᠬᠠᠭᠤᠯᠪᠤᠷᠢᠯᠠᠬᠤ + ᠹᠠᠢᠯ᠎ᠤᠨ ᠵᠠᠮ᠎ᠢ ᠬᠠᠭᠤᠯᠪᠤᠷᠢᠯᠠᠬᠤ + + + + UkuiSearch::FileContentSearchPlugin + + + + Open + ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ + + + + + Open path + ᠹᠠᠢᠯ᠎ᠤᠨ ᠪᠠᠢᠭ᠎ᠠ ᠵᠠᠮ᠎ᠢ ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ + + + + Copy Path + + + + + File content search. + ᠲᠸᠺᠰᠲ᠎ᠦᠨ ᠠᠭᠤᠯᠭ᠎ᠠ᠎ᠶᠢ ᠬᠠᠢᠬᠤ᠃ + + + + File content search + ᠲᠸᠺᠰᠲ᠎ᠦᠨ ᠠᠭᠤᠯᠭ᠎ᠠ + + + + OCR + OCR + + + + File + ᠹᠠᠢᠯ + + + + Path + ᠵᠠᠮ + + + + Last time modified + ᠳᠡᠭᠡᠷ᠎ᠡ ᠤᠳᠠᠭ᠎ᠠ᠎ᠶᠢᠨ ᠵᠠᠰᠠᠭᠰᠠᠨ ᠴᠠᠭ + + + + Copy path + @@ -214,29 +257,29 @@ UkuiSearch::FileSearchPlugin - - + + Open ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ - - + + Open path ᠹᠠᠢᠯ᠎ᠤᠨ ᠪᠠᠢᠭ᠎ᠠ ᠵᠠᠮ᠎ᠢ ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ - + Copy Path ᠵᠠᠮ᠎ᠢ ᠬᠠᠭᠤᠯᠪᠤᠷᠢᠯᠠᠬᠤ - + File Search ᠹᠠᠢᠯ - + File search. ᠹᠠᠢᠯ᠎ᠤᠨ ᠬᠠᠢᠯᠲᠠ @@ -245,34 +288,34 @@ Yes - - + + OK ᠪᠣᠯᠣᠨ᠎ᠠ - - + + Can not get a default application for opening %1. ᠠᠶᠠᠳᠠᠯ ᠨᠡᠬᠡᠬᠡᠬᠦ᠌%1᠎ᠶᠢᠨ ᠬᠡᠷᠡᠭᠯᠡᠯᠳᠡ᠎ᠶᠢ ᠡᠷᠢᠵᠤ ᠤᠯᠤᠭᠰᠠᠨ ᠦᠬᠡᠢ ᠃ - + File ᠹᠠᠢᠯ - + Path ᠵᠠᠮ - + Last time modified ᠳᠡᠭᠡᠷ᠎ᠡ ᠤᠳᠠᠭ᠎ᠠ᠎ᠶᠢᠨ ᠵᠠᠰᠠᠭᠰᠠᠨ ᠴᠠᠭ - + Copy path ᠵᠠᠮ᠎ᠢ ᠬᠠᠭᠤᠯᠪᠤᠷᠢᠯᠠᠬᠤ @@ -328,7 +371,7 @@ UkuiSearch::NoteSearch - + Note Description: 便签内容: ᠳᠦᠬᠦᠮ ᠱᠤᠱᠢᠭ᠎ᠠ᠎ᠶᠢᠨ ᠠᠭᠤᠯᠭ᠎ᠠ ᠄ @@ -337,27 +380,27 @@ UkuiSearch::NoteSearchPlugin - - + + Open 打开 ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ - - + + Note Search 便签 ᠳᠦᠬᠦᠮ ᠱᠤᠱᠢᠭ᠎ᠠ - + Note Search. 便签. ᠳᠦᠬᠦᠮ ᠱᠤᠱᠢᠭ᠎ᠠ ᠄ - + Application 应用 ᠬᠡᠷᠡᠭᠯᠡᠯᠳᠡ @@ -443,23 +486,23 @@ UkuiSearch::SettingsSearchPlugin - - + + Open ᠨᠡᠬᠡᠬᠡᠬᠦ᠌ - + Settings Search ᠳᠤᠬᠢᠷᠠᠭᠤᠯᠤᠯ ᠬᠡᠱᠢᠬᠦᠨ - + Settings search. ᠳᠤᠬᠢᠷᠠᠭᠤᠯᠤᠯ ᠬᠡᠱᠢᠬᠦᠨ᠎ᠦ ᠬᠠᠢᠯᠲᠠ ᠃ - + Settings ᠳᠤᠬᠢᠷᠠᠭᠤᠯᠬᠤ ᠵᠦᠢᠯ @@ -482,14 +525,14 @@ UkuiSearch::WebSearchPlugin - - + + Start browser search ᠬᠠᠢᠭᠤᠷ᠎ᠤᠨ ᠬᠠᠢᠯᠲᠠ᠎ᠶᠢ ᠡᠬᠢᠯᠡᠬᠦᠯᠬᠦ᠌ - - + + Web Page ᠰᠦᠯᠵᠢᠶᠡᠨ ᠨᠢᠭᠤᠷ diff --git a/translations/libukui-search/libukui-search_tr.ts b/translations/libukui-search/libukui-search_tr.ts index d9f86d4..0f32e4e 100644 --- a/translations/libukui-search/libukui-search_tr.ts +++ b/translations/libukui-search/libukui-search_tr.ts @@ -31,42 +31,42 @@ UkuiSearch::AppSearchPlugin - - + + Open 打开 - - - - Add Shortcut to Desktop - - - Add Shortcut to Panel + Add Shortcut to Desktop + Add Shortcut to Panel + + + + + Install - - + + Applications Search - + Application - + Application Description: 应用描述: @@ -87,34 +87,34 @@ UkuiSearch::DirSearchPlugin - - + + Open 打开 - - + + Open path - + Copy Path - + Dir Search - + Directory - + Dir search. @@ -123,17 +123,17 @@ 目录 - + Path - + Last time modified - + Copy path @@ -141,58 +141,65 @@ UkuiSearch::FileContengSearchPlugin - - Open - 打开 - - - - - Open path - - - - - Copy Path - + 打开 File Content Search 文本内容搜索 + + + UkuiSearch::FileContentSearchPlugin - + + + Open + 打开 + + + + + Open path + + + + + Copy Path + + + + File content search. - + File content search - + OCR - + File - + Path - + Last time modified - + Copy path @@ -214,61 +221,61 @@ UkuiSearch::FileSearchPlugin - - + + Open 打开 - - + + Open path - + Copy Path - + File Search - + File search. - - + + OK - - + + Can not get a default application for opening %1. - + File - + Path - + Last time modified - + Copy path @@ -324,7 +331,7 @@ UkuiSearch::NoteSearch - + Note Description: 便签内容: @@ -333,27 +340,27 @@ UkuiSearch::NoteSearchPlugin - - + + Open 打开 打开 - - + + Note Search 便签 - + Note Search. 便签. - + Application 应用 @@ -428,23 +435,23 @@ UkuiSearch::SettingsSearchPlugin - - + + Open 打开 - + Settings Search - + Settings search. - + Settings @@ -460,14 +467,14 @@ UkuiSearch::WebSearchPlugin - - + + Start browser search - - + + Web Page diff --git a/translations/libukui-search/libukui-search_ug.ts b/translations/libukui-search/libukui-search_ug.ts index 6510cb5..63996a2 100644 --- a/translations/libukui-search/libukui-search_ug.ts +++ b/translations/libukui-search/libukui-search_ug.ts @@ -31,42 +31,42 @@ UkuiSearch::AppSearchPlugin - - + + Open ئېچىش - - + + Add Shortcut to Desktop ئۈستەلئۈستىگە قىسقارتىش قوشۇش - - + + Add Shortcut to Panel Panelگە قىسقارتىش قوشۇش - - + + Install قاچىلاش - - + + Applications Search پروگراممىلارنى ئىزدەش - + Application ئىلتىماس قىلىش - + Application Description: 应用描述: @@ -87,34 +87,34 @@ UkuiSearch::DirSearchPlugin - - + + Open ئېچىش - - + + Open path ئوچۇق يول - + Copy Path كۆچۈرۈش يولى - + Dir Search Dir Search - + Directory مۇندەرىجىسى - + Dir search. دۇرا ئىزدەش @@ -123,17 +123,17 @@ 目录 - + Path يول - + Last time modified ئاخىرقى قېتىم ئۆزگەرتىلگەن - + Copy path كۆچۈرۈش يولى @@ -141,60 +141,103 @@ UkuiSearch::FileContengSearchPlugin - - Open - ئېچىش + ئېچىش - - Open path - ئوچۇق يول + ئوچۇق يول - Copy Path - كۆچۈرۈش يولى + كۆچۈرۈش يولى File Content Search 文本内容搜索 - File content search. - ھۆججەت مەزمۇنىنى ئىزدەش. + ھۆججەت مەزمۇنىنى ئىزدەش. - File content search - ھۆججەت مەزمۇنىنى ئىزدەش + ھۆججەت مەزمۇنىنى ئىزدەش - OCR - OCR + OCR - File - ھۆججەت + ھۆججەت - Path - يول + يول - Last time modified - ئاخىرقى قېتىم ئۆزگەرتىلگەن + ئاخىرقى قېتىم ئۆزگەرتىلگەن - Copy path - كۆچۈرۈش يولى + كۆچۈرۈش يولى + + + + UkuiSearch::FileContentSearchPlugin + + + + Open + ئېچىش + + + + + Open path + ئوچۇق يول + + + + Copy Path + كۆچۈرۈش يولى + + + + File content search. + ھۆججەت مەزمۇنىنى ئىزدەش. + + + + File content search + ھۆججەت مەزمۇنىنى ئىزدەش + + + + OCR + OCR + + + + File + ھۆججەت + + + + Path + يول + + + + Last time modified + ئاخىرقى قېتىم ئۆزگەرتىلگەن + + + + Copy path + كۆچۈرۈش يولى @@ -214,29 +257,29 @@ UkuiSearch::FileSearchPlugin - - + + Open ئېچىش - - + + Open path ئوچۇق يول - + Copy Path كۆچۈرۈش يولى - + File Search ھۆججەت ئىزدەش - + File search. ھۆججەت ئىزدەش. @@ -245,34 +288,34 @@ شۇنداق - - + + OK - - + + Can not get a default application for opening %1. ٪1 نى ئېچىشقا كۆڭۈلدىكىدەك قوللىنىشقا ئېرىشەلمىدى. - + File ھۆججەت - + Path يول - + Last time modified ئاخىرقى قېتىم ئۆزگەرتىلگەن - + Copy path كۆچۈرۈش يولى @@ -328,7 +371,7 @@ UkuiSearch::NoteSearch - + Note Description: 便签内容: ئەسكەرتىش: @@ -337,27 +380,27 @@ UkuiSearch::NoteSearchPlugin - - + + Open 打开 ئېچىش - - + + Note Search 便签 ئەسكەرتىش ئىزدەش - + Note Search. 便签. ئەسكەرتىش ئىزدە. - + Application 应用 ئىلتىماس قىلىش @@ -443,23 +486,23 @@ UkuiSearch::SettingsSearchPlugin - - + + Open ئېچىش - + Settings Search تەڭشەك ئىزدەش - + Settings search. تەڭشەك ئىزدەش. - + Settings تەڭشەكلەر @@ -482,14 +525,14 @@ UkuiSearch::WebSearchPlugin - - + + Start browser search تور كۆرگۈچ ئىزدەشنى باشلاش - - + + Web Page تور بەت diff --git a/translations/libukui-search/libukui-search_zh_CN.ts b/translations/libukui-search/libukui-search_zh_CN.ts index 8db13e1..6e1c3ff 100644 --- a/translations/libukui-search/libukui-search_zh_CN.ts +++ b/translations/libukui-search/libukui-search_zh_CN.ts @@ -31,42 +31,42 @@ UkuiSearch::AppSearchPlugin - - + + Open 打开 - - + + Add Shortcut to Desktop 添加到桌面快捷方式 - - + + Add Shortcut to Panel 添加到任务栏快捷方式 - - + + Install 安装 - - + + Applications Search 应用 - + Application 应用 - + Application Description: 应用描述: @@ -87,34 +87,34 @@ UkuiSearch::DirSearchPlugin - - + + Open 打开 - - + + Open path 打开文件所在路径 - + Copy Path 复制文件路径 - + Dir Search 目录 - + Directory 目录 - + Dir search. 目录搜索。 @@ -123,17 +123,17 @@ 目录 - + Path 路径 - + Last time modified 上次修改时间 - + Copy path 复制路径 @@ -141,60 +141,103 @@ UkuiSearch::FileContengSearchPlugin - - Open - 打开 + 打开 - - Open path - 打开文件所在路径 + 打开文件所在路径 - Copy Path - 复制文件路径 + 复制文件路径 File Content Search 文本内容搜索 - File content search. - 文本内容搜索。 + 文本内容搜索。 - File content search - 文本内容 + 文本内容 - OCR - OCR + OCR - File - 文件 + 文件 - Path - 路径 + 路径 - Last time modified - 上次修改时间 + 上次修改时间 - Copy path - 复制路径 + 复制路径 + + + + UkuiSearch::FileContentSearchPlugin + + + + Open + 打开 + + + + + Open path + 打开文件所在路径 + + + + Copy Path + 复制文件路径 + + + + File content search. + 文本内容搜索。 + + + + File content search + 文本内容 + + + + OCR + OCR + + + + File + 文件 + + + + Path + 路径 + + + + Last time modified + 上次修改时间 + + + + Copy path + 复制路径 @@ -214,29 +257,29 @@ UkuiSearch::FileSearchPlugin - - + + Open 打开 - - + + Open path 打开文件所在路径 - + Copy Path 复制文件路径 - + File Search 文件 - + File search. 文件搜索。 @@ -245,34 +288,34 @@ 确定 - - + + OK 确定 - - + + Can not get a default application for opening %1. 没有找到默认打开%1的应用。 - + File 文件 - + Path 路径 - + Last time modified 上次修改时间 - + Copy path 复制路径 @@ -328,7 +371,7 @@ UkuiSearch::NoteSearch - + Note Description: 便签内容: 便签内容: @@ -337,27 +380,27 @@ UkuiSearch::NoteSearchPlugin - - + + Open 打开 打开 - - + + Note Search 便签 便签 - + Note Search. 便签. 便签. - + Application 应用 应用 @@ -432,23 +475,23 @@ UkuiSearch::SettingsSearchPlugin - - + + Open 打开 - + Settings Search 配置项 - + Settings search. 配置项搜索。 - + Settings 设置项 @@ -464,14 +507,14 @@ UkuiSearch::WebSearchPlugin - - + + Start browser search 启动浏览器搜索 - - + + Web Page 网页 diff --git a/translations/libukui-search/libukui-search_zh_HK.ts b/translations/libukui-search/libukui-search_zh_HK.ts index b29875b..708decf 100644 --- a/translations/libukui-search/libukui-search_zh_HK.ts +++ b/translations/libukui-search/libukui-search_zh_HK.ts @@ -17,42 +17,42 @@ UkuiSearch::AppSearchPlugin - - + + Open 打開 - - + + Add Shortcut to Desktop 添加到桌面快捷方式 - - + + Add Shortcut to Panel 添加到任務列快捷方式 - - + + Install 安裝 - - + + Applications Search 應用搜索 - + Application 應用 - + Application Description: 應用描述: @@ -73,49 +73,49 @@ UkuiSearch::DirSearchPlugin - - + + Open 打開 - - + + Open path 打開檔所在路徑 - + Copy Path 複製檔案路徑 - + Dir search. 目錄搜索。 - + Dir Search 目錄搜索 - + Directory 目錄 - + Path 路徑 - + Last time modified 上次修改時間 - + Copy path 複製路徑 @@ -123,56 +123,99 @@ UkuiSearch::FileContengSearchPlugin - - Open - 打開 + 打開 - - Open path - 打開檔所在路徑 + 打開檔所在路徑 - Copy Path - 複製檔案路徑 + 複製檔案路徑 - File content search. - 文字內容搜索. + 文字內容搜索. - File content search - 文字內容搜索 + 文字內容搜索 - OCR - 光學字元辨識 + 光學字元辨識 - File - + - Path - 路徑 + 路徑 - Last time modified - 上次修改時間 + 上次修改時間 - Copy path - 複製路徑 + 複製路徑 + + + + UkuiSearch::FileContentSearchPlugin + + + + Open + 打開 + + + + + Open path + 打開檔所在路徑 + + + + Copy Path + 複製檔案路徑 + + + + File content search. + 文字內容搜索. + + + + File content search + 文字內容搜索 + + + + OCR + 光學字元辨識 + + + + File + + + + + Path + 路徑 + + + + Last time modified + 上次修改時間 + + + + Copy path + 複製路徑 @@ -192,61 +235,61 @@ UkuiSearch::FileSearchPlugin - - + + Open 打開 - - + + Open path 打開檔所在路徑 - + Copy Path 複製檔案路徑 - + File search. 檔搜索。 - + File Search 檔搜索 - - + + OK 確定 - - + + Can not get a default application for opening %1. 沒有找到預設打開%1的應用。 - + File - + Path 路徑 - + Last time modified 上次修改時間 - + Copy path 複製路徑 @@ -302,7 +345,7 @@ UkuiSearch::NoteSearch - + Note Description: 便簽內容: @@ -310,24 +353,24 @@ UkuiSearch::NoteSearchPlugin - - + + Open 打開 - + Note Search. 便簽搜索。 - - + + Note Search 便簽搜索 - + Application 應用 @@ -401,23 +444,23 @@ UkuiSearch::SettingsSearchPlugin - - + + Open 打開 - + Settings search. 配置項搜索。 - + Settings Search 配置項搜索 - + Settings 配置項 @@ -433,14 +476,14 @@ UkuiSearch::WebSearchPlugin - - + + Start browser search 啟動瀏覽器搜索 - - + + Web Page 網頁搜索