add upToDateLabel and fix update indicator issue

This commit is contained in:
Jan-Peter Klein
2024-03-05 12:56:38 +01:00
parent b39834f4eb
commit b3789700e1
5 changed files with 33 additions and 4 deletions
@@ -42,6 +42,11 @@
</Label>
<Hyperlink styleClass="hyperlink-underline" text="%preferences.general.debugDirectory" onAction="#showLogfileDirectory"/>
</HBox>
<Label fx:id="upToDateLabel" text="%preferences.updates.upToDate" managed="false" visible="false">
<graphic>
<FontAwesome5IconView glyphSize="12" styleClass="glyph-icon-primary" glyph="CHECK"/>
</graphic>
</Label>
<Hyperlink text="${linkLabel.value}" onAction="#visitDownloadsPage" textAlignment="CENTER" wrapText="true" styleClass="hyperlink-underline" visible="${controller.updateAvailable}" managed="${controller.updateAvailable}"/>
</VBox>
</VBox>
@@ -324,6 +324,7 @@ preferences.updates.checkNowBtn=Check Now
preferences.updates.updateAvailable=Update to version %s available.
preferences.updates.lastUpdateCheck=The last update check was performed on: %s
preferences.updates.checkFailed=Check failed
preferences.updates.upToDate=Cryptomator is up-to-date.
## Contribution
preferences.contribute=Support Us