Skip to content

Commit ebf274c

Browse files
bedaHovorkaclaude
andcommitted
fix(gui): use singular form in OpenAction warning dialog to match MIN_INOUT_ELEMENTS=1
Addresses review comment PRRT_kwDOQyJ9Cc50Kko4 — dialog text in OpenAction used "element(s)" which doesn't match the constant (always 1). Aligned with the wording already used in performSave() dialog. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d961ffa commit ebf274c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • desktop-ui/src/main/kotlin/cz/vutbr/fit/interlockSim/gui

desktop-ui/src/main/kotlin/cz/vutbr/fit/interlockSim/gui/MenuBar.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class MenuBar : JMenuBar() {
109109
"WARNING: This railway network has insufficient InOut elements " +
110110
"($inOutsCount found, $minRequired required).\n\n" +
111111
"The editor will prevent saving this context until you add at least " +
112-
"$minRequired InOut element(s).\n\n" +
112+
"$minRequired InOut element (entry/exit point).\n\n" +
113113
"InOut elements define entry/exit points for trains.",
114114
"Validation Warning",
115115
JOptionPane.WARNING_MESSAGE

0 commit comments

Comments
 (0)