show "now" instead of "in 0s" timestamps (#2843)
* Add roundoff threshold for "now" (new string resource) output in getRelativeTimeSpanString * added tests * added string resource translation for `status_created_at_now` in DE, ES, JA * fixed ktlint issues * use resource file in test, linting passes * 501ms and 999ms now show "now" instead of "0s"
This commit is contained in:
parent
330401c7d0
commit
86e5c92a05
6 changed files with 37 additions and 1 deletions
|
@ -543,6 +543,7 @@
|
|||
<string name="tips_push_notification_migration">Melde alle Konten neu an, um die Unterstützung für Push-Benachrichtigungen zu aktivieren.</string>
|
||||
<string name="account_date_joined">%1$s beigetreten</string>
|
||||
<string name="status_count_one_plus">1+</string>
|
||||
<string name="status_created_at_now">Jetzt</string>
|
||||
<string name="error_loading_account_details">Fehler beim Laden der Kontodetails</string>
|
||||
<string name="action_edit_image">Bild bearbeiten</string>
|
||||
<string name="action_details">Details</string>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue