Merge pull request #496 from Aga-C/add-shortcuts

Added shortcuts for new text note and checklist (#495)
This commit is contained in:
Tibor Kaputa 2022-02-03 23:11:48 +01:00 committed by GitHub
commit ce4a8b4e1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 161 additions and 22 deletions

View File

@ -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!!)
}

View File

@ -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

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/shortcut_plus_background">
<shape android:shape="oval">
<solid android:color="@color/color_primary"/>
</shape>
</item>
<item android:bottom="@dimen/medium_margin" android:drawable="@drawable/ic_check_vector" android:left="@dimen/medium_margin" android:right="@dimen/medium_margin" android:top="@dimen/medium_margin"/>
</layer-list>

View File

@ -27,6 +27,8 @@
<string name="note_content_locked">محتوى الملاحظات مؤمن.</string>
<string name="show_content">إظهار المحتوى</string>
<string name="locking_warning">تحذير: إذا نسيت كلمة مرور الملاحظات، فلن تتمكن من استعادتها أو الوصول إلى محتوى الملاحظات بعد الآن.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">فتح ملف</string>
<string name="export_as_file">تصدير كملف</string>
@ -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
-->
</resources>
</resources>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">The notes\' content is locked.</string>
<string name="show_content">Show content</string>
<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>
<!-- File notes -->
<string name="open_file">Faylı</string>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">The notes\' content is locked.</string>
<string name="show_content">Show content</string>
<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>
<!-- File notes -->
<string name="open_file">Otevřít soubor</string>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">The notes\' content is locked.</string>
<string name="show_content">Show content</string>
<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>
<!-- File notes -->
<string name="open_file">Agor ffeil</string>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">The notes\' content is locked.</string>
<string name="show_content">Show content</string>
<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>
<!-- File notes -->
<string name="open_file">Åbn fil …</string>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">Der Inhalt der Notizen ist gesperrt.</string>
<string name="show_content">Inhalt anzeigen</string>
<string name="locking_warning">ACHTUNG: Wenn Sie das Kennwort für die Notizen vergessen, können Sie es nicht mehr wiederherstellen oder auf den Inhalt der Notizen zugreifen.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Datei öffnen</string>
<string name="export_as_file">Als Datei exportieren</string>
@ -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
-->
</resources>
</resources>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">Το περιεχόμενο των Σημειώσεων είναι κλειδωμένο.</string>
<string name="show_content">Εμφάνιση περιεχομένου</string>
<string name="locking_warning">ΠΡΟΣΟΧΗ: Εάν ξεχάσετε τον κωδικό των σημειώσεων, δεν θα μπορείτε πλέον να τον ανακτήσετε ή να αποκτήσετε πρόσβαση στο περιεχόμενο τους.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Άνοιγμα αρχείου</string>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">The notes\' content is locked.</string>
<string name="show_content">Montri enhavon</string>
<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>
<!-- File notes -->
<string name="open_file">Malfermi dosieron</string>
<string name="export_as_file">Export as file</string>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">El contenido de esta nota está bloqueado.</string>
<string name="show_content">Mostrar contenido</string>
<string name="locking_warning">ADVERTENCIA: Si olvidas la contraseña de esta nota, ya no podrás recuperar su contenido.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Abrir archivo</string>

View File

@ -2,8 +2,7 @@
<resources>
<string name="app_name">Lihtne märkmik</string>
<string name="app_launcher_name">Märkmik</string>
<string name="widget_config">Täname et kasutad Lihtsat märkmikku.
\nTeisi rakendusi meie Lihtsate tarvikute seeriast leiad SimpleMobileTools.com saidist.</string>
<string name="widget_config">Täname et kasutad Lihtsat märkmikku.\nTeisi rakendusi meie Lihtsate tarvikute seeriast leiad SimpleMobileTools.com saidist.</string>
<string name="cannot_share_empty_text">Tühja sisu ei saa jagada</string>
<string name="simple_note">Lihtne märge</string>
<string name="new_note">Lisa uus märge</string>
@ -27,19 +26,18 @@
<string name="note_content_locked">Märkme sisu on lukustatud.</string>
<string name="show_content">Näita sisu</string>
<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">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Ava fail</string>
<string name="export_as_file">Export as file</string>
<string name="file_too_large">Faili suurus ületab lubatud 1MB piiri</string>
<string name="only_import_file_content">Impordi vaid faili sisu
\n(faili vahetamine ei mõjuta märget)</string>
<string name="update_file_at_note">Märkme uuendamisel uuenda ka faili
\n(faili kustutamisel või asukoha muutumisel kustub ka märge)</string>
<string name="only_import_file_content">Impordi vaid faili sisu\n(faili vahetamine ei mõjuta märget)</string>
<string name="update_file_at_note">Märkme uuendamisel uuenda ka faili\n(faili kustutamisel või asukoha muutumisel kustub ka märge)</string>
<string name="delete_file_itself">Samuti kustuta „%s“ fail</string>
<string name="note_saved_successfully">„%s“ märkme salvestamine õnnestus</string>
<string name="note_exported_successfully">„%s“ märkme eksportimine õnnestus</string>
<string name="only_export_file_content">Ekspordi vaid praeguse faili sisu
\n(märkme muutmine ei mõjuta faili)</string>
<string name="only_export_file_content">Ekspordi vaid praeguse faili sisu\n(märkme muutmine ei mõjuta faili)</string>
<!-- Settings -->
<string name="display_success_message">Näita teateid salvestamise õnnestumise kohta</string>
<string name="links_and_emails_clickable">Tee lingid ja e-posti aadressid klikatavaks</string>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">محتویات یادداشت، قفل است</string>
<string name="show_content">نمایش محتویات</string>
<string name="locking_warning">هشدار: اگر گذرواژهٔ یادداشت را فراموش کنید، دیگر قادر به بازیابی آن یا دسترسی به محتویات یادداشت نیستید.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">بازکردن پرونده</string>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">Muistiinpanon sisältö on lukittu.</string>
<string name="show_content">Näytä sisältö</string>
<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">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Avaa tiedosto</string>
<string name="export_as_file">Vie tiedostona</string>
@ -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
-->
</resources>
</resources>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">Le contenu des notes est verrouillé.</string>
<string name="show_content">Montrer le contenu</string>
<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">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Ouvrir le fichier</string>
<string name="export_as_file">Exporter dans un fichier</string>
@ -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
-->
</resources>
</resources>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">The notes\' content is locked.</string>
<string name="show_content">Show content</string>
<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>
<!-- File notes -->
<string name="open_file">Abrir ficheiro</string>

View File

@ -26,6 +26,8 @@
<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 zaboravite lozinku za bilješke, više je nećete moći oporaviti niti pristupiti sadržaju bilješke.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Otvori datoteku</string>
<string name="export_as_file">Izvezi kao datoteku</string>

View File

@ -27,6 +27,8 @@
<string name="note_content_locked">A jegyzet tartalma zárolva van.</string>
<string name="show_content">Tartalom megjelenítése</string>
<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">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Fájl megnyitása</string>
<string name="export_as_file">Exportálás fájlként</string>
@ -83,4 +85,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">The notes\' content is locked.</string>
<string name="show_content">Show content</string>
<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>
<!-- File notes -->
<string name="open_file">Buka berkas</string>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">Il contenuto delle note è bloccato.</string>
<string name="show_content">Mostra il contenuto</string>
<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">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Apri file</string>
<string name="export_as_file">Esporta come file</string>
@ -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
-->
</resources>
</resources>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">The notes\' content is locked.</string>
<string name="show_content">Show content</string>
<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>
<!-- File notes -->
<string name="open_file">ファイルを開く</string>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">The notes\' content is locked.</string>
<string name="show_content">Show content</string>
<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>
<!-- File notes -->
<string name="open_file">Atverti bylą</string>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">Notatinnholdet er låst.</string>
<string name="show_content">Vis innhold</string>
<string name="locking_warning">Advarsel: Hvis du glemmer notatpassordet vil du ikke kunne gjenopprette det eller innholdet.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Åpne fil</string>
<string name="export_as_file">Eksporter som fil</string>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">De inhoud van deze notitie is vergrendeld.</string>
<string name="show_content">Inhoud weergeven</string>
<string name="locking_warning">WAARSCHUWING: Zonder het wachtwoord kan de inhoud van de notitie niet meer worden hersteld.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Bestand openen</string>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">Treść notatki jest zablokowana.</string>
<string name="show_content">Pokaż zawartość</string>
<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>
<!-- File notes -->
<string name="open_file">Otwórz plik</string>
<string name="export_as_file">Eksportuj jako plik</string>
@ -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
-->
</resources>
</resources>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">O conteúdo da anotação está bloqueado.</string>
<string name="show_content">Mostrar conteúdo</string>
<string name="locking_warning">AVISO: Caso você esqueça a senha, não conseguirá acessar o conteúdo.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Abrir arquivo</string>
<string name="export_as_file">Exportar como arquivo</string>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">O conteúdo da nota está bloqueado.</string>
<string name="show_content">Mostrar conteúdo</string>
<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">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Abrir ficheiro</string>
<string name="export_as_file">Exportar como ficheiro</string>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">Содержимое заметки заблокировано.</string>
<string name="show_content">Показывать содержание</string>
<string name="locking_warning">ПРЕДУПРЕЖДЕНИЕ: если вы забудете пароль, то не сможете восстановить его или получить доступ к содержимому заметок.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Открыть файл</string>
<string name="export_as_file">Экспортировать в файл</string>
@ -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
-->
</resources>
</resources>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">Obsah poznámky je uzamknutý.</string>
<string name="show_content">Zobraziť obsah</string>
<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>
<!-- File notes -->
<string name="open_file">Otvoriť súbor</string>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">Anteckningarnas \'innehåll\' är låst.</string>
<string name="show_content">Show content</string>
<string name="locking_warning">VARNING: Om du glömmer anteckningarnas\' lösenord kommer du inte att kunna återställa det eller komma åt anteckningarnas\' innehåll längre.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Öppna fil</string>
<string name="export_as_file">Exportera som fil</string>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">Notların içeriği kilitlendi.</string>
<string name="show_content">İçeriği göster</string>
<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">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Dosya aç</string>
<string name="export_as_file">Dosya olarak aktar</string>
@ -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
-->
</resources>
</resources>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">Нотатку заблоковано.</string>
<string name="show_content">Показати нотатку</string>
<string name="locking_warning">УВАГА: Якщо ви забудете пароль доступу до нотатки, ви більше не зможете його відновити або прочитати нотатку.</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">Відкрити файл</string>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">笔记的内容被锁定。</string>
<string name="show_content">显示内容</string>
<string name="locking_warning">警告:如果您忘记了笔记的密码,您将无法恢复或访问笔记的内容。</string>
<string name="new_text_note">New text note</string>
<string name="new_checklist">New checklist</string>
<!-- File notes -->
<string name="open_file">打开文件</string>
<string name="export_as_file">以文件的形式导出</string>
@ -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
-->
</resources>
</resources>

View File

@ -25,6 +25,8 @@
<string name="note_content_locked">The notes\' content is locked.</string>
<string name="show_content">Show content</string>
<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>
<!-- File notes -->
<string name="open_file">打開檔案</string>

View File

@ -26,6 +26,8 @@
<string name="note_content_locked">The notes\' content is locked.</string>
<string name="show_content">Show content</string>
<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>
<!-- File notes -->
<string name="open_file">Open file</string>