Browse Source

2.2 bug fix

Update gradle.yml
New Crowdin translations (#8)

* New translations en_us.json (fr_fr)

* New translations en_us.json (bg_bg)

* New translations en_us.json (de_de)

* New translations en_us.json (ja_jp)

* New translations en_us.json (pt_br)

* New translations en_us.json (ru_ru)

* New translations en_us.json (zh_cn)

* New translations en_us.json (zh_tw)

* New translations en_us.json (et_ee)

* New translations en_us.json (en_ud)

* New translations en_us.json (lol_us)

Delete fr_ca.json
New translations en_us.json (zh_tw) (#9)


Crowdin (#10)


New translations en_us.json (et_ee) (#11)


Fix "No Suggestion"
Merge remote-tracking branch 'origin/l10n_v2' into v2
Danielshe 5 years ago
parent
commit
efe21fadff

+ 3 - 1
README.md

@@ -1,4 +1,6 @@
 # Cloth Config [ ![Download](https://api.bintray.com/packages/shedaniel/cloth-config-2/config-2/images/download.svg) ](https://bintray.com/shedaniel/cloth-config-2/config-2/_latestVersion)
+[Help translate ClothConfig on Crowdin!](https://crowdin.com/project/cloth-config)
+
 ## Maven
 ```groovy
 repositories {
@@ -60,4 +62,4 @@ entryBuilder.startDropdownMenu("Field Key",
     .setSelections(Registry.ITEM.stream().collect(Collectors.toSet()))
     .setSaveConsumer(item -> configItem = (Item) item) // You should save it here, cast the item because Java is "smart"
     .build();
-```
+```

+ 1 - 1
gradle.properties

@@ -2,5 +2,5 @@ minecraft_version=19w42a
 yarn_version=19w42a+build.1
 fabric_loader_version=0.6.3+build.167
 fabric_version=0.4.6+build.251-1.15
-mod_version=2.1.0-unstable
+mod_version=2.2.0-unstable
 modmenu_version=1.7.14-unstable.19w42a+build.10

+ 4 - 5
src/main/java/me/shedaniel/clothconfig2/gui/entries/DropdownBoxEntry.java

@@ -64,7 +64,6 @@ public class DropdownBoxEntry<T> extends TooltipListEntry<T> {
     public void render(int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean isSelected, float delta) {
         super.render(index, y, x, entryWidth, entryHeight, mouseX, mouseY, isSelected, delta);
         Window window = MinecraftClient.getInstance().getWindow();
-        this.selectionElement.topRenderer.error = getConfigError();
         this.resetButton.active = isEditable() && getDefaultValue().isPresent() && (!defaultValue.get().equals(getValue()) || getConfigError().isPresent());
         this.resetButton.y = y;
         this.selectionElement.active = isEditable();
@@ -639,7 +638,6 @@ public class DropdownBoxEntry<T> extends TooltipListEntry<T> {
     }
     
     public static abstract class SelectionTopCellElement<R> extends AbstractParentElement {
-        @Deprecated private Optional<String> error;
         @Deprecated private DropdownBoxEntry<R> entry;
         
         public abstract R getValue();
@@ -651,7 +649,7 @@ public class DropdownBoxEntry<T> extends TooltipListEntry<T> {
         public abstract Optional<String> getError();
         
         public final Optional<String> getConfigError() {
-            return error;
+            return entry.getConfigError();
         }
         
         public DropdownBoxEntry<R> getParent() {
@@ -659,11 +657,11 @@ public class DropdownBoxEntry<T> extends TooltipListEntry<T> {
         }
         
         public final boolean hasConfigError() {
-            return error.isPresent();
+            return getConfigError().isPresent();
         }
         
         public final int getPreferredTextColor() {
-            return error.isPresent() ? 16733525 : 16777215;
+            return getConfigError().isPresent() ? 16733525 : 16777215;
         }
         
         public void selectFirstRecommendation() {
@@ -725,6 +723,7 @@ public class DropdownBoxEntry<T> extends TooltipListEntry<T> {
             textFieldWidget.setEditable(getParent().isEditable());
             textFieldWidget.setEditableColor(getPreferredTextColor());
             textFieldWidget.render(mouseX, mouseY, delta);
+            System.out.println(getConfigError());
         }
         
         @Override

+ 28 - 0
src/main/resources/assets/cloth-config2/lang/bg_bg.json

@@ -0,0 +1,28 @@
+{
+  "text.cloth-config.save_and_done": "Save Changes",
+  "text.cloth-config.quit_config": "Changes Not Saved",
+  "text.cloth-config.quit_config_sure": "Are you sure you want to quit editing the config? Changes will not be saved!",
+  "text.cloth-config.cancel_discard": "Cancel & Discard Changes",
+  "text.cloth-config.quit_discard": "Quit & Discard Changes",
+  "text.cloth-config.config": "Config",
+  "text.cloth-config.multi_error": "Multiple Issues!",
+  "text.cloth-config.not_editable": "Not Editable!",
+  "text.cloth-config.error.not_valid_number_int": "Not a valid number! (Integer)",
+  "text.cloth-config.error.not_valid_number_long": "Not a valid number! (Long)",
+  "text.cloth-config.error.not_valid_number_float": "Not a valid number! (Float)",
+  "text.cloth-config.error.not_valid_number_double": "Not a valid number! (Double)",
+  "text.cloth-config.error.too_large": "Too Large! (Maximum: %d)",
+  "text.cloth-config.error.too_small": "Too Small! (Minimum: %d)",
+  "text.cloth-config.list.add": "Insert New",
+  "text.cloth-config.list.remove": "Delete Selected",
+  "text.cloth-config.error_cannot_save": "Error!",
+  "text.cloth-config.reset_value": "Reset",
+  "text.cloth.reset_value": "Reset",
+  "text.cloth-config.restart_required": "Restart Required",
+  "text.cloth-config.restart_required_sub": "One of your modified settings requires Minecraft to be restarted. Do you want to proceed?",
+  "text.cloth-config.exit_minecraft": "Exit Minecraft",
+  "text.cloth-config.ignore_restart": "Ignore Restart",
+  "text.cloth-config.boolean.value.true": "§aYes",
+  "text.cloth-config.boolean.value.false": "§cNo",
+  "text.cloth-config.dropdown.value.unknown": "§cNo suggestions"
+}

+ 28 - 0
src/main/resources/assets/cloth-config2/lang/de_de.json

@@ -0,0 +1,28 @@
+{
+  "text.cloth-config.save_and_done": "Save Changes",
+  "text.cloth-config.quit_config": "Changes Not Saved",
+  "text.cloth-config.quit_config_sure": "Are you sure you want to quit editing the config? Changes will not be saved!",
+  "text.cloth-config.cancel_discard": "Cancel & Discard Changes",
+  "text.cloth-config.quit_discard": "Quit & Discard Changes",
+  "text.cloth-config.config": "Config",
+  "text.cloth-config.multi_error": "Multiple Issues!",
+  "text.cloth-config.not_editable": "Not Editable!",
+  "text.cloth-config.error.not_valid_number_int": "Not a valid number! (Integer)",
+  "text.cloth-config.error.not_valid_number_long": "Not a valid number! (Long)",
+  "text.cloth-config.error.not_valid_number_float": "Not a valid number! (Float)",
+  "text.cloth-config.error.not_valid_number_double": "Not a valid number! (Double)",
+  "text.cloth-config.error.too_large": "Too Large! (Maximum: %d)",
+  "text.cloth-config.error.too_small": "Too Small! (Minimum: %d)",
+  "text.cloth-config.list.add": "Insert New",
+  "text.cloth-config.list.remove": "Delete Selected",
+  "text.cloth-config.error_cannot_save": "Error!",
+  "text.cloth-config.reset_value": "Reset",
+  "text.cloth.reset_value": "Reset",
+  "text.cloth-config.restart_required": "Restart Required",
+  "text.cloth-config.restart_required_sub": "One of your modified settings requires Minecraft to be restarted. Do you want to proceed?",
+  "text.cloth-config.exit_minecraft": "Exit Minecraft",
+  "text.cloth-config.ignore_restart": "Ignore Restart",
+  "text.cloth-config.boolean.value.true": "§aYes",
+  "text.cloth-config.boolean.value.false": "§cNo",
+  "text.cloth-config.dropdown.value.unknown": "§cNo suggestions"
+}

+ 28 - 0
src/main/resources/assets/cloth-config2/lang/en_ud.json

@@ -0,0 +1,28 @@
+{
+  "text.cloth-config.save_and_done": "Save Changes",
+  "text.cloth-config.quit_config": "Changes Not Saved",
+  "text.cloth-config.quit_config_sure": "Are you sure you want to quit editing the config? Changes will not be saved!",
+  "text.cloth-config.cancel_discard": "Cancel & Discard Changes",
+  "text.cloth-config.quit_discard": "Quit & Discard Changes",
+  "text.cloth-config.config": "Config",
+  "text.cloth-config.multi_error": "Multiple Issues!",
+  "text.cloth-config.not_editable": "Not Editable!",
+  "text.cloth-config.error.not_valid_number_int": "Not a valid number! (Integer)",
+  "text.cloth-config.error.not_valid_number_long": "Not a valid number! (Long)",
+  "text.cloth-config.error.not_valid_number_float": "Not a valid number! (Float)",
+  "text.cloth-config.error.not_valid_number_double": "Not a valid number! (Double)",
+  "text.cloth-config.error.too_large": "Too Large! (Maximum: %d)",
+  "text.cloth-config.error.too_small": "Too Small! (Minimum: %d)",
+  "text.cloth-config.list.add": "Insert New",
+  "text.cloth-config.list.remove": "Delete Selected",
+  "text.cloth-config.error_cannot_save": "Error!",
+  "text.cloth-config.reset_value": "Reset",
+  "text.cloth.reset_value": "Reset",
+  "text.cloth-config.restart_required": "Restart Required",
+  "text.cloth-config.restart_required_sub": "One of your modified settings requires Minecraft to be restarted. Do you want to proceed?",
+  "text.cloth-config.exit_minecraft": "Exit Minecraft",
+  "text.cloth-config.ignore_restart": "Ignore Restart",
+  "text.cloth-config.boolean.value.true": "§aYes",
+  "text.cloth-config.boolean.value.false": "§cNo",
+  "text.cloth-config.dropdown.value.unknown": "§cNo suggestions"
+}

+ 2 - 2
src/main/resources/assets/cloth-config2/lang/en_us.json

@@ -24,5 +24,5 @@
   "text.cloth-config.ignore_restart": "Ignore Restart",
   "text.cloth-config.boolean.value.true": "§aYes",
   "text.cloth-config.boolean.value.false": "§cNo",
-  "text.cloth-config.dropdown.value.unknown": "§cNo Suggestion"
-}
+  "text.cloth-config.dropdown.value.unknown": "§cNo suggestions"
+}

+ 8 - 1
src/main/resources/assets/cloth-config2/lang/et_ee.json

@@ -17,5 +17,12 @@
   "text.cloth-config.list.remove": "Kustuta valitud",
   "text.cloth-config.error_cannot_save": "Viga!",
   "text.cloth-config.reset_value": "Lähtesta",
-  "text.cloth.reset_value": "Lähtesta"
+  "text.cloth.reset_value": "Lähtesta",
+  "text.cloth-config.restart_required": "Nõutav on taaskäivitamine",
+  "text.cloth-config.restart_required_sub": "Üks sinu muudetud valikutest nõuab Minecrafti taaskäivitamist. Kas soovid jätkata?",
+  "text.cloth-config.exit_minecraft": "Välju Minecraftist",
+  "text.cloth-config.ignore_restart": "Ignoreeri taaskäivitust",
+  "text.cloth-config.boolean.value.true": "§aJah",
+  "text.cloth-config.boolean.value.false": "§cEi",
+  "text.cloth-config.dropdown.value.unknown": "§cSoovitusi pole"
 }

+ 0 - 18
src/main/resources/assets/cloth-config2/lang/fr_ca.json

@@ -1,18 +0,0 @@
-{
-  "text.cloth-config.save_and_done": "Sauvegarder",
-  "text.cloth-config.quit_config": "Modifications non sauvegardées",
-  "text.cloth-config.quit_config_sure": "Voulez-vous quitter l'écran de configuration? Les modifications ne seront pas sauvegardées!",
-  "text.cloth-config.cancel_discard": "Annuler les modifications",
-  "text.cloth-config.quit_discard": "Quitter quand même",
-  "text.cloth-config.config": "Configuration",
-  "text.cloth-config.multi_error": "Problèmes multiples!",
-  "text.cloth-config.error.not_valid_number_int": "Pas un entier valide! (Integer)",
-  "text.cloth-config.error.not_valid_number_long": "Pas un nombre invalide! (Long)",
-  "text.cloth-config.error.not_valid_number_float": "Pas un nombre invalide! (Float)",
-  "text.cloth-config.error.not_valid_number_double": "Pas un nombre invalide! (Double)",
-  "text.cloth-config.error.too_large": "Trop grand! (Maximum: %d)",
-  "text.cloth-config.error.too_small": "Trop petit! (Minimum: %d)",
-  "text.cloth-config.error_cannot_save": "Erreur!",
-  "text.cloth-config.reset_value": "Réinit.",
-  "text.cloth.reset_value": "Réinit."
-}

+ 12 - 2
src/main/resources/assets/cloth-config2/lang/fr_fr.json

@@ -6,13 +6,23 @@
   "text.cloth-config.quit_discard": "Quitter quand même",
   "text.cloth-config.config": "Configuration",
   "text.cloth-config.multi_error": "Problèmes multiples!",
+  "text.cloth-config.not_editable": "Not Editable!",
   "text.cloth-config.error.not_valid_number_int": "Pas un entier valide! (Integer)",
   "text.cloth-config.error.not_valid_number_long": "Pas un nombre invalide! (Long)",
   "text.cloth-config.error.not_valid_number_float": "Pas un nombre invalide! (Float)",
   "text.cloth-config.error.not_valid_number_double": "Pas un nombre invalide! (Double)",
   "text.cloth-config.error.too_large": "Trop grand! (Maximum: %d)",
   "text.cloth-config.error.too_small": "Trop petit! (Minimum: %d)",
+  "text.cloth-config.list.add": "Insert New",
+  "text.cloth-config.list.remove": "Delete Selected",
   "text.cloth-config.error_cannot_save": "Erreur!",
   "text.cloth-config.reset_value": "Réinit.",
-  "text.cloth.reset_value": "Réinit."
-}
+  "text.cloth.reset_value": "Réinit.",
+  "text.cloth-config.restart_required": "Restart Required",
+  "text.cloth-config.restart_required_sub": "One of your modified settings requires Minecraft to be restarted. Do you want to proceed?",
+  "text.cloth-config.exit_minecraft": "Exit Minecraft",
+  "text.cloth-config.ignore_restart": "Ignore Restart",
+  "text.cloth-config.boolean.value.true": "§aYes",
+  "text.cloth-config.boolean.value.false": "§cNo",
+  "text.cloth-config.dropdown.value.unknown": "§cNo suggestions"
+}

+ 28 - 0
src/main/resources/assets/cloth-config2/lang/ja_jp.json

@@ -0,0 +1,28 @@
+{
+  "text.cloth-config.save_and_done": "Save Changes",
+  "text.cloth-config.quit_config": "Changes Not Saved",
+  "text.cloth-config.quit_config_sure": "Are you sure you want to quit editing the config? Changes will not be saved!",
+  "text.cloth-config.cancel_discard": "Cancel & Discard Changes",
+  "text.cloth-config.quit_discard": "Quit & Discard Changes",
+  "text.cloth-config.config": "Config",
+  "text.cloth-config.multi_error": "Multiple Issues!",
+  "text.cloth-config.not_editable": "Not Editable!",
+  "text.cloth-config.error.not_valid_number_int": "Not a valid number! (Integer)",
+  "text.cloth-config.error.not_valid_number_long": "Not a valid number! (Long)",
+  "text.cloth-config.error.not_valid_number_float": "Not a valid number! (Float)",
+  "text.cloth-config.error.not_valid_number_double": "Not a valid number! (Double)",
+  "text.cloth-config.error.too_large": "Too Large! (Maximum: %d)",
+  "text.cloth-config.error.too_small": "Too Small! (Minimum: %d)",
+  "text.cloth-config.list.add": "Insert New",
+  "text.cloth-config.list.remove": "Delete Selected",
+  "text.cloth-config.error_cannot_save": "Error!",
+  "text.cloth-config.reset_value": "Reset",
+  "text.cloth.reset_value": "Reset",
+  "text.cloth-config.restart_required": "Restart Required",
+  "text.cloth-config.restart_required_sub": "One of your modified settings requires Minecraft to be restarted. Do you want to proceed?",
+  "text.cloth-config.exit_minecraft": "Exit Minecraft",
+  "text.cloth-config.ignore_restart": "Ignore Restart",
+  "text.cloth-config.boolean.value.true": "§aYes",
+  "text.cloth-config.boolean.value.false": "§cNo",
+  "text.cloth-config.dropdown.value.unknown": "§cNo suggestions"
+}

+ 28 - 0
src/main/resources/assets/cloth-config2/lang/lol_us.json

@@ -0,0 +1,28 @@
+{
+  "text.cloth-config.save_and_done": "Save Changes",
+  "text.cloth-config.quit_config": "Changes Not Saved",
+  "text.cloth-config.quit_config_sure": "Are you sure you want to quit editing the config? Changes will not be saved!",
+  "text.cloth-config.cancel_discard": "Cancel & Discard Changes",
+  "text.cloth-config.quit_discard": "Quit & Discard Changes",
+  "text.cloth-config.config": "Config",
+  "text.cloth-config.multi_error": "Multiple Issues!",
+  "text.cloth-config.not_editable": "Not Editable!",
+  "text.cloth-config.error.not_valid_number_int": "Not a valid number! (Integer)",
+  "text.cloth-config.error.not_valid_number_long": "Not a valid number! (Long)",
+  "text.cloth-config.error.not_valid_number_float": "Not a valid number! (Float)",
+  "text.cloth-config.error.not_valid_number_double": "Not a valid number! (Double)",
+  "text.cloth-config.error.too_large": "Too Large! (Maximum: %d)",
+  "text.cloth-config.error.too_small": "Too Small! (Minimum: %d)",
+  "text.cloth-config.list.add": "Insert New",
+  "text.cloth-config.list.remove": "Delete Selected",
+  "text.cloth-config.error_cannot_save": "Error!",
+  "text.cloth-config.reset_value": "Reset",
+  "text.cloth.reset_value": "Reset",
+  "text.cloth-config.restart_required": "Restart Required",
+  "text.cloth-config.restart_required_sub": "One of your modified settings requires Minecraft to be restarted. Do you want to proceed?",
+  "text.cloth-config.exit_minecraft": "Exit Minecraft",
+  "text.cloth-config.ignore_restart": "Ignore Restart",
+  "text.cloth-config.boolean.value.true": "§aYes",
+  "text.cloth-config.boolean.value.false": "§cNo",
+  "text.cloth-config.dropdown.value.unknown": "§cNo suggestions"
+}

+ 28 - 0
src/main/resources/assets/cloth-config2/lang/pt_br.json

@@ -0,0 +1,28 @@
+{
+  "text.cloth-config.save_and_done": "Save Changes",
+  "text.cloth-config.quit_config": "Changes Not Saved",
+  "text.cloth-config.quit_config_sure": "Are you sure you want to quit editing the config? Changes will not be saved!",
+  "text.cloth-config.cancel_discard": "Cancel & Discard Changes",
+  "text.cloth-config.quit_discard": "Quit & Discard Changes",
+  "text.cloth-config.config": "Config",
+  "text.cloth-config.multi_error": "Multiple Issues!",
+  "text.cloth-config.not_editable": "Not Editable!",
+  "text.cloth-config.error.not_valid_number_int": "Not a valid number! (Integer)",
+  "text.cloth-config.error.not_valid_number_long": "Not a valid number! (Long)",
+  "text.cloth-config.error.not_valid_number_float": "Not a valid number! (Float)",
+  "text.cloth-config.error.not_valid_number_double": "Not a valid number! (Double)",
+  "text.cloth-config.error.too_large": "Too Large! (Maximum: %d)",
+  "text.cloth-config.error.too_small": "Too Small! (Minimum: %d)",
+  "text.cloth-config.list.add": "Insert New",
+  "text.cloth-config.list.remove": "Delete Selected",
+  "text.cloth-config.error_cannot_save": "Error!",
+  "text.cloth-config.reset_value": "Reset",
+  "text.cloth.reset_value": "Reset",
+  "text.cloth-config.restart_required": "Restart Required",
+  "text.cloth-config.restart_required_sub": "One of your modified settings requires Minecraft to be restarted. Do you want to proceed?",
+  "text.cloth-config.exit_minecraft": "Exit Minecraft",
+  "text.cloth-config.ignore_restart": "Ignore Restart",
+  "text.cloth-config.boolean.value.true": "§aYes",
+  "text.cloth-config.boolean.value.false": "§cNo",
+  "text.cloth-config.dropdown.value.unknown": "§cNo suggestions"
+}

+ 28 - 0
src/main/resources/assets/cloth-config2/lang/ru_ru.json

@@ -0,0 +1,28 @@
+{
+  "text.cloth-config.save_and_done": "Save Changes",
+  "text.cloth-config.quit_config": "Changes Not Saved",
+  "text.cloth-config.quit_config_sure": "Are you sure you want to quit editing the config? Changes will not be saved!",
+  "text.cloth-config.cancel_discard": "Cancel & Discard Changes",
+  "text.cloth-config.quit_discard": "Quit & Discard Changes",
+  "text.cloth-config.config": "Config",
+  "text.cloth-config.multi_error": "Multiple Issues!",
+  "text.cloth-config.not_editable": "Not Editable!",
+  "text.cloth-config.error.not_valid_number_int": "Not a valid number! (Integer)",
+  "text.cloth-config.error.not_valid_number_long": "Not a valid number! (Long)",
+  "text.cloth-config.error.not_valid_number_float": "Not a valid number! (Float)",
+  "text.cloth-config.error.not_valid_number_double": "Not a valid number! (Double)",
+  "text.cloth-config.error.too_large": "Too Large! (Maximum: %d)",
+  "text.cloth-config.error.too_small": "Too Small! (Minimum: %d)",
+  "text.cloth-config.list.add": "Insert New",
+  "text.cloth-config.list.remove": "Delete Selected",
+  "text.cloth-config.error_cannot_save": "Error!",
+  "text.cloth-config.reset_value": "Reset",
+  "text.cloth.reset_value": "Reset",
+  "text.cloth-config.restart_required": "Restart Required",
+  "text.cloth-config.restart_required_sub": "One of your modified settings requires Minecraft to be restarted. Do you want to proceed?",
+  "text.cloth-config.exit_minecraft": "Exit Minecraft",
+  "text.cloth-config.ignore_restart": "Ignore Restart",
+  "text.cloth-config.boolean.value.true": "§aYes",
+  "text.cloth-config.boolean.value.false": "§cNo",
+  "text.cloth-config.dropdown.value.unknown": "§cNo suggestions"
+}

+ 28 - 0
src/main/resources/assets/cloth-config2/lang/zh_cn.json

@@ -0,0 +1,28 @@
+{
+  "text.cloth-config.save_and_done": "Save Changes",
+  "text.cloth-config.quit_config": "Changes Not Saved",
+  "text.cloth-config.quit_config_sure": "Are you sure you want to quit editing the config? Changes will not be saved!",
+  "text.cloth-config.cancel_discard": "Cancel & Discard Changes",
+  "text.cloth-config.quit_discard": "Quit & Discard Changes",
+  "text.cloth-config.config": "Config",
+  "text.cloth-config.multi_error": "Multiple Issues!",
+  "text.cloth-config.not_editable": "Not Editable!",
+  "text.cloth-config.error.not_valid_number_int": "Not a valid number! (Integer)",
+  "text.cloth-config.error.not_valid_number_long": "Not a valid number! (Long)",
+  "text.cloth-config.error.not_valid_number_float": "Not a valid number! (Float)",
+  "text.cloth-config.error.not_valid_number_double": "Not a valid number! (Double)",
+  "text.cloth-config.error.too_large": "Too Large! (Maximum: %d)",
+  "text.cloth-config.error.too_small": "Too Small! (Minimum: %d)",
+  "text.cloth-config.list.add": "Insert New",
+  "text.cloth-config.list.remove": "Delete Selected",
+  "text.cloth-config.error_cannot_save": "Error!",
+  "text.cloth-config.reset_value": "Reset",
+  "text.cloth.reset_value": "Reset",
+  "text.cloth-config.restart_required": "Restart Required",
+  "text.cloth-config.restart_required_sub": "One of your modified settings requires Minecraft to be restarted. Do you want to proceed?",
+  "text.cloth-config.exit_minecraft": "Exit Minecraft",
+  "text.cloth-config.ignore_restart": "Ignore Restart",
+  "text.cloth-config.boolean.value.true": "§aYes",
+  "text.cloth-config.boolean.value.false": "§cNo",
+  "text.cloth-config.dropdown.value.unknown": "§cNo suggestions"
+}

+ 28 - 0
src/main/resources/assets/cloth-config2/lang/zh_tw.json

@@ -0,0 +1,28 @@
+{
+  "text.cloth-config.save_and_done": "完成",
+  "text.cloth-config.quit_config": "更改尚未保存",
+  "text.cloth-config.quit_config_sure": "Are you sure you want to quit editing the config? Changes will not be saved!",
+  "text.cloth-config.cancel_discard": "Cancel & Discard Changes",
+  "text.cloth-config.quit_discard": "放棄變更",
+  "text.cloth-config.config": "設置",
+  "text.cloth-config.multi_error": "多重錯誤!",
+  "text.cloth-config.not_editable": "不可編輯!",
+  "text.cloth-config.error.not_valid_number_int": "不是有效的數字!(Integer)",
+  "text.cloth-config.error.not_valid_number_long": "不是有效的數字!(Long)",
+  "text.cloth-config.error.not_valid_number_float": "不是有效的數字!(Float)",
+  "text.cloth-config.error.not_valid_number_double": "不是有效的數字!(Double)",
+  "text.cloth-config.error.too_large": "太大!(最大值:%d)",
+  "text.cloth-config.error.too_small": "太小!(最小值:%d)",
+  "text.cloth-config.list.add": "插入",
+  "text.cloth-config.list.remove": "刪除所選",
+  "text.cloth-config.error_cannot_save": "錯誤!",
+  "text.cloth-config.reset_value": "重置",
+  "text.cloth.reset_value": "重置",
+  "text.cloth-config.restart_required": "需要重新啟動",
+  "text.cloth-config.restart_required_sub": "One of your modified settings requires Minecraft to be restarted. Do you want to proceed?",
+  "text.cloth-config.exit_minecraft": "結束 Minecraft",
+  "text.cloth-config.ignore_restart": "忽略重啟",
+  "text.cloth-config.boolean.value.true": "§a是",
+  "text.cloth-config.boolean.value.false": "§c否",
+  "text.cloth-config.dropdown.value.unknown": "§cNo suggestions"
+}