File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import Icon from "../ui/icon/Icon";
88import { getActivityIconName } from "@/components/activity/Activity" ;
99import { Tooltip } from "../ui/Tooltip" ;
1010import { formatTimestamp } from "@/common/date" ;
11-
11+ import { t } from "@nerimity/i18lite" ;
1212import { getActivityType } from "@/common/activityType" ;
1313
1414// show full will disable overflow eclipses
@@ -79,7 +79,7 @@ const UserPresence = (props: {
7979 < Switch fallback = { statusDetails ( ) ?. name ( ) } >
8080 < Match when = { lastOnlineAt ( ) && ! user ( ) ?. presence ( ) ?. status } >
8181 < div class = { styles . lastOnline } >
82- Last online { formatTimestamp ( lastOnlineAt ( ) ! ) }
82+ { t ( "status.lastOnline" , { time : formatTimestamp ( lastOnlineAt ( ) ! ) } ) }
8383 </ div >
8484 </ Match >
8585 < Match when = { activity ( ) } >
Original file line number Diff line number Diff line change 156156 "afk" : " Away From Keyboard" ,
157157 "dnd" : " Do Not Disturb" ,
158158 "offline" : " Offline" ,
159- "appearAsOffline" : " Appear As Offline"
159+ "appearAsOffline" : " Appear As Offline" ,
160+ "lastOnline" : " Last online {{time}}"
160161 },
161162 "sidePane" : {
162163 "home" : " Home" ,
You can’t perform that action at this time.
0 commit comments