Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/main/java/top/chiloven/lukosbot2/i18n/I18n.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package top.chiloven.lukosbot2.i18n;

public class I18n {
// TODO: per user i18n feature / store user id
private static final String i18n = "To be Implemented.";
}
23 changes: 23 additions & 0 deletions src/main/java/top/chiloven/lukosbot2/i18n/SupportedLanguages.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package top.chiloven.lukosbot2.i18n;

import lombok.Getter;

@Getter
public enum SupportedLanguages {
EN_US("en_us", "English (US)"),
ZH_CN("zh_cn", "简体中文(中国大陆)"),
ZH_TW("zh_tw", "繁體中文(台灣)");

private final String id;
private final String displayName;

SupportedLanguages(String id, String displayName) {
this.id = id;
this.displayName = displayName;
}

@Override
public String toString() {
return this.id;
}
}
Loading