diff --git a/main/ui/src/main/java/org/cryptomator/ui/vaultoptions/MountOptionsController.java b/main/ui/src/main/java/org/cryptomator/ui/vaultoptions/MountOptionsController.java index dcd14d9bb..7f5ffb49b 100644 --- a/main/ui/src/main/java/org/cryptomator/ui/vaultoptions/MountOptionsController.java +++ b/main/ui/src/main/java/org/cryptomator/ui/vaultoptions/MountOptionsController.java @@ -130,7 +130,7 @@ public class MountOptionsController implements FxController { private File chooseDirectory() { DirectoryChooser directoryChooser = new DirectoryChooser(); - directoryChooser.setTitle(resourceBundle.getString("TODO")); + directoryChooser.setTitle(resourceBundle.getString("vaultOptions.mount.winDirChooser")); try { directoryChooser.setInitialDirectory(Path.of(System.getProperty("user.home")).toFile()); } catch (Exception e) { @@ -150,7 +150,7 @@ public class MountOptionsController implements FxController { //TODO: none drive letter is selected return ""; } else if (root.endsWith("occupied")) { - return root.getRoot().toString().substring(0, 1) + " (" + resourceBundle.getString("TODO") + ")"; + return root.getRoot().toString().substring(0, 1) + " (" + resourceBundle.getString("vaultOptions.mount.winDriveLetterOccupied") + ")"; } else { return root.toString().substring(0, 1); } @@ -158,11 +158,7 @@ public class MountOptionsController implements FxController { @Override public Path fromString(String string) { - if (resourceBundle.getString("TODO").equals(string)) { - return null; - } else { - return Path.of(string); - } + return Path.of(string); } } diff --git a/main/ui/src/main/resources/i18n/strings.properties b/main/ui/src/main/resources/i18n/strings.properties index 39364561a..89a0f836e 100644 --- a/main/ui/src/main/resources/i18n/strings.properties +++ b/main/ui/src/main/resources/i18n/strings.properties @@ -156,13 +156,17 @@ wrongFileAlert.btn=Okay wrongFileAlert.information=You have tried to add a file or folder that does not seem to be a Cryptomator vault. To encrypt your data, create and unlock a vault. # Vault Options +## General vaultOptions.general=General vaultOptions.general.changePasswordBtn=Change Password vaultOptions.general.showRecoveryKeyBtn=Display Recovery Key +## Mount vaultOptions.mount=Mounting vaultOptions.mount.readonly=Read-Only vaultOptions.mount.driveName=Drive Name vaultOptions.mount.customMountFlags=Custom Mount Flags +vaultOptions.mount.winDriveLetterOccupied=occupied +vaultOptions.mount.winDirChooser=Pick an empty directory # Recovery Key recoveryKey.title=Recovery Key