chore(translations): replace 'community last seen' with 'posts last synced'

This commit is contained in:
plebeius.eth
2024-01-09 17:45:31 +01:00
parent 04e4315809
commit dff2e8db94
39 changed files with 77 additions and 72 deletions

View File

@@ -49,6 +49,7 @@ a {
}
.onlineLine {
text-transform: lowercase;
padding-bottom: 5px;
}

View File

@@ -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();

View File

@@ -155,6 +155,10 @@
font-size: 14px;
}
.tagline {
text-transform: lowercase;
}
.subplebbitPreferences {
padding: 0 1px;
line-height: 1.6em;

View File

@@ -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`;