Skip to content

Commit

Permalink
update translation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniol-lck committed Jan 21, 2022
1 parent 604d9a0 commit 7b9c112
Show file tree
Hide file tree
Showing 11 changed files with 591 additions and 506 deletions.
538 changes: 292 additions & 246 deletions languages/zh_CN.ts

Large diffs are not rendered by default.

524 changes: 283 additions & 241 deletions languages/zh_TW.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/ui/curseforge/curseforgefileitemwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ CurseforgeFileItemWidget::CurseforgeFileItemWidget(CurseforgeFileListWidget *par
auto reply = CurseforgeAPI::api()->getInfo(dependencyInfo.addonId());
reply.setRunBackground(true);
reply.setOnFinished(this, [=](const CurseforgeModInfo &modInfo){
action->setText(tr("%1 Mod: %2").arg(dependencyInfo.typeString()).arg(modInfo.name()));
action->setText(tr("%1 Mod: %2").arg(dependencyInfo.typeString(), modInfo.name()));
connect(action, &QAction::triggered, this, [=]{
auto dialog = new CurseforgeModDialog(this, modInfo);
dialog->show();
Expand All @@ -108,7 +108,7 @@ CurseforgeFileItemWidget::CurseforgeFileItemWidget(CurseforgeFileListWidget *par
reply.setRunBackground(true);
reply.setOnFinished(this, [=](const CurseforgeFileInfo &fileInfo){
action->setText(action->text() + "\n" +
tr("Dependency File: %1").arg(fileInfo.fileName()));
tr("%1 File: %2").arg(dependencyInfo.typeString(), fileInfo.fileName()));
});
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/ui/curseforge/curseforgemodbrowser.ui
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<widget class="QStatusBar" name="statusbar"/>
<widget class="MenuToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
<string>Tool Bar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
Expand All @@ -128,7 +128,7 @@
</widget>
<widget class="QToolBar" name="searchBar">
<property name="windowTitle">
<string>toolBar_2</string>
<string>Search Bar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/download/downloadbrowser.ui
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<widget class="QStatusBar" name="statusbar"/>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
<string>Tool Bar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/github/githubrepobrowser.ui
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<widget class="QStatusBar" name="statusbar"/>
<widget class="MenuToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
<string>Tool Bar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
Expand Down
3 changes: 0 additions & 3 deletions src/ui/local/importcurseforgemodpackdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
<height>720</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="2">
<layout class="QFormLayout" name="formLayout_2">
Expand Down
4 changes: 2 additions & 2 deletions src/ui/local/localmodbrowser.ui
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
<widget class="QStatusBar" name="statusBar"/>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
<string>Tool Bar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
Expand All @@ -297,7 +297,7 @@
</widget>
<widget class="QToolBar" name="searchBar">
<property name="windowTitle">
<string>toolBar_2</string>
<string>Search Bar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
Expand Down
8 changes: 4 additions & 4 deletions src/ui/modrinth/modrinthmodbrowser.ui
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
<widget class="QStatusBar" name="statusbar"/>
<widget class="MenuToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
<string>Tool Bar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
Expand All @@ -172,7 +172,7 @@
</widget>
<widget class="QToolBar" name="searchBar">
<property name="windowTitle">
<string>toolBar_2</string>
<string>Search Bar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
Expand All @@ -186,7 +186,7 @@
</widget>
<widget class="QToolBar" name="categoryToolBar">
<property name="windowTitle">
<string>toolBar_2</string>
<string>Categories</string>
</property>
<attribute name="toolBarArea">
<enum>LeftToolBarArea</enum>
Expand All @@ -197,7 +197,7 @@
</widget>
<widget class="QToolBar" name="versionToolBar">
<property name="windowTitle">
<string>toolBar_2</string>
<string>Game Versions</string>
</property>
<attribute name="toolBarArea">
<enum>LeftToolBarArea</enum>
Expand Down
4 changes: 2 additions & 2 deletions src/ui/optifine/optifinemodbrowser.ui
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
<widget class="QStatusBar" name="statusbar"/>
<widget class="MenuToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
<string>Tool Bar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
Expand All @@ -128,7 +128,7 @@
</widget>
<widget class="QToolBar" name="searchBar">
<property name="windowTitle">
<string>toolBar_2</string>
<string>Search Bar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
Expand Down
4 changes: 2 additions & 2 deletions src/ui/replay/replaymodbrowser.ui
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<widget class="QStatusBar" name="statusbar"/>
<widget class="MenuToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
<string>Tool Bar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
Expand All @@ -121,7 +121,7 @@
</widget>
<widget class="QToolBar" name="searchBar">
<property name="windowTitle">
<string>toolBar_2</string>
<string>Search Bar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
Expand Down

0 comments on commit 7b9c112

Please sign in to comment.