更新翻译

This commit is contained in:
hewenfei 2023-03-29 09:29:20 +08:00
parent c9ab90589d
commit 8b82e39504
4 changed files with 365 additions and 15 deletions

View File

@ -80,7 +80,7 @@ int FavoriteExtension::index()
QString FavoriteExtension::name() QString FavoriteExtension::name()
{ {
return "Favorite"; return tr("Favorite");
} }
QUrl FavoriteExtension::url() QUrl FavoriteExtension::url()

View File

@ -336,7 +336,7 @@ void RecentFileExtension::creatMenu(const QString &path, const int &index)
QMenu menu; QMenu menu;
QAction open(QIcon::fromTheme("document-open-symbolic"), tr("Open")); 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 clear(QIcon::fromTheme("edit-delete-symbolic"), tr("Clear list"));
QAction directory(tr("Open the directory where the file is located")); QAction directory(tr("Open the directory where the file is located"));

View File

@ -1,10 +1,53 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="bo_CN"> <TS version="2.1" language="bo_CN">
<context>
<name>LabelItem</name>
<message>
<source>Open the label selection interface</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>QObject</name> <name>QObject</name>
<message> <message>
<source>Show ukui-menu</source> <source>Remove from folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Add to folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Add to new folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dissolve folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Remove From Taskbar</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Add To Taskbar</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Add to desktop shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Uninstall</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Add to &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Show ukui-menu.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@ -13,9 +56,141 @@
</message> </message>
</context> </context>
<context> <context>
<name>main</name> <name>SearchInputBar</name>
<message> <message>
<source>Hello World</source> <source>Search App</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UkuiMenu::AllAppDataProvider</name>
<message>
<source>All</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UkuiMenu::AppCategoryPlugin</name>
<message>
<source>Category</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Audio</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>AudioVideo</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Development</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Education</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Game</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Graphics</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Network</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Office</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Science</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>System</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Utility</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Video</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Other</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UkuiMenu::AppFolderHelper</name>
<message>
<source>New Folder %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UkuiMenu::AppLetterSortPlugin</name>
<message>
<source>Letter Sort</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Letter sort button</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UkuiMenu::AppSearchPlugin</name>
<message>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UkuiMenu::FavoriteExtension</name>
<message>
<source>Favorite</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UkuiMenu::PowerButton</name>
<message>
<source>power</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UkuiMenu::RecentFileExtension</name>
<message>
<source>Recent Files</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Clear list</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open the directory where the file is located</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Remove from list</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>

View File

@ -2,21 +2,196 @@
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="zh_CN"> <TS version="2.1" language="zh_CN">
<context> <context>
<name>QObject</name> <name>LabelItem</name>
<message> <message>
<source>Show ukui-menu</source> <source>Open the label selection interface</source>
<translation type="unfinished"></translation> <translation></translation>
</message>
<message>
<source>Quit ukui-menu.</source>
<translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>
<name>main</name> <name>QObject</name>
<message> <message>
<source>Hello World</source> <source>Remove From Taskbar</source>
<translation type="unfinished"></translation> <translation></translation>
</message>
<message>
<source>Add To Taskbar</source>
<translation></translation>
</message>
<message>
<source>Add to desktop shortcuts</source>
<translation></translation>
</message>
<message>
<source>Uninstall</source>
<translation></translation>
</message>
<message>
<source>Remove from folder</source>
<translation></translation>
</message>
<message>
<source>Add to folder</source>
<translation></translation>
</message>
<message>
<source>Add to new folder</source>
<translation></translation>
</message>
<message>
<source>Dissolve folder</source>
<translation></translation>
</message>
<message>
<source>Add to &quot;%1&quot;</source>
<translation> &quot;%1&quot;</translation>
</message>
<message>
<source>Show ukui-menu.</source>
<translation></translation>
</message>
<message>
<source>Quit ukui-menu.</source>
<translation>退</translation>
</message>
</context>
<context>
<name>SearchInputBar</name>
<message>
<source>Search App</source>
<translation></translation>
</message>
</context>
<context>
<name>UkuiMenu::AllAppDataProvider</name>
<message>
<source>All</source>
<translation></translation>
</message>
</context>
<context>
<name>UkuiMenu::AppCategoryPlugin</name>
<message>
<source>Category</source>
<translation></translation>
</message>
<message>
<source>Audio</source>
<translation></translation>
</message>
<message>
<source>AudioVideo</source>
<translation></translation>
</message>
<message>
<source>Development</source>
<translation></translation>
</message>
<message>
<source>Education</source>
<translation></translation>
</message>
<message>
<source>Game</source>
<translation></translation>
</message>
<message>
<source>Graphics</source>
<translation></translation>
</message>
<message>
<source>Network</source>
<translation></translation>
</message>
<message>
<source>Office</source>
<translation></translation>
</message>
<message>
<source>Science</source>
<translation></translation>
</message>
<message>
<source>Settings</source>
<translation></translation>
</message>
<message>
<source>System</source>
<translation></translation>
</message>
<message>
<source>Utility</source>
<translation></translation>
</message>
<message>
<source>Video</source>
<translation></translation>
</message>
<message>
<source>Other</source>
<translation></translation>
</message>
</context>
<context>
<name>UkuiMenu::AppFolderHelper</name>
<message>
<source>New Folder %1</source>
<translation> %1</translation>
</message>
</context>
<context>
<name>UkuiMenu::AppLetterSortPlugin</name>
<message>
<source>Letter Sort</source>
<translation></translation>
</message>
<message>
<source>Letter sort button</source>
<translation></translation>
</message>
</context>
<context>
<name>UkuiMenu::AppSearchPlugin</name>
<message>
<source>Search</source>
<translation></translation>
</message>
</context>
<context>
<name>UkuiMenu::FavoriteExtension</name>
<message>
<source>Favorite</source>
<translation></translation>
</message>
</context>
<context>
<name>UkuiMenu::PowerButton</name>
<message>
<source>power</source>
<translation></translation>
</message>
</context>
<context>
<name>UkuiMenu::RecentFileExtension</name>
<message>
<source>Recent Files</source>
<translation></translation>
</message>
<message>
<source>Open</source>
<translation></translation>
</message>
<message>
<source>Remove from list</source>
<translation></translation>
</message>
<message>
<source>Clear list</source>
<translation></translation>
</message>
<message>
<source>Open the directory where the file is located</source>
<translation></translation>
</message> </message>
</context> </context>
</TS> </TS>