From d245c6c5603e3e820ea51a087093e3fb16eec796 Mon Sep 17 00:00:00 2001 From: iaom Date: Wed, 26 Jun 2024 13:42:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(filesearch):=E4=B8=BA=E6=89=93=E5=BC=80?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E9=BB=98=E8=AE=A4=E6=89=93=E5=BC=80=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E7=9A=84=E6=96=87=E4=BB=B6=E6=97=B6=E7=9A=84=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E8=AE=BE=E7=BD=AE=E7=AA=97=E5=8F=A3=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libsearch/index/file-search-plugin.cpp | 2 ++ translations/ukui-search/appwidget/search_bo_CN.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libsearch/index/file-search-plugin.cpp b/libsearch/index/file-search-plugin.cpp index 0d7c599..d5db800 100644 --- a/libsearch/index/file-search-plugin.cpp +++ b/libsearch/index/file-search-plugin.cpp @@ -152,6 +152,7 @@ void FileSearchPlugin::openAction(int actionkey, QString key, int type) if(FileUtils::openFile(key) == -1) { QMessageBox msgBox(m_detailPage); msgBox.setModal(true); + msgBox.setWindowTitle(tr("ukui-search")); msgBox.addButton(tr("OK"), QMessageBox::YesRole); msgBox.setIcon(QMessageBox::Information); msgBox.setText(tr("Can not get a default application for opening %1.").arg(key)); @@ -271,6 +272,7 @@ void FileSearchPlugin::initDetailPage() if(FileUtils::openFile(m_currentActionKey) == -1) { QMessageBox msgBox(m_detailPage); msgBox.setModal(true); + msgBox.setWindowTitle(tr("ukui-search")); msgBox.addButton(tr("OK"), QMessageBox::YesRole); msgBox.setIcon(QMessageBox::Information); msgBox.setText(tr("Can not get a default application for opening %1.").arg(m_currentActionKey)); diff --git a/translations/ukui-search/appwidget/search_bo_CN.ts b/translations/ukui-search/appwidget/search_bo_CN.ts index 5e06572..7dc2670 100644 --- a/translations/ukui-search/appwidget/search_bo_CN.ts +++ b/translations/ukui-search/appwidget/search_bo_CN.ts @@ -50,7 +50,7 @@ UkuiSearch::MainWindow - + ukui-search