Change design of files-in-use-notification

* add timestamp of event occurance
* move filename into message section
* remove translations
This commit is contained in:
Armin Schrenk
2025-12-18 13:28:04 +01:00
parent eb20fd7278
commit 8eb91f6471
3 changed files with 53 additions and 8 deletions
+5 -1
View File
@@ -55,7 +55,11 @@
<padding>
<Insets top="6"/>
</padding>
<Label text="${controller.message}" styleClass="label-large" wrapText="true"/>
<HBox>
<Label text="${controller.message}" styleClass="label-large" wrapText="true"/>
<Region minWidth="12" HBox.hgrow="ALWAYS"/>
<Label text="${controller.eventTime}" styleClass="label-small" />
</HBox>
<Label text="${controller.vaultName}" styleClass="label-small" wrapText="true"/>
<Region minHeight="6"/>
<Label text="${controller.description}" styleClass="label" wrapText="true"/>
+3 -3
View File
@@ -699,6 +699,6 @@ eventView.entry.brokenFileNode.copyDecrypted=Copy decrypted path
# Notifications
## FileIsInUse Notification
notification.inUse.message=File is locked
notification.inUse.description=File %s is opened by user %s (%s). Ask the user to close the file. Otherwise, you can ignore the lock and open it anyway, but be aware of the data loss risk.
notification.inUse.action=Ignore Lock
#notification.inUse.message=File is locked
#notification.inUse.description=File %s is opened by user %s (%s). Ask the user to close the file. Otherwise, you can ignore the lock and open it anyway, but be aware of the data loss risk.
#notification.inUse.action=Ignore Lock