Translations from transifex, fix some strings references
This commit is contained in:
@@ -709,7 +709,7 @@ public class PgpKeyOperation {
|
||||
{
|
||||
|
||||
if (certificationKey == null) {
|
||||
throw new PgpGeneralMsgIdException(R.string.error_signature_failed);
|
||||
throw new PgpGeneralMsgIdException(R.string.error_no_signature_key);
|
||||
}
|
||||
|
||||
PBESecretKeyDecryptor keyDecryptor = new JcePBESecretKeyDecryptorBuilder().setProvider(
|
||||
|
||||
@@ -188,7 +188,7 @@ public class OpenPgpService extends RemoteService {
|
||||
} catch (PgpSignEncrypt.NoPassphraseException e) {
|
||||
throw new Exception(getString(R.string.error_no_signature_passphrase));
|
||||
} catch (PgpSignEncrypt.NoSigningKeyException e) {
|
||||
throw new Exception(getString(R.string.error_signature_failed));
|
||||
throw new Exception(getString(R.string.error_no_signature_key));
|
||||
}
|
||||
} finally {
|
||||
is.close();
|
||||
@@ -292,7 +292,7 @@ public class OpenPgpService extends RemoteService {
|
||||
} catch (PgpSignEncrypt.NoPassphraseException e) {
|
||||
throw new Exception(getString(R.string.error_no_signature_passphrase));
|
||||
} catch (PgpSignEncrypt.NoSigningKeyException e) {
|
||||
throw new Exception(getString(R.string.error_signature_failed));
|
||||
throw new Exception(getString(R.string.error_no_signature_key));
|
||||
}
|
||||
} finally {
|
||||
is.close();
|
||||
|
||||
@@ -871,7 +871,7 @@ public class KeychainIntentService extends IntentService
|
||||
} else if (e instanceof PgpSignEncrypt.NoPassphraseException) {
|
||||
message = getString(R.string.error_no_signature_passphrase);
|
||||
} else if (e instanceof PgpSignEncrypt.NoSigningKeyException) {
|
||||
message = getString(R.string.error_signature_failed);
|
||||
message = getString(R.string.error_no_signature_key);
|
||||
} else if (e instanceof PgpDecryptVerify.InvalidDataException) {
|
||||
message = getString(R.string.error_invalid_data);
|
||||
} else if (e instanceof PgpDecryptVerify.KeyExtractionException) {
|
||||
|
||||
Reference in New Issue
Block a user