Skip to content

Commit

Permalink
Fix earlyPackStatus tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
dima-dencep committed Dec 31, 2023
1 parent 31ecafc commit 59713da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class ModConfig implements ConfigData {
@ConfigEntry.Gui.Tooltip
public boolean reInitScreen = true;

@ConfigEntry.Gui.Tooltip
@ConfigEntry.Gui.Tooltip(count = 2)
@ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
public PackStatus earlyPackStatus = PackStatus.SEND_DENY;

Expand Down
3 changes: 2 additions & 1 deletion common/src/main/resources/assets/rrls/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"text.autoconfig.rrls.option.reInitScreen": "Reinitializing the current screen after a reload",
"text.autoconfig.rrls.option.reInitScreen.@Tooltip": "Disabling this feature may eliminate the hang-up after the reload is complete",
"text.autoconfig.rrls.option.earlyPackStatus": "Early sending of status about server resourcepack",
"text.autoconfig.rrls.option.earlyPackStatus.@Tooltip": "Some servers specifically wait for the player to load resources, because of this the game may be displayed incorrectly, for example, you were underground while reloading resources",
"text.autoconfig.rrls.option.earlyPackStatus.@Tooltip[0]": "Some servers specifically wait for the player to load resources, because of this the game may be displayed incorrectly",
"text.autoconfig.rrls.option.earlyPackStatus.@Tooltip[1]": "Example: You were underground while reloading resources",
"text.autoconfig.rrls.option.animationSpeed": "Splash animation speed",
"text.autoconfig.rrls.option.animationSpeed.@Tooltip": "In milliseconds"
}
3 changes: 2 additions & 1 deletion common/src/main/resources/assets/rrls/lang/ru_ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"text.autoconfig.rrls.option.reInitScreen": "Повторная инициализация текущего экрана после перезагрузки",
"text.autoconfig.rrls.option.reInitScreen.@Tooltip": "Отключение этой функции может устранить зависание после завершения перезагрузки",
"text.autoconfig.rrls.option.earlyPackStatus": "Ранняя отправка статуса о состоянии ресурспака сервера",
"text.autoconfig.rrls.option.earlyPackStatus.@Tooltip": "Некоторые серверы специально ждут, пока игрок загрузит ресурсы, из-за этого игра может отображаться некорректно, например, вы оказались под землей во время перезагрузки ресурсов",
"text.autoconfig.rrls.option.earlyPackStatus.@Tooltip[0]": "Некоторые серверы специально ждут, пока игрок загрузит ресурсы, из-за этого игра может отображаться некорректно",
"text.autoconfig.rrls.option.earlyPackStatus.@Tooltip[1]": "Например: Вы оказались под землей во время перезагрузки ресурсов",
"text.autoconfig.rrls.option.animationSpeed": "Скорость анимации сплеша",
"text.autoconfig.rrls.option.animationSpeed.@Tooltip": "В милисекундах"
}

0 comments on commit 59713da

Please sign in to comment.