From 3fd371cd53fe49f3ee0d13ba1c3877e974ab4500 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Fri, 6 Jun 2014 19:39:55 +0200 Subject: [PATCH] fixed last_seen_now --- res/values/strings.xml | 2 +- src/eu/siacs/conversations/utils/UIHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 9fcd9dfa0..11c5224e6 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -236,7 +236,7 @@ hours mins Missing public key announcements - last seen %d ago + last seen just now last seen %d minutes ago last seen %d hours ago last seen %d days ago diff --git a/src/eu/siacs/conversations/utils/UIHelper.java b/src/eu/siacs/conversations/utils/UIHelper.java index 3d6f4ceab..d0ea4828b 100644 --- a/src/eu/siacs/conversations/utils/UIHelper.java +++ b/src/eu/siacs/conversations/utils/UIHelper.java @@ -78,7 +78,7 @@ public class UIHelper { } long difference = (System.currentTimeMillis() - time) / 1000; if (difference < 60) { - return context.getString(R.string.just_now); + return context.getString(R.string.last_seen_now); } else if (difference < 60 * 90) { return context.getString(R.string.last_seen_mins,difference/60); } else if (difference < 60 * 60 * 36) {