From 8995a973f801ae1044f2f7cdbedea22ca642f602 Mon Sep 17 00:00:00 2001 From: Agnieszka C <85929121+Aga-C@users.noreply.github.com> Date: Sat, 22 Jan 2022 14:55:07 +0100 Subject: [PATCH 1/2] Added shortcuts for new text note and checklist (#495) --- .../notes/pro/activities/MainActivity.kt | 72 +++++++++++++++++-- .../notes/pro/helpers/Constants.kt | 4 ++ app/src/main/res/drawable/shortcut_check.xml | 9 +++ app/src/main/res/values-ar/strings.xml | 4 +- app/src/main/res/values-az/strings.xml | 2 + app/src/main/res/values-cs/strings.xml | 2 + app/src/main/res/values-cy/strings.xml | 2 + app/src/main/res/values-da/strings.xml | 2 + app/src/main/res/values-de/strings.xml | 4 +- app/src/main/res/values-el/strings.xml | 2 + app/src/main/res/values-eo/strings.xml | 2 + app/src/main/res/values-es/strings.xml | 2 + app/src/main/res/values-et/strings.xml | 2 + app/src/main/res/values-fa/strings.xml | 2 + app/src/main/res/values-fi/strings.xml | 4 +- app/src/main/res/values-fr/strings.xml | 4 +- app/src/main/res/values-gl/strings.xml | 2 + app/src/main/res/values-hr/strings.xml | 2 + app/src/main/res/values-hu/strings.xml | 4 +- app/src/main/res/values-id/strings.xml | 2 + app/src/main/res/values-it/strings.xml | 4 +- app/src/main/res/values-ja/strings.xml | 2 + app/src/main/res/values-lt/strings.xml | 2 + app/src/main/res/values-nb-rNO/strings.xml | 2 + app/src/main/res/values-nl/strings.xml | 2 + app/src/main/res/values-pl/strings.xml | 4 +- app/src/main/res/values-pt-rBR/strings.xml | 2 + app/src/main/res/values-pt/strings.xml | 2 + app/src/main/res/values-ru/strings.xml | 4 +- app/src/main/res/values-sk/strings.xml | 2 + app/src/main/res/values-sv/strings.xml | 2 + app/src/main/res/values-tr/strings.xml | 4 +- app/src/main/res/values-uk/strings.xml | 2 + app/src/main/res/values-zh-rCN/strings.xml | 4 +- app/src/main/res/values-zh-rTW/strings.xml | 2 + app/src/main/res/values/strings.xml | 2 + 36 files changed, 157 insertions(+), 14 deletions(-) create mode 100644 app/src/main/res/drawable/shortcut_check.xml diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt index 56db0889..ad7340c1 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt @@ -1,8 +1,12 @@ package com.simplemobiletools.notes.pro.activities +import android.annotation.SuppressLint import android.app.Activity import android.content.Context import android.content.Intent +import android.content.pm.ShortcutInfo +import android.graphics.drawable.Icon +import android.graphics.drawable.LayerDrawable import android.net.Uri import android.os.Bundle import android.print.PrintAttributes @@ -35,14 +39,13 @@ import com.simplemobiletools.notes.pro.databases.NotesDatabase 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.MIME_TEXT_PLAIN -import com.simplemobiletools.notes.pro.helpers.NoteType -import com.simplemobiletools.notes.pro.helpers.NotesHelper -import com.simplemobiletools.notes.pro.helpers.OPEN_NOTE_ID +import com.simplemobiletools.notes.pro.helpers.* import com.simplemobiletools.notes.pro.models.Note import java.io.File import java.nio.charset.Charset import kotlinx.android.synthetic.main.activity_main.* +import java.util.* +import kotlin.collections.ArrayList class MainActivity : SimpleActivity() { private val EXPORT_FILE_SYNC = 1 @@ -117,6 +120,8 @@ class MainActivity : SimpleActivity() { } updateTextColors(view_pager) + checkShortcuts() + search_wrapper.setBackgroundColor(config.primaryColor) val contrastColor = config.primaryColor.getContrastColor() arrayListOf(searchPrevBtn, searchNextBtn, searchClearBtn).forEach { @@ -268,6 +273,59 @@ class MainActivity : SimpleActivity() { private fun isCurrentItemChecklist() = if (this::mCurrentNote.isInitialized) mCurrentNote.type == NoteType.TYPE_CHECKLIST.value else false + @SuppressLint("NewApi") + private fun checkShortcuts() { + val appIconColor = config.appIconColor + if (isNougatMR1Plus() && config.lastHandledShortcutColor != appIconColor) { + val newTextNote = getNewTextNoteShortcut(appIconColor) + val newChecklist = getNewChecklistShortcut(appIconColor) + + try { + shortcutManager.dynamicShortcuts = Arrays.asList(newTextNote, newChecklist) + config.lastHandledShortcutColor = appIconColor + } catch (ignored: Exception) { + } + } + } + + @SuppressLint("NewApi") + private fun getNewTextNoteShortcut(appIconColor: Int): ShortcutInfo { + val shortLabel = getString(R.string.text_note) + val longLabel = getString(R.string.new_text_note) + val drawable = resources.getDrawable(R.drawable.shortcut_plus) + (drawable as LayerDrawable).findDrawableByLayerId(R.id.shortcut_plus_background).applyColorFilter(appIconColor) + val bmp = drawable.convertToBitmap() + + val intent = Intent(this, MainActivity::class.java) + intent.action = Intent.ACTION_VIEW + intent.putExtra(NEW_TEXT_NOTE, true) + return ShortcutInfo.Builder(this, SHORTCUT_NEW_TEXT_NOTE) + .setShortLabel(shortLabel) + .setLongLabel(longLabel) + .setIcon(Icon.createWithBitmap(bmp)) + .setIntent(intent) + .build() + } + + @SuppressLint("NewApi") + private fun getNewChecklistShortcut(appIconColor: Int): ShortcutInfo { + val shortLabel = getString(R.string.checklist) + val longLabel = getString(R.string.new_checklist) + val drawable = resources.getDrawable(R.drawable.shortcut_check) + (drawable as LayerDrawable).findDrawableByLayerId(R.id.shortcut_plus_background).applyColorFilter(appIconColor) + val bmp = drawable.convertToBitmap() + + val intent = Intent(this, MainActivity::class.java) + intent.action = Intent.ACTION_VIEW + intent.putExtra(NEW_CHECKLIST, true) + return ShortcutInfo.Builder(this, SHORTCUT_NEW_CHECKLIST) + .setShortLabel(shortLabel) + .setLongLabel(longLabel) + .setIcon(Icon.createWithBitmap(bmp)) + .setIntent(intent) + .build() + } + private fun checkIntents(intent: Intent) { intent.apply { if (action == Intent.ACTION_SEND && type == MIME_TEXT_PLAIN) { @@ -282,6 +340,12 @@ class MainActivity : SimpleActivity() { if (realPath != null && hasPermission(PERMISSION_READ_STORAGE)) { val file = File(realPath) handleUri(Uri.fromFile(file)) + } else if (intent.getBooleanExtra(NEW_TEXT_NOTE, false)) { + val newTextNote = Note(null, getCurrentFormattedDateTime(), "", NoteType.TYPE_TEXT.value, "", PROTECTION_NONE, "") + addNewNote(newTextNote) + } else if (intent.getBooleanExtra(NEW_CHECKLIST, false)) { + val newChecklist = Note(null, getCurrentFormattedDateTime(), "", NoteType.TYPE_CHECKLIST.value, "", PROTECTION_NONE, "") + addNewNote(newChecklist) } else { handleUri(data!!) } diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/Constants.kt index 74bb5393..3ca91baa 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/Constants.kt @@ -11,6 +11,10 @@ const val CUSTOMIZED_WIDGET_NOTE_ID = "customized_widget_note_id" const val CUSTOMIZED_WIDGET_BG_COLOR = "customized_widget_bg_color" const val CUSTOMIZED_WIDGET_TEXT_COLOR = "customized_widget_text_color" const val CUSTOMIZED_WIDGET_SHOW_TITLE = "customized_widget_show_title" +const val SHORTCUT_NEW_TEXT_NOTE = "shortcut_new_text_note" +const val SHORTCUT_NEW_CHECKLIST = "shortcut_new_checklist" +const val NEW_TEXT_NOTE = "new_text_note" +const val NEW_CHECKLIST = "new_checklist" val DEFAULT_WIDGET_TEXT_COLOR = Color.parseColor("#FFF57C00") // shared preferences diff --git a/app/src/main/res/drawable/shortcut_check.xml b/app/src/main/res/drawable/shortcut_check.xml new file mode 100644 index 00000000..6767562c --- /dev/null +++ b/app/src/main/res/drawable/shortcut_check.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index e2821767..a350f5f1 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -27,6 +27,8 @@ محتوى الملاحظات مؤمن. إظهار المحتوى تحذير: إذا نسيت كلمة مرور الملاحظات، فلن تتمكن من استعادتها أو الوصول إلى محتوى الملاحظات بعد الآن. + New text note + New checklist فتح ملف تصدير كملف @@ -80,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-az/strings.xml b/app/src/main/res/values-az/strings.xml index cc168be4..4ebeb542 100644 --- a/app/src/main/res/values-az/strings.xml +++ b/app/src/main/res/values-az/strings.xml @@ -25,6 +25,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist Faylı Aç diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index fba963b2..2bdbff75 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -25,6 +25,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist Otevřít soubor diff --git a/app/src/main/res/values-cy/strings.xml b/app/src/main/res/values-cy/strings.xml index eeb59524..4781b3ba 100644 --- a/app/src/main/res/values-cy/strings.xml +++ b/app/src/main/res/values-cy/strings.xml @@ -25,6 +25,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist Agor ffeil diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index 66b077d2..c777c341 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -25,6 +25,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist Åbn fil … diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index bc254996..a50bcd6d 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -26,6 +26,8 @@ Der Inhalt der Notizen ist gesperrt. Inhalt anzeigen ACHTUNG: Wenn Sie das Kennwort für die Notizen vergessen, können Sie es nicht mehr wiederherstellen oder auf den Inhalt der Notizen zugreifen. + New text note + New checklist Datei öffnen Als Datei exportieren @@ -79,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index 4ca013a0..f6a0a054 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -25,6 +25,8 @@ Το περιεχόμενο των Σημειώσεων είναι κλειδωμένο. Εμφάνιση περιεχομένου ΠΡΟΣΟΧΗ: Εάν ξεχάσετε τον κωδικό των σημειώσεων, δεν θα μπορείτε πλέον να τον ανακτήσετε ή να αποκτήσετε πρόσβαση στο περιεχόμενο τους. + New text note + New checklist Άνοιγμα αρχείου diff --git a/app/src/main/res/values-eo/strings.xml b/app/src/main/res/values-eo/strings.xml index bfd3f7a1..3aea8513 100644 --- a/app/src/main/res/values-eo/strings.xml +++ b/app/src/main/res/values-eo/strings.xml @@ -26,6 +26,8 @@ The notes\' content is locked. Montri enhavon WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist Malfermi dosieron Export as file diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 5deda088..ab8e6029 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -25,6 +25,8 @@ El contenido de esta nota está bloqueado. Mostrar contenido ADVERTENCIA: Si olvidas la contraseña de esta nota, ya no podrás recuperar su contenido. + New text note + New checklist Abrir archivo diff --git a/app/src/main/res/values-et/strings.xml b/app/src/main/res/values-et/strings.xml index 1346fb18..ed338400 100644 --- a/app/src/main/res/values-et/strings.xml +++ b/app/src/main/res/values-et/strings.xml @@ -27,6 +27,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist Ava fail diff --git a/app/src/main/res/values-fa/strings.xml b/app/src/main/res/values-fa/strings.xml index 4280a402..49526057 100644 --- a/app/src/main/res/values-fa/strings.xml +++ b/app/src/main/res/values-fa/strings.xml @@ -25,6 +25,8 @@ محتویات یادداشت، قفل است نمایش محتویات هشدار: اگر گذرواژهٔ یادداشت را فراموش کنید، دیگر قادر به بازیابی آن یا دسترسی به محتویات یادداشت نیستید. + New text note + New checklist بازکردن پرونده diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index 3c11e6eb..53ab75d7 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -26,6 +26,8 @@ Muistiinpanon sisältö on lukittu. Näytä sisältö VAROITUS: Jos unohdat muistiinpanon salasanan, sitä ei ole mahdollista palauttaa etkä pääse enää käsiksi muistiinpanoon. + New text note + New checklist Avaa tiedosto Vie tiedostona @@ -109,4 +111,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 2b801a3f..2c718c34 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -26,6 +26,8 @@ Le contenu des notes est verrouillé. Montrer le contenu 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. + New text note + New checklist Ouvrir le fichier Exporter dans un fichier @@ -79,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-gl/strings.xml b/app/src/main/res/values-gl/strings.xml index 9e49f253..8593bd40 100644 --- a/app/src/main/res/values-gl/strings.xml +++ b/app/src/main/res/values-gl/strings.xml @@ -25,6 +25,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist Abrir ficheiro diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index 4c6005fc..d6dbd7c7 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -25,6 +25,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist Otvori datoteku diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index a6c0223f..92faf900 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -27,6 +27,8 @@ A jegyzet tartalma zárolva van. Show content FIGYELMEZTETÉS: Ha elfelejti a jegyzetek jelszavát, akkor többé nem fogja tudni helyreállítani vagy elérni a jegyzetek tartalmát. + New text note + New checklist Fájl megnyitása Exportálás fájlba @@ -80,4 +82,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-id/strings.xml b/app/src/main/res/values-id/strings.xml index 251d5ea6..183140c9 100644 --- a/app/src/main/res/values-id/strings.xml +++ b/app/src/main/res/values-id/strings.xml @@ -25,6 +25,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist Buka berkas diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index fb4f7774..6beff573 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -26,6 +26,8 @@ Il contenuto delle note è bloccato. Mostra il contenuto ATTENZIONE: Se dimentichi la password delle note, non sarai più in grado di recuperarla o di accedere al contenuto delle note. + New text note + New checklist Apri file Esporta come file @@ -79,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 59513afc..a5fbf55f 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -25,6 +25,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist ファイルを開く diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index a4a5a99e..3512658a 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -25,6 +25,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist Atverti bylą diff --git a/app/src/main/res/values-nb-rNO/strings.xml b/app/src/main/res/values-nb-rNO/strings.xml index 273c707c..17359490 100644 --- a/app/src/main/res/values-nb-rNO/strings.xml +++ b/app/src/main/res/values-nb-rNO/strings.xml @@ -26,6 +26,8 @@ Notatinnholdet er låst. Vis innhold Advarsel: Hvis du glemmer notatpassordet vil du ikke kunne gjenopprette det eller innholdet. + New text note + New checklist Åpne fil Eksporter som fil diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index c1b56cc1..4f6c7a42 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -25,6 +25,8 @@ De inhoud van deze notitie is vergrendeld. Inhoud weergeven WAARSCHUWING: Zonder het wachtwoord kan de inhoud van de notitie niet meer worden hersteld. + New text note + New checklist Bestand openen diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index cda586fe..79306c45 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -26,6 +26,8 @@ Treść notatki jest zablokowana. Pokaż zawartość 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. + Nowa notatka tekstowa + Nowa lista kontrolna Otwórz plik Eksportuj jako plik @@ -79,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index b410a015..75c8a343 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -25,6 +25,8 @@ O conteúdo da anotação está bloqueado. Mostrar conteúdo AVISO: Caso você esqueça a senha, não conseguirá acessar o conteúdo. + New text note + New checklist Abrir arquivo diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 2cc2ca18..a49f0405 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -25,6 +25,8 @@ O conteúdo da nota está bloqueado. Mostrar conteúdo AVISO: se esquecer a palavra-passe, não conseguirá aceder à nota nem recuperar o seu conteúdo. + New text note + New checklist Abrir ficheiro diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 9eab5044..6e28ad33 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -26,6 +26,8 @@ Содержимое заметки заблокировано. Показывать содержание ПРЕДУПРЕЖДЕНИЕ: если вы забудете пароль, то не сможете восстановить его или получить доступ к содержимому заметок. + New text note + New checklist Открыть файл Экспортировать в файл @@ -109,4 +111,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index a63f5099..a1294994 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -25,6 +25,8 @@ Obsah poznámky je uzamknutý. Zobraziť obsah UPOZORNENIE: Ak zabudnete heslo poznámky, nebudete ho môcť obnoviť, ani sa už dostať k obsahu poznámky. + New text note + New checklist Otvoriť súbor diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 0b6fb03c..72254546 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -25,6 +25,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist Öppna fil diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 63910c02..fbe969c9 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -26,6 +26,8 @@ Notların içeriği kilitlendi. İçeriği göster UYARI: Notların parolasını unutursanız, onu kurtaramaz veya notların içeriğine artık erişemezsiniz. + New text note + New checklist Dosya aç Dosya olarak aktar @@ -79,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index fb8047e9..e584b730 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -25,6 +25,8 @@ Нотатку заблоковано. Показати нотатку УВАГА: Якщо ви забудете пароль доступу до нотатки, ви більше не зможете його відновити або прочитати нотатку. + New text note + New checklist Відкрити файл diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index fd74713d..df5bf253 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -26,6 +26,8 @@ 笔记的内容被锁定。 显示内容 警告:如果您忘记了笔记的密码,您将无法恢复或访问笔记的内容。 + New text note + New checklist 打开文件 以文件的形式导出 @@ -79,4 +81,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index d3738aac..8f438d2e 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -25,6 +25,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist 打開檔案 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 36769069..314f80b8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -25,6 +25,8 @@ The notes\' content is locked. Show content WARNING: If you forget the notes\' password, you won\'t be able to recover it or access the notes\' content anymore. + New text note + New checklist Open file From 936514fdbd42afa401233b3718ad33de7bb5156d Mon Sep 17 00:00:00 2001 From: Tibor Kaputa Date: Thu, 3 Feb 2022 23:11:35 +0100 Subject: [PATCH 2/2] updating the slovak translation --- app/src/main/res/values-sk/strings.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index a1294994..c5fea0b3 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -25,8 +25,8 @@ Obsah poznámky je uzamknutý. Zobraziť obsah UPOZORNENIE: Ak zabudnete heslo poznámky, nebudete ho môcť obnoviť, ani sa už dostať k obsahu poznámky. - New text note - New checklist + Nová textová poznámka + Nový zoznam položiek Otvoriť súbor