mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-04-20 17:46:52 -04:00
added text flow styling, localized preferences title, renamed some i18n keys
This commit is contained in:
@@ -27,9 +27,9 @@ abstract class PreferencesModule {
|
||||
@Provides
|
||||
@PreferencesWindow
|
||||
@PreferencesScoped
|
||||
static Stage provideStage() {
|
||||
static Stage provideStage(ResourceBundle resourceBundle) {
|
||||
Stage stage = new Stage();
|
||||
stage.setTitle("Preferences");
|
||||
stage.setTitle(resourceBundle.getString("preferences.title"));
|
||||
stage.setMinWidth(400);
|
||||
stage.setMinHeight(300);
|
||||
stage.initModality(Modality.APPLICATION_MODAL);
|
||||
|
||||
@@ -101,9 +101,9 @@ public class UnlockController implements FxController {
|
||||
private void didClickSavePasswordCheckbox() {
|
||||
if (!savePassword.isSelected() && hasStoredPassword()) {
|
||||
Alert confirmDialog = DialogBuilderUtil.buildConfirmationDialog( //
|
||||
resourceBundle.getString("unlock.savePassword.delete.confirmation.title"), //
|
||||
resourceBundle.getString("unlock.savePassword.delete.confirmation.header"), //
|
||||
resourceBundle.getString("unlock.savePassword.delete.confirmation.content"), //
|
||||
resourceBundle.getString("unlock.deleteSavedPasswordDialog.title"), //
|
||||
resourceBundle.getString("unlock.deleteSavedPasswordDialog.header"), //
|
||||
resourceBundle.getString("unlock.deleteSavedPasswordDialog.content"), //
|
||||
SystemUtils.IS_OS_MAC_OSX ? ButtonType.CANCEL : ButtonType.OK);
|
||||
Optional<ButtonType> choice = confirmDialog.showAndWait();
|
||||
if (ButtonType.OK.equals(choice.get())) {
|
||||
|
||||
@@ -32,6 +32,10 @@
|
||||
-fx-text-fill: TEXT_FILL;
|
||||
}
|
||||
|
||||
.text-flow > * {
|
||||
-fx-fill: TEXT_FILL;
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
* *
|
||||
* Main Window *
|
||||
|
||||
@@ -32,6 +32,10 @@
|
||||
-fx-text-fill: TEXT_FILL;
|
||||
}
|
||||
|
||||
.text-flow > * {
|
||||
-fx-fill: TEXT_FILL;
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
* *
|
||||
* Main Window *
|
||||
|
||||
@@ -2,11 +2,12 @@ addvaultwizard.existing.instruction=Please choose the masterkey.cryptomator file
|
||||
addvaultwizard.existing.filePickerTitle=Open Masterkey File
|
||||
main.closeBtn.tooltip=Close
|
||||
main.settingsBtn.tooltip=Settings
|
||||
preferences.title=Preferences
|
||||
preferences.autoUpdateCheck=Check for updates automatically
|
||||
preferences.debugLogging=Enable debug logging
|
||||
preferences.theme=Look & Feel
|
||||
preferences.volumeType=Volume type
|
||||
unlock.savePassword.delete.confirmation.title=Delete Saved Password
|
||||
unlock.savePassword.delete.confirmation.header=Do you really want to delete the saved password of this vault?
|
||||
unlock.savePassword.delete.confirmation.content=The saved password of this vault will be immediately deleted from your system keychain. If you'd like to save your password again, you'd have to unlock your vault with the "Save Password" option enabled.
|
||||
unlock.deleteSavedPasswordDialog.title=Delete Saved Password
|
||||
unlock.deleteSavedPasswordDialog.header=Do you really want to delete the saved password of this vault?
|
||||
unlock.deleteSavedPasswordDialog.content=The saved password of this vault will be immediately deleted from your system keychain. If you'd like to save your password again, you'd have to unlock your vault with the "Save Password" option enabled.
|
||||
vaultlist.emptyList.onboardingInstruction=Click here to add a vault
|
||||
Reference in New Issue
Block a user