Merge pull request #5301 from ByteHamster/shutting-down

Updated service shutting down text because it could be scary
This commit is contained in:
ByteHamster 2021-07-25 18:15:26 +02:00 committed by GitHub
commit 0a86f5dcbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public class DownloadServiceNotification {
String contentTitle = context.getString(R.string.download_notification_title); String contentTitle = context.getString(R.string.download_notification_title);
String downloadsLeft = (numDownloads > 0) String downloadsLeft = (numDownloads > 0)
? context.getResources().getQuantityString(R.plurals.downloads_left, numDownloads, numDownloads) ? context.getResources().getQuantityString(R.plurals.downloads_left, numDownloads, numDownloads)
: context.getString(R.string.service_shutting_down); : context.getString(R.string.completing);
String bigText = compileNotificationString(downloads); String bigText = compileNotificationString(downloads);
notificationCompatBuilder.setContentTitle(contentTitle); notificationCompatBuilder.setContentTitle(contentTitle);

View File

@ -264,7 +264,7 @@
<item quantity="one">%d download left</item> <item quantity="one">%d download left</item>
<item quantity="other">%d downloads left</item> <item quantity="other">%d downloads left</item>
</plurals> </plurals>
<string name="service_shutting_down">Service shutting down</string> <string name="completing">Completing…</string>
<string name="download_notification_title">Downloading podcast data</string> <string name="download_notification_title">Downloading podcast data</string>
<string name="download_log_title_unknown">Unknown Title</string> <string name="download_log_title_unknown">Unknown Title</string>
<string name="download_type_feed">Feed</string> <string name="download_type_feed">Feed</string>