From efbfaa8717046b29db32eb1c7ac1fc943d758092 Mon Sep 17 00:00:00 2001 From: Agnieszka C <85929121+Aga-C@users.noreply.github.com> Date: Fri, 1 Oct 2021 20:51:20 +0200 Subject: [PATCH] Added note title to widget (#268) --- .../notes/pro/activities/SettingsActivity.kt | 1 + .../pro/activities/WidgetConfigureActivity.kt | 20 +++++++++- .../notes/pro/databases/NotesDatabase.kt | 11 ++++- .../notes/pro/dialogs/RenameNoteDialog.kt | 3 ++ .../notes/pro/helpers/Constants.kt | 1 + .../notes/pro/helpers/MyWidgetProvider.kt | 7 ++++ .../notes/pro/models/Widget.kt | 3 +- app/src/main/res/layout/widget.xml | 12 ++++++ app/src/main/res/layout/widget_config.xml | 40 +++++++++++++++++-- app/src/main/res/values-ar/strings.xml | 1 + app/src/main/res/values-az/strings.xml | 1 + app/src/main/res/values-cs/strings.xml | 1 + app/src/main/res/values-cy/strings.xml | 1 + app/src/main/res/values-da/strings.xml | 1 + app/src/main/res/values-de/strings.xml | 1 + app/src/main/res/values-el/strings.xml | 1 + app/src/main/res/values-es/strings.xml | 1 + app/src/main/res/values-fa/strings.xml | 1 + app/src/main/res/values-fi/strings.xml | 1 + app/src/main/res/values-fr/strings.xml | 1 + app/src/main/res/values-gl/strings.xml | 1 + app/src/main/res/values-hr/strings.xml | 1 + app/src/main/res/values-hu/strings.xml | 1 + app/src/main/res/values-id/strings.xml | 1 + app/src/main/res/values-in/strings.xml | 1 + app/src/main/res/values-it/strings.xml | 1 + app/src/main/res/values-ja/strings.xml | 1 + app/src/main/res/values-lt/strings.xml | 1 + app/src/main/res/values-nl/strings.xml | 1 + app/src/main/res/values-pl/strings.xml | 1 + app/src/main/res/values-pt-rBR/strings.xml | 1 + app/src/main/res/values-pt/strings.xml | 1 + app/src/main/res/values-ru/strings.xml | 1 + app/src/main/res/values-sk/strings.xml | 1 + app/src/main/res/values-sv/strings.xml | 1 + app/src/main/res/values-tr/strings.xml | 1 + app/src/main/res/values-uk/strings.xml | 1 + app/src/main/res/values-zh-rCN/strings.xml | 1 + app/src/main/res/values-zh-rTW/strings.xml | 1 + app/src/main/res/values/strings.xml | 1 + 40 files changed, 122 insertions(+), 7 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/SettingsActivity.kt index 50717c61..f15b5b5e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/SettingsActivity.kt @@ -227,6 +227,7 @@ class SettingsActivity : SimpleActivity() { putExtra(CUSTOMIZED_WIDGET_NOTE_ID, noteId) putExtra(CUSTOMIZED_WIDGET_BG_COLOR, widgetBgColor) putExtra(CUSTOMIZED_WIDGET_TEXT_COLOR, widgetTextColor) + putExtra(CUSTOMIZED_WIDGET_SHOW_TITLE, widgetShowTitle) } startActivity(this) diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/WidgetConfigureActivity.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/WidgetConfigureActivity.kt index 116fd695..050f16ec 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/WidgetConfigureActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/WidgetConfigureActivity.kt @@ -38,6 +38,7 @@ class WidgetConfigureActivity : SimpleActivity() { private var mTextColor = 0 private var mCurrentNoteId = 0L private var mIsCustomizingColors = false + private var mShowTitle = false private var mNotes = ArrayList() public override fun onCreate(savedInstanceState: Bundle?) { @@ -59,6 +60,10 @@ class WidgetConfigureActivity : SimpleActivity() { config_text_color.setOnClickListener { pickTextColor() } notes_picker_value.setOnClickListener { showNoteSelector() } notes_picker_holder.background = ColorDrawable(config.backgroundColor) + show_note_title_holder.setOnClickListener { + show_note_title.toggle() + handleNoteTitleDisplay() + } } override fun onResume() { @@ -73,12 +78,13 @@ class WidgetConfigureActivity : SimpleActivity() { private fun initVariables() { val extras = intent.extras - if (extras?.getLong(CUSTOMIZED_WIDGET_ID, 0L) == 0L) { + if (extras?.getInt(CUSTOMIZED_WIDGET_ID, 0) == 0) { mBgColor = config.widgetBgColor mTextColor = config.widgetTextColor } else { mBgColor = extras?.getInt(CUSTOMIZED_WIDGET_BG_COLOR) ?: config.widgetBgColor mTextColor = extras?.getInt(CUSTOMIZED_WIDGET_TEXT_COLOR) ?: config.widgetTextColor + mShowTitle = extras?.getBoolean(CUSTOMIZED_WIDGET_SHOW_TITLE) ?: false } mBgAlpha = Color.alpha(mBgColor) / 255.toFloat() @@ -97,6 +103,7 @@ class WidgetConfigureActivity : SimpleActivity() { updateTextColor() mIsCustomizingColors = extras?.getBoolean(IS_CUSTOMIZING_COLORS) ?: false notes_picker_holder.beVisibleIf(!mIsCustomizingColors) + text_note_view_title.beGoneIf(!mShowTitle) NotesHelper(this).getNotes { mNotes = it @@ -145,6 +152,7 @@ class WidgetConfigureActivity : SimpleActivity() { private fun updateCurrentNote(note: Note) { mCurrentNoteId = note.id!! notes_picker_value.text = note.title + text_note_view_title.text = note.title if (note.type == NoteType.TYPE_CHECKLIST.value) { val checklistItemType = object : TypeToken>() {}.type val items = Gson().fromJson>(note.value, checklistItemType) ?: ArrayList(1) @@ -188,7 +196,7 @@ class WidgetConfigureActivity : SimpleActivity() { val id = if (extras?.containsKey(CUSTOMIZED_WIDGET_KEY_ID) == true) extras.getLong(CUSTOMIZED_WIDGET_KEY_ID) else null mWidgetId = extras?.getInt(CUSTOMIZED_WIDGET_ID, mWidgetId) ?: mWidgetId mCurrentNoteId = extras?.getLong(CUSTOMIZED_WIDGET_NOTE_ID, mCurrentNoteId) ?: mCurrentNoteId - val widget = Widget(id, mWidgetId, mCurrentNoteId, mBgColor, mTextColor) + val widget = Widget(id, mWidgetId, mCurrentNoteId, mBgColor, mTextColor, mShowTitle) ensureBackgroundThread { widgetsDB.insertOrUpdate(widget) } @@ -222,12 +230,14 @@ class WidgetConfigureActivity : SimpleActivity() { text_note_view.setBackgroundColor(mBgColor) checklist_note_view.setBackgroundColor(mBgColor) config_save.setBackgroundColor(mBgColor) + text_note_view_title.setBackgroundColor(mBgColor) config_bg_color.setFillWithStroke(mBgColor, Color.BLACK) } private fun updateTextColor() { config_save.setTextColor(mTextColor) text_note_view.setTextColor(mTextColor) + text_note_view_title.setTextColor(mTextColor) (checklist_note_view.adapter as? ChecklistAdapter)?.updateTextColor(mTextColor) config_text_color.setFillWithStroke(mTextColor, Color.BLACK) } @@ -249,4 +259,10 @@ class WidgetConfigureActivity : SimpleActivity() { } } } + + private fun handleNoteTitleDisplay() { + val showTitle = show_note_title.isChecked + text_note_view_title.beGoneIf(!showTitle) + mShowTitle = showTitle + } } diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/databases/NotesDatabase.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/databases/NotesDatabase.kt index dcab5fb0..418a321e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/databases/NotesDatabase.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/databases/NotesDatabase.kt @@ -17,7 +17,7 @@ import com.simplemobiletools.notes.pro.models.Note import com.simplemobiletools.notes.pro.models.Widget import java.util.concurrent.Executors -@Database(entities = [Note::class, Widget::class], version = 3) +@Database(entities = [Note::class, Widget::class], version = 4) abstract class NotesDatabase : RoomDatabase() { abstract fun NotesDao(): NotesDao @@ -40,6 +40,7 @@ abstract class NotesDatabase : RoomDatabase() { }) .addMigrations(MIGRATION_1_2) .addMigrations(MIGRATION_2_3) + .addMigrations(MIGRATION_3_4) .build() db!!.openHelper.setWriteAheadLoggingEnabled(true) } @@ -77,5 +78,13 @@ abstract class NotesDatabase : RoomDatabase() { } } } + + private val MIGRATION_3_4 = object : Migration(3, 4) { + override fun migrate(database: SupportSQLiteDatabase) { + database.apply { + execSQL("ALTER TABLE widgets ADD COLUMN widget_show_title INTEGER NOT NULL DEFAULT 0") + } + } + } } } diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/dialogs/RenameNoteDialog.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/dialogs/RenameNoteDialog.kt index b04e428d..d4f43500 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/dialogs/RenameNoteDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/dialogs/RenameNoteDialog.kt @@ -8,6 +8,7 @@ import com.simplemobiletools.notes.pro.R import com.simplemobiletools.notes.pro.activities.SimpleActivity import com.simplemobiletools.notes.pro.extensions.config import com.simplemobiletools.notes.pro.extensions.notesDB +import com.simplemobiletools.notes.pro.extensions.updateWidgets import com.simplemobiletools.notes.pro.helpers.NotesHelper import com.simplemobiletools.notes.pro.models.Note import kotlinx.android.synthetic.main.dialog_new_note.view.* @@ -78,6 +79,8 @@ class RenameNoteDialog(val activity: SimpleActivity, val note: Note, val current } } } + + activity.baseContext.updateWidgets() } } } 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 2a439d41..bf2cc0dc 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 @@ -10,6 +10,7 @@ const val CUSTOMIZED_WIDGET_KEY_ID = "customized_widget_key_id" 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" val DEFAULT_WIDGET_TEXT_COLOR = Color.parseColor("#FFF57C00") // shared preferences diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/MyWidgetProvider.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/MyWidgetProvider.kt index 7dd5b2d2..870b5368 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/MyWidgetProvider.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/MyWidgetProvider.kt @@ -9,10 +9,13 @@ import android.net.Uri import android.widget.RemoteViews import com.simplemobiletools.commons.extensions.applyColorFilter import com.simplemobiletools.commons.extensions.getLaunchIntent +import com.simplemobiletools.commons.extensions.setText +import com.simplemobiletools.commons.extensions.setVisibleIf import com.simplemobiletools.commons.helpers.WIDGET_TEXT_COLOR import com.simplemobiletools.commons.helpers.ensureBackgroundThread import com.simplemobiletools.notes.pro.R import com.simplemobiletools.notes.pro.activities.SplashActivity +import com.simplemobiletools.notes.pro.extensions.notesDB import com.simplemobiletools.notes.pro.extensions.widgetsDB import com.simplemobiletools.notes.pro.models.Widget import com.simplemobiletools.notes.pro.services.WidgetService @@ -31,7 +34,11 @@ class MyWidgetProvider : AppWidgetProvider() { for (widgetId in appWidgetIds) { val widget = context.widgetsDB.getWidgetWithWidgetId(widgetId) ?: continue val views = RemoteViews(context.packageName, R.layout.widget) + val note = context.notesDB.getNoteWithId(widget.noteId) views.applyColorFilter(R.id.notes_widget_background, widget.widgetBgColor) + views.setTextColor(R.id.widget_note_title, widget.widgetTextColor) + views.setText(R.id.widget_note_title, note?.title ?: "") + views.setVisibleIf(R.id.widget_note_title, widget.widgetShowTitle) setupAppOpenIntent(context, views, R.id.notes_widget_holder, widget) Intent(context, WidgetService::class.java).apply { diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/models/Widget.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/models/Widget.kt index 06e571c3..693ebebd 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/models/Widget.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/models/Widget.kt @@ -11,4 +11,5 @@ data class Widget( @ColumnInfo(name = "widget_id") var widgetId: Int, @ColumnInfo(name = "note_id") var noteId: Long, @ColumnInfo(name = "widget_bg_color") var widgetBgColor: Int, - @ColumnInfo(name = "widget_text_color") var widgetTextColor: Int) + @ColumnInfo(name = "widget_text_color") var widgetTextColor: Int, + @ColumnInfo(name = "widget_show_title") var widgetShowTitle: Boolean) diff --git a/app/src/main/res/layout/widget.xml b/app/src/main/res/layout/widget.xml index c723d9ec..49648cff 100644 --- a/app/src/main/res/layout/widget.xml +++ b/app/src/main/res/layout/widget.xml @@ -14,10 +14,22 @@ android:layout_alignParentBottom="true" android:src="@drawable/widget_round_background" /> + + diff --git a/app/src/main/res/layout/widget_config.xml b/app/src/main/res/layout/widget_config.xml index 67692bfe..e397b0d7 100644 --- a/app/src/main/res/layout/widget_config.xml +++ b/app/src/main/res/layout/widget_config.xml @@ -1,6 +1,8 @@ - + + + + + + @@ -31,12 +52,25 @@ + + إضافة الى ملاحظة لديك بعض التعديلات غير محفظة. ماذا تريد أن تفعل بها؟ ملاحظة معروضة في widget: + Show note title نوع ملاحظة جديد: ملاحظة نصية Lock note diff --git a/app/src/main/res/values-az/strings.xml b/app/src/main/res/values-az/strings.xml index c9131657..cc168be4 100644 --- a/app/src/main/res/values-az/strings.xml +++ b/app/src/main/res/values-az/strings.xml @@ -17,6 +17,7 @@ Qeydə əlavə et You have some unsaved changes. What do you want to do with them? Note shown in the widget: + Show note title New note type: Text note Lock note diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index f47471a4..fba963b2 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -17,6 +17,7 @@ Přidat k poznámce Máte nějaké neuložené změny. Co s nimi chcete udělat? Poznámka zobrazená ve widgetu: + Show note title Typ nové poznámky: Textová poznámka Lock note diff --git a/app/src/main/res/values-cy/strings.xml b/app/src/main/res/values-cy/strings.xml index 00f5b5ec..eeb59524 100644 --- a/app/src/main/res/values-cy/strings.xml +++ b/app/src/main/res/values-cy/strings.xml @@ -17,6 +17,7 @@ Ychwanegu at nodyn Mae gennyt rai newidiadau heb eu cadw. Beth wyt ti am wneud gyda nhw? Nodyn a ddangosir yn y teclyn: + Show note title Math y nodyn newydd: Nodyn testun Lock note diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index e5ffab98..66b077d2 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -17,6 +17,7 @@ Føj til note Du har ændringer der ikke er gemt. Hvad skal der ske med dem? Note vist i widget\'en: + Show note title Ny type note: Tekstnote Lock note diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 591c9381..1a1e223e 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -17,6 +17,7 @@ Zu Notiz hinzufügen Du hast ungespeicherte Notizen. Was soll mit ihnen geschehen? Im Widget angezeigte Notiz: + Show note title Neue Notizart: Textnotiz Notiz sperren diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index 02541e75..7725d9dd 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -17,6 +17,7 @@ Προσθήκη στη σημείωση Έχετε ορισμένες μη αποθηκευμένες αλλαγές. Τι θέλετε να κάνετε με αυτές; Σημείωση που εμφανίζεται στο widget: + Show note title Νέος τύπος σημείωσης: Σημείωση κειμένου Κλείδωμα Σημείωσης diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index bf61b2b4..5deda088 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -17,6 +17,7 @@ Añadir a la nota Tienes cambios sin guardar. ¿Qué quieres hacer con ellos? Nota mostrada en el widget: + Show note title Nuevo tipo de nota: Nota de texto Bloquear nota diff --git a/app/src/main/res/values-fa/strings.xml b/app/src/main/res/values-fa/strings.xml index 4820b27d..4280a402 100644 --- a/app/src/main/res/values-fa/strings.xml +++ b/app/src/main/res/values-fa/strings.xml @@ -17,6 +17,7 @@ افزودن به یادداشت شما مقداری تغییرات ذخیره نشده دارید. می‌خواهید با آنها چکار کنید؟ یادداشتی که در ابزارک نمایش داده می‌شود: + Show note title نوع یادداشت جدید: یادداشت متنی قفل کردن یادداشت diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index 735fceda..33ffc2ec 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -17,6 +17,7 @@ Lisää muistiinpanoon Sinulla on joitain tallentamattomia muutoksia. Miten haluat toimia? Pienoissovelluksessa näkyvä muistiinpano: + Show note title Uusi muistiinpanotyyppi: Tekstimuistiinpano Lock note diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 69422ab7..bb614a99 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -17,6 +17,7 @@ Ajouter à la note Vous avez des changements non sauvegardés. Que voulez-vous faire avec ? Note affichée dans le widget: + Show note title Type de la note: Texte Verrouiller la note diff --git a/app/src/main/res/values-gl/strings.xml b/app/src/main/res/values-gl/strings.xml index b88b2722..9e49f253 100644 --- a/app/src/main/res/values-gl/strings.xml +++ b/app/src/main/res/values-gl/strings.xml @@ -17,6 +17,7 @@ Engadir a Nota Non gardaches algúns cambios.Que queres facer con eles? Nota amosada no widget: + Show note title Novo tipo de nota: Nota de texto Lock note diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index 10c700cc..4c6005fc 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -17,6 +17,7 @@ Dodaj u bilješku Imate neke nespremljene izmjene. Što želite učiniti s njima?? Bilješka prikazana u widgetu: + Show note title Nova vrsta bilješke: Tekstualna bilješka Lock note diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 262f3179..4ac377f5 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -17,6 +17,7 @@ Add to note You have some unsaved changes. What do you want to do with them? Note shown in the widget: + Show note title New note type: Text note Lock note diff --git a/app/src/main/res/values-id/strings.xml b/app/src/main/res/values-id/strings.xml index 0d25bf0e..251d5ea6 100644 --- a/app/src/main/res/values-id/strings.xml +++ b/app/src/main/res/values-id/strings.xml @@ -17,6 +17,7 @@ Tambahkan ke catatan Anda memiliki perubahan yang belum disimpan. Apa yang ingin anda lakukan? Catatan yang ditampilkan di widget: + Show note title Tipe catatan baru: Catatan teks Lock note diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml index 0d25bf0e..251d5ea6 100644 --- a/app/src/main/res/values-in/strings.xml +++ b/app/src/main/res/values-in/strings.xml @@ -17,6 +17,7 @@ Tambahkan ke catatan Anda memiliki perubahan yang belum disimpan. Apa yang ingin anda lakukan? Catatan yang ditampilkan di widget: + Show note title Tipe catatan baru: Catatan teks Lock note diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 0143d4fe..caa7aff6 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -17,6 +17,7 @@ Aggiunta alla nota Ci sono delle modifiche non salvate. Cosa fare? Nota mostrata nel widget: + Show note title Nuovo tipo di nota: Nota di testo Lock note diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index f15392f3..59513afc 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -17,6 +17,7 @@ メモに追加 未保存の変更があります。どのように対応しますか? ウィジェットに表示中のメモ: + Show note title 新しいメモの種類: テキストメモ Lock note diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index e44f0a9c..a4a5a99e 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -17,6 +17,7 @@ Papildyti įrašą Turite neišsaugotų pakeitimų. Ką norite su jais daryti? Užrašas rodomas skydelyje: + Show note title Naujo užrašo tipas: Tekstinis užrašas Lock note diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 4b564904..7a0eb484 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -17,6 +17,7 @@ Aan notitie toevoegen Wijzigingen zijn nog niet opgeslagen Notitie in widget weergeven: + Show note title Type notitie: Tekst Notitie vergrendelen diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 014fb524..72cb91c1 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -17,6 +17,7 @@ Dodaj do notatki Masz niezapisane zmiany. Co chcesz z nimi zrobić? Notatka wyświetlona w widżecie: + Pokazuj tytuł notatki Typ nowej notatki: Notatka tekstowa Zablokuj notatkę diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 05311397..76613095 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -17,6 +17,7 @@ Adicionar à nota Você tem algumas alterações que ainda não foram salvas. O que você gostaria de fazer com elas? Exibir nota em um widget: + Show note title Novo tipo de nota: Anotações Bloquear anotação diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index bea0dc03..db9e87ae 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -17,6 +17,7 @@ Adicionar a uma nota Existem alterações não guardadas. O que deseja fazer? Nota mostrada no widget: + Show note title Tipo da nova nota: Nota de texto Lock note diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index dfb40e28..f8f34c5e 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -17,6 +17,7 @@ Добавить к заметке Есть несохраненные изменения. Что вы хотите с ними сделать? Заметка, показываемая в виджете: + Show note title Тип новой заметки: Текстовая заметка Lock note diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index ccac363e..d24b1fd3 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -17,6 +17,7 @@ Pridať k poznámke Máte nejaké neuložené zmeny. Čo s nimi chcete spraviť? Poznámka zobrazená vo widgete: + Show note title Typ novej poznámky: Textová poznámka Uzamknúť poznámku diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 742b7a3d..0b6fb03c 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -17,6 +17,7 @@ Lägg till i anteckning Det finns några ändringar som inte har sparats. Vad vill du göra med dem? Anteckning som visas i widgeten: + Show note title Anteckningstyp: Textanteckning Lock note diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index ce48718f..5c31be76 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -17,6 +17,7 @@ Nota ekle Kaydedilmemiş bazı değişiklikleriniz var. Onlarla ne yapmak istersiniz? Widget\'ta gösterilen not: + Show note title Yeni not türü: Metin notu Lock note diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index c2db7d30..fb8047e9 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -17,6 +17,7 @@ Додати до нотатки Ви внесли деякі зміни. Що ви бажаєте з ними зробити? Нотатка, що показується у віджеті: + Show note title Новий тип нотаток: Текст нотатки Заблокувати нотатку diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 4f950e70..cb9cb193 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -17,6 +17,7 @@ 添加到笔记 您有未保存的更改。您对此想如何操作呢? 小工具中显示的笔记: + Show note title 新笔记类型: 文本笔记 Lock note diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 22ba5012..d3738aac 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -17,6 +17,7 @@ 添加到筆記 你有一些尚未儲存的變更。你想對他們怎麼處理? 在小工具顯示的筆記: + Show note title 新筆記類型: 文字筆記 Lock note diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f719a1d1..36769069 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -17,6 +17,7 @@ Add to note You have some unsaved changes. What do you want to do with them? Note shown in the widget: + Show note title New note type: Text note Lock note