Update the content of the missing update notifications

This commit is contained in:
Jonas Lochmann 2021-02-01 01:00:00 +01:00
parent 072ee721fd
commit 5ecef81c0e
No known key found for this signature in database
GPG key ID: 8B8C9AEE10FA5B36
3 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,5 @@
/* /*
* TimeLimit Copyright <C> 2019 - 2020 Jonas Lochmann * TimeLimit Copyright <C> 2019 - 2021 Jonas Lochmann
* *
* This program is free software: you can redistribute it and/or modify * 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 * 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) NotificationCompat.Builder(context, NotificationChannels.UPDATE_NOTIFICATION)
.setSmallIcon(R.drawable.ic_stat_timelapse) .setSmallIcon(R.drawable.ic_stat_timelapse)
.setContentTitle(context.getString(R.string.notification_update_title, getDeviceName(notification.id))) .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) .setContentIntent(openAppIntent)
.setDeleteIntent(markReadIntent) .setDeleteIntent(markReadIntent)
.setWhen(0) .setWhen(0)

View file

@ -1082,6 +1082,7 @@
<string name="notification_manipulation_title">Manipulation bei %s</string> <string name="notification_manipulation_title">Manipulation bei %s</string>
<string name="notification_update_title">Fehlendes Update bei %s</string> <string name="notification_update_title">Fehlendes Update bei %s</string>
<string name="notification_update_text">Das Update fehlt auf einem anderen Gerät</string>
<string name="notification_generic_text">Tippen, um TimeLimit zu öffnen</string> <string name="notification_generic_text">Tippen, um TimeLimit zu öffnen</string>
<string name="notification_premium_expires_title">Die Vollversion wird bald ablaufen</string> <string name="notification_premium_expires_title">Die Vollversion wird bald ablaufen</string>
<string name="notification_premium_expires_text">Es erfolgt keine automatische Verlängerung</string> <string name="notification_premium_expires_text">Es erfolgt keine automatische Verlängerung</string>

View file

@ -1128,6 +1128,7 @@
<string name="notification_manipulation_title">Manipulation at %s</string> <string name="notification_manipulation_title">Manipulation at %s</string>
<string name="notification_update_title">Update missing at %s</string> <string name="notification_update_title">Update missing at %s</string>
<string name="notification_update_text">This Update is missing at an other device</string>
<string name="notification_generic_text">Tap to open TimeLimit</string> <string name="notification_generic_text">Tap to open TimeLimit</string>
<string name="notification_premium_expires_title">The premium version will expire soon</string> <string name="notification_premium_expires_title">The premium version will expire soon</string>
<string name="notification_premium_expires_text">It will not renew automatically</string> <string name="notification_premium_expires_text">It will not renew automatically</string>