From 5f7b25f8a1a87fb909927194433fb46f1fe9ef27 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Tue, 19 Feb 2019 14:15:34 +0100 Subject: [PATCH] extract string Signed-off-by: tobiasKaminsky --- src/main/java/com/owncloud/android/jobs/NotificationJob.java | 2 +- src/main/res/values/strings.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/owncloud/android/jobs/NotificationJob.java b/src/main/java/com/owncloud/android/jobs/NotificationJob.java index d0c701c2e0..eadc184c48 100644 --- a/src/main/java/com/owncloud/android/jobs/NotificationJob.java +++ b/src/main/java/com/owncloud/android/jobs/NotificationJob.java @@ -195,7 +195,7 @@ public class NotificationJob extends Job { .setColor(ThemeUtils.primaryColor(account, false, context)) .setShowWhen(true) .setSubText(account.name) - .setContentTitle("New Notification") + .setContentTitle(context.getString(R.string.new_notification)) .setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION)) .setAutoCancel(true) .setVisibility(NotificationCompat.VISIBILITY_PUBLIC) diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 1053f9a11a..510504dd18 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -862,4 +862,5 @@ Failed to remove notification. Failed to execute action. Remove + New Notification