Skip to content

Commit

Permalink
修复了部分文本提示缺少内容格式化问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdeZhang committed Sep 5, 2024
1 parent cdb8431 commit 592ade9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = "cn.lunadeer"
version = "2.5.4-beta"
version = "2.5.5-beta"

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static class Result {
public Result(Integer success, i18n message, Object... args) {
this.success = success;
this.messages = new ArrayList<>();
this.messages.add(message.trans());
this.messages.add(String.format(message.trans(), args));
}

public Result(Integer success, String message, Object... args) {
Expand Down

0 comments on commit 592ade9

Please sign in to comment.