refactor: 💨

This commit is contained in:
codytseng
2024-12-12 17:04:16 +08:00
parent 94b9272042
commit 76ebc7e4a5
3 changed files with 1 additions and 3 deletions

View File

@@ -32,5 +32,5 @@ export function FormattedTimestamp({
return short ? t('n m', { n: diffMinute }) : t('n minutes ago', { n: diffMinute })
}
return short ? t('n s', { n: now.diff(time, 'second') }) : t('just now')
return t('just now')
}

View File

@@ -12,7 +12,6 @@ export default {
Following: 'Following',
reposted: 'reposted',
'just now': 'just now',
'n s': '{{n}}s',
'n minutes ago': '{{n}} minutes ago',
'n m': '{{n}}m',
'n hours ago': '{{n}} hours ago',

View File

@@ -12,7 +12,6 @@ export default {
Following: '关注',
reposted: '转发',
'just now': '刚刚',
'n s': '{{n}}秒',
'n minutes ago': '{{n}} 分钟前',
'n m': '{{n}}分',
'n hours ago': '{{n}} 小时前',