fixed last_seen_now

This commit is contained in:
iNPUTmice 2014-06-06 19:39:55 +02:00
parent fc656c5571
commit 3fd371cd53
2 changed files with 2 additions and 2 deletions

View file

@ -236,7 +236,7 @@
<string name="hours">hours</string>
<string name="mins">mins</string>
<string name="missing_public_keys">Missing public key announcements</string>
<string name="last_seen_now">last seen %d ago</string>
<string name="last_seen_now">last seen just now</string>
<string name="last_seen_mins">last seen %d minutes ago</string>
<string name="last_seen_hours">last seen %d hours ago</string>
<string name="last_seen_days">last seen %d days ago</string>

View file

@ -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) {