mirror of
https://github.com/owncast/owncast.git
synced 2024-11-23 05:14:20 +03:00
Offline banner i18n formatting (#3997)
* Fix "Last live ago" string formatting with i18n interpolation * Change some base translation jsons to use i18n interpolation * Linting fix
This commit is contained in:
parent
d03d6e79aa
commit
3e4a09124a
20 changed files with 39 additions and 39 deletions
|
@ -102,7 +102,7 @@ export const OfflineBanner: FC<OfflineBannerProps> = ({
|
|||
{lastLive && (
|
||||
<div className={styles.lastLiveDate}>
|
||||
<ClockCircleOutlined className={styles.clockIcon} />
|
||||
{`${(t('Last live ago'), { timeAgo: formatDistanceToNow(new Date(lastLive)) })}`}
|
||||
{`${t('Last live ago', { timeAgo: formatDistanceToNow(new Date(lastLive)) })}`}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"Stay updated!": "Stay updated!",
|
||||
"Click and never miss future streams!": "Click and never miss future streams!",
|
||||
"This stream is offline": "This stream is offline.",
|
||||
"the next time goes live": "the next time goes live",
|
||||
"the next time goes live": "the next time {{streamer}} goes live",
|
||||
"Follow": "Follow",
|
||||
"on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live",
|
||||
"Last live ago": "Last live ago"
|
||||
"Last live ago": "Last live {{timeAgo}} ago"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue