mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
tweak wording for 'Last seen' (#2145)
This commit is contained in:
@@ -85,8 +85,9 @@
|
||||
<string name="this_month">This month</string>
|
||||
<string name="last_week">Last week</string>
|
||||
<string name="last_month">Last month</string>
|
||||
<!-- the placeholder will be replaced by a date or time, resulting eg. in "Last seen at 12:13 AM" or "Last seen Nov 12" -->
|
||||
<string name="last_seen_at">Last seen at %1$s</string>
|
||||
<string name="last_seen_never">Last seen: Never</string>
|
||||
<string name="last_seen_unknown">Last seen: Unknown</string>
|
||||
<!-- Translators: show beside messages that are "N minutes old". prefer a short string, prefer abbreviations if they're well-known -->
|
||||
<plurals name="n_minutes">
|
||||
<item quantity="one">%d min</item>
|
||||
|
||||
@@ -238,7 +238,7 @@ public class ProfileSettingsAdapter extends RecyclerView.Adapter
|
||||
case ItemData.TYPE_PRIMARY_SETTING:
|
||||
long lastSeen = (itemDataContact!=null? itemDataContact.getLastSeen() : 0);
|
||||
if (lastSeen == 0) {
|
||||
txt = context.getString(R.string.last_seen_never);
|
||||
txt = context.getString(R.string.last_seen_unknown);
|
||||
}
|
||||
else {
|
||||
txt = context.getString(R.string.last_seen_at, DateUtils.getExtendedTimeSpanString(context, locale, lastSeen));
|
||||
|
||||
Reference in New Issue
Block a user