feat: i18n

This commit is contained in:
codytseng
2025-04-08 14:38:14 +08:00
parent bc0fa7f528
commit b4618e8cd1
14 changed files with 50 additions and 14 deletions

View File

@@ -7,7 +7,7 @@ const PostSettingsPage = forwardRef(({ index }: { index?: number }, ref) => {
const { t } = useTranslation()
return (
<SecondaryPageLayout ref={ref} index={index} title={t('Wallet')}>
<SecondaryPageLayout ref={ref} index={index} title={t('Post settings')}>
<div className="px-4 pt-2 space-y-4">
<MediaUploadServiceSetting />
</div>

View File

@@ -91,7 +91,7 @@ const SettingsPage = forwardRef(({ index }: { index?: number }, ref) => {
<SettingItem className="clickable" onClick={() => push(toPostSettings())}>
<div className="flex items-center gap-4">
<PencilLine />
<div>{t('Posts')}</div>
<div>{t('Post settings')}</div>
</div>
<ChevronRight />
</SettingItem>