mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-01-30 22:14:52 +01:00
adding a confirmation message after file exporting
This commit is contained in:
parent
17c733f662
commit
239d0e966d
@ -42,7 +42,7 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
|
||||
lateinit var mDb: DBHelper
|
||||
lateinit var mNotes: List<Note>
|
||||
|
||||
var noteViewWithTextSelected: MyEditText? = null
|
||||
private var noteViewWithTextSelected: MyEditText? = null
|
||||
private var wasInit = false
|
||||
private var storedUseEnglish = false
|
||||
|
||||
@ -331,7 +331,8 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
|
||||
out.write(content)
|
||||
}
|
||||
}
|
||||
noteSavedSuccessfully(path.getFilenameFromPath())
|
||||
val message = String.format(getString(R.string.note_exported_successfully), path.getFilenameFromPath())
|
||||
toast(message)
|
||||
} catch (e: Exception) {
|
||||
showErrorToast(e)
|
||||
}
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Übernehme Änderungen an der Notiz in die Datei\n(Notiz wird gelöscht, wenn die Datei gelöscht wird oder sich der Pfad ändert.)</string>
|
||||
<string name="delete_file_itself">Lösche Datei \"%s\"</string>
|
||||
<string name="note_saved_successfully">Notiz \"%s\" erfolgreich gespeichert</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Zeige Benachrichtigung bei erfolgreichem Speichern</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Update the file itself at updating the note\n(note gets deleted if file gets deleted, or path changes)</string>
|
||||
<string name="delete_file_itself">Also delete file \"%s\"</string>
|
||||
<string name="note_saved_successfully">Note \"%s\" saved successfully</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Display save success messages</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Metttre à jour le fichier lui-même lors de la mise à jour de la note\n(la note est supprimée si le fichier est supprimé, ou que le chemin change)</string>
|
||||
<string name="delete_file_itself">Supprimer également le fichier \"%s\"</string>
|
||||
<string name="note_saved_successfully">Note \"%s\" sauvegardée avec succès</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Afficher les messages de succès de sauvegarde</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">A jegyzetbe íráskor a fájlba is írás\n(a jegyzet törlődik ha a fájl törlődik, vagy változik az elérési útvonala)</string>
|
||||
<string name="delete_file_itself">\"%s\" fájl is törlődjön</string>
|
||||
<string name="note_saved_successfully">\"%s\" nevű jegyzet elmentve</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Sikeres mentés üzenetek megjelenítése</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Update the file itself at updating the note\n(note gets deleted if file gets deleted, or path changes)</string>
|
||||
<string name="delete_file_itself">Also delete file \"%s\"</string>
|
||||
<string name="note_saved_successfully">Note \"%s\" saved successfully</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Display save success messages</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Update the file itself at updating the note\n(note gets deleted if file gets deleted, or path changes)</string>
|
||||
<string name="delete_file_itself">Also delete file \"%s\"</string>
|
||||
<string name="note_saved_successfully">Note \"%s\" saved successfully</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Display save success messages</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Atnaujinti failà kai atnaujinamas áraðas\n(Áraðas iðtrinamas, jei iðtrinamas failas ar pakeièiama talpinimo vieta)</string>
|
||||
<string name="delete_file_itself">Taip pat iðtrinti failà \"%s\"</string>
|
||||
<string name="note_saved_successfully">Áraðas \"%s\" sëkmingai iðsaugotas</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Rodyti sëkmingo iðsaugojimo praneðimus</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Zaktualizuj plik po zaktualizowaniu notatki\n(notatka zostanie usunięta jeśli plik zostanie usunięty lub zmieni się jego lokalizacja)</string>
|
||||
<string name="delete_file_itself">Usuń także plik \"%s\"</string>
|
||||
<string name="note_saved_successfully">Notatka \"%s\" została zapisana</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Wyświetlaj informacje o pomyślnym zapisaniu notatki</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Update the file itself at updating the note\n(note gets deleted if file gets deleted, or path changes)</string>
|
||||
<string name="delete_file_itself">Apagar também o arquivo \"%s\"</string>
|
||||
<string name="note_saved_successfully">Nota \"%s\" guardada com sucesso</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Mostrar mensagens de gravação com sucesso</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Atualizar o ficheiro ao atualizar a nota\n(a nota será removida se apagar o ficheiro ou se mudar a sua localização)</string>
|
||||
<string name="delete_file_itself">Apagar também o ficheiro \"%s\"</string>
|
||||
<string name="note_saved_successfully">Nota \"%s\" guardada com sucesso</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Mostrar mensagens de gravação com sucesso</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Обновлять содержимое файла при обновлении заметки\n(заметка удалится, если удалить файл или изменить путь к нему)</string>
|
||||
<string name="delete_file_itself">Также удалить файл \"%s\"</string>
|
||||
<string name="note_saved_successfully">Заметка \"%s\" сохранена успешно</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Уведомлять, что файл успешно сохранен</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Aktualizovať samotný súbor po úprave poznámky\n(ak bude daný súbor presunutý, alebo vymazaný, bude vymazaná aj poznámka)</string>
|
||||
<string name="delete_file_itself">Odstrániť aj súbor \"%s\"</string>
|
||||
<string name="note_saved_successfully">Poznámka \"%s\" bola úspešne uložená</string>
|
||||
<string name="note_exported_successfully">Poznámka \"%s\" bola úspešne exportovaná</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Zobraziť správu o úspešnom uložení poznámky</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Uppdatera själva filen när anteckningen uppdateras\n(anteckningen tas bort om filen tas bort eller sökvägen ändras)</string>
|
||||
<string name="delete_file_itself">Ta även bort filen \"%s\"</string>
|
||||
<string name="note_saved_successfully">Anteckningen \"%s\" har sparats</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Visa ett meddelande när en anteckning har sparats</string>
|
||||
|
@ -24,6 +24,7 @@
|
||||
<string name="update_file_at_note">Update the file itself at updating the note\n(note gets deleted if file gets deleted, or path changes)</string>
|
||||
<string name="delete_file_itself">Also delete file \"%s\"</string>
|
||||
<string name="note_saved_successfully">Note \"%s\" saved successfully</string>
|
||||
<string name="note_exported_successfully">Note \"%s\" exported successfully</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="display_success_message">Display save success messages</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user