mirror of
https://github.com/corda/corda.git
synced 2024-12-21 05:53:23 +00:00
explorer: Add small comment about i18n
This commit is contained in:
parent
f6d4d91f36
commit
f20156eec5
@ -287,7 +287,6 @@ class CashViewer : View() {
|
|||||||
|
|
||||||
// Wire up UI
|
// Wire up UI
|
||||||
init {
|
init {
|
||||||
|
|
||||||
searchCancelImageView.setOnMouseClicked { event: MouseEvent ->
|
searchCancelImageView.setOnMouseClicked { event: MouseEvent ->
|
||||||
if (event.button == MouseButton.PRIMARY) {
|
if (event.button == MouseButton.PRIMARY) {
|
||||||
searchCriteriaTextField.text = ""
|
searchCriteriaTextField.text = ""
|
||||||
@ -356,6 +355,7 @@ class CashViewer : View() {
|
|||||||
cashViewerTable.root.isExpanded = true
|
cashViewerTable.root.isExpanded = true
|
||||||
cashViewerTable.isShowRoot = false
|
cashViewerTable.isShowRoot = false
|
||||||
|
|
||||||
|
// TODO Think about i18n!
|
||||||
totalMatchingLabel.textProperty().bind(Bindings.size(cashViewerIssueNodes).map {
|
totalMatchingLabel.textProperty().bind(Bindings.size(cashViewerIssueNodes).map {
|
||||||
val plural = if (it == 1) "" else "s"
|
val plural = if (it == 1) "" else "s"
|
||||||
"Total $it matching issuer$plural"
|
"Total $it matching issuer$plural"
|
||||||
|
Loading…
Reference in New Issue
Block a user