add translation to filter labels

This commit is contained in:
Armin Schrenk
2022-11-30 13:50:52 +01:00
parent 7bac78bc5d
commit 348bc2b2ec
2 changed files with 6 additions and 3 deletions

View File

@@ -42,15 +42,15 @@
</HBox>
<VBox spacing="3" VBox.vgrow="ALWAYS">
<HBox alignment="CENTER" spacing="6">
<Label fx:id="filterLbl" text="Filters">
<Label fx:id="filterLbl" text="%health.check.detail.listFilters.label">
<graphic>
<FontAwesome5IconView glyph="FUNNEL" glyphSize="${filterLbl.height}" styleClass="glyph-icon-muted"/>
</graphic>
</Label>
<Region minWidth="12" />
<Label text="Severity" labelFor="${severityChoiceBox}"/>
<Label text="%health.check.detail.listFilters.severity" labelFor="${severityChoiceBox}"/>
<ChoiceBox fx:id="severityChoiceBox" />
<Label text="Fix state" labelFor="${fixStateChoiceBox}"/>
<Label text="%health.check.detail.listFilters.fixState" labelFor="${fixStateChoiceBox}"/>
<ChoiceBox fx:id="fixStateChoiceBox" />
</HBox>
<ListView fx:id="resultsListView" VBox.vgrow="ALWAYS" visible="${!controller.checkSkipped}" fixedCellSize="25">

View File

@@ -219,6 +219,9 @@ health.check.detail.checkFinished=The check finished successfully.
health.check.detail.checkFinishedAndFound=The check finished running. Please review the results.
health.check.detail.checkFailed=The check exited due to an error.
health.check.detail.checkCancelled=The check was cancelled.
health.check.detail.listFilters.label=Filter
health.check.detail.listFilters.severity=Severity
health.check.detail.listFilters.fixState=Fix state
health.check.detail.fixAllSpecificBtn=Fix all of type
health.check.exportBtn=Export Report
## Result view