mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-17 10:11:27 +00:00
Change Invalid mount point error window:
* Add heading * change icon to times_with_circle * reformat text
This commit is contained in:
@@ -39,6 +39,7 @@ public enum FontAwesome5Icon {
|
||||
SPINNER("\uF110"), //
|
||||
SYNC("\uF021"), //
|
||||
TIMES("\uF00D"), //
|
||||
TIMES_CIRCLE("\uF057"), //
|
||||
TRASH("\uF1F8"), //
|
||||
UNLINK("\uf127"), //
|
||||
WRENCH("\uF0AD"), //
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<?import javafx.scene.layout.StackPane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Circle?>
|
||||
<?import javafx.scene.text.Text?>
|
||||
<VBox xmlns:fx="http://javafx.com/fxml"
|
||||
xmlns="http://javafx.com/javafx"
|
||||
fx:controller="org.cryptomator.ui.unlock.UnlockInvalidMountPointController"
|
||||
@@ -23,10 +24,10 @@
|
||||
<children>
|
||||
<HBox spacing="12" VBox.vgrow="ALWAYS">
|
||||
<StackPane alignment="CENTER" HBox.hgrow="NEVER">
|
||||
<Circle styleClass="glyph-icon-primary" radius="24"/>
|
||||
<FontAwesome5IconView styleClass="glyph-icon-white" glyph="EXCLAMATION" glyphSize="24"/>
|
||||
<FontAwesome5IconView styleClass="glyph-icon-red" glyph="TIMES_CIRCLE" glyphSize="67"/>
|
||||
</StackPane>
|
||||
<VBox spacing="6" HBox.hgrow="ALWAYS">
|
||||
<Text text="%unlock.error.heading" styleClass="label-large"/>
|
||||
<FormattedLabel visible="${controller.mustExist}" managed="${controller.mustExist}" format="%unlock.error.invalidMountPoint.notExisting" arg1="${controller.mountPoint}" wrapText="true"/>
|
||||
<FormattedLabel visible="${!controller.mustExist}" managed="${!controller.mustExist}" format="%unlock.error.invalidMountPoint.existing" arg1="${controller.mountPoint}" wrapText="true"/>
|
||||
</VBox>
|
||||
|
||||
@@ -102,9 +102,11 @@ unlock.unlockBtn=Unlock
|
||||
unlock.success.message=Unlocked "%s" successfully! Your vault is now accessible.
|
||||
unlock.success.rememberChoice=Remember choice, don't show this again
|
||||
unlock.success.revealBtn=Reveal Vault
|
||||
## Invalid Mount Point
|
||||
unlock.error.invalidMountPoint.notExisting=Mount point is not an empty directory or doesn't exist: %s
|
||||
unlock.error.invalidMountPoint.existing=Mount point/folder already exists or parent folder is missing: %s
|
||||
## Failure
|
||||
unlock.error.heading=Unable to unlock vault
|
||||
### Invalid Mount Point
|
||||
unlock.error.invalidMountPoint.notExisting=Mount point "%s" is not a directory, not empty or does not exist.
|
||||
unlock.error.invalidMountPoint.existing=Mount point "%s" already exists or parent folder is missing.
|
||||
|
||||
# Migration
|
||||
migration.title=Upgrade Vault
|
||||
|
||||
Reference in New Issue
Block a user