From 0a0eb0d6ac1d3dbc95b05cefe80b304441532221 Mon Sep 17 00:00:00 2001 From: JunjieBai Date: Tue, 4 Jul 2023 17:59:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8B=B1=E6=96=87=E4=B8=8B?= =?UTF-8?q?=E6=97=A0=E9=BB=98=E8=AE=A4=E6=89=93=E5=BC=80=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=A1=86=E7=9A=84=E6=8C=89=E9=92=AE=E6=96=87?= =?UTF-8?q?=E5=AD=97=E4=B8=BAOK?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libsearch/index/file-search-plugin.cpp | 4 ++-- translations/libukui-search/libukui-search_bo_CN.ts | 6 +++++- translations/libukui-search/libukui-search_mn.ts | 8 ++++++-- translations/libukui-search/libukui-search_zh_CN.ts | 6 +++++- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/libsearch/index/file-search-plugin.cpp b/libsearch/index/file-search-plugin.cpp index 639efa5..9f69bdf 100644 --- a/libsearch/index/file-search-plugin.cpp +++ b/libsearch/index/file-search-plugin.cpp @@ -94,7 +94,7 @@ void FileSearchPlugin::openAction(int actionkey, QString key, int type) if(FileUtils::openFile(key) == -1) { QMessageBox msgBox(m_detailPage); msgBox.setModal(true); - msgBox.addButton(tr("Yes"), QMessageBox::YesRole); + 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(); @@ -205,7 +205,7 @@ void FileSearchPlugin::initDetailPage() if(FileUtils::openFile(m_currentActionKey) == -1) { QMessageBox msgBox(m_detailPage); msgBox.setModal(true); - msgBox.addButton(tr("Yes"), QMessageBox::YesRole); + 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)); msgBox.open(); diff --git a/translations/libukui-search/libukui-search_bo_CN.ts b/translations/libukui-search/libukui-search_bo_CN.ts index f0492d4..6718df2 100644 --- a/translations/libukui-search/libukui-search_bo_CN.ts +++ b/translations/libukui-search/libukui-search_bo_CN.ts @@ -228,9 +228,13 @@ - Yes + OK རེད། + + Yes + རེད། + diff --git a/translations/libukui-search/libukui-search_mn.ts b/translations/libukui-search/libukui-search_mn.ts index 8e4a4cb..2aace1c 100644 --- a/translations/libukui-search/libukui-search_mn.ts +++ b/translations/libukui-search/libukui-search_mn.ts @@ -240,11 +240,15 @@ File search. ᠹᠠᠢᠯ᠎ᠤᠨ ᠬᠠᠢᠯᠲᠠ + + Yes + Yes + - Yes - Yes + OK + ᠪᠣᠯᠣᠨ᠎ᠠ diff --git a/translations/libukui-search/libukui-search_zh_CN.ts b/translations/libukui-search/libukui-search_zh_CN.ts index d3bfdd3..6596e65 100644 --- a/translations/libukui-search/libukui-search_zh_CN.ts +++ b/translations/libukui-search/libukui-search_zh_CN.ts @@ -240,10 +240,14 @@ File search. 文件搜索。 + + Yes + 确定 + - Yes + OK 确定