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

@@ -211,6 +211,9 @@ export default {
'Favorite Relays': 'الريلايات المفضلة', 'Favorite Relays': 'الريلايات المفضلة',
"Following's Favorites": 'المفضلات من المتابعين', "Following's Favorites": 'المفضلات من المتابعين',
'no more relays': 'لا توجد مزيد من الريلايات', 'no more relays': 'لا توجد مزيد من الريلايات',
'Favorited by': 'المفضلة من قبل' 'Favorited by': 'المفضلة من قبل',
'Post settings': 'إعدادات النشر',
'Media upload service': 'خدمة تحميل الوسائط',
'Choose a relay': 'اختر ريلاي'
} }
} }

View File

@@ -215,6 +215,9 @@ export default {
'Favorite Relays': 'Lieblings-Relays', 'Favorite Relays': 'Lieblings-Relays',
"Following's Favorites": 'Favoriten der Folgenden', "Following's Favorites": 'Favoriten der Folgenden',
'no more relays': 'keine weiteren Relays', 'no more relays': 'keine weiteren Relays',
'Favorited by': 'Favorisiert von' 'Favorited by': 'Favorisiert von',
'Post settings': 'Beitragseinstellungen',
'Media upload service': 'Medien-Upload-Service',
'Choose a relay': 'Wähle ein Relay'
} }
} }

View File

@@ -211,6 +211,9 @@ export default {
'Favorite Relays': 'Favorite Relays', 'Favorite Relays': 'Favorite Relays',
"Following's Favorites": "Following's Favorites", "Following's Favorites": "Following's Favorites",
'no more relays': 'no more relays', 'no more relays': 'no more relays',
'Favorited by': 'Favorited by' 'Favorited by': 'Favorited by',
'Post settings': 'Post settings',
'Media upload service': 'Media upload service',
'Choose a relay': 'Choose a relay'
} }
} }

View File

@@ -215,6 +215,9 @@ export default {
'Favorite Relays': 'Relés favoritos', 'Favorite Relays': 'Relés favoritos',
"Following's Favorites": 'Favoritos de los seguidos', "Following's Favorites": 'Favoritos de los seguidos',
'no more relays': 'no hay más relés', 'no more relays': 'no hay más relés',
'Favorited by': 'Favoritado por' 'Favorited by': 'Favoritado por',
'Post settings': 'Ajustes de publicación',
'Media upload service': 'Servicio de carga de medios',
'Choose a relay': 'Selecciona un relé'
} }
} }

View File

@@ -214,6 +214,9 @@ export default {
'Favorite Relays': 'Relais favoris', 'Favorite Relays': 'Relais favoris',
"Following's Favorites": "Following's Favorites", "Following's Favorites": "Following's Favorites",
'no more relays': 'aucun autre relais', 'no more relays': 'aucun autre relais',
'Favorited by': 'Favorisé par' 'Favorited by': 'Favorisé par',
'Post settings': 'Paramètres de publication',
'Media upload service': 'Service de téléchargement de médias',
'Choose a relay': 'Choisir un relais'
} }
} }

View File

@@ -214,6 +214,9 @@ export default {
'Favorite Relays': 'Relay preferiti', 'Favorite Relays': 'Relay preferiti',
"Following's Favorites": 'Preferiti dei seguiti', "Following's Favorites": 'Preferiti dei seguiti',
'no more relays': 'niente più relay', 'no more relays': 'niente più relay',
'Favorited by': 'Preferito da' 'Favorited by': 'Preferito da',
'Post settings': 'Impostazioni post',
'Media upload service': 'Servizio di caricamento media',
'Choose a relay': 'Scegli un relay'
} }
} }

View File

@@ -212,6 +212,9 @@ export default {
'Favorite Relays': 'お気に入りのリレイ', 'Favorite Relays': 'お気に入りのリレイ',
"Following's Favorites": 'フォロー中のお気に入り', "Following's Favorites": 'フォロー中のお気に入り',
'no more relays': 'これ以上のリレイはありません', 'no more relays': 'これ以上のリレイはありません',
'Favorited by': 'お気に入り' 'Favorited by': 'お気に入り',
'Post settings': '投稿設定',
'Media upload service': 'メディアアップロードサービス',
'Choose a relay': 'リレイを選択'
} }
} }

View File

@@ -213,6 +213,9 @@ export default {
'Favorite Relays': 'Ulubione transmitery', 'Favorite Relays': 'Ulubione transmitery',
"Following's Favorites": 'Ulubione transmitery obserwowanych', "Following's Favorites": 'Ulubione transmitery obserwowanych',
'no more relays': 'brak kolejnych transmiterów', 'no more relays': 'brak kolejnych transmiterów',
'Favorited by': 'Ulubione przez' 'Favorited by': 'Ulubione przez',
'Post settings': 'Ustawienia publikacji',
'Media upload service': 'Usługa przesyłania mediów',
'Choose a relay': 'Wybierz transmiter'
} }
} }

View File

@@ -213,6 +213,9 @@ export default {
'Favorite Relays': 'Relés favoritos', 'Favorite Relays': 'Relés favoritos',
"Following's Favorites": 'Favoritos de quem você segue', "Following's Favorites": 'Favoritos de quem você segue',
'no more relays': 'não há mais relés', 'no more relays': 'não há mais relés',
'Favorited by': 'Favoritado por' 'Favorited by': 'Favoritado por',
'Post settings': 'Ajustes de publicação',
'Media upload service': 'Serviço de upload de mídia',
'Choose a relay': 'Escolher um relé'
} }
} }

View File

@@ -214,6 +214,9 @@ export default {
'Favorite Relays': 'Relés Favoritos', 'Favorite Relays': 'Relés Favoritos',
"Following's Favorites": 'Favoritos de quem você segue', "Following's Favorites": 'Favoritos de quem você segue',
'no more relays': 'não há mais relés', 'no more relays': 'não há mais relés',
'Favorited by': 'Favoritado por' 'Favorited by': 'Favoritado por',
'Post settings': 'Configurações de Postagem',
'Media upload service': 'Serviço de Upload de Mídia',
'Choose a relay': 'Escolher um Relé'
} }
} }

View File

@@ -215,6 +215,9 @@ export default {
'Favorite Relays': 'Избранные ретрансляторы', 'Favorite Relays': 'Избранные ретрансляторы',
"Following's Favorites": 'Избранные ретрансляторы подписчиков', "Following's Favorites": 'Избранные ретрансляторы подписчиков',
'no more relays': 'больше нет ретрансляторов', 'no more relays': 'больше нет ретрансляторов',
'Favorited by': 'Избранные у' 'Favorited by': 'Избранные у',
'Post settings': 'Настройки публикации',
'Media upload service': 'Служба загрузки медиафайлов',
'Choose a relay': 'Выберите ретранслятор'
} }
} }

View File

@@ -212,6 +212,9 @@ export default {
'Favorite Relays': '收藏的服务器', 'Favorite Relays': '收藏的服务器',
"Following's Favorites": '关注人的收藏', "Following's Favorites": '关注人的收藏',
'no more relays': '没有更多服务器了', 'no more relays': '没有更多服务器了',
'Favorited by': '收藏自' 'Favorited by': '收藏自',
'Post settings': '发布设置',
'Media upload service': '媒体上传服务',
'Choose a relay': '选择一个服务器'
} }
} }

View File

@@ -7,7 +7,7 @@ const PostSettingsPage = forwardRef(({ index }: { index?: number }, ref) => {
const { t } = useTranslation() const { t } = useTranslation()
return ( 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"> <div className="px-4 pt-2 space-y-4">
<MediaUploadServiceSetting /> <MediaUploadServiceSetting />
</div> </div>

View File

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