Skip to content

Commit

Permalink
telega-ins: correctly display last-seen time in the past (#429)
Browse files Browse the repository at this point in the history
In English, the phrase "last seen *in* $time" is referring to a time
in the future (буквально, "в последний раз видели *через* $время").

To refer to a time in the past, the construct "last seen $time
*ago*" ("видели $время *назад*") must be used.
  • Loading branch information
tazjin committed Aug 31, 2023
1 parent cfc216a commit 8a4475e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telega-ins.el
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ Format is:
;; I18N: lng_status_lastseen_now
"last seen just now")
((< online-dur (* 3 24 60 60))
(format "last seen in %s"
(format "last seen %s ago"
(telega-duration-human-readable online-dur 1)))
((eq status 'userStatusRecently)
;; I18N: lng_status_recently
Expand Down

0 comments on commit 8a4475e

Please sign in to comment.