Răsfoiți Sursa

Add dev notice about background jobs, move dialog titles for localization

arkon 5 ani în urmă
părinte
comite
8299093bf8

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogController.kt

@@ -16,7 +16,7 @@ class ChangelogDialogController : DialogController() {
         val activity = activity!!
         val view = WhatsNewRecyclerView(activity)
         return MaterialDialog.Builder(activity)
-                .title(if (BuildConfig.DEBUG) "Notices" else "Changelog")
+                .title(if (BuildConfig.DEBUG) R.string.notices else R.string.changelog)
                 .customView(view, false)
                 .positiveText(R.string.action_close)
                 .build()

+ 6 - 0
app/src/main/res/raw/changelog_debug.xml

@@ -1,6 +1,12 @@
 <?xml version="1.0" encoding="utf-8"?>
 <changelog bulletedList="false">
 
+    <changelogversion changeDate="" versionName="r1810">
+        <changelogtext>Background jobs were migrated to a new system. You may need to toggle the settings to ensure they
+            run properly. This includes app updates, library updates, and automatic backups.
+        </changelogtext>
+    </changelogversion>
+
     <changelogversion changeDate="" versionName="r1340">
         <changelogtext>A new screen for managing extensions was added. If you previously installed extensions from FDroid,
             you will have to uninstall all of them first (tap on the extension then uninstall), otherwise you won't be able

+ 2 - 0
app/src/main/res/values/strings.xml

@@ -331,6 +331,8 @@
       <!-- About section -->
     <string name="version">Version</string>
     <string name="build_time">Build time</string>
+    <string name="notices">Notices</string>
+    <string name="changelog">Changelog</string>
     <string name="pref_enable_automatic_updates">Check for updates</string>
     <string name="pref_enable_automatic_updates_summary">Automatically check for new app versions</string>
     <!-- ACRA -->