Merge remote-tracking branch 'upstream/master' into fix/import-from-internet

This commit is contained in:
ismailnurudeen 2023-05-11 08:34:15 +01:00
commit 8c79d2a386
48 changed files with 136 additions and 52 deletions
app
build.gradle
src/main
AndroidManifest.xml
kotlin/com/simplemobiletools/notes/pro
res
values-ar
values-az
values-be
values-bg
values-ca
values-cs
values-cy
values-da
values-de
values-el
values-eo
values-es
values-et
values-fa
values-fi
values-fr
values-gl
values-hr
values-hu
values-in
values-it
values-iw
values-ja
values-lt
values-ms
values-nb-rNO
values-nl
values-pa-rPK
values-pl
values-pt-rBR
values-pt
values-ro
values-ru
values-sk
values-sl
values-sr
values-sv
values-th
values-tr
values-uk
values-vi
values-zh-rCN
values-zh-rTW
values

@ -63,11 +63,11 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:545b4a62f0'
implementation 'com.github.SimpleMobileTools:Simple-Commons:94b616f462'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.documentfile:documentfile:1.0.1'
kapt 'androidx.room:room-compiler:2.5.0'
implementation 'androidx.room:room-runtime:2.5.0'
annotationProcessor 'androidx.room:room-compiler:2.5.0'
kapt 'androidx.room:room-compiler:2.5.1'
implementation 'androidx.room:room-runtime:2.5.1'
annotationProcessor 'androidx.room:room-compiler:2.5.1'
}

@ -22,6 +22,7 @@
android:appCategory="productivity"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_launcher_name"
android:localeConfig="@xml/locale_config"
android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true"
android:theme="@style/AppTheme">

@ -43,6 +43,7 @@ import com.simplemobiletools.notes.pro.dialogs.*
import com.simplemobiletools.notes.pro.extensions.*
import com.simplemobiletools.notes.pro.fragments.TextFragment
import com.simplemobiletools.notes.pro.helpers.*
import com.simplemobiletools.notes.pro.helpers.NotesImporter.ImportResult
import com.simplemobiletools.notes.pro.models.Note
import kotlinx.android.synthetic.main.activity_main.*
import kotlinx.android.synthetic.main.item_checklist.*
@ -119,7 +120,7 @@ class MainActivity : SimpleActivity() {
setupSearchButtons()
if (isPackageInstalled("com.simplemobiletools.notes")) {
val dialogText = getString(R.string.upgraded_to_pro_notes)
val dialogText = getString(R.string.upgraded_from_free_notes)
ConfirmationDialog(this, dialogText, 0, R.string.ok, 0, false) {}
}
}
@ -291,7 +292,7 @@ class MainActivity : SimpleActivity() {
val outputStream = contentResolver.openOutputStream(resultData.data!!)
exportNotesTo(outputStream)
} else if (requestCode == PICK_IMPORT_NOTES_INTENT && resultCode == Activity.RESULT_OK && resultData != null && resultData.data != null) {
importNotesFrom(resultData.data!!)
tryImportingAsJson(resultData.data!!)
}
}
@ -730,6 +731,11 @@ class MainActivity : SimpleActivity() {
}
private fun importUri(uri: Uri) {
tryImportingAsJson(uri, force = true, showToasts = false) { success ->
if (success) {
return@tryImportingAsJson
}
when (uri.scheme) {
"file" -> openPath(uri.path!!)
"content" -> {
@ -752,6 +758,7 @@ class MainActivity : SimpleActivity() {
}
}
}
}
private fun addNoteFromUri(uri: Uri, filename: String? = null) {
val noteTitle = when {
@ -957,43 +964,66 @@ class MainActivity : SimpleActivity() {
}
}
private fun importNotes(path: String, filename: String) {
toast(R.string.importing)
ensureBackgroundThread {
NotesImporter(this).importNotes(path, filename) {
toast(
when (it) {
NotesImporter.ImportResult.IMPORT_OK -> R.string.importing_successful
NotesImporter.ImportResult.IMPORT_PARTIAL -> R.string.importing_some_entries_failed
else -> R.string.no_new_items
}
)
initViewPager()
}
}
}
private fun importNotesFrom(uri: Uri) {
private fun tryImportingAsJson(uri: Uri, force: Boolean = false, showToasts: Boolean = true, callback: ((success: Boolean) -> Unit)? = null) {
val path: String
val filename: String
when (uri.scheme) {
"file" -> importNotes(uri.path!!, uri.path!!.getFilenameFromPath())
"file" -> {
path = uri.path!!
filename = path.getFilenameFromPath()
}
"content" -> {
val tempFile = getTempFile("messages", "backup.txt")
if (tempFile == null) {
toast(R.string.unknown_error_occurred)
maybeToast(R.string.unknown_error_occurred, showToasts)
callback?.invoke(false)
return
}
try {
val filename = getFilenameFromUri(uri)
filename = getFilenameFromUri(uri)
val inputStream = contentResolver.openInputStream(uri)
val out = FileOutputStream(tempFile)
inputStream!!.copyTo(out)
importNotes(tempFile.absolutePath, filename)
path = tempFile.absolutePath
} catch (e: Exception) {
showErrorToast(e)
callback?.invoke(false)
return
}
}
else -> toast(R.string.invalid_file_format)
else -> {
maybeToast(R.string.invalid_file_format, showToasts)
callback?.invoke(false)
return
}
}
maybeToast(R.string.importing, showToasts)
ensureBackgroundThread {
NotesImporter(this).importNotes(path, filename, force) { importResult ->
if (importResult == ImportResult.IMPORT_FAIL) {
maybeToast(R.string.no_new_items, showToasts)
runOnUiThread { callback?.invoke(false) }
return@importNotes
}
toast(
when (importResult) {
ImportResult.IMPORT_OK -> R.string.importing_successful
ImportResult.IMPORT_PARTIAL -> R.string.importing_some_entries_failed
else -> R.string.no_new_items
}
)
initViewPager()
runOnUiThread { callback?.invoke(true) }
}
}
}
private fun maybeToast(id: Int, show: Boolean) {
if (show) {
toast(id)
}
}

@ -19,8 +19,9 @@ class NotesImporter(private val context: Context) {
private val gson = Gson()
private var notesImported = 0
private var notesFailed = 0
private var notesSkipped = 0
fun importNotes(path: String, filename: String, callback: (result: ImportResult) -> Unit) {
fun importNotes(path: String, filename: String, force: Boolean = false, callback: (result: ImportResult) -> Unit) {
ensureBackgroundThread {
try {
val inputStream = if (path.contains("/")) {
@ -33,9 +34,9 @@ class NotesImporter(private val context: Context) {
val json = reader.readText()
val type = object : TypeToken<List<Note>>() {}.type
val notes = gson.fromJson<List<Note>>(json, type)
val totalNotes = notes.size
val totalNotes = notes?.size ?: 0
if (totalNotes <= 0) {
callback.invoke(ImportResult.IMPORT_NOTHING_NEW)
callback.invoke(ImportResult.IMPORT_FAIL)
return@ensureBackgroundThread
}
@ -44,10 +45,17 @@ class NotesImporter(private val context: Context) {
if (!exists) {
context.notesDB.insertOrUpdate(note)
notesImported++
} else {
notesSkipped++
}
}
}
} catch (e: JsonSyntaxException) {
if (force) {
callback(ImportResult.IMPORT_FAIL)
return@ensureBackgroundThread
}
// Import notes expects a json with note name, content etc, but lets be more flexible and accept the basic files with note content only too
val inputStream = if (path.contains("/")) {
File(path).inputStream()
@ -82,6 +90,7 @@ class NotesImporter(private val context: Context) {
callback.invoke(
when {
notesSkipped > 0 && notesImported == 0 -> ImportResult.IMPORT_NOTHING_NEW
notesImported == 0 -> ImportResult.IMPORT_FAIL
notesFailed > 0 -> ImportResult.IMPORT_PARTIAL
else -> ImportResult.IMPORT_OK

@ -31,6 +31,7 @@
<string name="locking_warning">تحذير: إذا نسيت كلمة مرور الملاحظات، فلن تتمكن من استعادتها أو الوصول إلى محتوى الملاحظات بعد الآن.</string>
<string name="new_text_note">ملاحظة نصية جديدة</string>
<string name="new_checklist">قائمة مرجعية جديدة</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">فتح الملف</string>
<string name="export_as_file">تصدير كملف</string>

@ -31,6 +31,7 @@
<string name="locking_warning">WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Faylı</string>
<string name="export_as_file">Fayl kimi çıxar</string>

@ -24,13 +24,14 @@
<string name="text_note">Тэкставая нататка</string>
<string name="lock_note">Блакаваць нататку</string>
<string name="unlock_note">Разблакаваць нататку</string>
<string name="unlock_notes">Unlock notes</string>
<string name="found_locked_notes_info">The following notes are locked. You can either unlock them one by one or skip exporting them.</string>
<string name="unlock_notes">Разблакіраваць нататкі</string>
<string name="found_locked_notes_info">Наступныя нататкі заблакіраваны. Вы можаце альбо разблакіраваць іх адзін за адным, альбо прапусціць іх экспарт.</string>
<string name="note_content_locked">Змесціва нататкі заблакавана.</string>
<string name="show_content">Паказаць змесціва</string>
<string name="locking_warning">ПАПЯРЭДЖАННЕ: Калі вы забудзеце пароль, вы больш не зможаце аднавіць яго альбо атрымаць доступ да змесціва нататак.</string>
<string name="new_text_note">Новая тэкставая нататка</string>
<string name="new_checklist">Новы кантрольны спіс</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Адкрыць файл</string>
<string name="export_as_file">Экспарт у файл</string>

@ -31,6 +31,7 @@
<string name="locking_warning">ПРЕДУПРЕЖДЕНИЕ: Ако забравите паролата на бележките, вече няма да можете да я възстановите или да получите достъп до съдържанието на бележките.</string>
<string name="new_text_note">Нова текстова бележка</string>
<string name="new_checklist">Нов контролен списък</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Отвори файл</string>
<string name="export_as_file">Експортиране като файл</string>

@ -31,6 +31,7 @@
<string name="locking_warning">AVÍS: Si oblideu la contrasenya de la nota, ja no podreu recuperar-la ni accedir al contingut de les notes.</string>
<string name="new_text_note">Nota de text nova</string>
<string name="new_checklist">Llista de comprovació nova</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Obre un fitxer</string>
<string name="export_as_file">Exporta com a fitxer</string>

@ -31,6 +31,7 @@
<string name="locking_warning">UPOZORNĚNÍ: Pokud zapomenete heslo k poznámce, už ji nebudete schopni obnovit nebo získat přístup k jejímu obsahu.</string>
<string name="new_text_note">Nová textová poznámka</string>
<string name="new_checklist">Nový seznam položek</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Otevřít soubor</string>
<string name="export_as_file">Exportovat jako soubor</string>

@ -31,6 +31,7 @@
<string name="locking_warning">WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Agor ffeil</string>
<string name="export_as_file">Allforio fel ffeil</string>

@ -31,6 +31,7 @@
<string name="locking_warning">ADVARSEL: Hvis du glemmer noternes adgangskode, kan du ikke gendanne den eller få adgang til noternes indhold længere.</string>
<string name="new_text_note">Ny tekstnote</string>
<string name="new_checklist">Ny tjekliste</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Åbn fil</string>
<string name="export_as_file">Eksporter som fil</string>

@ -31,6 +31,7 @@
<string name="locking_warning">ACHTUNG: Wenn du das Kennwort für die Notizen vergisst, kannst du sie nicht mehr wiederherstellen oder auf den Inhalt der Notizen zugreifen.</string>
<string name="new_text_note">Neue Textnotiz</string>
<string name="new_checklist">Neue Checkliste</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Datei öffnen</string>
<string name="export_as_file">Als Datei exportieren</string>

@ -31,6 +31,7 @@
<string name="locking_warning">ΠΡΟΣΟΧΗ: Εάν ξεχάσετε τον κωδικό των σημειώσεων, δεν θα μπορείτε πλέον να τον ανακτήσετε ή να αποκτήσετε πρόσβαση στο περιεχόμενό τους.</string>
<string name="new_text_note">Νέα σημείωση κειμένου</string>
<string name="new_checklist">Νέα λίστα ελέγχου</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Άνοιγμα αρχείου</string>
<string name="export_as_file">Εξαγωγή ως αρχείο</string>

@ -31,6 +31,7 @@
<string name="locking_warning">WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Malfermi dosieron</string>
<string name="export_as_file">Export as file</string>

@ -31,6 +31,7 @@
<string name="locking_warning">ADVERTENCIA: Si olvidas la contraseña de la nota, ya no podrás recuperarla o acceder a su contenido.</string>
<string name="new_text_note">Nueva nota de texto</string>
<string name="new_checklist">Nueva lista de tareas</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Abrir archivo</string>
<string name="export_as_file">Exportar como archivo</string>

@ -31,6 +31,7 @@
<string name="locking_warning">HOIATUS: Kui sa unustad märkme salasõna, siis sa ei saa seda märget avada ega tema sisu lugeda.</string>
<string name="new_text_note">Uus tekstimärge</string>
<string name="new_checklist">Uus tööde loend</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Ava fail</string>
<string name="export_as_file">Ekspordi failina</string>

@ -31,6 +31,7 @@
<string name="locking_warning">هشدار: اگر گذرواژهٔ یادداشت را فراموش کنید، دیگر قادر به بازیابی آن یا دسترسی به محتویات یادداشت نیستید.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">بازکردن پرونده</string>
<string name="export_as_file">برون‌ریزی به عنوان پرونده</string>

@ -31,6 +31,7 @@
<string name="locking_warning">VAROITUS: Jos unohdat muistiinpanon salasanan, sitä ei ole mahdollista palauttaa etkä pääse enää käsiksi muistiinpanoon.</string>
<string name="new_text_note">Uusi tekstimuistiinpano</string>
<string name="new_checklist">Uusi tarkistuslista</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Avaa tiedosto</string>
<string name="export_as_file">Vie tiedostona</string>

@ -31,6 +31,7 @@
<string name="locking_warning">AVERTISSEMENT : Si vous oubliez le mot de passe des notes, vous ne pourrez plus le récupérer ni accéder au contenu des notes.</string>
<string name="new_text_note">Nouvelle note textuelle</string>
<string name="new_checklist">Nouvelle liste de contrôle</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Ouvrir le fichier</string>
<string name="export_as_file">Exporter dans un fichier</string>

@ -31,6 +31,7 @@
<string name="locking_warning">PERIGO: Se esqueces o contrasinal das notas, xa non poderás recuperalo nin acceder ao contido das notas.</string>
<string name="new_text_note">Nova nota de texto</string>
<string name="new_checklist">Nova lista de verificación</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Abrir ficheiro</string>
<string name="export_as_file">Exportar como ficheiro</string>

@ -24,13 +24,14 @@
<string name="text_note">Tekstualna bilješka</string>
<string name="lock_note">Zaključaj bilješku</string>
<string name="unlock_note">Otključaj bilješku</string>
<string name="unlock_notes">Unlock notes</string>
<string name="unlock_notes">Otključaj bilješke</string>
<string name="found_locked_notes_info">The following notes are locked. You can either unlock them one by one or skip exporting them.</string>
<string name="note_content_locked">Sadržaj bilješke je zaključan.</string>
<string name="show_content">Prikaži sadržaj</string>
<string name="locking_warning">UPOZORENJE: Ako zaboraviš lozinku bilješke, više je nećeš moći obnoviti niti pristupiti njenom sadržaju.</string>
<string name="new_text_note">Nova tekstualna bilješka</string>
<string name="new_checklist">Novi popis zadataka</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Otvori datoteku</string>
<string name="export_as_file">Izvezi kao datoteku</string>

@ -31,6 +31,7 @@
<string name="locking_warning">FIGYELMEZTETÉS: Ha elfelejti a jegyzetek jelszavát, akkor többé nem fogja tudni helyreállítani vagy elérni a jegyzetek tartalmát.</string>
<string name="new_text_note">Új szöveges jegyzet</string>
<string name="new_checklist">Új ellenőrzőlista</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Fájl megnyitása</string>
<string name="export_as_file">Exportálás fájlként</string>

@ -31,6 +31,7 @@
<string name="locking_warning">PERINGATAN: Jika Anda lupa kata sandi catatan, Anda tidak akan dapat memulihkan atau mengakses konten catatan.</string>
<string name="new_text_note">Catatan teks baru</string>
<string name="new_checklist">Daftar periksa baru</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Buka berkas</string>
<string name="export_as_file">Ekspor sebagai berkas</string>

@ -31,6 +31,7 @@
<string name="locking_warning">ATTENZIONE: Se dimentichi la password delle note, non sarai più in grado di recuperarla o di accedere al contenuto delle note.</string>
<string name="new_text_note">Nuova nota di testo</string>
<string name="new_checklist">Nuova lista di controllo</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Apri file</string>
<string name="export_as_file">Esporta come file</string>

@ -31,6 +31,7 @@
<string name="locking_warning">אזהרה: אם תשכח את הסיסמה של הפתקים, לא תוכל לשחזר אותה או לגשת לתוכן הפתקים יותר.</string>
<string name="new_text_note">פתק טקסט חדש</string>
<string name="new_checklist">רשימת בדיקה חדשה</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Open file</string>
<string name="export_as_file">ייצא כקובץ</string>

@ -31,6 +31,7 @@
<string name="locking_warning">警告:メモのパスワードを忘れた場合、そのパスワードを復元したり、メモの内容にアクセスしたりすることはできなくなります。</string>
<string name="new_text_note">新しいテキストメモ</string>
<string name="new_checklist">新しいチェックリスト</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">ファイルを開く</string>
<string name="export_as_file">ファイルとしてエクスポート</string>

@ -31,6 +31,7 @@
<string name="locking_warning">ĮSPĖJIMAS: jei pamiršite užrašų slaptažodį, nebegalėsite jo atkurti ar pasiekti užrašų turinio.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Atverti bylą</string>
<string name="export_as_file">Kurti kopiją</string>

@ -31,6 +31,7 @@
<string name="locking_warning">WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Open file</string>
<string name="export_as_file">Export as file</string>

@ -31,6 +31,7 @@
<string name="locking_warning">ADVARSEL: Hvis du glemmer passordet til notatene, kan du ikke gjenopprette det eller få tilgang til notatenes innhold lenger.</string>
<string name="new_text_note">Ny tekstnotat</string>
<string name="new_checklist">Ny sjekkliste</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Åpne fil</string>
<string name="export_as_file">Eksporter som fil</string>

@ -30,6 +30,7 @@
<string name="locking_warning">WAARSCHUWING: Zonder het wachtwoord kan de inhoud van de notitie niet meer worden hersteld.</string>
<string name="new_text_note">Nieuwe notitie</string>
<string name="new_checklist">Nieuwe lijst</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Bestand openen</string>
<string name="export_as_file">Als bestand exporteren</string>

@ -30,6 +30,7 @@
<string name="locking_warning">چیتاونی: جےتسی نوٹ دا پاس‌ورڈ بھُل جاندے او، تاں فیر نوٹ دی سمگری لبھ نہیں سکدیاں۔</string>
<string name="new_text_note">نواں لکھت دا نوٹ بݨاؤ</string>
<string name="new_checklist">نویں چیک‌لِسٹ بݨاؤ</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">فائل کھُلھو</string>
<string name="export_as_file">فائل ایکسپورٹ کرو</string>

@ -31,6 +31,7 @@
<string name="locking_warning">OSTRZEŻENIE: Jeśli zapomnisz hasła do notatki, nie będziesz już mógł/mogła jej odzyskać ani uzyskać dostępu do treści notatki.</string>
<string name="new_text_note">Nowa notatka tekstowa</string>
<string name="new_checklist">Nowa lista kontrolna</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Otwórz plik</string>
<string name="export_as_file">Eksportuj jako plik</string>

@ -31,6 +31,7 @@
<string name="locking_warning">AVISO: Caso você esqueça a senha, não conseguirá recuperá-la ou acessar o conteúdo da nota.</string>
<string name="new_text_note">Nova nota de texto</string>
<string name="new_checklist">Nova lista</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Abrir arquivo</string>
<string name="export_as_file">Exportar como arquivo</string>

@ -31,6 +31,7 @@
<string name="locking_warning">AVISO: se esquecer a palavra-passe, não conseguirá aceder à nota nem recuperar o seu conteúdo.</string>
<string name="new_text_note">Nova nota de texto</string>
<string name="new_checklist">Nova lista</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Abrir ficheiro</string>
<string name="export_as_file">Exportar como ficheiro</string>

@ -31,6 +31,7 @@
<string name="locking_warning">ATENȚIE: Dacă uitați parola notițelor, nu o veți mai putea recupera și nici nu veți mai putea accesa conținutul notițele.</string>
<string name="new_text_note">Noua notița de text</string>
<string name="new_checklist">O nouă listă de verificare</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Deschideți fișierul</string>
<string name="export_as_file">Exportați ca fișier</string>

@ -31,6 +31,7 @@
<string name="locking_warning">ПРЕДУПРЕЖДЕНИЕ: если вы забудете пароль, то не сможете восстановить его или получить доступ к содержимому заметок.</string>
<string name="new_text_note">Новая заметка</string>
<string name="new_checklist">Новый список</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Открыть файл</string>
<string name="export_as_file">Экспортировать в файл</string>

@ -31,6 +31,7 @@
<string name="locking_warning">UPOZORNENIE: Ak zabudnete heslo poznámky, nebudete ho môcť obnoviť, ani sa už dostať k obsahu poznámky.</string>
<string name="new_text_note">Nová textová poznámka</string>
<string name="new_checklist">Nový zoznam položiek</string>
<string name="cannot_load_over_internet">Apka nevie načítať súbory cez internet</string>
<!-- File notes -->
<string name="open_file">Otvoriť súbor</string>
<string name="export_as_file">Exportovať ako súbor</string>

@ -30,6 +30,7 @@
<string name="locking_warning">OPOZORILO: Če pozabite geslo za opombe, ga ne bo moč več obnoviti in dostopati do njihove vsebine.</string>
<string name="new_text_note">Nova opomba k besedilu</string>
<string name="new_checklist">Nov seznam za preverjanje</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Odprite datoteko</string>
<string name="export_as_file">Izvozite kot datoteko</string>

@ -30,6 +30,7 @@
<string name="locking_warning">УПОЗОРЕЊЕ: Ако заборавите лозинку за белешке, више нећете моћи да је повратите нити да приступите садржају белешки.</string>
<string name="new_text_note">Нова текстуална белешка</string>
<string name="new_checklist">Нова контролна листа</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Отворена датотека</string>
<string name="export_as_file">Извези као датотеку</string>

@ -31,6 +31,7 @@
<string name="locking_warning">VARNING: Om du glömmer anteckningens lösenord så finns ingen möjlighet att återställa detta och du kommer således förlora åtkomsten till anteckningens innehåll.</string>
<string name="new_text_note">Ny textanteckning</string>
<string name="new_checklist">Ny checklista</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Öppna fil</string>
<string name="export_as_file">Exportera</string>

@ -31,6 +31,7 @@
<string name="locking_warning">คำเตือน: ถ้าคุณลืมรหัสผ่านของโน็ต คุณจะไม่สามารถกู้คืนหรือเข้าถึงโน็ตตัวนั้นได้อีกต่อไป</string>
<string name="new_text_note">เพิ่มโน็ตข้อความใหม่</string>
<string name="new_checklist">เพิ่มรายการตรวจสอบใหม่</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">เปิดไฟล์</string>
<string name="export_as_file">ส่งออกเป็นไฟล์</string>

@ -31,6 +31,7 @@
<string name="locking_warning">UYARI: Notların parolasını unutursanız, onu kurtaramaz veya notların içeriğine artık erişemezsiniz.</string>
<string name="new_text_note">Yeni metin notu</string>
<string name="new_checklist">Yeni yapılacak listesi</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Dosya aç</string>
<string name="export_as_file">Dosya olarak aktar</string>

@ -31,6 +31,7 @@
<string name="locking_warning">ЗАСТЕРЕЖЕННЯ: Якщо ви забудете пароль, то більше не зможете його відновити або отримати доступ до вмісту нотаток.</string>
<string name="new_text_note">Нова текстова нотатка</string>
<string name="new_checklist">Новий список</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Відкрити файл</string>
<string name="export_as_file">Експортувати як файл</string>

@ -30,6 +30,7 @@
<string name="locking_warning">Cảnh Báo: Nếu bạn quên khi chú mật khẩu, bạn sẽ không thể nào lấy lại hay truy cập vào những ghi chú nữa</string>
<string name="new_text_note">Ghi chú văn bản mới</string>
<string name="new_checklist">Danh sách kiểm tra mới</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Mở tệp</string>

@ -31,6 +31,7 @@
<string name="locking_warning">警告:如果您忘记了笔记的密码,您将无法恢复或访问笔记的内容。</string>
<string name="new_text_note">新建文本笔记</string>
<string name="new_checklist">新建清单</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">打开文件</string>
<string name="export_as_file">以文件的形式导出</string>

@ -31,6 +31,7 @@
<string name="locking_warning">WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore.</string>
<string name="new_text_note">新文字筆記</string>
<string name="new_checklist">New checklist</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">打開檔案</string>
<string name="export_as_file">匯出成檔案</string>

@ -30,6 +30,7 @@
<string name="locking_warning">WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<string name="cannot_load_over_internet">The app cannot load files over the internet</string>
<!-- File notes -->
<string name="open_file">Open file</string>