Skip to content

Commit

Permalink
IJMP-1266: description added
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzianis Lisiankou authored and Dzianis Lisiankou committed Aug 31, 2023
1 parent 7ceb066 commit 1ff218e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import com.intellij.ui.components.JBScrollPane
import com.intellij.ui.dsl.builder.*
import com.intellij.ui.dsl.gridLayout.HorizontalAlign
import com.intellij.ui.layout.selectedValueMatches
import eu.ibagroup.formainframe.common.message
import eu.ibagroup.formainframe.common.ui.StatefulDialog
import eu.ibagroup.formainframe.config.connect.ConnectionConfig
import eu.ibagroup.formainframe.config.connect.getUsername
Expand Down Expand Up @@ -111,6 +112,10 @@ class AllocationDialog(project: Project?, config: ConnectionConfig, override var
.bindItem(state.allocationParameters::allocationUnit.toNullableProperty())
.also { spaceUnitBox = it.component }
.widthGroup(sameWidthComboBoxGroup)
contextHelp(
description = message("allocation.dialog.unit.size.hint.description"),
title = message("allocation.dialog.unit.size.hint.title")
)
}
row {
label("Primary allocation: ")
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/messages/FMBundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ encoding.reload.or.convert.dialog.title={0}: Reload or Convert to {1}
encoding.reload.or.convert.dialog.message=The encoding you've chosen ('{1}') may change the contents of '{0}'.<br>Do you want to<br>1. <b>Reload</b> the file from remote in the new encoding '{1}' and overwrite contents (may not display correctly) or<br>2. <b>Convert</b> the text and overwrite file in the new encoding?<br>
encoding.reload.dialog.title={0}: Reload to {1}
encoding.reload.dialog.message=The encoding you've chosen ('{1}') may change the contents of '{0}'.<br>Do you want to <b>Reload</b> the file from remote in the new encoding '{1}' and overwrite contents (may not display correctly).<br>
allocation.dialog.unit.size.hint.description=For <b>IBM 3390</b> direct access storage device:<br>1 CYLINDER = 15 TRACKS<br>1 TRACK = 56664 BYTES
allocation.dialog.unit.size.hint.title=Allocation unit Size

0 comments on commit 1ff218e

Please sign in to comment.