Wrap GopenPGP errors into more understandable app errors

This commit is contained in:
Danny Moesch 2019-10-20 12:14:51 +02:00 committed by Mingshen Sun
parent fa820e277f
commit 44cb864642
5 changed files with 23 additions and 4 deletions

View file

@ -130,6 +130,8 @@
"RememberToRemoveKey" = "Vergiss das Löschen des Schlüssels nicht";
"RememberToRemoveKeyFromServer." = "Vergiss nicht, den Schlüssel wieder vom Server zu entfernen.";
"RemovePgpKeys" = "PGP-Schlüssel entfernen";
"KeyExpiredOrIncompatibleError." = "Der öffentliche PGP-Schlüssel ist eventuell abgelaufen oder inkompatibel mit dem privaten Schlüssel.";
"WrongPassphraseError." = "Das Passwort für den privaten PGP-Schlüssel ist falsch.";
// App passcode
"RemovePasscode" = "Passcode entfernen";

View file

@ -131,6 +131,8 @@
"RememberToRemoveKeyFromServer." = "Remember to remove the key from the server.";
"RemovePgpKeys" = "Remove PGP Keys";
"PgpCopyPublicAndPrivateKeyToPass." = "Copy your ASCII-armored public and private keys to Pass with names \"gpg_key.pub\" and \"gpg_key\" (without quotes) via iTunes. Then come back and click \"iTunes File Sharing\" to finish.";
"KeyExpiredOrIncompatibleError." = "PGP public key may be expired or incompatible with the private key.";
"WrongPassphraseError." = "Passphrase of your PGP secret key is wrong.";
// App passcode
"RemovePasscode" = "Remove Passcode";