aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-12-13 23:33:57 -0800
committerScott Jackson <daneren2005@gmail.com>2013-12-13 23:33:57 -0800
commit7b18297d01c19a2cafc20c5b24168d453e5246f0 (patch)
treeadab0252129e1a85c018ea88233f1765010a3589 /src
parent10bf4adcf3671d99a9bc50b8d61d581ab3629b13 (diff)
downloaddsub-7b18297d01c19a2cafc20c5b24168d453e5246f0.tar.gz
dsub-7b18297d01c19a2cafc20c5b24168d453e5246f0.tar.bz2
dsub-7b18297d01c19a2cafc20c5b24168d453e5246f0.zip
Replace download notification literals with strings.xml
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/util/Util.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/util/Util.java b/src/github/daneren2005/dsub/util/Util.java
index 9909d8ae..b6ba34c9 100644
--- a/src/github/daneren2005/dsub/util/Util.java
+++ b/src/github/daneren2005/dsub/util/Util.java
@@ -994,8 +994,8 @@ public final class Util {
NotificationCompat.Builder builder;
builder = new NotificationCompat.Builder(context)
.setSmallIcon(R.drawable.stat_notify_download)
- .setContentTitle("Downloading " + size + " songs")
- .setContentText("Current: " + (file != null ? file.getSong().getTitle() : "none"))
+ .setContentTitle(context.getResources().getString(R.string.download_downloading_title, size))
+ .setContentText(context.getResources().getString(R.string.download_downloading_summary, (file != null ? file.getSong().getTitle() : "none")))
.setProgress(10, 5, true)
.setOngoing(true);