Skip to content

Commit

Permalink
Fix !count output not containing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
buthed010203 committed May 20, 2024
1 parent 8d8c57e commit 311b249
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arc-core/src/arc/util/I18NBundle.java
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,11 @@ public String format(String key, Object... args){
return formatter.format(get(key), args);
}

/** Identical to format(String, Object...) but for use in kotlin to avoid the need for a spread operator which copies the array */
public String formatKt(String key, Object[] args){
return format(key, args);
}

public String formatString(String string, Object... args){
return formatter.format(string, args);
}
Expand Down

0 comments on commit 311b249

Please sign in to comment.