mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-23 12:00:15 +01:00
Merge pull request #508 from Aga-C/add-notes-backup
Added exporting and importing all notes for Android 10+
This commit is contained in:
commit
deef56495d
@ -44,6 +44,8 @@ import com.simplemobiletools.notes.pro.helpers.*
|
||||
import com.simplemobiletools.notes.pro.models.Note
|
||||
import kotlinx.android.synthetic.main.activity_main.*
|
||||
import java.io.File
|
||||
import java.io.FileOutputStream
|
||||
import java.io.OutputStream
|
||||
import java.nio.charset.Charset
|
||||
import java.util.*
|
||||
import kotlin.collections.ArrayList
|
||||
@ -58,6 +60,9 @@ class MainActivity : SimpleActivity() {
|
||||
private val PICK_OPEN_FILE_INTENT = 1
|
||||
private val PICK_EXPORT_FILE_INTENT = 2
|
||||
|
||||
private val PICK_IMPORT_NOTES_INTENT = 3
|
||||
private val PICK_EXPORT_NOTES_INTENT = 4
|
||||
|
||||
private lateinit var mCurrentNote: Note
|
||||
private var mNotes = ArrayList<Note>()
|
||||
private var mAdapter: NotesPagerAdapter? = null
|
||||
@ -171,11 +176,13 @@ class MainActivity : SimpleActivity() {
|
||||
findItem(R.id.rename_note).isVisible = multipleNotesExist
|
||||
findItem(R.id.open_note).isVisible = multipleNotesExist
|
||||
findItem(R.id.delete_note).isVisible = multipleNotesExist
|
||||
findItem(R.id.export_all_notes).isVisible = multipleNotesExist && hasPermission(PERMISSION_WRITE_STORAGE)
|
||||
findItem(R.id.export_all_notes).isVisible = multipleNotesExist && !isQPlus()
|
||||
findItem(R.id.export_notes).isVisible = multipleNotesExist && isQPlus()
|
||||
findItem(R.id.open_search).isVisible = !isCurrentItemChecklist
|
||||
findItem(R.id.remove_done_items).isVisible = isCurrentItemChecklist
|
||||
findItem(R.id.sort_checklist).isVisible = isCurrentItemChecklist
|
||||
findItem(R.id.import_folder).isVisible = hasPermission(PERMISSION_READ_STORAGE)
|
||||
findItem(R.id.import_folder).isVisible = !isQPlus()
|
||||
findItem(R.id.import_notes).isVisible = isQPlus()
|
||||
findItem(R.id.lock_note).isVisible = mNotes.isNotEmpty() && !mCurrentNote.isLocked()
|
||||
findItem(R.id.unlock_note).isVisible = mNotes.isNotEmpty() && mCurrentNote.isLocked()
|
||||
|
||||
@ -208,6 +215,8 @@ class MainActivity : SimpleActivity() {
|
||||
R.id.import_folder -> openFolder()
|
||||
R.id.export_as_file -> fragment?.handleUnlocking { tryExportAsFile() }
|
||||
R.id.export_all_notes -> tryExportAllNotes()
|
||||
R.id.export_notes -> tryExportNotes()
|
||||
R.id.import_notes -> tryImportNotes()
|
||||
R.id.print -> fragment?.handleUnlocking { printText() }
|
||||
R.id.delete_note -> fragment?.handleUnlocking { displayDeleteNotePrompt() }
|
||||
R.id.settings -> launchSettings()
|
||||
@ -269,6 +278,11 @@ class MainActivity : SimpleActivity() {
|
||||
val takeFlags = Intent.FLAG_GRANT_READ_URI_PERMISSION or Intent.FLAG_GRANT_WRITE_URI_PERMISSION
|
||||
applicationContext.contentResolver.takePersistableUriPermission(resultData.data!!, takeFlags)
|
||||
showExportFilePickUpdateDialog(resultData.dataString!!, getCurrentNoteValue())
|
||||
} else if (requestCode == PICK_EXPORT_NOTES_INTENT && resultCode == Activity.RESULT_OK && resultData != null && resultData.data != null) {
|
||||
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!!)
|
||||
}
|
||||
}
|
||||
|
||||
@ -792,15 +806,21 @@ class MainActivity : SimpleActivity() {
|
||||
}
|
||||
|
||||
private fun openFolder() {
|
||||
FilePickerDialog(this, pickFile = false, canAddShowHiddenButton = true) {
|
||||
openFolder(it) {
|
||||
ImportFolderDialog(this, it.path) {
|
||||
NotesHelper(this).getNotes {
|
||||
mNotes = it
|
||||
showSaveButton = false
|
||||
initViewPager()
|
||||
handlePermission(PERMISSION_READ_STORAGE) { hasPermission ->
|
||||
if (hasPermission) {
|
||||
FilePickerDialog(this, pickFile = false, canAddShowHiddenButton = true) {
|
||||
openFolder(it) {
|
||||
ImportFolderDialog(this, it.path) {
|
||||
NotesHelper(this).getNotes {
|
||||
mNotes = it
|
||||
showSaveButton = false
|
||||
initViewPager()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
toast(R.string.no_storage_permissions)
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -849,6 +869,78 @@ class MainActivity : SimpleActivity() {
|
||||
}
|
||||
}
|
||||
|
||||
private fun tryExportNotes() {
|
||||
val fileName = "${getString(R.string.notes)}_${getCurrentFormattedDateTime()}"
|
||||
Intent(Intent.ACTION_CREATE_DOCUMENT).apply {
|
||||
type = EXPORT_MIME_TYPE
|
||||
putExtra(Intent.EXTRA_TITLE, fileName)
|
||||
addCategory(Intent.CATEGORY_OPENABLE)
|
||||
startActivityForResult(this, PICK_EXPORT_NOTES_INTENT)
|
||||
}
|
||||
}
|
||||
|
||||
private fun exportNotesTo(outputStream: OutputStream?) {
|
||||
toast(R.string.exporting)
|
||||
ensureBackgroundThread {
|
||||
val notesExporter = NotesExporter(this)
|
||||
notesExporter.exportNotes(outputStream) {
|
||||
val toastId = when (it) {
|
||||
NotesExporter.ExportResult.EXPORT_OK -> R.string.exporting_successful
|
||||
else -> R.string.exporting_failed
|
||||
}
|
||||
|
||||
toast(toastId)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun tryImportNotes() {
|
||||
Intent(Intent.ACTION_GET_CONTENT).apply {
|
||||
addCategory(Intent.CATEGORY_OPENABLE)
|
||||
type = EXPORT_MIME_TYPE
|
||||
startActivityForResult(this, PICK_IMPORT_NOTES_INTENT)
|
||||
}
|
||||
}
|
||||
|
||||
private fun importNotes(path: String) {
|
||||
toast(R.string.importing)
|
||||
ensureBackgroundThread {
|
||||
NotesImporter(this).importNotes(path) {
|
||||
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_items_found
|
||||
}
|
||||
)
|
||||
initViewPager()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun importNotesFrom(uri: Uri) {
|
||||
when (uri.scheme) {
|
||||
"file" -> importNotes(uri.path!!)
|
||||
"content" -> {
|
||||
val tempFile = getTempFile("messages", "backup.json")
|
||||
if (tempFile == null) {
|
||||
toast(R.string.unknown_error_occurred)
|
||||
return
|
||||
}
|
||||
|
||||
try {
|
||||
val inputStream = contentResolver.openInputStream(uri)
|
||||
val out = FileOutputStream(tempFile)
|
||||
inputStream!!.copyTo(out)
|
||||
importNotes(tempFile.absolutePath)
|
||||
} catch (e: Exception) {
|
||||
showErrorToast(e)
|
||||
}
|
||||
}
|
||||
else -> toast(R.string.invalid_file_format)
|
||||
}
|
||||
}
|
||||
|
||||
private fun showExportFilePickUpdateDialog(exportPath: String, textToExport: String) {
|
||||
val items = arrayListOf(
|
||||
RadioItem(EXPORT_FILE_SYNC, getString(R.string.update_file_at_note)),
|
||||
@ -878,6 +970,8 @@ class MainActivity : SimpleActivity() {
|
||||
handlePermission(PERMISSION_WRITE_STORAGE) {
|
||||
if (it) {
|
||||
exportAllNotes()
|
||||
} else {
|
||||
toast(R.string.no_storage_permissions)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -36,6 +36,7 @@ const val USE_INCOGNITO_MODE = "use_incognito_mode"
|
||||
const val LAST_CREATED_NOTE_TYPE = "last_created_note_type"
|
||||
const val MOVE_DONE_CHECKLIST_ITEMS = "move_undone_checklist_items" // it has been replaced from moving undone items at the top to moving done to bottom
|
||||
const val FONT_SIZE_PERCENTAGE = "font_size_percentage"
|
||||
const val EXPORT_MIME_TYPE = "application/json"
|
||||
|
||||
// gravity
|
||||
const val GRAVITY_LEFT = 0
|
||||
|
@ -0,0 +1,50 @@
|
||||
package com.simplemobiletools.notes.pro.helpers
|
||||
|
||||
import android.content.Context
|
||||
import com.google.gson.Gson
|
||||
import com.google.gson.stream.JsonWriter
|
||||
import com.simplemobiletools.commons.helpers.PROTECTION_NONE
|
||||
import com.simplemobiletools.commons.helpers.ensureBackgroundThread
|
||||
import com.simplemobiletools.notes.pro.extensions.notesDB
|
||||
import com.simplemobiletools.notes.pro.models.Note
|
||||
import java.io.OutputStream
|
||||
|
||||
class NotesExporter(private val context: Context) {
|
||||
enum class ExportResult {
|
||||
EXPORT_FAIL, EXPORT_OK
|
||||
}
|
||||
|
||||
private val gson = Gson()
|
||||
|
||||
fun exportNotes(outputStream: OutputStream?, callback: (result: ExportResult) -> Unit) {
|
||||
ensureBackgroundThread {
|
||||
if (outputStream == null) {
|
||||
callback.invoke(ExportResult.EXPORT_FAIL)
|
||||
return@ensureBackgroundThread
|
||||
}
|
||||
val writer = JsonWriter(outputStream.bufferedWriter())
|
||||
writer.use {
|
||||
try {
|
||||
var written = 0
|
||||
writer.beginArray()
|
||||
val notes = context.notesDB.getNotes() as ArrayList<Note>
|
||||
for (note in notes) {
|
||||
if (note.protectionType === PROTECTION_NONE) {
|
||||
val noteToSave = getNoteToExport(note)
|
||||
writer.jsonValue(gson.toJson(noteToSave))
|
||||
written++
|
||||
}
|
||||
}
|
||||
writer.endArray()
|
||||
callback.invoke(ExportResult.EXPORT_OK)
|
||||
} catch (e: Exception) {
|
||||
callback.invoke(ExportResult.EXPORT_FAIL)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun getNoteToExport(note: Note): Note {
|
||||
return Note(null, note.title, note.getNoteStoredValue(context) ?: "", note.type, "", PROTECTION_NONE, "")
|
||||
}
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package com.simplemobiletools.notes.pro.helpers
|
||||
|
||||
import android.content.Context
|
||||
import com.google.gson.Gson
|
||||
import com.google.gson.reflect.TypeToken
|
||||
import com.simplemobiletools.commons.extensions.showErrorToast
|
||||
import com.simplemobiletools.commons.helpers.ensureBackgroundThread
|
||||
import com.simplemobiletools.notes.pro.extensions.notesDB
|
||||
import com.simplemobiletools.notes.pro.models.Note
|
||||
import java.io.File
|
||||
|
||||
class NotesImporter(private val context: Context) {
|
||||
enum class ImportResult {
|
||||
IMPORT_FAIL, IMPORT_OK, IMPORT_PARTIAL, IMPORT_NOTHING_NEW
|
||||
}
|
||||
|
||||
private val gson = Gson()
|
||||
private var notesImported = 0
|
||||
private var notesFailed = 0
|
||||
|
||||
fun importNotes(path: String, callback: (result: ImportResult) -> Unit) {
|
||||
ensureBackgroundThread {
|
||||
try {
|
||||
val inputStream = if (path.contains("/")) {
|
||||
File(path).inputStream()
|
||||
} else {
|
||||
context.assets.open(path)
|
||||
}
|
||||
|
||||
inputStream.bufferedReader().use { reader ->
|
||||
val json = reader.readText()
|
||||
val type = object : TypeToken<List<Note>>() {}.type
|
||||
val notes = gson.fromJson<List<Note>>(json, type)
|
||||
val totalNotes = notes.size
|
||||
if (totalNotes <= 0) {
|
||||
callback.invoke(ImportResult.IMPORT_NOTHING_NEW)
|
||||
return@ensureBackgroundThread
|
||||
}
|
||||
|
||||
for (note in notes) {
|
||||
val exists = context.notesDB.getNoteIdWithTitle(note.title) != null
|
||||
if (!exists) {
|
||||
context.notesDB.insertOrUpdate(note)
|
||||
notesImported++
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
context.showErrorToast(e)
|
||||
notesFailed++
|
||||
}
|
||||
|
||||
callback.invoke(
|
||||
when {
|
||||
notesImported == 0 -> ImportResult.IMPORT_FAIL
|
||||
notesFailed > 0 -> ImportResult.IMPORT_PARTIAL
|
||||
else -> ImportResult.IMPORT_OK
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
@ -66,6 +66,10 @@
|
||||
android:id="@+id/import_folder"
|
||||
android:title="@string/import_folder"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/import_notes"
|
||||
android:title="@string/import_notes"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/export_as_file"
|
||||
android:title="@string/export_as_file"
|
||||
@ -74,6 +78,10 @@
|
||||
android:id="@+id/export_all_notes"
|
||||
android:title="@string/export_all_notes"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/export_notes"
|
||||
android:title="@string/export_notes"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/print"
|
||||
android:title="@string/print"
|
||||
|
@ -67,8 +67,9 @@
|
||||
<string name="remove_done_items">إزالة العناصر التي تم إنجازها</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">تصدير جميع الملاحظات كملفات</string>
|
||||
<string name="import_notes">استيراد ملفات متعددة كملاحظات</string>
|
||||
<string name="import_folder">مجلد الاستيراد</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">كيف يمكنني تغيير لون القطع؟</string>
|
||||
<string name="faq_1_text">في حال كان لديك عنصر واجهة مستخدم نشط واحد فقط، يمكنك إما إعادة إنشائه، أو استخدام الزر في إعدادات التطبيق لتخصيصه. إذا كان لديك العديد من الحاجيات النشطة، لن يكون الزر الموجود في إعدادات التطبيق متاحا. بما أن التطبيق يدعم تخصيص الألوان لكل عنصر واجهة مستخدم ، سيكون عليك إعادة إنشاء القطعة التي تريد تخصيصها.</string>
|
||||
|
@ -69,8 +69,9 @@
|
||||
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Bütün qeydləri fayl şəklində çıxar</string>
|
||||
<string name="import_notes">Toplu faylları qeyd şəklində daxil et</string>
|
||||
<string name="import_folder">Qovluq daxil et</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">How can I change the widgets color?</string>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Elimina els elements fets</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Exporta totes les notes com a fitxers</string>
|
||||
<string name="import_notes">Importa diversos fitxers com a notes</string>
|
||||
<string name="import_folder">Importa una carpeta</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Com puc canviar el color dels ginys\?</string>
|
||||
<string name="faq_1_text">En cas que només tingueu 1 giny actiu, podeu tornar-lo a crear o utilitzar el botó de configuració de l\'aplicació per personalitzar-lo. Si teniu diversos ginys actius, el botó de configuració de l\'aplicació no estarà disponible. Com que l\'aplicació admet la personalització del color per giny, haureu de tornar a crear el giny que vulgueu personalitzar.</string>
|
||||
@ -81,4 +82,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -69,8 +69,9 @@
|
||||
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Exportovat všechny poznámky jako soubory</string>
|
||||
<string name="import_notes">Importovat vícero souborů jako poznámky</string>
|
||||
<string name="import_folder">Importovat složku</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Jak mohu změnit barvy widgetu?</string>
|
||||
|
@ -69,8 +69,9 @@
|
||||
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Allforio pob nodyn fel ffeil</string>
|
||||
<string name="import_notes">Mewnforio nifer o ffeiliau fel nodiadau</string>
|
||||
<string name="import_folder">Mewnforio ffolder</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">How can I change the widgets color?</string>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Fjern færdige elementer</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Eksporter alle noter som filer</string>
|
||||
<string name="import_notes">Importer flere filer som noter</string>
|
||||
<string name="import_folder">Importer mappe</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Hvordan kan jeg ændre widgets farve\?</string>
|
||||
<string name="faq_1_text">Hvis du kun har 1 aktiv widget, kan du enten genskabe den eller bruge knappen i appindstillingerne til at tilpasse den. Hvis du har flere aktive widgets, er knappen i appindstillingerne ikke tilgængelig. Da appen understøtter farvetilpasning pr. widget, skal du genskabe den widget, som du vil tilpasse.</string>
|
||||
@ -81,4 +82,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Abgeschlossene Einträge entfernen</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Alle Notizen als Dateien exportieren</string>
|
||||
<string name="import_notes">Mehrere Dateien als Notizen importieren</string>
|
||||
<string name="import_folder">Ordner importieren</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Wie kann ich die Farbe der Widgets ändern\?</string>
|
||||
<string name="faq_1_text">Wenn nur ein Widget aktiv ist, kann die Farbe über die Einstellungen unter dem Punkt Widgets angepasst werden, ansonsten muss es neu erstellt werden.</string>
|
||||
@ -81,4 +82,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -69,8 +69,9 @@
|
||||
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Εξαγωγή όλων των σημειώσεων ως αρχεία</string>
|
||||
<string name="import_notes">Εισαγωγή πολλών αρχείων ως σημειώσεις</string>
|
||||
<string name="import_folder">Εισαγωγή φακέλου</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Πώς μπορώ να αλλάξω το χρώμα των Γραφικών στοιχείων;</string>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Remove done items</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Export all notes as files</string>
|
||||
<string name="import_notes">Import multiple files as notes</string>
|
||||
<string name="import_folder">Import folder</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">How can I change the widgets color?</string>
|
||||
<string name="faq_1_text">In case you have only 1 active widget, you can either recreate it, or use the button in the app settings for customizing it. If you have multiple active widgets, the button in the app settings will not be available. As the app supports color customization per-widget, you will have to recreate the widget that you want to customize.</string>
|
||||
|
@ -69,8 +69,9 @@
|
||||
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Exportar todas las notas como archivos</string>
|
||||
<string name="import_notes">Importar múltiples archivos como notas</string>
|
||||
<string name="import_folder">Importar carpeta</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">¿Cómo puedo cambiar los colores del widget?</string>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Kustuta tehtuks märgitud kirjed</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Ekspordi kõik märkmed failidena</string>
|
||||
<string name="import_notes">Impordi mitu faili märkmeteks</string>
|
||||
<string name="import_folder">Impordi kaust</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Kuidas ma saan muuta vidinate värvi\?</string>
|
||||
<string name="faq_1_text">Kui sa kasutad vaid üht vidinat, siis kas saad ta uuesti luua või kasutada rakenduse seadistusi värvide kohandamiseks. Kui sul on pidevas kasutuses mitu vidinat, siis rakenduste seadistuste nupp ei toimi. Kuna rakendus võimaldab eri vidinatele määrata erinevaid värve, siis sa pead muudetava vidina uuesti looma.</string>
|
||||
@ -111,4 +112,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -69,8 +69,9 @@
|
||||
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">برونریزی همه یادداشتها به عنوان پرونده</string>
|
||||
<string name="import_notes">درونریزی چندین پرونده به عنوان یادداشت</string>
|
||||
<string name="import_folder">درونریزی پوشه</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">چگونه میتوانم رنگ ابزارکها را تغییر دهم؟</string>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Poista tehdyt kohdat</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Vie kaikki muistiinpanot tiedostoina</string>
|
||||
<string name="import_notes">Tuo useita tiedostoja muistiinpanoina</string>
|
||||
<string name="import_folder">Tuo kansio</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Kuinka voin vaihtaa pienoissovelluksen väriä\?</string>
|
||||
<string name="faq_1_text">Jos sinulla on vain yksi aktiivinen pienoissovellus, voit joko luoda sen uudelleen tai mukauttaa sitä sovelluksen asetukset-painikkeella. Jos sinulla on useita aktiivisia pienoissovelluksia, sovelluksessa oleva asetukset-painike ei ole käytettävissä. Koska sovellus tukee värien mukauttamista pienoissovellusta kohti, sinun on luotava uudelleen pienoissovellus, jonka haluat muokata.</string>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Supprimer les éléments cochés</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Exporter toutes les notes en tant que fichiers</string>
|
||||
<string name="import_notes">Importer plusieurs fichiers en tant que notes</string>
|
||||
<string name="import_folder">Importer depuis un dossier</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Comment puis-je changer la couleur des widgets \?</string>
|
||||
<string name="faq_1_text">Si vous avez seulement un widget actif, vous pouvez soit le recréer, soit utiliser le bouton dans les paramètres pour le personnaliser. Si vous avez plusieurs widgets actifs, le bouton dans les paramètres ne sera pas disponible. Comme l\'application supporte la personnalisation de la couleur par widget, vous devrez recréer le widget que vous voulez personnaliser.</string>
|
||||
@ -81,4 +82,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -69,8 +69,9 @@
|
||||
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Exportar todas as notas como ficheiros</string>
|
||||
<string name="import_notes">Importar varios ficheiros como notas</string>
|
||||
<string name="import_folder">Importar cartafoles</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Como cambio a cor dos widgets?</string>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Ukloni gotove stavke</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Izvezi sve bilješke kao datoteke</string>
|
||||
<string name="import_notes">Uvezi više datoteka kao bilješke</string>
|
||||
<string name="import_folder">Mapa za uvoz</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Kako mogu promijeniti boju widgeta\?</string>
|
||||
<string name="faq_1_text">In case you have only 1 active widget, you can either recreate it, or use the button in the app settings for customizing it. If you have multiple active widgets, the button in the app settings will not be available. As the app supports color customization per-widget, you will have to recreate the widget that you want to customize.</string>
|
||||
@ -111,4 +112,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -70,8 +70,9 @@
|
||||
<string name="remove_done_items">Kész elemek eltávolítása</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Összes jegyzet exportálása fájlként</string>
|
||||
<string name="import_notes">Több fájl importálása jegyzetként</string>
|
||||
<string name="import_folder">Mappa importálása</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Hogyan módosíthatom a modulok színét\?</string>
|
||||
<string name="faq_1_text">Ha csak 1 aktív modulja van, akkor vagy újra létrehozhatja, vagy használja az alkalmazásbeállításokban lévő gombot, hogy testreszabja. Ha több modulja van, akkor az alkalmazásbeállításokban nem lesz elérhető a gomb. Mivel az alkalmazás támogatja szín modulonkénti testreszabását, azért a módosítandó modult újra létre kell hoznia.</string>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Remove done items</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Ekspor semua catatan ke berkas</string>
|
||||
<string name="import_notes">Impor beberapa berkas ke catatan</string>
|
||||
<string name="import_folder">Impor folder</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Bagaimana caranya mengubah warna widget?</string>
|
||||
<string name="faq_1_text">Jika anda hanya memiliki 1 widget aktif, anda bisa menambahkan ulang, atau gunakan tombol di dalam pengaturan aplikasi untuk mengubahnya. Jika anda memiliki banyak widget aktif, tombol di dalam pengaturan aplikasi tidak akan tersedia. Karena aplikasi mendukung penyesuaian warna per-widget, anda harus menghapus dan menambahkan ulang widget yang ingin anda ubah warnanya.</string>
|
||||
@ -95,4 +96,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Rimuovi gli elementi finiti</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Esporta le note come file</string>
|
||||
<string name="import_notes">Importa file multipli come note</string>
|
||||
<string name="import_folder">Importa cartella</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Come posso cambiare il colore dei widget\?</string>
|
||||
<string name="faq_1_text">Se hai un solo widget attivo, puoi ricrearlo oppure usare il pulsante nelle impostazioni dell\'app per personalizzaro. Se hai più di un widget, il pulsante nelle impostazioni dell\'app non sarà disponibile. Dato che l\'app supporta la personalizzazione dei colori per ogni widget, dovrai ricreare il widget che vuoi personalizzare.</string>
|
||||
@ -81,4 +82,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -69,8 +69,9 @@
|
||||
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">すべてのメモをファイルとしてエクスポート</string>
|
||||
<string name="import_notes">複数のファイルをメモとしてインポート</string>
|
||||
<string name="import_folder">フォルダからインポート</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">ウィジェットの色はどうやって変更出来ますか?</string>
|
||||
|
@ -69,8 +69,9 @@
|
||||
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Eksportuoti visus užrašus kaip bylas</string>
|
||||
<string name="import_notes">Importuoti keletą bylų, kaip užrašus</string>
|
||||
<string name="import_folder">Importuoti aplanką</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">How can I change the widgets color?</string>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Fjern utførte elementer</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Eksporter alle notater som filer</string>
|
||||
<string name="import_notes">Importer flere filer som notater</string>
|
||||
<string name="import_folder">Importer mappe</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Hvordan endrer jeg miniprogramsfargen\?</string>
|
||||
<string name="faq_1_text">In case you have only 1 active widget, you can either recreate it, or use the button in the app settings for customizing it. If you have multiple active widgets, the button in the app settings will not be available. As the app supports color customization per-widget, you will have to recreate the widget that you want to customize.</string>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Afgeronde items wissen</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Alle notities naar bestanden exporteren</string>
|
||||
<string name="import_notes">Bestanden als notitites importeren</string>
|
||||
<string name="import_folder">Map importeren</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Hoe verander ik de kleuren van de widgets\?</string>
|
||||
<string name="faq_1_text">Gebruik de optie in de instellingen van de app om de kleuren aan te passen, of maak de widget opnieuw aan. Indien er meerdere widgets van deze app actief zijn, zal deze optie niet beschikbaar zijn. De kleuren zijn dan alleen aan te passen door de widget opnieuw aan te maken.</string>
|
||||
@ -81,4 +82,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Usuń wykonane elementy</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Eksportuj wszystkie notatki jako pliki</string>
|
||||
<string name="import_notes">Importuj wiele plików jako notatki</string>
|
||||
<string name="import_folder">Importuj folder</string>
|
||||
<string name="export_notes">Eksportuj wszystkie notatki</string>
|
||||
<string name="import_notes">Importuj notatki</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Jak mogę zmienić kolor widżetów\?</string>
|
||||
<string name="faq_1_text">Jeśli masz tylko 1 aktywny widżet, możesz go odtworzyć lub użyć przycisku w ustawieniach aplikacji, aby go dostosować. Jeśli masz wiele aktywnych widżetów, przycisk w ustawieniach aplikacji nie będzie dostępny. Ponieważ aplikacja obsługuje dostosowywanie kolorów dla poszczególnych widżetów, konieczne będzie ponowne utworzenie widżetu, który chcesz dostosować.</string>
|
||||
|
@ -67,8 +67,9 @@
|
||||
<string name="remove_done_items">Remover itens concluídos</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Exportar todas as notas como arquivo</string>
|
||||
<string name="import_notes">Importar múltiplos arquivos como notas</string>
|
||||
<string name="import_folder">Importar pasta</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Como mudar a cor do widget?</string>
|
||||
<string name="faq_1_text">Caso você possua apenas 1 widget ativo, você poderá recriá-lo, ou usar o botão nas configurações do aplicativo para personalizá-lo. Caso você possua vários widgets ativos, o botão nas configurações do aplicativo não estará disponível. Como o aplicativo suporta personalização de cores por widget, você terá que recriar o widget que deseja personalizar.</string>
|
||||
@ -112,4 +113,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -67,8 +67,9 @@
|
||||
<string name="remove_done_items">Remover itens concluídos</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Exportar todas as notas como ficheiros</string>
|
||||
<string name="import_notes">Importar ficheiros para notas</string>
|
||||
<string name="import_folder">Importar pasta</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Como posso alterar a cor do widget\?</string>
|
||||
<string name="faq_1_text">Se apenas tiver um widget ativo, pode recriá-lo ou utilizar o botão nas definições o personalizar. Se tiver vários widgets, este botão não estará disponível. Como cada um dos widgets pode ser personalizado, terá que os recriar sempre que o quiser personalizar.</string>
|
||||
@ -82,4 +83,4 @@
|
||||
Não encontrou todas as cadeias a traduzir? Existem mais algumas em:
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Удалить выполненные позиции</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Экспортировать все заметки в файлы</string>
|
||||
<string name="import_notes">Импортировать несколько файлов в заметки</string>
|
||||
<string name="import_folder">Импортировать папку</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Как я могу изменить цвет виджета\?</string>
|
||||
<string name="faq_1_text">Если у вас только 1 активный виджет, вы можете либо пересоздать его, либо использовать кнопку в настройках приложения. Если у вас несколько активных виджетов, кнопка в настройках будет недоступна. Поскольку приложение поддерживает настройку цвета для каждого виджета, вам придётся пересоздать виджет, который вы хотите настроить.</string>
|
||||
@ -111,4 +112,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -69,8 +69,9 @@
|
||||
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Exportovať všetky poznámky ako súbory</string>
|
||||
<string name="import_notes">Importovať viacero súborov ako poznámky</string>
|
||||
<string name="import_folder">Importovať priečinok</string>
|
||||
<string name="export_notes">Exportovať všetky poznámky</string>
|
||||
<string name="import_notes">Importovať poznámky</string>
|
||||
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Ako viem zmeniť farby widgetu?</string>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Remove done items</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Exportera alla anteckningar som filer</string>
|
||||
<string name="import_notes">Importera flera filer som anteckningar</string>
|
||||
<string name="import_folder">Importera mapp</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">How can I change the widgets color?</string>
|
||||
<string name="faq_1_text">In case you have only 1 active widget, you can either recreate it, or use the button in the app settings for customizing it. If you have multiple active widgets, the button in the app settings will not be available. As the app supports color customization per-widget, you will have to recreate the widget that you want to customize.</string>
|
||||
@ -111,4 +112,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -68,8 +68,9 @@
|
||||
<string name="remove_done_items">Tamamlanan ögeleri kaldır</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Tüm notları dosya olarak dışa aktar</string>
|
||||
<string name="import_notes">Birden çok dosyayı not olarak içe aktar</string>
|
||||
<string name="import_folder">Klasörü içe aktar</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Widget rengini nasıl değiştirebilirim\?</string>
|
||||
<string name="faq_1_text">Yalnızca 1 etkin widget\'ınız varsa, yeniden oluşturabilir veya özelleştirmek için uygulama ayarlarındaki düğmeyi kullanabilirsiniz. Birden fazla etkin widget\'ınız varsa, uygulama ayarlarındaki düğme kullanılamaz. Uygulama, widget başına renk özelleştirmeyi desteklediğinden, özelleştirmek istediğiniz widget\'ı yeniden oluşturmanız gerekir.</string>
|
||||
@ -83,4 +84,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">Вилучати виконані позиції</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Експортувати всі нотатки як файли</string>
|
||||
<string name="import_notes">Імпортувати файли як нотатки</string>
|
||||
<string name="import_folder">Імпортувати теку</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">Як я можу змінити колір віджета?</string>
|
||||
<string name="faq_1_text">Якщо у вас тільки 1 активний віджет, ви можете або відворити його знову, або використовувати кнопку в налаштуваннях програми. Якщо у вас декілька активних віджетів, кнопка в налаштуваннях буде недоступна. Оскільки додаток підтримує налаштування кольору для кожного віджета, вам доведеться відтворити віджет, який ви хочете налаштувати.</string>
|
||||
@ -111,4 +112,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -66,8 +66,9 @@
|
||||
<string name="remove_done_items">删除完成的项目</string>
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">以文件导出所有笔记</string>
|
||||
<string name="import_notes">导入多个文件为笔记</string>
|
||||
<string name="import_folder">导入文件夹</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">我如何更改小工具颜色?</string>
|
||||
<string name="faq_1_text">如果您仅用一个活动的小工具,您既可以重新创建它,或者使用应用程序设定的按钮来自定义它。如果您拥有多个活动的小工具,应用程序设定中的按钮将不可用。因为应用程序支持小工具分别自定义,您必须要重新创建小工具来自定义它们。</string>
|
||||
@ -81,4 +82,4 @@
|
||||
Haven't found some strings? There's more at
|
||||
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
|
||||
-->
|
||||
</resources>
|
||||
</resources>
|
||||
|
@ -69,8 +69,9 @@
|
||||
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">將全部筆記匯出成檔案</string>
|
||||
<string name="import_notes">將多個檔案匯入成筆記</string>
|
||||
<string name="import_folder">匯入資料夾</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">我如何變更小工具的顏色?</string>
|
||||
|
@ -70,8 +70,9 @@
|
||||
|
||||
<!-- Import / Export -->
|
||||
<string name="export_all_notes">Export all notes as files</string>
|
||||
<string name="import_notes">Import multiple files as notes</string>
|
||||
<string name="import_folder">Import folder</string>
|
||||
<string name="export_notes">Export all notes</string>
|
||||
<string name="import_notes">Import notes</string>
|
||||
|
||||
<!-- FAQ -->
|
||||
<string name="faq_1_title">How can I change the widgets color?</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user