From a82e5f545221a8347c1c25bd58aeaebd4a5453b6 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 11 Apr 2021 16:19:56 -0400 Subject: [PATCH] Make library update/backup error log action clearer for non-technical users --- .../main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt | 2 +- .../eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt | 2 +- app/src/main/res/values/strings.xml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt b/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt index 95f2ede19e..3d38dd6374 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt @@ -141,7 +141,7 @@ class BackupNotifier(private val context: Context) { addAction( R.drawable.ic_folder_24dp, - context.getString(R.string.action_open_log), + context.getString(R.string.action_show_errors), NotificationReceiver.openErrorLogPendingActivity(context, uri) ) } diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt index 83ea5fa592..ab292bc4ea 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt @@ -110,7 +110,7 @@ class LibraryUpdateNotifier(private val context: Context) { setContentIntent(errorLogIntent) addAction( R.drawable.ic_folder_24dp, - context.getString(R.string.action_open_log), + context.getString(R.string.action_show_errors), errorLogIntent ) } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b3d3f8d6aa..c68b23034b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -119,6 +119,7 @@ Reset Undo Open log + Show errors Create Restore Open