chore: i18n
This commit is contained in:
@@ -12,6 +12,6 @@ export default function Title({ parentEvent }: { parentEvent?: Event }) {
|
||||
<div className="flex-1 w-0 truncate">{parentEvent.content}</div>
|
||||
</div>
|
||||
) : (
|
||||
t('New post')
|
||||
t('New Note')
|
||||
)
|
||||
}
|
||||
|
||||
@@ -40,8 +40,8 @@ export default function PostEditor({
|
||||
) : (
|
||||
<Tabs defaultValue="normal" className="space-y-4">
|
||||
<TabsList>
|
||||
<TabsTrigger value="normal">{t('Normal Post')}</TabsTrigger>
|
||||
<TabsTrigger value="picture">{t('Picture Post')}</TabsTrigger>
|
||||
<TabsTrigger value="normal">{t('Normal Note')}</TabsTrigger>
|
||||
<TabsTrigger value="picture">{t('Picture Note')}</TabsTrigger>
|
||||
</TabsList>
|
||||
<TabsContent value="normal">
|
||||
<NormalPostContent
|
||||
|
||||
@@ -2,7 +2,7 @@ export default {
|
||||
translation: {
|
||||
'Welcome! 🥳': 'Welcome! 🥳',
|
||||
About: 'About',
|
||||
'New post': 'New post',
|
||||
'New Note': 'New Note',
|
||||
Post: 'Post',
|
||||
Home: 'Home',
|
||||
'Relay settings': 'Relay settings',
|
||||
@@ -106,7 +106,7 @@ export default {
|
||||
'Picture note requires images': 'Picture note requires images',
|
||||
Relays: 'Relays',
|
||||
image: 'image',
|
||||
'Normal Post': 'Normal Post',
|
||||
'Picture Post': 'Picture Post'
|
||||
'Normal Note': 'Normal Note',
|
||||
'Picture Note': 'Picture Note'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ export default {
|
||||
translation: {
|
||||
'Welcome! 🥳': '来都来了',
|
||||
About: '关于',
|
||||
'New post': '发布新笔记',
|
||||
'New Note': '发布新笔记',
|
||||
Post: '发布笔记',
|
||||
Home: '主页',
|
||||
'Relay settings': '服务器设置',
|
||||
@@ -106,7 +106,7 @@ export default {
|
||||
Relays: '服务器',
|
||||
image: '图片',
|
||||
Normal: '普通',
|
||||
'Normal Post': '普通笔记',
|
||||
'Picture Post': '图片笔记'
|
||||
'Normal Note': '普通笔记',
|
||||
'Picture Note': '图片笔记'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user