mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-23 17:22:16 -05:00
Merge pull request #1137 from manojkhannakm/development
Updated fix for Issue #1116
This commit is contained in:
commit
4de978bccb
@ -36,7 +36,6 @@ import org.sufficientlysecure.keychain.pgp.SignEncryptParcel;
|
||||
import org.sufficientlysecure.keychain.ui.dialog.DeleteFileDialogFragment;
|
||||
import org.sufficientlysecure.keychain.ui.util.Notify;
|
||||
import org.sufficientlysecure.keychain.util.Log;
|
||||
import org.sufficientlysecure.keychain.util.Preferences;
|
||||
import org.sufficientlysecure.keychain.util.ShareHelper;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@ -177,22 +176,36 @@ public class EncryptFilesActivity extends EncryptActivity implements EncryptActi
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEncryptSuccess(SignEncryptResult result) {
|
||||
public void onEncryptSuccess(final SignEncryptResult result) {
|
||||
if (mDeleteAfterEncrypt) {
|
||||
for (Uri inputUri : mInputUris) {
|
||||
DeleteFileDialogFragment deleteFileDialog = DeleteFileDialogFragment.newInstance(inputUri);
|
||||
deleteFileDialog.show(getSupportFragmentManager(), "deleteDialog");
|
||||
}
|
||||
final Uri[] inputUris = mInputUris.toArray(new Uri[mInputUris.size()]);
|
||||
DeleteFileDialogFragment deleteFileDialog = DeleteFileDialogFragment.newInstance(inputUris);
|
||||
deleteFileDialog.setOnDeletedListener(new DeleteFileDialogFragment.OnDeletedListener() {
|
||||
|
||||
@Override
|
||||
public void onDeleted() {
|
||||
if (mShareAfterEncrypt) {
|
||||
// Share encrypted message/file
|
||||
startActivity(sendWithChooserExcludingEncrypt());
|
||||
} else {
|
||||
// Save encrypted file
|
||||
result.createNotify(EncryptFilesActivity.this).show();
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
deleteFileDialog.show(getSupportFragmentManager(), "deleteDialog");
|
||||
|
||||
mInputUris.clear();
|
||||
notifyUpdate();
|
||||
}
|
||||
|
||||
if (mShareAfterEncrypt) {
|
||||
// Share encrypted message/file
|
||||
startActivity(sendWithChooserExcludingEncrypt());
|
||||
} else {
|
||||
// Save encrypted file
|
||||
result.createNotify(EncryptFilesActivity.this).show();
|
||||
if (mShareAfterEncrypt) {
|
||||
// Share encrypted message/file
|
||||
startActivity(sendWithChooserExcludingEncrypt());
|
||||
} else {
|
||||
// Save encrypted file
|
||||
result.createNotify(EncryptFilesActivity.this).show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -114,6 +114,13 @@ public class EncryptFilesFragment extends Fragment implements EncryptActivityInt
|
||||
return;
|
||||
}
|
||||
|
||||
if (mEncryptInterface.getInputUris().contains(inputUri)) {
|
||||
Notify.showNotify(getActivity(),
|
||||
getActivity().getString(R.string.error_file_added_already, FileHelper.getFilename(getActivity(), inputUri)),
|
||||
Notify.Style.ERROR);
|
||||
return;
|
||||
}
|
||||
|
||||
mEncryptInterface.getInputUris().add(inputUri);
|
||||
mEncryptInterface.notifyUpdate();
|
||||
mSelectedFiles.requestFocus();
|
||||
|
@ -18,7 +18,6 @@
|
||||
package org.sufficientlysecure.keychain.ui.dialog;
|
||||
|
||||
import android.app.Dialog;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.DialogInterface;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
@ -34,18 +33,22 @@ import org.sufficientlysecure.keychain.util.FileHelper;
|
||||
import org.sufficientlysecure.keychain.util.Log;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
|
||||
public class DeleteFileDialogFragment extends DialogFragment {
|
||||
private static final String ARG_DELETE_URI = "delete_uri";
|
||||
private static final String ARG_DELETE_URIS = "delete_uris";
|
||||
|
||||
private OnDeletedListener onDeletedListener;
|
||||
|
||||
/**
|
||||
* Creates new instance of this delete file dialog fragment
|
||||
*/
|
||||
public static DeleteFileDialogFragment newInstance(Uri deleteUri) {
|
||||
public static DeleteFileDialogFragment newInstance(Uri... deleteUris) {
|
||||
DeleteFileDialogFragment frag = new DeleteFileDialogFragment();
|
||||
Bundle args = new Bundle();
|
||||
|
||||
args.putParcelable(ARG_DELETE_URI, deleteUri);
|
||||
args.putParcelableArray(ARG_DELETE_URIS, deleteUris);
|
||||
|
||||
frag.setArguments(args);
|
||||
|
||||
@ -59,12 +62,20 @@ public class DeleteFileDialogFragment extends DialogFragment {
|
||||
public Dialog onCreateDialog(Bundle savedInstanceState) {
|
||||
final FragmentActivity activity = getActivity();
|
||||
|
||||
final Uri deleteUri = getArguments().getParcelable(ARG_DELETE_URI);
|
||||
final String deleteFilename = FileHelper.getFilename(getActivity(), deleteUri);
|
||||
final Uri[] deleteUris = (Uri[]) getArguments().getParcelableArray(ARG_DELETE_URIS);
|
||||
|
||||
final StringBuilder deleteFileNames = new StringBuilder();
|
||||
//Retrieving file names after deletion gives unexpected results
|
||||
final HashMap<Uri, String> deleteFileNameMap = new HashMap<>();
|
||||
for (Uri deleteUri : deleteUris) {
|
||||
String deleteFileName = FileHelper.getFilename(getActivity(), deleteUri);
|
||||
deleteFileNames.append('\n').append(deleteFileName);
|
||||
deleteFileNameMap.put(deleteUri, deleteFileName);
|
||||
}
|
||||
|
||||
CustomAlertDialogBuilder alert = new CustomAlertDialogBuilder(activity);
|
||||
|
||||
alert.setMessage(this.getString(R.string.file_delete_confirmation, deleteFilename));
|
||||
alert.setMessage(this.getString(R.string.file_delete_confirmation, deleteFileNames.toString()));
|
||||
|
||||
alert.setPositiveButton(R.string.btn_delete, new DialogInterface.OnClickListener() {
|
||||
|
||||
@ -72,43 +83,56 @@ public class DeleteFileDialogFragment extends DialogFragment {
|
||||
public void onClick(DialogInterface dialog, int id) {
|
||||
dismiss();
|
||||
|
||||
// NOTE: Use Toasts, not Snackbars. When sharing to another application snackbars
|
||||
// would not show up!
|
||||
ArrayList<String> failedFileNameList = new ArrayList<>();
|
||||
|
||||
// Use DocumentsContract on Android >= 4.4
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||
try {
|
||||
if (DocumentsContract.deleteDocument(getActivity().getContentResolver(), deleteUri)) {
|
||||
Toast.makeText(getActivity(), getActivity().getString(R.string.file_delete_successful,
|
||||
deleteFilename), Toast.LENGTH_LONG).show();
|
||||
return;
|
||||
for (Uri deleteUri : deleteUris) {
|
||||
// Use DocumentsContract on Android >= 4.4
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||
try {
|
||||
if (DocumentsContract.deleteDocument(getActivity().getContentResolver(), deleteUri)) {
|
||||
continue;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
Log.d(Constants.TAG, "Catched UnsupportedOperationException, can happen when delete is not supported!", e);
|
||||
}
|
||||
} catch (UnsupportedOperationException e) {
|
||||
}
|
||||
|
||||
try {
|
||||
if (getActivity().getContentResolver().delete(deleteUri, null, null) > 0) {
|
||||
continue;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
Log.d(Constants.TAG, "Catched UnsupportedOperationException, can happen when delete is not supported!", e);
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
if (getActivity().getContentResolver().delete(deleteUri, null, null) > 0) {
|
||||
Toast.makeText(getActivity(), getActivity().getString(R.string.file_delete_successful,
|
||||
deleteFilename), Toast.LENGTH_LONG).show();
|
||||
return;
|
||||
// some Uri's a ContentResolver fails to delete is handled by the java.io.File's delete
|
||||
// via the path of the Uri
|
||||
if (new File(deleteUri.getPath()).delete()) {
|
||||
continue;
|
||||
}
|
||||
} catch (UnsupportedOperationException e) {
|
||||
Log.d(Constants.TAG, "Catched UnsupportedOperationException, can happen when delete is not supported!", e);
|
||||
|
||||
// Note: We can't delete every file...
|
||||
|
||||
failedFileNameList.add(deleteFileNameMap.get(deleteUri));
|
||||
}
|
||||
|
||||
// some Uri's a ContentResolver fails to delete is handled by the java.io.File's delete
|
||||
// via the path of the Uri
|
||||
if (new File(deleteUri.getPath()).delete()) {
|
||||
Toast.makeText(getActivity(), getActivity().getString(R.string.file_delete_successful,
|
||||
deleteFilename), Toast.LENGTH_LONG).show();
|
||||
return;
|
||||
StringBuilder failedFileNames = new StringBuilder();
|
||||
if (!failedFileNameList.isEmpty()) {
|
||||
for (String failedFileName : failedFileNameList) {
|
||||
failedFileNames.append('\n').append(failedFileName);
|
||||
}
|
||||
failedFileNames.append('\n').append(getActivity().getString(R.string.error_file_delete_failed));
|
||||
}
|
||||
|
||||
// Note: We can't delete every file...
|
||||
Toast.makeText(getActivity(), getActivity().getString(R.string.error_file_delete_failed,
|
||||
deleteFilename), Toast.LENGTH_LONG).show();
|
||||
// NOTE: Use Toasts, not Snackbars. When sharing to another application snackbars
|
||||
// would not show up!
|
||||
Toast.makeText(getActivity(), getActivity().getString(R.string.file_delete_successful,
|
||||
deleteUris.length - failedFileNameList.size(), deleteUris.length, failedFileNames.toString()),
|
||||
Toast.LENGTH_LONG).show();
|
||||
|
||||
if (onDeletedListener != null) {
|
||||
onDeletedListener.onDeleted();
|
||||
}
|
||||
}
|
||||
});
|
||||
alert.setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() {
|
||||
@ -120,4 +144,18 @@ public class DeleteFileDialogFragment extends DialogFragment {
|
||||
|
||||
return alert.show();
|
||||
}
|
||||
|
||||
public void setOnDeletedListener(OnDeletedListener onDeletedListener) {
|
||||
this.onDeletedListener = onDeletedListener;
|
||||
}
|
||||
|
||||
/**
|
||||
* Callback for performing tasks after the deletion of files
|
||||
*/
|
||||
public interface OnDeletedListener {
|
||||
|
||||
public void onDeleted();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -173,8 +173,7 @@
|
||||
<string name="pin_for">Zadat PIN pro \'%s\'</string>
|
||||
<string name="yubikey_pin_for">Zadejte PIN pro přístup k YubiKey pro \'%s\'</string>
|
||||
<string name="nfc_text">Přidržte YubiKey u zadní strany vašeho přístroje.</string>
|
||||
<string name="file_delete_confirmation">Chcete opravdu smazat\n%s?</string>
|
||||
<string name="no_file_selected">Nejprve vyberte soubor.</string>
|
||||
<string name="no_file_selected">Nejprve vyberte soubor.</string>
|
||||
<string name="encrypt_sign_successful">Úspěšně podepsáno a/nebo zašifrováno.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Úspěšně podepsání a/nebo zašifrováno do schránky.</string>
|
||||
<string name="select_encryption_key">Vyberte alespoň jeden šifrovací klíč.</string>
|
||||
@ -507,7 +506,8 @@
|
||||
<string name="error_no_encrypt_subkey">Není dostupný šifrovací podklíč!</string>
|
||||
<string name="contact_show_key">Zobrazit klíč (%s)</string>
|
||||
<string name="swipe_to_update">Potáhnout dolů pro aktualizaci z keyserveru</string>
|
||||
<!--Passphrase wizard-->
|
||||
<string name="file_delete_successful"></string>
|
||||
<!--Passphrase wizard-->
|
||||
<!--TODO: rename all the things!-->
|
||||
<!--<string name="enter_passphrase_twice">Enter passphrase twice</string>-->
|
||||
<!--<string name="nfc_text">Please place a NFC tag near your device</string>-->
|
||||
|
@ -190,8 +190,7 @@
|
||||
<string name="pin_for">PIN für \'%s\' eingeben</string>
|
||||
<string name="yubikey_pin_for">PIN für Zugriff auf Yubikey für \'%s\' eingeben</string>
|
||||
<string name="nfc_text">Halten Sie den YubiKey gegen die Rückseite Ihres Geräts.</string>
|
||||
<string name="file_delete_confirmation">%s wirklich löschen?</string>
|
||||
<string name="no_file_selected">Zuerst eine Datei auswählen.</string>
|
||||
<string name="no_file_selected">Zuerst eine Datei auswählen.</string>
|
||||
<string name="encrypt_sign_successful">Erfolgreich signiert und/oder verschlüsselt.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Erfolgreich in die Zwischenablage signiert und/oder verschlüsselt.</string>
|
||||
<string name="select_encryption_key">Mindestens einen Schlüssel zum Verschlüsseln auswählen.</string>
|
||||
@ -1098,4 +1097,5 @@
|
||||
<string name="nfc_write_succesful">Erfolgreich auf den NFC-Tag geschrieben</string>
|
||||
<string name="unlocked">Entsperrt</string>
|
||||
<string name="nfc_settings">Einstellungen</string>
|
||||
<string name="file_delete_successful"></string>
|
||||
</resources>
|
||||
|
@ -194,8 +194,7 @@
|
||||
<string name="pin_for">Introduzca el PIN para \'%s\'</string>
|
||||
<string name="yubikey_pin_for">Introduzca el PIN para acceder a la YubiKey para \'%s\'</string>
|
||||
<string name="nfc_text">Sostenga la YubiKey contra el reverso de su dispositivo.</string>
|
||||
<string name="file_delete_confirmation">¿Está seguro de que quiere eliminar\n%s?</string>
|
||||
<string name="no_file_selected">Selecciona un archivo antes.</string>
|
||||
<string name="no_file_selected">Selecciona un archivo antes.</string>
|
||||
<string name="encrypt_sign_successful">Firmado y/o cifrado con éxito.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Firmado y/o cifrado del portapapeles con éxito.</string>
|
||||
<string name="select_encryption_key">Selecciona al menos una clave de cifrado.</string>
|
||||
@ -1145,4 +1144,5 @@
|
||||
<string name="nfc_write_succesful">Se escribió con éxito en la etiqueta NFC</string>
|
||||
<string name="unlocked">Desbloqueado</string>
|
||||
<string name="nfc_settings">Configuración</string>
|
||||
<string name="file_delete_successful"></string>
|
||||
</resources>
|
||||
|
@ -61,9 +61,11 @@
|
||||
<string name="wrong_passphrase">Vale salasõne</string>
|
||||
<string name="passphrases_do_not_match">Salasõned ei ühti.</string>
|
||||
<string name="passphrase_for_symmetric_encryption">Sümmeetriline krüpteering</string>
|
||||
<!--errors
|
||||
no punctuation, all lowercase,
|
||||
they will be put after "error_message", e.g. "Error: file not found"-->
|
||||
<string name="file_delete_successful"></string>
|
||||
<string name="file_delete_confirmation"></string>
|
||||
<!--errors
|
||||
no punctuation, all lowercase,
|
||||
they will be put after "error_message", e.g. "Error: file not found"-->
|
||||
<!--errors without preceeding Error:-->
|
||||
<!--results shown after decryption/verification-->
|
||||
<!--Add keys-->
|
||||
|
@ -379,4 +379,6 @@
|
||||
<string name="nfc_title">NFC</string>
|
||||
<!--<string name="nfc_text">Please place a NFC tag near your device</string>-->
|
||||
<string name="nfc_settings">Ezarpenak</string>
|
||||
<string name="file_delete_successful"></string>
|
||||
<string name="file_delete_confirmation"></string>
|
||||
</resources>
|
||||
|
@ -169,9 +169,11 @@
|
||||
<string name="passphrase_for_symmetric_encryption">Symmetrinen salaus.</string>
|
||||
<string name="passphrase_for">Syötä salasana \'%s\':lle</string>
|
||||
<string name="pin_for">Syötä PIN \'%s\':lle</string>
|
||||
<!--errors
|
||||
no punctuation, all lowercase,
|
||||
they will be put after "error_message", e.g. "Error: file not found"-->
|
||||
<string name="file_delete_successful"></string>
|
||||
<string name="file_delete_confirmation"></string>
|
||||
<!--errors
|
||||
no punctuation, all lowercase,
|
||||
they will be put after "error_message", e.g. "Error: file not found"-->
|
||||
<!--errors without preceeding Error:-->
|
||||
<!--results shown after decryption/verification-->
|
||||
<!--Add keys-->
|
||||
|
@ -194,8 +194,7 @@
|
||||
<string name="pin_for">Saisir le NIP pour « %s »</string>
|
||||
<string name="yubikey_pin_for">Saisir le NIP pour accéder à la Yubikey pour « %s »</string>
|
||||
<string name="nfc_text">Tenez la YubiKey contre le dos de votre appareil.</string>
|
||||
<string name="file_delete_confirmation">Êtes-vous certain de vouloir supprimer\n%s?</string>
|
||||
<string name="no_file_selected">Choisir d\'abord un fichier.</string>
|
||||
<string name="no_file_selected">Choisir d\'abord un fichier.</string>
|
||||
<string name="encrypt_sign_successful">Signé et/ou chiffré avec succès.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Signé et/ou chiffré vers le presse-papiers avec succès.</string>
|
||||
<string name="select_encryption_key">Choisir au moins une clef de chiffrement.</string>
|
||||
@ -1136,4 +1135,5 @@
|
||||
<string name="nfc_write_succesful">Écrit avec succès sur la balise NFC</string>
|
||||
<string name="unlocked">Déverrouillé</string>
|
||||
<string name="nfc_settings">Paramètres</string>
|
||||
<string name="file_delete_successful"></string>
|
||||
</resources>
|
||||
|
@ -164,8 +164,7 @@
|
||||
<string name="passphrase_must_not_be_empty">Si prega di inserire una frase di accesso.</string>
|
||||
<string name="passphrase_for_symmetric_encryption">Codifica Simmetrica.</string>
|
||||
<string name="passphrase_for">Inserisci la frase di accesso per \'%s\'</string>
|
||||
<string name="file_delete_confirmation">Sei sicuro di voler eliminare\n%s?</string>
|
||||
<string name="no_file_selected">Seleziona un file prima.</string>
|
||||
<string name="no_file_selected">Seleziona un file prima.</string>
|
||||
<string name="encrypt_sign_successful">Firmato e/o codificato con successo.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Firmato e/o codificato con successo negli appunti.</string>
|
||||
<string name="select_encryption_key">Seleziona almeno una chiave di codifica.</string>
|
||||
@ -715,7 +714,8 @@ Permetti accesso?\n\nATTENZIONE: Se non sai perche\' questo schermata e\' appars
|
||||
<string name="error_no_file_selected">Seleziona almeno un file da codificare!</string>
|
||||
<string name="error_multi_not_supported">Il salvataggio di più file non è supportato. Questa è una limitazione corrente di Android.</string>
|
||||
<string name="key_colon">Chiave:</string>
|
||||
<!--Passphrase wizard-->
|
||||
<string name="file_delete_successful"></string>
|
||||
<!--Passphrase wizard-->
|
||||
<!--TODO: rename all the things!-->
|
||||
<!--<string name="enter_passphrase_twice">Enter passphrase twice</string>-->
|
||||
<!--<string name="nfc_text">Please place a NFC tag near your device</string>-->
|
||||
|
@ -192,9 +192,7 @@
|
||||
<string name="pin_for">\'%s\' にPINを入力してください</string>
|
||||
<string name="yubikey_pin_for">\'%s\' の Yubikey にアクセスするためのPINを入力してください</string>
|
||||
<string name="nfc_text">あなたのデバイスの背面にYubiKeyを固定してください。</string>
|
||||
<string name="file_delete_confirmation">%s
|
||||
を削除してもかまいませんか?</string>
|
||||
<string name="no_file_selected">最初にファイルを選択してください。</string>
|
||||
<string name="no_file_selected">最初にファイルを選択してください。</string>
|
||||
<string name="encrypt_sign_successful">署名/暗号化に成功しました。</string>
|
||||
<string name="encrypt_sign_clipboard_successful">クリップボードの中身の署名/暗号化に成功しました。</string>
|
||||
<string name="select_encryption_key">少なくとも1つの暗号化鍵を選択して下さい。</string>
|
||||
@ -1092,4 +1090,5 @@
|
||||
<string name="nfc_write_succesful">NFCタグに書けました!</string>
|
||||
<string name="unlocked">アンロック</string>
|
||||
<string name="nfc_settings">設定</string>
|
||||
<string name="file_delete_successful"></string>
|
||||
</resources>
|
||||
|
@ -204,9 +204,7 @@
|
||||
<string name="pin_for">Voer PIN in voor \'%s\'</string>
|
||||
<string name="yubikey_pin_for">Voer PIN in om toegang te verkrijgen tot YubiKey voor \'%s\'</string>
|
||||
<string name="nfc_text">Hou YubiKey tegen de achterkant van je toestel</string>
|
||||
<string name="file_delete_confirmation">Ben je zeker dat je %s wil verwijderen?</string>
|
||||
<string name="file_delete_successful">\'%s\' is verwijderd.</string>
|
||||
<string name="no_file_selected">Selecteer eerst een bestand.</string>
|
||||
<string name="no_file_selected">Selecteer eerst een bestand.</string>
|
||||
<string name="encrypt_sign_successful">Succesvol gesigneerd en/of gecodeerd.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Succesvol gesigneerd en/of gecodeerd naar klembord.</string>
|
||||
<string name="select_encryption_key">Selecteer ten minste één versleutelingssleutel.</string>
|
||||
@ -239,8 +237,7 @@
|
||||
<!--errors
|
||||
no punctuation, all lowercase,
|
||||
they will be put after "error_message", e.g. "Error: file not found"-->
|
||||
<string name="error_file_delete_failed">Verwijderen van \'%s\' mislukt. Gelieve dit handmatig te doen!</string>
|
||||
<string name="error_file_not_found">bestand niet gevonden</string>
|
||||
<string name="error_file_not_found">bestand niet gevonden</string>
|
||||
<string name="error_no_secret_key_found">geen geschikte privésleutel gevonden</string>
|
||||
<string name="error_external_storage_not_ready">externe opslag niet gereed</string>
|
||||
<string name="error_key_size_minimum512bit">sleutelgrootte moet minstens 512-bits zijn</string>
|
||||
@ -1159,4 +1156,5 @@
|
||||
<string name="nfc_write_succesful">Succesvol geschreven op NFC-tag</string>
|
||||
<string name="unlocked">Ontgrendeld</string>
|
||||
<string name="nfc_settings">Instellingen</string>
|
||||
<string name="file_delete_successful"></string>
|
||||
</resources>
|
||||
|
@ -179,8 +179,7 @@
|
||||
<string name="passphrase_for">Podaj hasło dla \'%s\'</string>
|
||||
<string name="pin_for">Wpisz PIN dla \'%s\'</string>
|
||||
<string name="nfc_text">Trzymaj YubiKey z tyłu Twojego urządzenia.</string>
|
||||
<string name="file_delete_confirmation">Czy jesteś pewny, że chcesz usunąć\n%s?</string>
|
||||
<string name="no_file_selected">Najpierw wskaż plik.</string>
|
||||
<string name="no_file_selected">Najpierw wskaż plik.</string>
|
||||
<string name="encrypt_sign_successful">Pomyślnie podpisano i/lub zaszyfrowano.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Pomyslnie podpisano i/lub zaszyfrowano do schowka.</string>
|
||||
<string name="select_encryption_key">Wybierz co najmniej jeden klucz szyfrujący.</string>
|
||||
@ -657,7 +656,8 @@ OSTRZEŻENIE: Jeżeli nie wiesz, czemu wyświetlił się ten komunikat, nie zezw
|
||||
<string name="error_no_file_selected">Wybierz przynajmniej jeden plik, aby szyfrować!</string>
|
||||
<string name="key_colon">Klucz:</string>
|
||||
<string name="btn_start_exchange">Rozpocznij wymianę</string>
|
||||
<!--Passphrase wizard-->
|
||||
<string name="file_delete_successful"></string>
|
||||
<!--Passphrase wizard-->
|
||||
<!--TODO: rename all the things!-->
|
||||
<!--<string name="enter_passphrase_twice">Enter passphrase twice</string>-->
|
||||
<!--<string name="nfc_text">Please place a NFC tag near your device</string>-->
|
||||
|
@ -192,8 +192,7 @@
|
||||
<string name="yubikey_pin_for">Введите PIN для доступа к YubiKey для
|
||||
\'%s\'</string>
|
||||
<string name="nfc_text">Держите YubiKey возле задней части вашего устройства.</string>
|
||||
<string name="file_delete_confirmation">Вы уверены, что хотите удалить\n%s?</string>
|
||||
<string name="no_file_selected">Сначала выберите файл.</string>
|
||||
<string name="no_file_selected">Сначала выберите файл.</string>
|
||||
<string name="encrypt_sign_successful">Успешно подписано и/или зашифровано.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Успешно подписано и/или зашифровано в буфер обмена.</string>
|
||||
<string name="select_encryption_key">Укажите хотя бы один ключ.</string>
|
||||
@ -811,4 +810,5 @@
|
||||
<!--<string name="nfc_text">Please place a NFC tag near your device</string>-->
|
||||
<string name="unlocked">Разблокирован</string>
|
||||
<string name="nfc_settings">Настройки</string>
|
||||
<string name="file_delete_successful"></string>
|
||||
</resources>
|
||||
|
@ -168,8 +168,7 @@
|
||||
<string name="passphrase_must_not_be_empty">Vnesite geslo.</string>
|
||||
<string name="passphrase_for_symmetric_encryption">Simetrično šifriranje.</string>
|
||||
<string name="passphrase_for">Vnesite geslo za \'%s\'</string>
|
||||
<string name="file_delete_confirmation">Ste prepričani, da želite izbrisati\n%s?</string>
|
||||
<string name="no_file_selected">Najprej izberite datoteko.</string>
|
||||
<string name="no_file_selected">Najprej izberite datoteko.</string>
|
||||
<string name="encrypt_sign_successful">Uspešno podpisano in/ali šifrirano.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Uspešno podpisano in/ali šifrirano ter poslano v odložišče.</string>
|
||||
<string name="select_encryption_key">Izberite vsaj en šifrirni ključ.</string>
|
||||
@ -479,7 +478,8 @@
|
||||
<string name="error_no_encrypt_subkey">Ni nobenega podključa za šifriranje!</string>
|
||||
<string name="contact_show_key">Prikaži ključ (%s)</string>
|
||||
<string name="key_colon">Ključ:</string>
|
||||
<!--Passphrase wizard-->
|
||||
<string name="file_delete_successful"></string>
|
||||
<!--Passphrase wizard-->
|
||||
<!--TODO: rename all the things!-->
|
||||
<!--<string name="enter_passphrase_twice">Enter passphrase twice</string>-->
|
||||
<!--<string name="nfc_text">Please place a NFC tag near your device</string>-->
|
||||
|
@ -204,9 +204,7 @@
|
||||
<string name="pin_for">Унесите ПИН за „%s“</string>
|
||||
<string name="yubikey_pin_for">Унесите ПИН за приступ Јубикључу за „%s“</string>
|
||||
<string name="nfc_text">Држите Јубикључ на полеђини вашег уређаја.</string>
|
||||
<string name="file_delete_confirmation">Желите ли заиста да обришете\n%s?</string>
|
||||
<string name="file_delete_successful">Брисање је успело.</string>
|
||||
<string name="no_file_selected">Најпре изаберите фајл.</string>
|
||||
<string name="no_file_selected">Најпре изаберите фајл.</string>
|
||||
<string name="encrypt_sign_successful">Потписивање и/или шифровање је успело.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Потписивање и/или шифровање на клипборд је успело.</string>
|
||||
<string name="enter_passphrase_twice">Унесите лозинку два пута.</string>
|
||||
@ -240,8 +238,7 @@
|
||||
<!--errors
|
||||
no punctuation, all lowercase,
|
||||
they will be put after "error_message", e.g. "Error: file not found"-->
|
||||
<string name="error_file_delete_failed">брисање „%s“ није успело</string>
|
||||
<string name="error_file_not_found">фајл није нађен</string>
|
||||
<string name="error_file_not_found">фајл није нађен</string>
|
||||
<string name="error_no_secret_key_found">одговарајући тајни кључ није нађен</string>
|
||||
<string name="error_external_storage_not_ready">спољашње складиште није спремно</string>
|
||||
<string name="error_key_size_minimum512bit">величина кључа мора да буде најмање 512 бита</string>
|
||||
@ -1145,4 +1142,5 @@
|
||||
<string name="nfc_write_succesful">Успешно уписах на НФЦ ознаку</string>
|
||||
<string name="unlocked">Откључан</string>
|
||||
<string name="nfc_settings">Поставке</string>
|
||||
<string name="file_delete_successful"></string>
|
||||
</resources>
|
||||
|
@ -178,8 +178,7 @@
|
||||
<string name="pin_for">Ange PIN för \'%s\'</string>
|
||||
<string name="yubikey_pin_for">Ange PIN för att få åtkomst till YubiKey för \'%s\'</string>
|
||||
<string name="nfc_text">Håll YubiKey mot baksidan av din enhet.</string>
|
||||
<string name="file_delete_confirmation">Vill du verkligen radera\n%s?</string>
|
||||
<string name="no_file_selected">Välj en fil först.</string>
|
||||
<string name="no_file_selected">Välj en fil först.</string>
|
||||
<string name="encrypt_sign_successful">Signerades och/eller krypterades.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Signerades och/eller krypterades till urklipp.</string>
|
||||
<string name="select_encryption_key">Välj åtminstone en krypteringsnyckel.</string>
|
||||
@ -864,4 +863,5 @@
|
||||
<string name="no_nfc_support">Denna enhet stöder inte NFC</string>
|
||||
<string name="unlocked">Upplåst</string>
|
||||
<string name="nfc_settings">Inställningar</string>
|
||||
<string name="file_delete_successful"></string>
|
||||
</resources>
|
||||
|
@ -167,8 +167,7 @@
|
||||
<string name="passphrase_for_symmetric_encryption">Simetrik şifreleme.</string>
|
||||
<string name="passphrase_for">\'%s\' için bir parola girin</string>
|
||||
<string name="nfc_text">YubiKey\'inizi cihazınızın arkasında tutun.</string>
|
||||
<string name="file_delete_confirmation">Silmek istediğinize emin misiniz\n%s?</string>
|
||||
<string name="no_file_selected">Önce bir dosya seçin.</string>
|
||||
<string name="no_file_selected">Önce bir dosya seçin.</string>
|
||||
<string name="encrypt_sign_successful">Başarıyla imzalandı ve/veya şifrelendi.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Kopyalama önbelleğine başarıyla imzalandı ve/veya şifrelendi.</string>
|
||||
<string name="select_encryption_key">En az bir şifreleme anahtarı seçiniz.</string>
|
||||
@ -509,7 +508,8 @@
|
||||
<string name="error_multi_not_supported">Birden çok dosyanın kaydedilmesi desteklenmiyor. Bu şu anki Android\'in bir kısıtlamasıdır.</string>
|
||||
<string name="key_colon">Anahtar:</string>
|
||||
<string name="exchange_description">Anahtar değiş tokuşu başlatmak için sağ taraftan katılımcıların sayısını seçin ve \"Değiş tokuşu başlat\" tuşuna tıklayın.\n\nSadece istenilen katılımcıların değişim işleminde olduğundan ve parmak izlerinin doğruluğundan emin olmak için size iki soru daha sorulacak.</string>
|
||||
<!--Passphrase wizard-->
|
||||
<string name="file_delete_successful"></string>
|
||||
<!--Passphrase wizard-->
|
||||
<!--TODO: rename all the things!-->
|
||||
<!--<string name="enter_passphrase_twice">Enter passphrase twice</string>-->
|
||||
<!--<string name="nfc_text">Please place a NFC tag near your device</string>-->
|
||||
|
@ -168,8 +168,7 @@
|
||||
<string name="passphrase_must_not_be_empty">Будь ласка, введіть парольну фразу.</string>
|
||||
<string name="passphrase_for_symmetric_encryption">Симетричне шифрування.</string>
|
||||
<string name="passphrase_for">Введіть парольну фразу для \'%s\'</string>
|
||||
<string name="file_delete_confirmation">Ви справді хочете вилучити\n%s?</string>
|
||||
<string name="no_file_selected">Виберіть спершу файл.</string>
|
||||
<string name="no_file_selected">Виберіть спершу файл.</string>
|
||||
<string name="encrypt_sign_successful">Успішно підписано та/або перевірено.</string>
|
||||
<string name="encrypt_sign_clipboard_successful">Успішно підписано та/або зашифровано до буфера обміну.</string>
|
||||
<string name="select_encryption_key">Виберіть принаймні один ключ шифрування.</string>
|
||||
@ -589,7 +588,8 @@
|
||||
<string name="can_sign_not">не можна підписати</string>
|
||||
<string name="error_no_encrypt_subkey">Жодний підключ шифрування недоступний!</string>
|
||||
<string name="contact_show_key">Показати ключ (%s)</string>
|
||||
<!--Passphrase wizard-->
|
||||
<string name="file_delete_successful"></string>
|
||||
<!--Passphrase wizard-->
|
||||
<!--TODO: rename all the things!-->
|
||||
<!--<string name="enter_passphrase_twice">Enter passphrase twice</string>-->
|
||||
<!--<string name="nfc_text">Please place a NFC tag near your device</string>-->
|
||||
|
@ -139,8 +139,7 @@
|
||||
<string name="passphrases_do_not_match">口令不相符。</string>
|
||||
<string name="passphrase_must_not_be_empty">請輸入口令。</string>
|
||||
<string name="passphrase_for_symmetric_encryption">對稱加密。</string>
|
||||
<string name="file_delete_confirmation">你確定要刪除\n%s?</string>
|
||||
<string name="no_file_selected">請先選擇檔案。</string>
|
||||
<string name="no_file_selected">請先選擇檔案。</string>
|
||||
<string name="encrypt_sign_successful">成功簽名並/或加密。</string>
|
||||
<string name="encrypt_sign_clipboard_successful">成功簽名並/或加密到剪貼簿。</string>
|
||||
<string name="select_encryption_key">選擇至少一把加密金鑰。</string>
|
||||
@ -422,7 +421,8 @@
|
||||
<string name="error_no_encrypt_subkey">沒有可供加密的子金鑰!</string>
|
||||
<string name="info_no_manual_account_creation">請不要自行建立OpenKeychain帳戶。\n更多資訊請參考說明。</string>
|
||||
<string name="exchange_description">要發起金鑰交換,先在右邊選擇與會人數,然後點選〝開始交換〞。\n\n接下來會詢問你兩個問題,以確保會議成員與交換的指紋是正確的。</string>
|
||||
<!--Passphrase wizard-->
|
||||
<string name="file_delete_successful"></string>
|
||||
<!--Passphrase wizard-->
|
||||
<!--TODO: rename all the things!-->
|
||||
<!--<string name="enter_passphrase_twice">Enter passphrase twice</string>-->
|
||||
<!--<string name="nfc_text">Please place a NFC tag near your device</string>-->
|
||||
|
@ -195,7 +195,9 @@
|
||||
<string name="api_select_pub_keys_text">请重审收件人列表</string>
|
||||
<!--Share-->
|
||||
<string name="share_nfc_dialog">使用NFC分享</string>
|
||||
<!--Key list-->
|
||||
<string name="file_delete_successful"></string>
|
||||
<string name="file_delete_confirmation"></string>
|
||||
<!--Key list-->
|
||||
<!--Key view-->
|
||||
<!--Key trust-->
|
||||
<!--keybase proof stuff-->
|
||||
|
@ -222,8 +222,8 @@
|
||||
<string name="pin_for">"Enter PIN for '%s'"</string>
|
||||
<string name="yubikey_pin_for">"Enter PIN to access YubiKey for '%s'"</string>
|
||||
<string name="nfc_text">"Hold YubiKey against the back of your device."</string>
|
||||
<string name="file_delete_confirmation">"Are you sure you want to delete\n%s?"</string>
|
||||
<string name="file_delete_successful">"'%s' has been deleted."</string>
|
||||
<string name="file_delete_confirmation">"Are you sure you want to delete the following files?%s"</string>
|
||||
<string name="file_delete_successful">"%1$d out of %2$d files have been deleted.%3$s"</string>
|
||||
<string name="no_file_selected">"Select a file first."</string>
|
||||
<string name="encrypt_sign_successful">"Successfully signed and/or encrypted."</string>
|
||||
<string name="encrypt_sign_clipboard_successful">"Successfully signed and/or encrypted to clipboard."</string>
|
||||
@ -264,7 +264,8 @@
|
||||
no punctuation, all lowercase,
|
||||
they will be put after "error_message", e.g. "Error: file not found"
|
||||
-->
|
||||
<string name="error_file_delete_failed">"Deleting '%s' failed. Please do this manually!"</string>
|
||||
<string name="error_file_delete_failed">"are not deleted."</string>
|
||||
<string name="error_file_added_already">%s has been added already.</string>
|
||||
<string name="error_file_not_found">"file not found"</string>
|
||||
<string name="error_no_secret_key_found">"no suitable secret key found"</string>
|
||||
<string name="error_external_storage_not_ready">"external storage not ready"</string>
|
||||
|
Loading…
Reference in New Issue
Block a user