chore: add translations

This commit is contained in:
Tom (plebeius.eth)
2024-06-09 16:10:52 +02:00
parent d71889a3de
commit b25899ef3e
36 changed files with 247 additions and 37 deletions
+2 -2
View File
@@ -280,10 +280,10 @@ const PostForm = () => {
showForm &&
(updatedAt ? (
isBoardOffline && (
<div className={styles.offlineBoard}>{`Posts last synced ${getFormattedTimeAgo(updatedAt)}, the subplebbit might be offline and publishing might fail.`}</div>
<div className={styles.offlineBoard}>{t('posts_last_synced_info', { time: getFormattedTimeAgo(updatedAt), interpolation: { escapeValue: false } })}</div>
)
) : (
<div className={styles.offlineBoard}>{`The subplebbit might be offline and publishing might fail.`}</div>
<div className={styles.offlineBoard}>{t('subplebbit_offline_info')}</div>
));
return (