diff --git a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/lang/English.kt b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/lang/English.kt index 2e9fc6261..58a996234 100644 --- a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/lang/English.kt +++ b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/lang/English.kt @@ -124,6 +124,9 @@ private fun misc(provider: MatteryLanguageProvider) { misc("container.matter_panel.task", "Ongoing replication task") misc("container.matter_panel.task_line", "%s: %s | %s / %s") + misc("container.matter_panel.tasks", "Tasks") + misc("container.matter_panel.patterns", "Patterns") + misc("item.power.infinite.storage", "Stored energy: Infinity / Infinity") misc("item.power.infinite.throughput", "Max I/O Infinite / Infinite") misc("item.power.passed", "Passed energy: %s") diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/MatterPanelScreen.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/MatterPanelScreen.kt index f3d91073f..4cd607e14 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/MatterPanelScreen.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/MatterPanelScreen.kt @@ -36,8 +36,13 @@ class MatterPanelScreen( scrollBar.dock = Dock.RIGHT - frame.Tab(onOpen = { isPatternView = true }, activeIcon = PATTERN_LIST_ACTIVE, inactiveIcon = PATTERN_LIST_INACTIVE) - frame.Tab(onOpen = { isPatternView = false }, activeIcon = TASK_LIST_ACTIVE, inactiveIcon = TASK_LIST_INACTIVE) + frame.Tab(onOpen = { isPatternView = true }, activeIcon = PATTERN_LIST_ACTIVE, inactiveIcon = PATTERN_LIST_INACTIVE).also { + it.tooltip = TranslatableComponent("otm.container.matter_panel.patterns") + } + + frame.Tab(onOpen = { isPatternView = false }, activeIcon = TASK_LIST_ACTIVE, inactiveIcon = TASK_LIST_INACTIVE).also { + it.tooltip = TranslatableComponent("otm.container.matter_panel.tasks") + } val canvas = object : EditablePanel(this@MatterPanelScreen, frame, width = GRID_WIDTH * AbstractSlotPanel.SIZE) { init {