Compare commits

..
Author SHA1 Message Date
Glavo 5fa066de6b fix crash (#2124) 2023-02-15 23:27:59 +08:00
zkitefly 1454ea8358 添加提示 (#2108)
* 添加提示

* Update I18N_zh_CN.properties
2023-02-15 17:45:25 +08:00
2 changed files with 5 additions and 4 deletions

No files matched your search

@@ -17,6 +17,7 @@
*/
package org.jackhuang.hmcl.ui.versions;
import com.google.gson.JsonParseException;
import javafx.application.Platform;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty;
@@ -82,8 +83,8 @@ public class GameItem extends Control {
ModpackConfiguration<?> config = profile.getRepository().readModpackConfiguration(version);
if (config == null) return;
tag.set(config.getVersion());
} catch (IOException e) {
LOG.log(Level.WARNING, "Failed to read modpack configuration from ", e);
} catch (IOException | JsonParseException e) {
LOG.log(Level.WARNING, "Failed to read modpack configuration from " + version, e);
}
}, Platform::runLater)
.exceptionally(handleUncaught);
@@ -138,8 +138,8 @@ account.methods.yggdrasil.migration.hint=自 2022 年 3 月 10 日起,Mojang
account.methods.yggdrasil.purchase=购买 Minecraft
account.missing=没有游戏帐户
account.missing.add=点击此处添加帐户
account.move_to_global=转换为全局账户
account.move_to_portable=转换为便携账户
account.move_to_global=转换为全局账户\n该账户的信息会保存至用户目录的配置文件中
account.move_to_portable=转换为便携账户\n该账户的信息会保存至 HMCL 同目录的配置文件中
account.not_logged_in=未登录
account.password=密码
account.portable=便携账户