Skip to content

Commit

Permalink
Bump version to 2.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
alialbaali committed Aug 2, 2022
1 parent 1506e6a commit a4e9c54
Show file tree
Hide file tree
Showing 11 changed files with 88 additions and 38 deletions.
10 changes: 8 additions & 2 deletions app/src/main/java/com/noto/app/domain/model/Release.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ sealed interface Release {
data class Version(val major: Int, val minor: Int, val patch: Int) {

companion object {
const val Current = "2.1.3"
const val Last = "2.1.2"
const val Current = "2.1.4"
const val Last = "2.1.3"
}

override fun toString(): String = "$major.$minor.$patch"
Expand Down Expand Up @@ -64,4 +64,10 @@ data class Release_2_1_2(override val changelog: Changelog) : Release {
data class Release_2_1_3(override val changelog: Changelog) : Release {
override val version: Version = Version(2, 1, 3)
override val date: LocalDate = LocalDate(2022, Month.JULY, 24)
}

@Suppress("ClassName")
data class Release_2_1_4(override val changelog: Changelog) : Release {
override val version: Version = Version(2, 1, 4)
override val date: LocalDate = LocalDate(2022, Month.AUGUST, 2)
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import com.noto.app.R
import com.noto.app.databinding.WhatsNewDialogFragmentBinding
import com.noto.app.domain.model.Release
import com.noto.app.domain.model.Release.Changelog
import com.noto.app.domain.model.Release_2_1_3
import com.noto.app.domain.model.Release_2_1_4
import com.noto.app.util.*
import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.onEach
Expand All @@ -24,8 +24,8 @@ class WhatsNewDialogFragment : BaseDialogFragment() {

private val currentRelease: Release? by lazy {
context?.let { context ->
val changelog = Changelog(context.stringResource(R.string.release_2_1_3))
Release_2_1_3(changelog)
val changelog = Changelog(context.stringResource(R.string.release_2_1_4))
Release_2_1_4(changelog)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class WhatsNewFragment : Fragment() {
private val releases: List<Release> by lazy {
context?.let { context ->
listOf(
Release_2_1_3(Release.Changelog(context.stringResource(R.string.release_2_1_4))),
Release_2_1_3(Release.Changelog(context.stringResource(R.string.release_2_1_3))),
Release_2_1_2(Release.Changelog(context.stringResource(R.string.release_2_1_2))),
Release_2_1_1(Release.Changelog(context.stringResource(R.string.release_2_1_1))),
Expand Down
17 changes: 12 additions & 5 deletions app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<string name="more_options">المزيد من الخيارات</string>
<string name="back">رجوع</string>
<string name="folder_layout">تصميم المجلد</string>
<string name="label_filtering_type">نوع التصفية</string>
<string name="label_filtering_type">نوع تصفية الملصقات</string>
<string name="layout">تصميم</string>
<string name="list">قائمة</string>
<string name="inclusive">شامل</string>
Expand Down Expand Up @@ -123,6 +123,7 @@
<string name="pinned">مثبت</string>
<!-- Vault -->
<string name="folders_vault">مخزن المجلدات</string>
<string name="update_passcode">تحديث رمز المرور</string>
<string name="enter_vault_passcode">أدخل رمز المرور</string>
<string name="add_to_vault">أضف إلى المخزن</string>
<string name="remove_from_vault">إزالة من المخزن</string>
Expand Down Expand Up @@ -158,6 +159,7 @@
<string name="use_passcode">استخدام رمز مرور</string>
<!-- Note -->
<string name="all">الكل</string>
<string name="update_reminder">تحديث التنبيه</string>
<string name="archive_is_empty">الأرشيف فارغ.</string>
<plurals name="notes_count">
<item quantity="zero">%d ملاحظات</item>
Expand Down Expand Up @@ -196,14 +198,14 @@
<string name="note_is_archived">تم إرشاف الملاحظة.</string>
<string name="note_is_pinned">تم تثبيت الملاحظة.</string>
<string name="note_is_unpinned">تم إلغاء تثبيت الملاحظة.</string>
<string name="no_note_reminder">لم يتم إعداد أي تنبيه إلى الملاحظة.</string>
<string name="no_note_reminder">لم يتم إعداد أي تنبيه.</string>
<string name="note_is_unarchived">تم إلغاء إرشاف الملاحظة.</string>
<string name="reminder">تنبيه</string>
<string name="reminders">التنبيهات</string>
<string name="new_note_reminder">تنبيه ملاحظة جديد</string>
<string name="new_note_reminder">تنبيه جديد</string>
<string name="copy">نسخ</string>
<string name="copy_to">نسخ إلى…</string>
<string name="note_is_copied">تم نسخ الملاحظة.</string>
<string name="note_is_copied">تم نسخ الملاحظة إلى %s.</string>
<string name="note_copied_to_clipboard">تم نسخ الملاحظة إلى الحافظة.</string>
<string name="text_copied">تم نسخ النص إلى الحافظة.</string>
<string name="delete_note_confirmation">هل أنت متأكد من أنك تريد حذف هذه الملاحظة؟</string>
Expand All @@ -216,7 +218,7 @@
<string name="note_is_deleted">تم حذف الملاحظة.</string>
<string name="note_is_duplicated">تم نسخ الملاحظة.</string>
<string name="move_to">نقل إلى…</string>
<string name="note_is_moved">تم نقل الملاحظة.</string>
<string name="note_is_moved">تم نقل الملاحظة إلى %s.</string>
<string name="note_preview_size">حجم معاينة الملاحظة</string>
<string name="show_note_creation_date">عرض تاريخ إنشاء الملاحظة</string>
<string name="show_folders_notes_count">عرض عدد ملاحظات المجلدات</string>
Expand All @@ -229,6 +231,7 @@
<string name="permission_not_granted">لم يتم منح الإذن</string>
<!-- Label -->
<string name="reorder_label">اعادة ترتيب</string>
<string name="update_label">تحديث الملصق</string>
<string name="create_label">إنشاء ملصق</string>
<string name="label_title">عنوان الملصق</string>
<string name="label">ملصق</string>
Expand Down Expand Up @@ -335,4 +338,8 @@
<string name="release_2_1_1">• إصلاح الأخطاء.</string>
<string name="release_2_1_2">• إصلاح الأخطاء وتحسين التصميم.</string>
<string name="release_2_1_3">• إصلاح الأخطاء وتحسين التصميم.</string>
<string name="release_2_1_4">• تم أصلاح الاختصارات لا تعمل عند استخدام أيقونة مختلفة.
\n• التسميات المحددة تظهر الآن أولا في تخطيط الملاحظة.
\n• إصلاحات الأخطاء الأخرى وتحسين التصميم.
</string>
</resources>
23 changes: 14 additions & 9 deletions app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,11 @@
<string name="report_issue">Einen Fehler melden</string>
<string name="about">Über</string>
<string name="whats_new">Was ist neu?</string>
<string name="about_message">Noto wird von <a href="https://www.alialbaali.com/">Ali Albaali</a>entwickelt und gepflegt.
\n\nDie App wird unter den Bedingungen der <a href="https://github.com/alialbaali/Noto/blob/master/LICENSE.md/">Apache License 2 verteilt.</a>.
Die App-Icons verwenden eine <a href="https://www.figma.com/community/file/830405806109119447/">Sammlung von Verläufen</a> veröffentlicht
von <a href="https://geoffreycrofte.com/">Geoffrey Crofte</a> und lizenziert unter <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.</a>.
<string name="about_message">Noto wird von <a href="https://www.alialbaali.com/">Ali Albaali</a> entwickelt und betreut.
\n\nDie App wird unter den Bedingungen der <a href="https://github.com/alialbaali/Noto/blob/master/LICENSE.md/">Apache-Lizenz Version 2</a> verbreitet.
Die App-Icons verwenden eine <a href="https://www.figma.com/community/file/830405806109119447/">Sammlung von Verläufen</a>, die von <a href="https://geoffreycrofte.com/">Geoffrey Crofte</a> veröffentlicht wurde und unter <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4</a> lizenziert ist.
\n\nBesonderen Dank an <a href="https://linkedin.com/in/nuraysabri/">Nuray Sabri</a> und <a href="https://sakci.me">Alparslan Şakçi</a>,
<a href="https://github.com/faus32">Faus AM</a>, <a href="https://github.com/kernoeb">Kernoeb</a>, und Uli N für türkische, spanische, französische und deutsche Lokalisierungen
sowie alle, die an der Entwicklung mitgewirkt und mitgewirkt haben.</string>
<a href="https://github.com/faus32">Faus AM</a>, <a href="https://github.com/kernoeb">Kernoeb</a> und Uli N für die türkische, spanische, französische und deutsche Übersetzung, sowie an alle, die an der Entwicklung mitgewirkt oder auf andere Weise dazu beigetragen haben.</string>
<!-- <string name="share_with">Share with</string>-->
<string name="export_import_data">Daten exportieren/importieren</string>
<string name="exporting_failed">Export der Daten fehlgeschlagen.</string>
Expand Down Expand Up @@ -119,6 +117,7 @@
<string name="pinned">Angepinnt</string>
<!-- Vault -->
<string name="folders_vault">Ordnerschutz</string>
<string name="update_passcode">Zugangscode aktualisieren</string>
<string name="enter_vault_passcode">Zugangscode eingeben</string>
<string name="add_to_vault">Zum Ordnerschutz hinzufügen</string>
<string name="remove_from_vault">Vom Ordnerschutz ausnehmen</string>
Expand Down Expand Up @@ -154,6 +153,7 @@
<string name="use_passcode">Passcode verwenden</string>
<!-- Note -->
<string name="all">Alle</string>
<string name="update_reminder">Erinnerung aktualisieren</string>
<string name="archive_is_empty">Archiv ist leer.</string>
<plurals name="notes_count">
<item quantity="one">%d Notiz</item>
Expand Down Expand Up @@ -184,14 +184,14 @@
<string name="note_is_archived">Notiz wurde archiviert.</string>
<string name="note_is_pinned">Notiz wurde angepinnt.</string>
<string name="note_is_unpinned">Notiz wurde losgelöst.</string>
<string name="no_note_reminder">Es wurde keine Notiz-Erinnerung eingerichtet.</string>
<string name="no_note_reminder">Keine Notiz-Erinnerung angelegt.</string>
<string name="note_is_unarchived">Notiz wurde dearchiviert.</string>
<string name="reminder">Erinnerung</string>
<string name="reminders">Erinnerungen</string>
<string name="new_note_reminder">Neue Notiz-Erinnerung</string>
<string name="copy">Kopieren</string>
<string name="copy_to">Kopieren nach…</string>
<string name="note_is_copied">Notiz wurde kopiert.</string>
<string name="note_is_copied">Notiz wurde nach %s kopiert.</string>
<string name="note_copied_to_clipboard">Notiz wurde in die Zwischenablage kopiert.</string>
<string name="text_copied">Der Text wurde in die Zwischenablage kopiert.</string>
<string name="delete_note_confirmation">Willst du diese Notiz wirklich löschen?</string>
Expand All @@ -204,7 +204,7 @@
<string name="note_is_deleted">Notiz wurde gelöscht.</string>
<string name="note_is_duplicated">Notiz wurde dupliziert.</string>
<string name="move_to">Verschieben nach…</string>
<string name="note_is_moved">Notiz wurde verschoben.</string>
<string name="note_is_moved">Notiz wurde nach %s verschoben.</string>
<string name="note_preview_size">Größe der Notizvorschau</string>
<string name="show_note_creation_date">Datum der Notizerstellung anzeigen</string>
<string name="show_folders_notes_count">Anzahl der Notizen für Ordner anzeigen</string>
Expand All @@ -217,6 +217,7 @@
<string name="permission_not_granted">Berechtigung wurde nicht gewährt</string>
<!-- Label -->
<string name="reorder_label">Umsortieren</string>
<string name="update_label">Label aktualisieren</string>
<string name="create_label">Label erstellen</string>
<string name="label_title">Label-Titel</string>
<string name="label">Label</string>
Expand Down Expand Up @@ -326,4 +327,8 @@
<string name="release_2_1_1">• Fehlerbehebungen.</string>
<string name="release_2_1_2">• Fehlerbehebungen und Verbesserungen des Designs.</string>
<string name="release_2_1_3">• Fehlerbehebungen und Verbesserungen des Designs.</string>
<string name="release_2_1_4">• Behoben, dass Verknüpfungen bei Verwendung eines anderen Icons nicht funktionierten.
\n• Ausgewählte Labels erscheinen jetzt in der Notiz an erster Stelle.
\n• Weitere Bugfixes und Design-Verbesserungen.
</string>
</resources>
13 changes: 10 additions & 3 deletions app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<string name="more_options">Más opciones</string>
<string name="back">Volver</string>
<string name="folder_layout">Diseño de carpeta</string>
<string name="label_filtering_type">Filtrar por tipo</string>
<string name="label_filtering_type">Tipo de filtrado de etiqueta</string>
<string name="layout">Diseño</string>
<string name="list">Lista</string>
<string name="inclusive">Inclusivo</string>
Expand Down Expand Up @@ -119,6 +119,7 @@
<string name="pinned">Anclado</string>
<!-- Vault -->
<string name="folders_vault">Bóveda de carpetas</string>
<string name="update_passcode">Actualizar contraseña</string>
<string name="enter_vault_passcode">Introduzca contraseña de bóveda</string>
<string name="add_to_vault">Añadir a bóveda</string>
<string name="remove_from_vault">Eliminar de la bóveda</string>
Expand Down Expand Up @@ -154,6 +155,7 @@
<string name="use_passcode">Usar contraseña</string>
<!-- Note -->
<string name="all">Todos</string>
<string name="update_reminder">Actualizar recordatorio</string>
<string name="archive_is_empty">El archivo está vacío.</string>
<plurals name="notes_count">
<item quantity="one">%d nota</item>
Expand Down Expand Up @@ -184,11 +186,11 @@
<string name="note_is_archived">La nota ha sido archivada.</string>
<string name="note_is_pinned">La nota ha sido anclada.</string>
<string name="note_is_unpinned">La nota ha sido desanclada.</string>
<string name="no_note_reminder">No hay recordatorio de nota configurado.</string>
<string name="no_note_reminder">No se ha definido ningún recordatorio.</string>
<string name="note_is_unarchived">La nota se ha desarchivado.</string>
<string name="reminder">Recordatorio</string>
<string name="reminders">Recordatorios</string>
<string name="new_note_reminder">Nuevo recordatorio de nota</string>
<string name="new_note_reminder">Nuevo Recordatorio</string>
<string name="copy">Copiar</string>
<string name="copy_to">Copiar a…</string>
<string name="note_is_copied">Se ha copiado la nota.</string>
Expand Down Expand Up @@ -217,6 +219,7 @@
<string name="permission_not_granted">No se ha concedido permiso</string>
<!-- Label -->
<string name="reorder_label">Reordenar</string>
<string name="update_label">Actualizar etiqueta</string>
<string name="create_label">Crear etiqueta</string>
<string name="label_title">Título de la etiqueta</string>
<string name="label">Etiqueta</string>
Expand Down Expand Up @@ -326,4 +329,8 @@
<string name="release_2_1_1">• Corrección de errores.</string>
<string name="release_2_1_2">• Corrección de errores y mejoras de diseño.</string>
<string name="release_2_1_3">• Corrección de errores y mejoras de diseño.</string>
<string name="release_2_1_4">• Corregidos atajos que no funcionan cuando se utiliza un icono diferente.
\n• Etiquetas seleccionadas ahora aparecen primero en el diseño de nota.
\n• Otras correcciones de errores y mejoras de diseño.
</string>
</resources>
18 changes: 12 additions & 6 deletions app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<string name="more_options">Plus d\'options</string>
<string name="back">Retour</string>
<string name="folder_layout">Disposition du dossier</string>
<string name="label_filtering_type">Type de filtre</string>
<string name="label_filtering_type">Type de filtrage d\'étiquette</string>
<string name="layout">Disposition</string>
<string name="list">Liste</string>
<string name="inclusive">Inclusif</string>
Expand All @@ -18,7 +18,7 @@
<string name="strict">Strict</string>
<string name="grid">Grille</string>
<string name="created">Créé %s</string>
<string name="accessed">Accédé le %s</string>
<string name="accessed">Dernier accès : %s</string>
<string name="alphabetical">Alphabétique</string>
<string name="alphabetical_sorting">Tri par ordre alphabétique</string>
<string name="creation_date">Date de création</string>
Expand Down Expand Up @@ -119,6 +119,7 @@
<string name="pinned">Épinglé</string>
<!-- Vault -->
<string name="folders_vault">Coffre-fort des dossiers</string>
<string name="update_passcode">Mettre à jour le code d\'accès</string>
<string name="enter_vault_passcode">Saisissez le code d\'accès du coffre-fort</string>
<string name="add_to_vault">Ajouter au coffre</string>
<string name="remove_from_vault">Retirer du coffre</string>
Expand Down Expand Up @@ -154,6 +155,7 @@
<string name="use_passcode">Utiliser le code d\'accès</string>
<!-- Note -->
<string name="all">Toutes</string>
<string name="update_reminder">Mettre à jour le rappel</string>
<string name="archive_is_empty">Aucune archive.</string>
<plurals name="notes_count">
<item quantity="one">%d Note</item>
Expand Down Expand Up @@ -184,14 +186,14 @@
<string name="note_is_archived">La note a été archivée.</string>
<string name="note_is_pinned">La note a été épinglée.</string>
<string name="note_is_unpinned">La note a été désépinglée.</string>
<string name="no_note_reminder">Aucun rappel de note n\'est configuré.</string>
<string name="no_note_reminder">Aucun rappel n\'est configuré.</string>
<string name="note_is_unarchived">La note a été désarchivée.</string>
<string name="reminder">Rappel</string>
<string name="reminders">Rappels</string>
<string name="new_note_reminder">Nouveau rappel de note</string>
<string name="new_note_reminder">Nouveau rappel</string>
<string name="copy">Copier</string>
<string name="copy_to">Copier vers…</string>
<string name="note_is_copied">La note a été copiée.</string>
<string name="note_is_copied">La note a été copiée vers %s.</string>
<string name="note_copied_to_clipboard">La note a été copiée dans le presse-papiers.</string>
<string name="text_copied">Le texte a été copié dans le presse-papiers.</string>
<string name="delete_note_confirmation">Êtes-vous sûr de vouloir supprimer cette note ?</string>
Expand All @@ -204,7 +206,7 @@
<string name="note_is_deleted">La note a bien été supprimée.</string>
<string name="note_is_duplicated">La note a bien été dupliquée.</string>
<string name="move_to">Déplacer vers…</string>
<string name="note_is_moved">La note a bien été déplacée.</string>
<string name="note_is_moved">La note a été déplacée vers %s.</string>
<string name="note_preview_size">Taille de l\'aperçu de la note</string>
<string name="show_note_creation_date">Afficher la date de création de la note</string>
<string name="show_folders_notes_count">Afficher le nombre de notes des dossiers</string>
Expand All @@ -217,6 +219,7 @@
<string name="permission_not_granted">Autorisation non accordée</string>
<!-- Label -->
<string name="reorder_label">Réordonner</string>
<string name="update_label">Mettre à jour l\'étiquette</string>
<string name="create_label">Créer une étiquette</string>
<string name="label_title">Titre de l\'étiquette</string>
<string name="label">Étiquette</string>
Expand Down Expand Up @@ -326,4 +329,7 @@
<string name="release_2_1_1">• Corrections de bugs.</string>
<string name="release_2_1_2">• Corrections de bugs et améliorations mineures.</string>
<string name="release_2_1_3">• Corrections de bugs et améliorations mineures.</string>
<string name="release_2_1_4">• Correction des raccourcis non fonctionnels lors de l\'utilisation d\'une icône différente
\n• Les étiquettes sélectionnées apparaissent en premier sur une note
\n• Autres corrections de bugs et améliorations mineures. </string>
</resources>

0 comments on commit a4e9c54

Please sign in to comment.