From 5ecef81c0ec7427339459299e5d67560c29a8fb5 Mon Sep 17 00:00:00 2001 From: Jonas Lochmann Date: Mon, 1 Feb 2021 01:00:00 +0100 Subject: [PATCH] Update the content of the missing update notifications --- .../timelimit/android/ui/notification/NotificationAreaSync.kt | 4 ++-- app/src/main/res/values-de/strings.xml | 1 + app/src/main/res/values/strings.xml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/timelimit/android/ui/notification/NotificationAreaSync.kt b/app/src/main/java/io/timelimit/android/ui/notification/NotificationAreaSync.kt index 90465c0..137eb3e 100644 --- a/app/src/main/java/io/timelimit/android/ui/notification/NotificationAreaSync.kt +++ b/app/src/main/java/io/timelimit/android/ui/notification/NotificationAreaSync.kt @@ -1,5 +1,5 @@ /* - * TimeLimit Copyright 2019 - 2020 Jonas Lochmann + * TimeLimit Copyright 2019 - 2021 Jonas Lochmann * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -113,7 +113,7 @@ object NotificationAreaSync { NotificationCompat.Builder(context, NotificationChannels.UPDATE_NOTIFICATION) .setSmallIcon(R.drawable.ic_stat_timelapse) .setContentTitle(context.getString(R.string.notification_update_title, getDeviceName(notification.id))) - .setContentText(context.getString(R.string.notification_generic_text)) + .setContentText(context.getString(R.string.notification_update_text)) .setContentIntent(openAppIntent) .setDeleteIntent(markReadIntent) .setWhen(0) diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index ce60eac..f45111c 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -1082,6 +1082,7 @@ Manipulation bei %s Fehlendes Update bei %s + Das Update fehlt auf einem anderen Gerät Tippen, um TimeLimit zu öffnen Die Vollversion wird bald ablaufen Es erfolgt keine automatische Verlängerung diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index fbb44dc..32e2c11 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1128,6 +1128,7 @@ Manipulation at %s Update missing at %s + This Update is missing at an other device Tap to open TimeLimit The premium version will expire soon It will not renew automatically