Localized quit dialog

This commit is contained in:
Sebastian Stenzel
2019-08-28 13:05:20 +02:00
parent 88d522501f
commit 6da0d023ff
2 changed files with 7 additions and 3 deletions

View File

@@ -18,12 +18,12 @@
</padding>
<children>
<TextFlow styleClass="text-flow">
<Text text="TODO Quit application? There are unlocked vaults "/>
<Text text="%quit.prompt"/>
</TextFlow>
<HBox>
<Button text="TODO cancel" cancelButton="true" onAction="#cancel"/>
<Button text="%generic.button.cancel" cancelButton="true" onAction="#cancel"/>
<Region HBox.hgrow="ALWAYS"/>
<Button text="TODO lock and quit" defaultButton="true" onAction="#lockAndQuit" fx:id="lockAndQuitButton" contentDisplay="TEXT_ONLY">
<Button text="%quit.lockAndQuit" defaultButton="true" onAction="#lockAndQuit" fx:id="lockAndQuitButton" contentDisplay="TEXT_ONLY">
<graphic>
<ProgressIndicator progress="-1" prefWidth="12" prefHeight="12"/>
</graphic>

View File

@@ -113,3 +113,7 @@ passwordStrength.messageLabel.3=Strong
passwordStrength.messageLabel.4=Very strong
unlock.success.message=Unlocked "%s" successfully! successfully! Your vault is now accessible.
# Quit
quit.prompt=Quit application? There are unlocked vaults.
quit.lockAndQuit=Lock and Quit