修改下载页面按钮名称 (#3262)

This commit is contained in:
ShulkerSakura
2024-10-06 23:21:12 +08:00
committed by GitHub
parent 7e4d437a1d
commit b624cebc08
4 changed files with 8 additions and 2 deletions

View File

@@ -460,7 +460,7 @@ public class DownloadPage extends Control implements DecoratorPage {
this.setBody(box); this.setBody(box);
JFXButton downloadButton = new JFXButton(i18n("download")); JFXButton downloadButton = new JFXButton(i18n("mods.install"));
downloadButton.getStyleClass().add("dialog-accept"); downloadButton.getStyleClass().add("dialog-accept");
downloadButton.setOnAction(e -> { downloadButton.setOnAction(e -> {
if (!spinnerPane.isLoading() && spinnerPane.getFailedReason() == null) { if (!spinnerPane.isLoading() && spinnerPane.getFailedReason() == null) {
@@ -469,7 +469,7 @@ public class DownloadPage extends Control implements DecoratorPage {
selfPage.download(version); selfPage.download(version);
}); });
JFXButton saveAsButton = new JFXButton(i18n("button.save_as")); JFXButton saveAsButton = new JFXButton(i18n("mods.save_as"));
saveAsButton.getStyleClass().add("dialog-accept"); saveAsButton.getStyleClass().add("dialog-accept");
saveAsButton.setOnAction(e -> { saveAsButton.setOnAction(e -> {
if (!spinnerPane.isLoading() && spinnerPane.getFailedReason() == null) { if (!spinnerPane.isLoading() && spinnerPane.getFailedReason() == null) {

View File

@@ -965,6 +965,8 @@ mods.not_modded=You must install a mod loader (Fabric, Forge, Quilt or LiteLoade
mods.restore=Rollback mods.restore=Rollback
mods.url=Official Page mods.url=Official Page
mods.update_modpack_mod.warning=Updating mods in a modpack can lead to irreparable results, possibly corrupting the modpack so that it cannot start. Are you sure you want to update? mods.update_modpack_mod.warning=Updating mods in a modpack can lead to irreparable results, possibly corrupting the modpack so that it cannot start. Are you sure you want to update?
mods.install=Install
mods.save_as=Save As
nbt.entries=%s entries nbt.entries=%s entries
nbt.open.failed=Fail to open file nbt.open.failed=Fail to open file

View File

@@ -833,6 +833,8 @@ mods.not_modded=你需要先在自動安裝頁面安裝 Fabric、Forge、Quilt
mods.restore=回退 mods.restore=回退
mods.url=官方頁面 mods.url=官方頁面
mods.update_modpack_mod.warning=更新模組包中的 Mod 可能導致綜合包損壞,使模組包無法正常啟動。該操作不可逆,確定要更新嗎? mods.update_modpack_mod.warning=更新模組包中的 Mod 可能導致綜合包損壞,使模組包無法正常啟動。該操作不可逆,確定要更新嗎?
mods.install=安裝到當前實例
mods.save_as=下載到本地目錄
nbt.entries=%s 個條目 nbt.entries=%s 個條目
nbt.open.failed=打開檔案失敗 nbt.open.failed=打開檔案失敗

View File

@@ -832,6 +832,8 @@ mods.not_modded=你需要先在自动安装页面安装 Fabric、Forge 或 LiteL
mods.restore=回退 mods.restore=回退
mods.url=官方页面 mods.url=官方页面
mods.update_modpack_mod.warning=更新整合包中的模组可能导致整合包损坏,使整合包无法正常启动。该操作不可逆,确定要更新吗? mods.update_modpack_mod.warning=更新整合包中的模组可能导致整合包损坏,使整合包无法正常启动。该操作不可逆,确定要更新吗?
mods.install=安装到当前版本
mods.save_as=下载到本地目录
nbt.entries=%s 个条目 nbt.entries=%s 个条目
nbt.open.failed=打开文件失败 nbt.open.failed=打开文件失败