From 8b82e3950414cda5acb830bdb6b7fab2096c11f0 Mon Sep 17 00:00:00 2001 From: hewenfei Date: Wed, 29 Mar 2023 09:29:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../extensions/favorite-extension.cpp | 2 +- .../extensions/recent-file-extension.cpp | 2 +- translations/ukui-menu_bo_CN.ts | 181 +++++++++++++++- translations/ukui-menu_zh_CN.ts | 195 +++++++++++++++++- 4 files changed, 365 insertions(+), 15 deletions(-) diff --git a/src/extension/extensions/favorite-extension.cpp b/src/extension/extensions/favorite-extension.cpp index da6f2fb..fdb244a 100644 --- a/src/extension/extensions/favorite-extension.cpp +++ b/src/extension/extensions/favorite-extension.cpp @@ -80,7 +80,7 @@ int FavoriteExtension::index() QString FavoriteExtension::name() { - return "Favorite"; + return tr("Favorite"); } QUrl FavoriteExtension::url() diff --git a/src/extension/extensions/recent-file-extension.cpp b/src/extension/extensions/recent-file-extension.cpp index e0804bd..48d5563 100644 --- a/src/extension/extensions/recent-file-extension.cpp +++ b/src/extension/extensions/recent-file-extension.cpp @@ -336,7 +336,7 @@ void RecentFileExtension::creatMenu(const QString &path, const int &index) QMenu menu; QAction open(QIcon::fromTheme("document-open-symbolic"), tr("Open")); - QAction remove(QIcon::fromTheme("edit-clear-symbolic"), tr("Remove from recent")); + QAction remove(QIcon::fromTheme("edit-clear-symbolic"), tr("Remove from list")); QAction clear(QIcon::fromTheme("edit-delete-symbolic"), tr("Clear list")); QAction directory(tr("Open the directory where the file is located")); diff --git a/translations/ukui-menu_bo_CN.ts b/translations/ukui-menu_bo_CN.ts index 3325730..a2c111f 100644 --- a/translations/ukui-menu_bo_CN.ts +++ b/translations/ukui-menu_bo_CN.ts @@ -1,10 +1,53 @@ + + LabelItem + + Open the label selection interface + + + QObject - Show ukui-menu + Remove from folder + + + + Add to folder + + + + Add to new folder + + + + Dissolve folder + + + + Remove From Taskbar + + + + Add To Taskbar + + + + Add to desktop shortcuts + + + + Uninstall + + + + Add to "%1" + + + + Show ukui-menu. @@ -13,9 +56,141 @@ - main + SearchInputBar - Hello World + Search App + + + + + UkuiMenu::AllAppDataProvider + + All + + + + + UkuiMenu::AppCategoryPlugin + + Category + + + + Audio + + + + AudioVideo + + + + Development + + + + Education + + + + Game + + + + Graphics + + + + Network + + + + Office + + + + Science + + + + Settings + + + + System + + + + Utility + + + + Video + + + + Other + + + + + UkuiMenu::AppFolderHelper + + New Folder %1 + + + + + UkuiMenu::AppLetterSortPlugin + + Letter Sort + + + + Letter sort button + + + + + UkuiMenu::AppSearchPlugin + + Search + + + + + UkuiMenu::FavoriteExtension + + Favorite + + + + + UkuiMenu::PowerButton + + power + + + + + UkuiMenu::RecentFileExtension + + Recent Files + + + + Open + + + + Clear list + + + + Open the directory where the file is located + + + + Remove from list diff --git a/translations/ukui-menu_zh_CN.ts b/translations/ukui-menu_zh_CN.ts index c65cde1..113e6b4 100644 --- a/translations/ukui-menu_zh_CN.ts +++ b/translations/ukui-menu_zh_CN.ts @@ -2,21 +2,196 @@ - QObject + LabelItem - Show ukui-menu - - - - Quit ukui-menu. - + Open the label selection interface + 打开标签选择界面 - main + QObject - Hello World - + Remove From Taskbar + 从任务栏移除 + + + Add To Taskbar + 添加到任务栏 + + + Add to desktop shortcuts + 添加到桌面快捷方式 + + + Uninstall + 卸载 + + + Remove from folder + 从文件夹中删除 + + + Add to folder + 添加到文件夹 + + + Add to new folder + 添加到新文件夹 + + + Dissolve folder + 解散文件夹 + + + Add to "%1" + 添加到 "%1" + + + Show ukui-menu. + 显示开始菜单。 + + + Quit ukui-menu. + 退出开始菜单。 + + + + SearchInputBar + + Search App + 搜索应用 + + + + UkuiMenu::AllAppDataProvider + + All + 全部 + + + + UkuiMenu::AppCategoryPlugin + + Category + 分类 + + + Audio + 音频 + + + AudioVideo + 音视频 + + + Development + 开发 + + + Education + 教育 + + + Game + 游戏 + + + Graphics + 图形 + + + Network + 网络 + + + Office + 办公 + + + Science + 科学 + + + Settings + 设置 + + + System + 系统 + + + Utility + 实用程序 + + + Video + 视频 + + + Other + 其他 + + + + UkuiMenu::AppFolderHelper + + New Folder %1 + 新文件夹 %1 + + + + UkuiMenu::AppLetterSortPlugin + + Letter Sort + 字母排序 + + + Letter sort button + 字母排序按钮 + + + + UkuiMenu::AppSearchPlugin + + Search + 搜索 + + + + UkuiMenu::FavoriteExtension + + Favorite + 收藏夹 + + + + UkuiMenu::PowerButton + + power + 电源 + + + + UkuiMenu::RecentFileExtension + + Recent Files + 最近文件 + + + Open + 打开 + + + Remove from list + 从列表删除 + + + Clear list + 清空全部 + + + Open the directory where the file is located + 打开文件所在目录