diff --git a/app/src/main/java/sushi/hardcore/droidfs/filesystems/CryfsVolume.kt b/app/src/main/java/sushi/hardcore/droidfs/filesystems/CryfsVolume.kt index e9dfa98..e7c0346 100644 --- a/app/src/main/java/sushi/hardcore/droidfs/filesystems/CryfsVolume.kt +++ b/app/src/main/java/sushi/hardcore/droidfs/filesystems/CryfsVolume.kt @@ -69,6 +69,7 @@ class CryfsVolume(private val fusePtr: Long): EncryptedVolume() { result.errorStringId = when (errorCode.value) { // Values from src/cryfs/impl/ErrorCodes.h 11 -> R.string.wrong_password + 16 -> R.string.inaccessible_base_dir 19 -> R.string.config_load_error 20 -> R.string.filesystem_id_changed else -> 0 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 12d9f79..f49f63c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -261,5 +261,6 @@ The configuration file cannot be loaded. Make sure the volume is accessible. The configuration file cannot be decrypted. Please check your password. The filesystem id in the config file is different to the last time we opened this volume. This could mean an attacker replaced the filesystem with a different one. + The volume doesn\'t exist or is inaccessible. The task failed: %s