Fix strings

This commit is contained in:
Koitharu
2022-03-02 19:26:45 +02:00
parent 862fb3c2e6
commit 19fe2e0eb5
14 changed files with 14 additions and 15 deletions

View File

@@ -15,7 +15,7 @@ import org.koitharu.kotatsu.core.prefs.AppSettings
import org.koitharu.kotatsu.settings.utils.MultiSummaryProvider
import org.koitharu.kotatsu.tracker.work.TrackWorker
class TrackerSettingsFragment : BasePreferenceFragment(R.string.new_chapters_checking) {
class TrackerSettingsFragment : BasePreferenceFragment(R.string.check_for_new_chapters) {
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
addPreferencesFromResource(R.xml.pref_tracker)

View File

@@ -26,7 +26,6 @@ import org.koitharu.kotatsu.tracker.domain.TrackingRepository
import org.koitharu.kotatsu.utils.PendingIntentCompat
import org.koitharu.kotatsu.utils.ext.mangaRepositoryOf
import org.koitharu.kotatsu.utils.ext.toBitmapOrNull
import org.koitharu.kotatsu.utils.ext.toUriOrNull
import org.koitharu.kotatsu.utils.progress.Progress
import java.util.concurrent.TimeUnit
@@ -201,7 +200,7 @@ class TrackWorker(context: Context, workerParams: WorkerParameters) :
}
private fun createForegroundInfo(): ForegroundInfo {
val title = applicationContext.getString(R.string.new_chapters_checking)
val title = applicationContext.getString(R.string.check_for_new_chapters)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
val channel = NotificationChannel(
WORKER_CHANNEL_ID,