Added note title to widget (#268)

This commit is contained in:
Agnieszka C 2021-10-01 20:51:20 +02:00
parent d148443165
commit efbfaa8717
40 changed files with 122 additions and 7 deletions

View File

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

View File

@ -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<Note>()
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<List<ChecklistItem>>() {}.type
val items = Gson().fromJson<ArrayList<ChecklistItem>>(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
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -14,10 +14,22 @@
android:layout_alignParentBottom="true"
android:src="@drawable/widget_round_background" />
<TextView
android:id="@+id/widget_note_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:ellipsize="end"
android:gravity="center"
android:lines="1"
android:padding="@dimen/tiny_margin"
android:textSize="@dimen/smaller_text_size" />
<ListView
android:id="@+id/notes_widget_listview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/widget_note_title"
android:divider="@null" />
</RelativeLayout>

View File

@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/notes_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -13,10 +15,29 @@
android:layout_height="wrap_content"
android:padding="@dimen/activity_margin">
<RelativeLayout
android:id="@+id/show_note_title_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:paddingBottom="@dimen/activity_margin">
<com.simplemobiletools.commons.views.MySwitchCompat
android:id="@+id/show_note_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:text="@string/show_note_title"
app:switchPadding="@dimen/medium_margin"/>
</RelativeLayout>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/notes_picker_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/show_note_title_holder"
android:layout_marginBottom="@dimen/normal_margin"
android:text="@string/note_shown_widget" />
@ -31,12 +52,25 @@
</RelativeLayout>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/text_note_view_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/notes_picker_holder"
android:background="@null"
android:ellipsize="end"
android:gravity="center"
android:lines="1"
android:padding="@dimen/tiny_margin"
android:textSize="@dimen/smaller_text_size"
android:text="@string/title"/>
<TextView
android:id="@+id/text_note_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/config_bg_color"
android:layout_below="@+id/notes_picker_holder"
android:layout_below="@id/text_note_view_title"
android:layout_marginBottom="@dimen/activity_margin"
android:background="@null"
android:gravity="top"
@ -48,7 +82,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/config_bg_color"
android:layout_below="@+id/notes_picker_holder"
android:layout_below="@id/text_note_view_title"
android:layout_marginBottom="@dimen/activity_margin"
android:clipToPadding="false"
android:overScrollMode="never"

View File

@ -17,6 +17,7 @@
<string name="add_to_note">إضافة الى ملاحظة</string>
<string name="unsaved_changes_warning">لديك بعض التعديلات غير محفظة. ماذا تريد أن تفعل بها؟</string>
<string name="note_shown_widget">ملاحظة معروضة في widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">نوع ملاحظة جديد:</string>
<string name="text_note">ملاحظة نصية</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Qeydə əlavə et</string>
<string name="unsaved_changes_warning">You have some unsaved changes. What do you want to do with them?</string>
<string name="note_shown_widget">Note shown in the widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">New note type:</string>
<string name="text_note">Text note</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Přidat k poznámce</string>
<string name="unsaved_changes_warning">Máte nějaké neuložené změny. Co s nimi chcete udělat?</string>
<string name="note_shown_widget">Poznámka zobrazená ve widgetu:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Typ nové poznámky:</string>
<string name="text_note">Textová poznámka</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Ychwanegu at nodyn</string>
<string name="unsaved_changes_warning">Mae gennyt rai newidiadau heb eu cadw. Beth wyt ti am wneud gyda nhw?</string>
<string name="note_shown_widget">Nodyn a ddangosir yn y teclyn:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Math y nodyn newydd:</string>
<string name="text_note">Nodyn testun</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Føj til note</string>
<string name="unsaved_changes_warning">Du har ændringer der ikke er gemt. Hvad skal der ske med dem?</string>
<string name="note_shown_widget">Note vist i widget\'en:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Ny type note:</string>
<string name="text_note">Tekstnote</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Zu Notiz hinzufügen</string>
<string name="unsaved_changes_warning">Du hast ungespeicherte Notizen. Was soll mit ihnen geschehen?</string>
<string name="note_shown_widget">Im Widget angezeigte Notiz:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Neue Notizart:</string>
<string name="text_note">Textnotiz</string>
<string name="lock_note">Notiz sperren</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Προσθήκη στη σημείωση</string>
<string name="unsaved_changes_warning">Έχετε ορισμένες μη αποθηκευμένες αλλαγές. Τι θέλετε να κάνετε με αυτές;</string>
<string name="note_shown_widget">Σημείωση που εμφανίζεται στο widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Νέος τύπος σημείωσης:</string>
<string name="text_note">Σημείωση κειμένου</string>
<string name="lock_note">Κλείδωμα Σημείωσης</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Añadir a la nota</string>
<string name="unsaved_changes_warning">Tienes cambios sin guardar. ¿Qué quieres hacer con ellos?</string>
<string name="note_shown_widget">Nota mostrada en el widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Nuevo tipo de nota:</string>
<string name="text_note">Nota de texto</string>
<string name="lock_note">Bloquear nota</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">افزودن به یادداشت</string>
<string name="unsaved_changes_warning">شما مقداری تغییرات ذخیره نشده دارید. می‌خواهید با آنها چکار کنید؟</string>
<string name="note_shown_widget">یادداشتی که در ابزارک نمایش داده می‌شود:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">نوع یادداشت جدید:</string>
<string name="text_note">یادداشت متنی</string>
<string name="lock_note">قفل کردن یادداشت</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Lisää muistiinpanoon</string>
<string name="unsaved_changes_warning">Sinulla on joitain tallentamattomia muutoksia. Miten haluat toimia?</string>
<string name="note_shown_widget">Pienoissovelluksessa näkyvä muistiinpano:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Uusi muistiinpanotyyppi:</string>
<string name="text_note">Tekstimuistiinpano</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Ajouter à la note</string>
<string name="unsaved_changes_warning">Vous avez des changements non sauvegardés. Que voulez-vous faire avec ?</string>
<string name="note_shown_widget">Note affichée dans le widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Type de la note:</string>
<string name="text_note">Texte</string>
<string name="lock_note">Verrouiller la note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Engadir a Nota</string>
<string name="unsaved_changes_warning"> Non gardaches algúns cambios.Que queres facer con eles?</string>
<string name="note_shown_widget">Nota amosada no widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Novo tipo de nota:</string>
<string name="text_note">Nota de texto</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Dodaj u bilješku</string>
<string name="unsaved_changes_warning">Imate neke nespremljene izmjene. Što želite učiniti s njima??</string>
<string name="note_shown_widget">Bilješka prikazana u widgetu:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Nova vrsta bilješke:</string>
<string name="text_note">Tekstualna bilješka</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Add to note</string>
<string name="unsaved_changes_warning">You have some unsaved changes. What do you want to do with them?</string>
<string name="note_shown_widget">Note shown in the widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">New note type:</string>
<string name="text_note">Text note</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Tambahkan ke catatan</string>
<string name="unsaved_changes_warning">Anda memiliki perubahan yang belum disimpan. Apa yang ingin anda lakukan?</string>
<string name="note_shown_widget">Catatan yang ditampilkan di widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Tipe catatan baru:</string>
<string name="text_note">Catatan teks</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Tambahkan ke catatan</string>
<string name="unsaved_changes_warning">Anda memiliki perubahan yang belum disimpan. Apa yang ingin anda lakukan?</string>
<string name="note_shown_widget">Catatan yang ditampilkan di widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Tipe catatan baru:</string>
<string name="text_note">Catatan teks</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Aggiunta alla nota</string>
<string name="unsaved_changes_warning">Ci sono delle modifiche non salvate. Cosa fare?</string>
<string name="note_shown_widget">Nota mostrata nel widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Nuovo tipo di nota:</string>
<string name="text_note">Nota di testo</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">メモに追加</string>
<string name="unsaved_changes_warning">未保存の変更があります。どのように対応しますか?</string>
<string name="note_shown_widget">ウィジェットに表示中のメモ:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">新しいメモの種類:</string>
<string name="text_note">テキストメモ</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Papildyti įrašą</string>
<string name="unsaved_changes_warning">Turite neišsaugotų pakeitimų. Ką norite su jais daryti?</string>
<string name="note_shown_widget">Užrašas rodomas skydelyje:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Naujo užrašo tipas:</string>
<string name="text_note">Tekstinis užrašas</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Aan notitie toevoegen</string>
<string name="unsaved_changes_warning">Wijzigingen zijn nog niet opgeslagen</string>
<string name="note_shown_widget">Notitie in widget weergeven:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Type notitie:</string>
<string name="text_note">Tekst</string>
<string name="lock_note">Notitie vergrendelen</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Dodaj do notatki</string>
<string name="unsaved_changes_warning">Masz niezapisane zmiany. Co chcesz z nimi zrobić?</string>
<string name="note_shown_widget">Notatka wyświetlona w widżecie:</string>
<string name="show_note_title">Pokazuj tytuł notatki</string>
<string name="new_note_type">Typ nowej notatki:</string>
<string name="text_note">Notatka tekstowa</string>
<string name="lock_note">Zablokuj notatkę</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Adicionar à nota</string>
<string name="unsaved_changes_warning">Você tem algumas alterações que ainda não foram salvas. O que você gostaria de fazer com elas?</string>
<string name="note_shown_widget">Exibir nota em um widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Novo tipo de nota:</string>
<string name="text_note">Anotações</string>
<string name="lock_note">Bloquear anotação</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Adicionar a uma nota</string>
<string name="unsaved_changes_warning">Existem alterações não guardadas. O que deseja fazer?</string>
<string name="note_shown_widget">Nota mostrada no widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Tipo da nova nota:</string>
<string name="text_note">Nota de texto</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Добавить к заметке</string>
<string name="unsaved_changes_warning">Есть несохраненные изменения. Что вы хотите с ними сделать?</string>
<string name="note_shown_widget">Заметка, показываемая в виджете:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Тип новой заметки:</string>
<string name="text_note">Текстовая заметка</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Pridať k poznámke</string>
<string name="unsaved_changes_warning">Máte nejaké neuložené zmeny. Čo s nimi chcete spraviť?</string>
<string name="note_shown_widget">Poznámka zobrazená vo widgete:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Typ novej poznámky:</string>
<string name="text_note">Textová poznámka</string>
<string name="lock_note">Uzamknúť poznámku</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Lägg till i anteckning</string>
<string name="unsaved_changes_warning">Det finns några ändringar som inte har sparats. Vad vill du göra med dem?</string>
<string name="note_shown_widget">Anteckning som visas i widgeten:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Anteckningstyp:</string>
<string name="text_note">Textanteckning</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Nota ekle</string>
<string name="unsaved_changes_warning">Kaydedilmemiş bazı değişiklikleriniz var. Onlarla ne yapmak istersiniz?</string>
<string name="note_shown_widget">Widget\'ta gösterilen not:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Yeni not türü:</string>
<string name="text_note">Metin notu</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Додати до нотатки</string>
<string name="unsaved_changes_warning">Ви внесли деякі зміни. Що ви бажаєте з ними зробити?</string>
<string name="note_shown_widget">Нотатка, що показується у віджеті:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">Новий тип нотаток:</string>
<string name="text_note">Текст нотатки</string>
<string name="lock_note">Заблокувати нотатку</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">添加到笔记</string>
<string name="unsaved_changes_warning">您有未保存的更改。您对此想如何操作呢?</string>
<string name="note_shown_widget">小工具中显示的笔记:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">新笔记类型:</string>
<string name="text_note">文本笔记</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">添加到筆記</string>
<string name="unsaved_changes_warning">你有一些尚未儲存的變更。你想對他們怎麼處理?</string>
<string name="note_shown_widget">在小工具顯示的筆記:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">新筆記類型:</string>
<string name="text_note">文字筆記</string>
<string name="lock_note">Lock note</string>

View File

@ -17,6 +17,7 @@
<string name="add_to_note">Add to note</string>
<string name="unsaved_changes_warning">You have some unsaved changes. What do you want to do with them?</string>
<string name="note_shown_widget">Note shown in the widget:</string>
<string name="show_note_title">Show note title</string>
<string name="new_note_type">New note type:</string>
<string name="text_note">Text note</string>
<string name="lock_note">Lock note</string>