Translate "last updated" time.
parent
ddca92e422
commit
f7b67355c4
|
@ -40,6 +40,10 @@
|
|||
"VideoList.Search.Placeholder": {
|
||||
"defaultMessage": "Gib hier etwas zum Suchen ein…"
|
||||
},
|
||||
"VideoListPage.updatedLastAgo": {
|
||||
"defaultMessage": "Zuletzt aktualisiert {time}",
|
||||
"description": "Text below the video list on the video list page that says in relative time when the list was last updated"
|
||||
},
|
||||
"VideoPlayerPage.cutFrom": {
|
||||
"defaultMessage": "Geschnitten von {url}",
|
||||
"description": "Text below video that describes where a video was cut from"
|
||||
|
|
|
@ -40,6 +40,10 @@
|
|||
"VideoList.Search.Placeholder": {
|
||||
"defaultMessage": "Type something to search here…"
|
||||
},
|
||||
"VideoListPage.updatedLastAgo": {
|
||||
"defaultMessage": "Last updated {time}",
|
||||
"description": "Text below the video list on the video list page that says in relative time when the list was last updated"
|
||||
},
|
||||
"VideoPlayerPage.watchOnTwitch": {
|
||||
"defaultMessage": "Watch on Twitch",
|
||||
"description": "Button below video that links to the exact position in the archived stream to watch it there."
|
||||
|
|
|
@ -129,9 +129,18 @@ export default function VideoListPage({
|
|||
lastUpdatedDate
|
||||
? (
|
||||
<footer className="pt-4 my-md-5 pt-md-5 border-top">
|
||||
Last updated
|
||||
{' '}
|
||||
<RelativeTime>{lastUpdatedDate}</RelativeTime>
|
||||
<FormattedMessage
|
||||
id="VideoListPage.updatedLastAgo"
|
||||
description="Text below the video list on the video list page that says in relative time when the list was last updated"
|
||||
defaultMessage="Updated last {time}"
|
||||
values={{
|
||||
time: (
|
||||
<RelativeTime>
|
||||
{lastUpdatedDate}
|
||||
</RelativeTime>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
</footer>
|
||||
)
|
||||
: ''
|
||||
|
|
Loading…
Reference in New Issue