Skip to content

Commit

Permalink
feat: zh_cn (#46)
Browse files Browse the repository at this point in the history
* fix: info toggle i18n

* feat: zh_cn
  • Loading branch information
s-yh-china authored Aug 11, 2024
1 parent 230e53e commit 8be50ff
Show file tree
Hide file tree
Showing 2 changed files with 840 additions and 840 deletions.
2 changes: 1 addition & 1 deletion src/main/java/fi/dy/masa/minihud/config/InfoToggle.java
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public String getComment()
@Override
public String getTranslatedName()
{
return StringUtils.getTranslatedOrFallback(this.translatedName, this.translatedName.isEmpty() ? this.name : this.translatedName);
return this.translatedName.isEmpty() ? this.name : this.translatedName;
}

private static String buildTranslateName(String name, String type)
Expand Down
Loading

0 comments on commit 8be50ff

Please sign in to comment.