diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-01-19 12:14:30 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-01-19 12:14:30 +0100 |
commit | 4cbf8120f57670086c5f706d836e92e62c876446 (patch) | |
tree | 423966993b8d41b21ff519f7845829d22daba6d1 /src/main/java/eu/siacs | |
parent | e5dffcfb0751ceb7acc5a3f1840fde34fa1d5703 (diff) |
fixed legacy translation of image received
Diffstat (limited to 'src/main/java/eu/siacs')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/NotificationService.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index 4355dba0..4f502102 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -296,7 +296,9 @@ public class NotificationService { bigPictureStyle.setSummaryText(getMergedBodies(tmp)); builder.setContentText(UIHelper.getMessagePreview(mXmppConnectionService,tmp.get(0)).first); } else { - builder.setContentText(mXmppConnectionService.getString(R.string.image_file)); + builder.setContentText(mXmppConnectionService.getString( + R.string.received_x_file, + UIHelper.getFileDescriptionString(mXmppConnectionService,message))); } builder.setStyle(bigPictureStyle); } catch (final FileNotFoundException e) { |