Translations from transifex, fix some strings references

This commit is contained in:
Dominik Schürmann
2014-04-16 19:00:06 +02:00
parent b8b6fc5f6f
commit 676262b052
58 changed files with 190 additions and 1148 deletions

View File

@@ -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(

View File

@@ -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();

View File

@@ -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) {