-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
cubewhy
committed
Jan 17, 2024
1 parent
0d217f4
commit 43d15c5
Showing
2 changed files
with
46 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Celestial Launcher <me@lunarclient.top> | ||
* License under GPLv3 | ||
* Do NOT remove this note if you want to copy this file. | ||
*/ | ||
|
||
package org.cubewhy.celestial.gui; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public enum Language { | ||
ENGLISH("English", "en"), | ||
CHINESE("简体中文", "zh"), | ||
JAPANESE("日本語", "ja"), | ||
KOREAN("한국인", "ko"); | ||
|
||
private final String view; | ||
private final String code; | ||
|
||
Language(String view, String code) { | ||
this.view = view; | ||
this.code = code; | ||
} | ||
|
||
|
||
@Override | ||
public String toString() { | ||
return this.code; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters