mirror of
https://github.com/plebbit/seedit.git
synced 2026-05-24 16:50:31 -04:00
chore(translations): replace 'community last seen' with 'posts last synced'
This commit is contained in:
@@ -49,6 +49,7 @@ a {
|
||||
}
|
||||
|
||||
.onlineLine {
|
||||
text-transform: lowercase;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ const Sidebar = ({ address, cid, createdAt, description, downvoteCount = 0, role
|
||||
const { allActiveUserCount, hourActiveUserCount } = useSubplebbitStats({ subplebbitAddress: address });
|
||||
const isOnline = updatedAt && updatedAt > Date.now() / 1000 - 60 * 30;
|
||||
const onlineNotice = t('users_online', { count: hourActiveUserCount });
|
||||
const offlineNotice = updatedAt && t('community_last_seen', { dateAgo: getFormattedTimeAgo(updatedAt) });
|
||||
const offlineNotice = updatedAt && t('posts_last_synced', { dateAgo: getFormattedTimeAgo(updatedAt) });
|
||||
const onlineStatus = isOnline ? onlineNotice : offlineNotice;
|
||||
|
||||
const location = useLocation();
|
||||
|
||||
@@ -155,6 +155,10 @@
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.tagline {
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
||||
.subplebbitPreferences {
|
||||
padding: 0 1px;
|
||||
line-height: 1.6em;
|
||||
|
||||
@@ -83,7 +83,7 @@ const Subplebbit = ({ subplebbit }: SubplebbitProps) => {
|
||||
|
||||
const postScore = upvoteCount === 0 && downvoteCount === 0 ? '•' : upvoteCount - downvoteCount || '•';
|
||||
const isOnline = updatedAt && updatedAt > Date.now() / 1000 - 60 * 30;
|
||||
const offlineNotice = updatedAt && t('community_last_seen', { dateAgo: getFormattedTimeAgo(updatedAt) });
|
||||
const offlineNotice = updatedAt && t('posts_last_synced', { dateAgo: getFormattedTimeAgo(updatedAt) });
|
||||
|
||||
useEffect(() => {
|
||||
document.title = `${t('communities')} - seedit`;
|
||||
|
||||
Reference in New Issue
Block a user