aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-07-17 22:10:15 -0700
committerScott Jackson <daneren2005@gmail.com>2014-07-17 22:10:15 -0700
commita3186e28ce8acfe18aed8827bcd42e4a09b10b42 (patch)
tree6d6cbe1cabd9763a7dbcfa7a197b1ee97d09e22b
parente8a9ef6119105069140261bbfeda7f6efa1dd55d (diff)
downloaddsub-a3186e28ce8acfe18aed8827bcd42e4a09b10b42.tar.gz
dsub-a3186e28ce8acfe18aed8827bcd42e4a09b10b42.tar.bz2
dsub-a3186e28ce8acfe18aed8827bcd42e4a09b10b42.zip
More changes for more descriptive sync notifications
-rw-r--r--res/values-de/strings.xml7
-rw-r--r--res/values-es/strings.xml7
-rw-r--r--res/values-fr/strings.xml7
-rw-r--r--res/values-hu/strings.xml7
-rw-r--r--src/github/daneren2005/dsub/util/Notifications.java2
5 files changed, 13 insertions, 17 deletions
diff --git a/res/values-de/strings.xml b/res/values-de/strings.xml
index 87c02c2d..55cda136 100644
--- a/res/values-de/strings.xml
+++ b/res/values-de/strings.xml
@@ -211,10 +211,9 @@
\nGeschätzte Größe: %2$s</string>
<string name="download.failed_to_load">Laden fehlgeschlagen</string>
- <string name="sync.title">DSub: Neue Medien verfügbar</string>
- <string name="sync.new_podcasts">Neuer Podcast: %s</string>
- <string name="sync.new_playlists">Neu in Wiedergabeliste: %s</string>
- <string name="sync.new_albums">Neues Album: %s</string>
+ <string name="sync.new_podcasts">Neuer Podcast</string>
+ <string name="sync.new_playlists">Neu in Wiedergabeliste</string>
+ <string name="sync.new_albums">Neues Album</string>
<string name="sync.new_starred">Neue Favoriten</string>
<string name="starring_content_starred">Favorit \"%s\"</string>
diff --git a/res/values-es/strings.xml b/res/values-es/strings.xml
index 049728e9..c31a8843 100644
--- a/res/values-es/strings.xml
+++ b/res/values-es/strings.xml
@@ -458,10 +458,9 @@
<string name="admin.role.jukebox">Controlar el jukebox</string>
<string name="admin.role.share">Gestionar compartidos</string>
- <string name="sync.title">DSub: Nuevo contenido multimedia disponible</string>
- <string name="sync.new_podcasts">Nuevos podcasts: %s</string>
- <string name="sync.new_playlists">Nuevos en listas de reproducción: %s</string>
- <string name="sync.new_albums">Nuevos álbumes: %s</string>
+ <string name="sync.new_podcasts">Nuevos podcasts</string>
+ <string name="sync.new_playlists">Nuevos en listas de reproducción</string>
+ <string name="sync.new_albums">Nuevos álbumes</string>
<string name="sync.new_starred">Nuevas canciones con estrella</string>
<string name="shuffle.title">Iniciar aleatorio por</string>
diff --git a/res/values-fr/strings.xml b/res/values-fr/strings.xml
index cc862c5b..89469627 100644
--- a/res/values-fr/strings.xml
+++ b/res/values-fr/strings.xml
@@ -211,10 +211,9 @@
\nTaille estimée : %2$s</string>
<string name="download.failed_to_load">Echec du chargement</string>
- <string name="sync.title">DSub : un nouveau média est disponible</string>
- <string name="sync.new_podcasts">Nouveaux podcasts : %s</string>
- <string name="sync.new_playlists">Playlists mises à jour : %s</string>
- <string name="sync.new_albums">Nouveaux albums : %s</string>
+ <string name="sync.new_podcasts">Nouveaux podcasts</string>
+ <string name="sync.new_playlists">Playlists mises à jour</string>
+ <string name="sync.new_albums">Nouveaux albums</string>
<string name="sync.new_starred">Nouveaux titres notés</string>
<string name="starring_content_starred">Noté \&quot;%s\&quot;</string>
diff --git a/res/values-hu/strings.xml b/res/values-hu/strings.xml
index a6365a84..729c23b8 100644
--- a/res/values-hu/strings.xml
+++ b/res/values-hu/strings.xml
@@ -212,10 +212,9 @@
</string>
<string name="download.failed_to_load">A beolvasás sikertelen!</string>
- <string name="sync.title">DSub: Új média érhető el!</string>
- <string name="sync.new_podcasts">Új podcastok: \"%s\"</string>
- <string name="sync.new_playlists">Új lejátszási listák: \"%s\"</string>
- <string name="sync.new_albums">Új albumok: \"%s\"</string>
+ <string name="sync.new_podcasts">Új podcastok</string>
+ <string name="sync.new_playlists">Új lejátszási listák</string>
+ <string name="sync.new_albums">Új albumok</string>
<string name="sync.new_starred">Új csillagozott dalok</string>
<string name="starring_content_starred">\"%s\" csillagozás be</string>
diff --git a/src/github/daneren2005/dsub/util/Notifications.java b/src/github/daneren2005/dsub/util/Notifications.java
index fc375076..a070b37a 100644
--- a/src/github/daneren2005/dsub/util/Notifications.java
+++ b/src/github/daneren2005/dsub/util/Notifications.java
@@ -304,7 +304,7 @@ public final class Notifications {
.setSmallIcon(R.drawable.stat_notify_sync)
.setContentTitle(context.getResources().getString(stringId))
.setContentText(extra)
- .setStyle(new NotificationCompat.BigTextStyle().bigText(content.replace(", ", "\n")))
+ .setStyle(new NotificationCompat.BigTextStyle().bigText(extra.replace(", ", "\n")))
.setOngoing(false)
.setGroup(NOTIFICATION_SYNC_GROUP)
.setPriority(NotificationCompat.PRIORITY_LOW);