mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-08-19 13:46:04 +00:00
* Hide button when not hovering or vault is locked
* localize
This commit is contained in:
@@ -14,7 +14,8 @@
|
||||
prefHeight="60"
|
||||
prefWidth="200"
|
||||
spacing="12"
|
||||
alignment="CENTER_LEFT">
|
||||
alignment="CENTER_LEFT"
|
||||
fx:id="root">
|
||||
<padding>
|
||||
<Insets topRightBottomLeft="12"/>
|
||||
</padding>
|
||||
@@ -26,15 +27,13 @@
|
||||
<Label styleClass="header-label" text="${controller.message}"/>
|
||||
<Label styleClass="detail-label" text="${controller.description}" textOverrun="CENTER_ELLIPSIS" />
|
||||
</VBox>
|
||||
<Button fx:id="eventActionsButton" contentDisplay="GRAPHIC_ONLY" onAction="#toggleEventActionsMenu">
|
||||
<Button fx:id="eventActionsButton" contentDisplay="GRAPHIC_ONLY" onAction="#toggleEventActionsMenu" managed="${controller.actionsButtonVisible}" visible="${controller.actionsButtonVisible}">
|
||||
<graphic>
|
||||
<FontAwesome5IconView glyph="ELLIPSIS_V" glyphSize="16"/>
|
||||
</graphic>
|
||||
</Button>
|
||||
|
||||
<fx:define>
|
||||
<ContextMenu fx:id="eventActions">
|
||||
<!-- entries are added in the controller -->
|
||||
</ContextMenu>
|
||||
<ContextMenu fx:id="eventActionsMenu"/>
|
||||
</fx:define>
|
||||
</HBox>
|
||||
|
||||
@@ -2,8 +2,14 @@
|
||||
additionalStyleSheets=
|
||||
|
||||
#Test
|
||||
event.vaultLocked.message=***********
|
||||
event.vaultLocked.description=Unlock the vault to display details
|
||||
event.conflictResolved.description=Resolved conflict
|
||||
event.conflictResolved.showDecrypted=Show decrypted file
|
||||
event.conflictFailed.showEncrypted=Show encrypted file
|
||||
event.conflict.description=Cannot resolve conflict.
|
||||
event.conflict.showDecrypted=Show decrypted, original file
|
||||
event.conflict.showEncrypted=Show conflicting, encrypted file
|
||||
event.decryptionFailed.description=Decryption failed.
|
||||
event.decryptionFailed.showEncrypted=Show encrypted file
|
||||
|
||||
# Generics
|
||||
|
||||
Reference in New Issue
Block a user