diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-03-13 01:27:09 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-03-13 01:27:09 +0800 |
| commit | 72144a3911b69f25a2ab0e45acdd5d9edabeda80 (patch) | |
| tree | a5922cb3ff4df30ce6a7e178dc0a584997600c55 /src/main | |
| parent | 744629f96372b90518b62be4e71295df622795c3 (diff) | |
| download | RoughlyEnoughItems-72144a3911b69f25a2ab0e45acdd5d9edabeda80.tar.gz RoughlyEnoughItems-72144a3911b69f25a2ab0e45acdd5d9edabeda80.tar.bz2 RoughlyEnoughItems-72144a3911b69f25a2ab0e45acdd5d9edabeda80.zip | |
v2.4.0.63
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/config/ConfigScreen.java | 2 | ||||
| -rwxr-xr-x | src/main/resources/assets/roughlyenoughitems/lang/en_us.json | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/config/ConfigScreen.java b/src/main/java/me/shedaniel/rei/gui/config/ConfigScreen.java index 5e1e7cc1f..cc3d63135 100644 --- a/src/main/java/me/shedaniel/rei/gui/config/ConfigScreen.java +++ b/src/main/java/me/shedaniel/rei/gui/config/ConfigScreen.java @@ -351,7 +351,7 @@ public class ConfigScreen extends Screen { } private String getTrueFalseText(boolean showCraftableOnlyButton) { - return String.format("%s%b", showCraftableOnlyButton ? "§a" : "§c", showCraftableOnlyButton); + return String.format("%s%s", showCraftableOnlyButton ? "§a" : "§c", showCraftableOnlyButton ? I18n.translate("text.rei.enabled") : I18n.translate("text.rei.disabled")); } @Override diff --git a/src/main/resources/assets/roughlyenoughitems/lang/en_us.json b/src/main/resources/assets/roughlyenoughitems/lang/en_us.json index e7137d51b..0670ca25a 100755 --- a/src/main/resources/assets/roughlyenoughitems/lang/en_us.json +++ b/src/main/resources/assets/roughlyenoughitems/lang/en_us.json @@ -60,6 +60,8 @@ "text.rei.config.enable_util_buttons": "Enable Utils Buttons:", "text.rei.gamemode_button.tooltip": "Switch GameMode\n§7Switch to %s mode.", "text.rei.weather_button.tooltip": "Switch Weather\n§7Switch to %s.", + "text.rei.enabled": "Yes", + "text.rei.disabled": "No", "_comment": "Don't change / translate the credit down below if you are doing it :)", "text.rei.credit.text": "§lRoughly Enough Items\n§7Originally a fork for Almost Enough Items.\n\n§lDevelopers\n - Originally by ZenDarva\n - Created by Danielshe\n - Plugin Support by TehNut\n\n§lLanguage Translation\n English - Danielshe\n Simplified Chinese - Danielshe\n Traditional Chinese - hugoalh & Danielshe\n French - Yanis48\n German - MelanX\n Estonian - Madis0\n Hebrew - nerdoron\n LOLCAT - Danielshe\n Upside Down - Danielshe\n\n§lLicense\n§7Roughly Enough Items is using MIT." |
