Skip to content

Commit

Permalink
Bump version to 2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
alialbaali committed Apr 29, 2023
1 parent 53683ce commit 6bbbaf6
Show file tree
Hide file tree
Showing 18 changed files with 324 additions and 386 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions app/src/main/java/com/noto/app/domain/model/Release.kt
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.2.1"
const val Last = "2.2.0"
const val Current = "2.2.3"
const val Last = "2.2.2"
}

override fun toString(): String = "$major.$minor.$patch"
Expand Down Expand Up @@ -94,4 +94,16 @@ data class Release_2_2_0(override val changelog: Changelog) : Release {
data class Release_2_2_1(override val changelog: Changelog) : Release {
override val version: Version = Version(2, 2, 1)
override val date: LocalDate = LocalDate(2023, Month.MARCH, 13)
}

@Suppress("ClassName")
data class Release_2_2_2(override val changelog: Changelog) : Release {
override val version: Version = Version(2, 2, 2)
override val date: LocalDate = LocalDate(2023, Month.MARCH, 23)
}

@Suppress("ClassName")
data class Release_2_2_3(override val changelog: Changelog) : Release {
override val version: Version = Version(2, 2, 3)
override val date: LocalDate = LocalDate(2023, Month.APRIL, 29)
}
Expand Up @@ -12,9 +12,13 @@ import com.noto.app.components.BaseDialogFragment
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_2_1
import com.noto.app.domain.model.Release_2_2_3
import com.noto.app.settings.SettingsViewModel
import com.noto.app.util.*
import com.noto.app.util.BounceEdgeEffectFactory
import com.noto.app.util.VerticalListItemAnimator
import com.noto.app.util.isScrollingAsFlow
import com.noto.app.util.stringResource
import com.noto.app.util.withBinding
import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.onEach
import org.koin.androidx.viewmodel.ext.android.viewModel
Expand All @@ -25,8 +29,8 @@ class WhatsNewDialogFragment : BaseDialogFragment() {

private val currentRelease: Release? by lazy {
context?.let { context ->
val changelog = Changelog(context.stringResource(R.string.release_2_2_1))
Release_2_2_1(changelog)
val changelog = Changelog(context.stringResource(R.string.release_2_2_3))
Release_2_2_3(changelog)
}
}

Expand Down
Expand Up @@ -11,8 +11,27 @@ import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager
import com.noto.app.R
import com.noto.app.databinding.WhatsNewFragmentBinding
import com.noto.app.domain.model.*
import com.noto.app.util.*
import com.noto.app.domain.model.Release
import com.noto.app.domain.model.Release_1_8_0
import com.noto.app.domain.model.Release_2_0_0
import com.noto.app.domain.model.Release_2_0_1
import com.noto.app.domain.model.Release_2_1_0
import com.noto.app.domain.model.Release_2_1_1
import com.noto.app.domain.model.Release_2_1_2
import com.noto.app.domain.model.Release_2_1_3
import com.noto.app.domain.model.Release_2_1_4
import com.noto.app.domain.model.Release_2_1_5
import com.noto.app.domain.model.Release_2_1_6
import com.noto.app.domain.model.Release_2_2_0
import com.noto.app.domain.model.Release_2_2_1
import com.noto.app.domain.model.Release_2_2_2
import com.noto.app.domain.model.Release_2_2_3
import com.noto.app.util.BounceEdgeEffectFactory
import com.noto.app.util.VerticalListItemAnimator
import com.noto.app.util.navController
import com.noto.app.util.setupMixedTransitions
import com.noto.app.util.stringResource
import com.noto.app.util.withBinding

private const val GitHubReleasesUrl = "https://github.com/alialbaali/Noto/releases"

Expand All @@ -21,6 +40,8 @@ class WhatsNewFragment : Fragment() {
private val releases: List<Release> by lazy {
context?.let { context ->
listOf(
Release_2_2_3(Release.Changelog(context.stringResource(R.string.release_2_2_3))),
Release_2_2_2(Release.Changelog(context.stringResource(R.string.release_2_2_2))),
Release_2_2_1(Release.Changelog(context.stringResource(R.string.release_2_2_1))),
Release_2_2_0(Release.Changelog(context.stringResource(R.string.release_2_2_0))),
Release_2_1_6(Release.Changelog(context.stringResource(R.string.release_2_1_6))),
Expand Down
19 changes: 5 additions & 14 deletions app/src/main/res/values-ar/strings.xml
Expand Up @@ -6,14 +6,10 @@
<string name="apply">طبّق</string>
<string name="okay">حسنا</string>
<string name="search">البحث</string>
<!-- A way to support the project. -->
<string name="buy_me_a_coffee">اشتري لي قهوة</string>
<!-- Description of the "Buy me a coffee" settings options. -->
<string name="buy_me_a_coffee_description">إذا كنت ترغب في عرض الدعم.</string>
<!-- Description of the "Become a patron" settings options. -->
<!-- A settings option to support the project. -->
<string name="support_noto">دعم Noto</string>
<!-- Description of the Support Noto settings options. -->
<string name="support_noto_description">إذا كنت ترغب في التأكد من أن Noto يبقى قائما.</string>
<!-- A way to support the project. -->
<string name="become_a_patron">اصبح راعياً</string>
<!-- More options for folder, note, etc... -->
<string name="more_options">المزيد من الخيارات</string>
<!-- Options for multi-selected notes. -->
Expand Down Expand Up @@ -317,7 +313,7 @@
<string name="redo">إعادة</string>
<string name="redo_history">تاريخ الإعادة</string>
<plurals name="share_note">
<item quantity="zero">Share %d notes</item>
<item quantity="zero">شارك الملاحظة</item>
<item quantity="one">شارك الملاحظة</item>
<item quantity="two">شارك الملاحظتين</item>
<item quantity="few">شارك %d الملاحظات</item>
Expand Down Expand Up @@ -549,6 +545,7 @@
<string name="loading_content">جاري تحميل المحتوى</string>
<!-- Releases -->
<string name="release_bug_fixes_and_design_improvements">• إصلاح الأخطاء وتحسين التصميم.</string>
<string name="release_bug_fixes">• إصلاح الأخطاء</string>
<string name="release_1_8_0">• دعم خزينة الدفاتر المحمية برمز المرور.
\n• دعم خيارات مهلة الخزينة.
\n• دعم تفعيل توثيق البصمة على الأجهزة المدعومة.
Expand All @@ -573,7 +570,6 @@
\n• إصلاح أيقونات الاختصارات الثابتة على أجهزة الأندرويد القديمة.
\n• إصلاحات الأخطاء الأخرى وتحسين التصميم.
</string>
<string name="release_2_0_1">• إصلاح الأخطاء.</string>
<string name="release_2_1_0">• دعم التراجع/إعادة عرض السجل الخاص بهم.
\n• إعادة تصميم الملصقات.
\n• إعادة تصميم شريط التطبيقات أسفل وأعلى.
Expand All @@ -597,15 +593,10 @@
\n• تغيير وزن الخط وحجم النص.
\n• دعم الألمانية.
\n• إصلاح الأخطاء وتحسين التصميم. </string>
<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>
<string name="release_2_1_5">• إصلاح الأخطاء وتحسين التصميم.</string>
<string name="release_2_1_6">• إصلاح الأخطاء وتحسين التصميم.</string>
<string name="release_2_2_0">• دعم لغات التشيكية والإيطالية.
\n• دعم تحديد الملاحظات.
\n• دعم خيار لفتح الملاحظات في وضع القراءة افتراضيا.
Expand Down
19 changes: 5 additions & 14 deletions app/src/main/res/values-cs/strings.xml
Expand Up @@ -6,14 +6,10 @@
<string name="apply">Použít</string>
<string name="okay">Ok</string>
<string name="search">Hledat</string>
<!-- A way to support the project. -->
<string name="buy_me_a_coffee">Kupte mi kávu</string>
<!-- Description of the "Buy me a coffee" settings options. -->
<string name="buy_me_a_coffee_description">Pokud chcete vyjádřit podporu.</string>
<!-- Description of the "Become a patron" settings options. -->
<!-- A settings option to support the project. -->
<string name="support_noto">Support Noto</string>
<!-- Description of the Support Noto settings options. -->
<string name="support_noto_description">Pokud se chcete ujistit, že Noto zůstane zachováno.</string>
<!-- A way to support the project. -->
<string name="become_a_patron">Staňte se patronem</string>
<!-- More options for folder, note, etc... -->
<string name="more_options">Více možností</string>
<!-- Options for multi-selected notes. -->
Expand Down Expand Up @@ -510,7 +506,8 @@
<string name="folders_notes_count">Počet položek</string>
<string name="loading_content">Načítání obsahu</string>
<!-- Releases -->
<string name="release_bug_fixes_and_design_improvements">• Opravy chyb a vylepšení designu.</string>
<string name="release_bug_fixes_and_design_improvements">• Bug fixes and design improvements.</string>
<string name="release_bug_fixes">• Bug fixes</string>
<string name="release_1_8_0">• Podpora pro knihovny chráněné přístupovým kódem.
\n• Podpora pro možnosti časového limitu trezoru.
\n• Podpora biometrického ověření trezoru na podporovaných zařízeních.
Expand All @@ -535,7 +532,6 @@
\n• Opravte statické ikony zástupců na starších zařízeních s Androidem.
\n• Další opravy chyb a vylepšení.
</string>
<string name="release_2_0_1">• Opravy chyb.</string>
<string name="release_2_1_0">• Podpora pro vrácení/obnovení a prohlížení jejich historie.
\n• Zrušit popisky.
\n• Přesunout dolní a horní panel aplikací ve všech rozloženích.
Expand All @@ -562,15 +558,10 @@
\n• Podpora němčiny.
\n• Další opravy chyb a vylepšení.
</string>
<string name="release_2_1_1">• Opravy chyb.</string>
<string name="release_2_1_2">• Oprava chyb a vylepšení designu.</string>
<string name="release_2_1_3">• Opravy chyb a vylepšení designu.</string>
<string name="release_2_1_4">• Opravené zkratky nefungují při použití jiné ikony.
\n• Vybrané štítky se nyní zobrazí jako první v rozvržení poznámky.
\n• Další opravy chyb a vylepšení.
</string>
<string name="release_2_1_5">• Opravy chyb a vylepšení designu.</string>
<string name="release_2_1_6">• Opravy chyb a vylepšení designu.</string>
<string name="release_2_2_0">• Podporované české a italské překlady.
\n• Podpora vícenásobného výběru poznámek.
\n• Podporována možnost otevřít poznámky ve výchozím nastavení v režimu čtení.
Expand Down
17 changes: 4 additions & 13 deletions app/src/main/res/values-de/strings.xml
Expand Up @@ -6,14 +6,10 @@
<string name="apply">Anwenden</string>
<string name="okay">OK</string>
<string name="search">Suchen</string>
<!-- A way to support the project. -->
<string name="buy_me_a_coffee">Spendier\' mir einen Kaffee</string>
<!-- Description of the "Buy me a coffee" settings options. -->
<string name="buy_me_a_coffee_description">Wenn Sie Ihre Unterstützung zeigen möchten.</string>
<!-- Description of the "Become a patron" settings options. -->
<!-- A settings option to support the project. -->
<string name="support_noto">Unterstütze Noto</string>
<!-- Description of the Support Noto settings options. -->
<string name="support_noto_description">Wenn Sie sicherstellen möchten, dass Noto auch in Zukunft gepflegt wird.</string>
<!-- A way to support the project. -->
<string name="become_a_patron">Werde Förderer/in</string>
<!-- More options for folder, note, etc... -->
<string name="more_options">Weitere Optionen</string>
<!-- Options for multi-selected notes. -->
Expand Down Expand Up @@ -473,6 +469,7 @@
<string name="loading_content">Inhalt wird geladen</string>
<!-- Releases -->
<string name="release_bug_fixes_and_design_improvements">• Fehlerkorrekturen und Verbesserungen des Designs.</string>
<string name="release_bug_fixes">• Fehlerkorrekturen</string>
<string name="release_1_8_0">• Unterstützung für durch Zugangscode geschützte Ordner.
\n• Option für Unterstützung von Zeitüberschreitung bei geschützten Ordnern.
\n• Unterstützung für biometrische Authentifizierung auf unterstützten Geräten.
Expand All @@ -497,7 +494,6 @@
\n• Statische Verknüpfungssymbole auf älteren Android-Geräten repariert.
\n• Weitere Bugfixes und Design-Verbesserungen.
</string>
<string name="release_2_0_1">• Fehlerbehebungen.</string>
<string name="release_2_1_0">• Unterstützung für Rückgängig/Wiederholen sowie Anzeige des Verlaufs hierbei.
\n• Beschriftungen neu designt.
\n• Neudesign der unteren und oberen App-Leiste in allen Layouts.
Expand All @@ -524,15 +520,10 @@
\n• Deutsche Übersetzung.
\n• Weitere Bugfixes und Design-Verbesserungen.
</string>
<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>
<string name="release_2_1_5">• Fehlerkorrekturen und Verbesserungen des Designs.</string>
<string name="release_2_1_6">• Fehlerkorrekturen und Verbesserungen des Designs.</string>
<string name="release_2_2_0">• Unterstützung für Tschechisch und Italienisch.
\n• Unterstützung für Mehrfachauswahl von Notizen.
\n Standardmäßiges Öffnen von Notizen im Lesemodus ist nun aktivierbar.
Expand Down
17 changes: 4 additions & 13 deletions app/src/main/res/values-es/strings.xml
Expand Up @@ -6,14 +6,10 @@
<string name="apply">Aplicar</string>
<string name="okay">Ok</string>
<string name="search">Buscar</string>
<!-- A way to support the project. -->
<string name="buy_me_a_coffee">Invítame a un café</string>
<!-- Description of the "Buy me a coffee" settings options. -->
<string name="buy_me_a_coffee_description">Si quieres mostrar tu apoyo.</string>
<!-- Description of the "Become a patron" settings options. -->
<!-- A settings option to support the project. -->
<string name="support_noto">Soporte Noto</string>
<!-- Description of the Support Noto settings options. -->
<string name="support_noto_description">Si desea asegurarse de que Noto permanezca en mantenimiento.</string>
<!-- A way to support the project. -->
<string name="become_a_patron">Conviértete en un mecenas</string>
<!-- More options for folder, note, etc... -->
<string name="more_options">Más opciones</string>
<!-- Options for multi-selected notes. -->
Expand Down Expand Up @@ -473,6 +469,7 @@
<string name="loading_content">Cargando contenido</string>
<!-- Releases -->
<string name="release_bug_fixes_and_design_improvements">• Corrección de errores y mejoras de diseño.</string>
<string name="release_bug_fixes">• Corrección de errores</string>
<string name="release_1_8_0">• Soporte para librerías protegidas con código de acceso.
\n• Soporte para opciones de tiempo de espera de bóveda.
\n• Soporte para autenticación de bóveda biométrica en dispositivos compatibles.
Expand All @@ -497,7 +494,6 @@
\n• Corregir los iconos de accesos directos estáticos en dispositivos Android antiguos.
\n• Otras correcciones de errores y mejoras de diseño.
</string>
<string name="release_2_0_1">• Corrección de errores.</string>
<string name="release_2_1_0">• Soporte para deshacer/rehacer y ver su historial.
\n• Rediseñar etiquetas.
\n• Rediseñar la barra de aplicaciones inferior y superior en todos los diseños.
Expand All @@ -524,15 +520,10 @@
\n• Soporte alemán.
\n• Otras correcciones de errores y mejoras de diseño
</string>
<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>
<string name="release_2_1_5">• Corrección de errores y mejoras de diseño.</string>
<string name="release_2_1_6">• Corrección de errores y mejoras de diseño.</string>
<string name="release_2_2_0">• Compatible con Checo e Italiano.
\n• Multiselección de notas soportada.
\n• Soportó una opción para abrir notas en modo lectura por defecto.
Expand Down

0 comments on commit 6bbbaf6

Please sign in to comment.