diff --git a/debian/ukui-search.install b/debian/ukui-search.install index fe3409f..fbfdf03 100644 --- a/debian/ukui-search.install +++ b/debian/ukui-search.install @@ -1 +1,2 @@ usr/bin/ukui-search +/usr/share/ukui-search/translations/*.qm diff --git a/libsearch/libsearch.pro b/libsearch/libsearch.pro index c0d214e..b98be22 100644 --- a/libsearch/libsearch.pro +++ b/libsearch/libsearch.pro @@ -44,6 +44,13 @@ HEADERS += \ RESOURCES += \ resource1.qrc \ +TRANSLATIONS += \ + ../translations/libsearch/libukui-search_zh_CN.ts + +qm_files.path = /usr/share/ukui-search/translations/libsearch/ +qm_files.files = $$OUT_PWD/.qm/*.qm + +INSTALLS += qm_files # Default rules for deployment. diff --git a/translations/ukui-search/bo.ts b/translations/ukui-search/bo.ts index ef0ecd5..7361e23 100644 --- a/translations/ukui-search/bo.ts +++ b/translations/ukui-search/bo.ts @@ -4,52 +4,52 @@ ContentWidget - + Recently Opened - + Open Quickly - + Commonly Used - + Apps - + Settings - + Files - + Dirs - + File Contents - + Best Matches - + Unknown @@ -57,7 +57,7 @@ FolderListItem - + Delete the folder out of blacklist @@ -65,7 +65,7 @@ MainWindow - + Search @@ -73,27 +73,27 @@ OptionView - + Open - + Add Shortcut to Desktop - + Add Shortcut to Panel - + Open path - + Copy path @@ -101,7 +101,7 @@ QObject - + ukui-search is already running! @@ -109,22 +109,22 @@ SearchDetailView - + Path - + Last time modified - + Application - + Document @@ -132,88 +132,88 @@ SettingsWidget - + Search - + Settings - + Index State - - + + ... - + File Index Settings - + Following folders will not be searched. You can set it by adding and removing folders. - + Add ignored folders - + Search Engine Settings - + Please select search engine you preferred. - + baidu - + sougou - + 360 - + Cancel - + Confirm - + Creating ... - + Done - + Index Entry: %1 diff --git a/translations/ukui-search/tr.ts b/translations/ukui-search/tr.ts index ef0ecd5..7361e23 100644 --- a/translations/ukui-search/tr.ts +++ b/translations/ukui-search/tr.ts @@ -4,52 +4,52 @@ ContentWidget - + Recently Opened - + Open Quickly - + Commonly Used - + Apps - + Settings - + Files - + Dirs - + File Contents - + Best Matches - + Unknown @@ -57,7 +57,7 @@ FolderListItem - + Delete the folder out of blacklist @@ -65,7 +65,7 @@ MainWindow - + Search @@ -73,27 +73,27 @@ OptionView - + Open - + Add Shortcut to Desktop - + Add Shortcut to Panel - + Open path - + Copy path @@ -101,7 +101,7 @@ QObject - + ukui-search is already running! @@ -109,22 +109,22 @@ SearchDetailView - + Path - + Last time modified - + Application - + Document @@ -132,88 +132,88 @@ SettingsWidget - + Search - + Settings - + Index State - - + + ... - + File Index Settings - + Following folders will not be searched. You can set it by adding and removing folders. - + Add ignored folders - + Search Engine Settings - + Please select search engine you preferred. - + baidu - + sougou - + 360 - + Cancel - + Confirm - + Creating ... - + Done - + Index Entry: %1 diff --git a/translations/ukui-search/zh_CN.ts b/translations/ukui-search/zh_CN.ts index fd0be29..423d539 100644 --- a/translations/ukui-search/zh_CN.ts +++ b/translations/ukui-search/zh_CN.ts @@ -4,52 +4,52 @@ ContentWidget - + Recently Opened 最近 - + Open Quickly 快速 - + Commonly Used 常用 - + Apps 应用 - + Settings 配置项 - + Files 文件 - + Dirs 文件夹 - + File Contents - + Best Matches 最佳匹配 - + Unknown 未知 @@ -57,7 +57,7 @@ FolderListItem - + Delete the folder out of blacklist 删除 @@ -65,7 +65,7 @@ MainWindow - + Search 从列表搜索 @@ -73,27 +73,27 @@ OptionView - + Open 打开 - + Add Shortcut to Desktop 添加到桌面快捷方式 - + Add Shortcut to Panel 添加到任务栏快捷方式 - + Open path 打开文件所在路径 - + Copy path 复制文件路径 @@ -101,7 +101,7 @@ QObject - + ukui-search is already running! @@ -109,22 +109,22 @@ SearchDetailView - + Path 路径 - + Last time modified 上次修改时间 - + Application 应用 - + Document 文件 @@ -132,88 +132,88 @@ SettingsWidget - + Search 搜索 - + Settings 配置项 - + Index State 索引状态 - - + + ... - + File Index Settings 文件索引设置 - + Following folders will not be searched. You can set it by adding and removing folders. 搜索将不再查看以下文件夹。通过增加和删除文件夹可进行文件索引设置。 - + Add ignored folders 添加禁止索引文件夹 - + Search Engine Settings 搜索引擎设置 - + Please select search engine you preferred. 设置互联网搜索引擎 - + baidu 百度 - + sougou 搜狗 - + 360 360 - + Cancel 取消 - + Confirm 确认 - + Creating ... 正在索引 - + Done 索引完成 - + Index Entry: %1 索引项: %1