File tree Expand file tree Collapse file tree
core/src/main/java/github/nighter/smartspawner Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323
2424## Localization
2525
26- | Language | Locale Code | Contributor | Status |
27- | ----------| -------------| -------------| --------|
26+ | Language | Locale Code | Contributor | Status |
27+ | ------------------- | -------------| ------------------------------------ -------------| --------|
2828| Chinese Simplified | ` zh_CN ` | [ SnowCutieOwO] ( https://github.com/SnowCutieOwO ) | v1.2.3 |
29- | English | ` en_US ` | Core language | Latest |
30- | Italian | ` it_IT ` | [ RV_SkeLe] ( https://github.com/RVSkeLe ) | v1.3.5 |
31- | Turkish | ` tr_TR ` | berkkorkmaz | v1.3.5 |
32- | Vietnamese | ` vi_VN ` | [ maiminhdung] ( https://github.com/maiminhdung ) , [ ptthanh02] ( https://github.com/ptthanh02 ) | Latest |
29+ | German | ` de_DE ` | [ jannispkz] ( https://github.com/jannispkz ) | Latest |
30+ | English | ` en_US ` | core language | Latest |
31+ | Italian | ` it_IT ` | [ RV_SkeLe] ( https://github.com/RVSkeLe ) | v1.3.5 |
32+ | Turkish | ` tr_TR ` | berkkorkmaz | v1.3.5 |
33+ | Vietnamese | ` vi_VN ` | [ ptthanh02] ( https://github.com/ptthanh02 ) | Latest |
3334
3435## API
3536
Original file line number Diff line number Diff line change @@ -112,8 +112,7 @@ private void saveDefaultFiles() {
112112 Map <String , Set <LanguageFileType >> localeFileMap = new HashMap <>();
113113 localeFileMap .put ("vi_VN" , EnumSet .allOf (LanguageFileType .class ));
114114 localeFileMap .put ("DonutSMP" , EnumSet .allOf (LanguageFileType .class ));
115- // localeFileMap.put("it_IT", EnumSet.allOf(LanguageFileType.class));
116- // localeFileMap.put("tr_TR", EnumSet.allOf(LanguageFileType.class));
115+ localeFileMap .put ("de_DE" , EnumSet .allOf (LanguageFileType .class ));
117116
118117 localeFileMap .forEach ((locale , fileTypes ) -> {
119118 fileTypes .forEach (fileType -> {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class LanguageUpdater {
1616 private final String currentVersion ;
1717 private final SmartSpawner plugin ;
1818 private static final String LANGUAGE_VERSION_KEY = "language_version" ;
19- private static final List <String > SUPPORTED_LANGUAGES = Arrays .asList ("en_US" , "vi_VN" );
19+ private static final List <String > SUPPORTED_LANGUAGES = Arrays .asList ("en_US" , "vi_VN" , "de_DE" );
2020
2121 // Track which file types to update
2222 private final Set <LanguageFileType > activeFileTypes = new HashSet <>();
You can’t perform that action at this time.
0 commit comments