diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java index 9fa737be4..29bd88b90 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java @@ -496,7 +496,7 @@ public class UncachedKeyRing { // Replace modified key in the keyring ring = replacePublicKey(ring, modified); if (ring == null) { - log.add(LogLevel.ERROR, LogType.MSG_MG_NO_SECRET_KEYRING, indent); + log.add(LogLevel.ERROR, LogType.MSG_MG_ERROR_SECRET_DUMMY, indent); return null; } indent -= 1; @@ -667,7 +667,7 @@ public class UncachedKeyRing { // replace pubkey in keyring ring = replacePublicKey(ring, modified); if (ring == null) { - log.add(LogLevel.ERROR, LogType.MSG_MG_NO_SECRET_KEYRING, indent); + log.add(LogLevel.ERROR, LogType.MSG_MG_ERROR_SECRET_DUMMY, indent); return null; } indent -= 1; @@ -712,7 +712,7 @@ public class UncachedKeyRing { if (getMasterKeyId() != masterKeyId || !Arrays.equals(getFingerprint(), other.getFingerprint())) { - log.add(LogLevel.ERROR, LogType.MSG_MG_HETEROGENEOUS, indent); + log.add(LogLevel.ERROR, LogType.MSG_MG_ERROR_HETEROGENEOUS, indent); return null; } @@ -760,7 +760,7 @@ public class UncachedKeyRing { // otherwise, just insert the public key result = replacePublicKey(result, key); if (result == null) { - log.add(LogLevel.ERROR, LogType.MSG_MG_NO_SECRET_KEYRING, indent); + log.add(LogLevel.ERROR, LogType.MSG_MG_ERROR_SECRET_DUMMY, indent); return null; } } @@ -792,7 +792,7 @@ public class UncachedKeyRing { if (modified != resultKey) { result = replacePublicKey(result, modified); if (result == null) { - log.add(LogLevel.ERROR, LogType.MSG_MG_NO_SECRET_KEYRING, indent); + log.add(LogLevel.ERROR, LogType.MSG_MG_ERROR_SECRET_DUMMY, indent); return null; } } @@ -820,7 +820,7 @@ public class UncachedKeyRing { if (modified != resultKey) { result = replacePublicKey(result, modified); if (result == null) { - log.add(LogLevel.ERROR, LogType.MSG_MG_NO_SECRET_KEYRING, indent); + log.add(LogLevel.ERROR, LogType.MSG_MG_ERROR_SECRET_DUMMY, indent); return null; } } @@ -837,7 +837,7 @@ public class UncachedKeyRing { return new UncachedKeyRing(result); } catch (IOException e) { - log.add(LogLevel.ERROR, LogType.MSG_MG_FATAL_ENCODE, indent); + log.add(LogLevel.ERROR, LogType.MSG_MG_ERROR_ENCODE, indent); return null; } diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResultParcel.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResultParcel.java index a08ee3091..63e891adc 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResultParcel.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResultParcel.java @@ -333,14 +333,14 @@ public class OperationResultParcel implements Parcelable { // keyring consolidation + MSG_MG_ERROR_SECRET_DUMMY(R.string.msg_mg_error_secret_dummy), + MSG_MG_ERROR_ENCODE(R.string.msg_mg_error_encode), + MSG_MG_ERROR_HETEROGENEOUS(R.string.msg_mg_error_heterogeneous), MSG_MG_PUBLIC (R.string.msg_mg_public), MSG_MG_SECRET (R.string.msg_mg_secret), - MSG_MG_FATAL_ENCODE (R.string.msg_mg_fatal_encode), - MSG_MG_HETEROGENEOUS (R.string.msg_mg_heterogeneous), MSG_MG_NEW_SUBKEY (R.string.msg_mg_new_subkey), MSG_MG_FOUND_NEW (R.string.msg_mg_found_new), MSG_MG_UNCHANGED (R.string.msg_mg_unchanged), - MSG_MG_NO_SECRET_KEYRING (R.string.msg_mg_no_secret_keyring), // secret key create MSG_CR (R.string.msg_cr), diff --git a/OpenKeychain/src/main/res/values-es/strings.xml b/OpenKeychain/src/main/res/values-es/strings.xml index e2b2d2e73..16d60dc82 100644 --- a/OpenKeychain/src/main/res/values-es/strings.xml +++ b/OpenKeychain/src/main/res/values-es/strings.xml @@ -572,8 +572,8 @@ Incorporándolas en el juego de claves públicas %s Incorporándolas en el juego de claves secretas (privadas) %s - Error fatal codificando la firma - ¡Se intentaron fusionar juegos de claves con diferentes huellas de validación de claves! + Error fatal codificando la firma + ¡Se intentaron fusionar juegos de claves con diferentes huellas de validación de claves! Añadiendo nueva subclave %s Se encontraron %s nuevos certificados en el juego de claves No hay nuevos certificados diff --git a/OpenKeychain/src/main/res/values-fr/strings.xml b/OpenKeychain/src/main/res/values-fr/strings.xml index de1506665..f383ac40b 100644 --- a/OpenKeychain/src/main/res/values-fr/strings.xml +++ b/OpenKeychain/src/main/res/values-fr/strings.xml @@ -572,8 +572,8 @@ Fusion vers le trousseau public %s Fusion vers le trousseau secret %s - Erreur fatale lors de l\'encodage de la signature - Il a été tenté de fusionner des trousseaux avec des empreintes différentes ! + Erreur fatale lors de l\'encodage de la signature + Il a été tenté de fusionner des trousseaux avec des empreintes différentes ! Ajout de la nouvelle sous-clef %s %s nouveaux certificats trouvés dans le trousseau Aucun nouveau certificat diff --git a/OpenKeychain/src/main/res/values-it/strings.xml b/OpenKeychain/src/main/res/values-it/strings.xml index b5cbfd2f5..e4e08ca78 100644 --- a/OpenKeychain/src/main/res/values-it/strings.xml +++ b/OpenKeychain/src/main/res/values-it/strings.xml @@ -572,8 +572,8 @@ Fusione nel portachiavi pubblico %s Fusione nel portachiavi privato %s - Errore fatale nella codifica della firma - Tentativo di unire portachiavi con impronte digitali diverse! + Errore fatale nella codifica della firma + Tentativo di unire portachiavi con impronte digitali diverse! Aggiunta nuova sottochiave %s Trovati %s nuovi certificati nel portachiavi Nessun nuovo certificato diff --git a/OpenKeychain/src/main/res/values-ja/strings.xml b/OpenKeychain/src/main/res/values-ja/strings.xml index 6dfe65312..36cbe64b5 100644 --- a/OpenKeychain/src/main/res/values-ja/strings.xml +++ b/OpenKeychain/src/main/res/values-ja/strings.xml @@ -555,8 +555,8 @@ 公開鍵の鍵輪 %s にマージ中 秘密鍵の鍵輪 %s にマージ中 - 署名のエンコードでの致命的なエラー - 指紋が異なる鍵輪をマージしようとしています! + 署名のエンコードでの致命的なエラー + 指紋が異なる鍵輪をマージしようとしています! 新しい副鍵 %s を追加中 鍵輪に新しい検証を %s 発見 新しい証明がない diff --git a/OpenKeychain/src/main/res/values-uk/strings.xml b/OpenKeychain/src/main/res/values-uk/strings.xml index 77458e93f..f1533f4f2 100644 --- a/OpenKeychain/src/main/res/values-uk/strings.xml +++ b/OpenKeychain/src/main/res/values-uk/strings.xml @@ -552,8 +552,8 @@ Злиття у публічну в\'язку %s Злиття у секретну в\'язку %s - Фатальна помилка шифрування підпису - Спробували злити в\'язки із різними відбитками! + Фатальна помилка шифрування підпису + Спробували злити в\'язки із різними відбитками! Додається новий підключ %s Знайдено %s нових сертифікатів у в\'язці Немає нових сертифікатів diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml index 418004721..8b92db4cd 100644 --- a/OpenKeychain/src/main/res/values/strings.xml +++ b/OpenKeychain/src/main/res/values/strings.xml @@ -500,6 +500,8 @@ error! key unavailable + + Applying insert batch operation. Tried to import secret keyring as public. This is a bug, please file a report! @@ -620,14 +622,14 @@ Removing duplicate user id "%s". The secret key contained two of them. This may result in missing certifications! + New public subkey found, but secret subkey dummy generation is not supported! + Tried to merge keyrings with differing fingerprints! + Fatal error encoding signature! Merging into public keyring %s Merging into secret keyring %s - Fatal error encoding signature - Tried to merge keyrings with differing fingerprints! Adding new subkey %s Found %s new certificates in keyring No new certificates - No secret keyring to add subkey to Generating new master key