Browse Source

fix: update 'Not found the note' to 'Note not found'

imwald
codytseng 9 months ago
parent
commit
656a9a7b15
  1. 2
      src/components/ContentPreview/index.tsx
  2. 2
      src/components/ParentNotePreview/index.tsx
  3. 2
      src/i18n/locales/ar.ts
  4. 2
      src/i18n/locales/de.ts
  5. 2
      src/i18n/locales/en.ts
  6. 2
      src/i18n/locales/es.ts
  7. 2
      src/i18n/locales/fr.ts
  8. 2
      src/i18n/locales/it.ts
  9. 2
      src/i18n/locales/ja.ts
  10. 2
      src/i18n/locales/pl.ts
  11. 2
      src/i18n/locales/pt-BR.ts
  12. 2
      src/i18n/locales/pt-PT.ts
  13. 2
      src/i18n/locales/ru.ts
  14. 2
      src/i18n/locales/th.ts
  15. 2
      src/i18n/locales/zh.ts
  16. 2
      src/pages/secondary/NotePage/index.tsx

2
src/components/ContentPreview/index.tsx

@ -27,7 +27,7 @@ export default function ContentPreview({ @@ -27,7 +27,7 @@ export default function ContentPreview({
const { t } = useTranslation()
const translatedEvent = useTranslatedEvent(event?.id)
const nodes = useMemo(() => {
if (!event) return [{ type: 'text', data: `[${t('Not found the note')}]` }]
if (!event) return [{ type: 'text', data: `[${t('Note not found')}]` }]
if (event.kind === kinds.Highlights) return []

2
src/components/ParentNotePreview/index.tsx

@ -52,7 +52,7 @@ export default function ParentNotePreview({ @@ -52,7 +52,7 @@ export default function ParentNotePreview({
)}
>
<div className="shrink-0">{t('reply to')}</div>
<div>{`[${t('Not found the note')}]`}</div>
<div>{`[${t('Note not found')}]`}</div>
</div>
)
}

2
src/i18n/locales/ar.ts

@ -202,7 +202,7 @@ export default { @@ -202,7 +202,7 @@ export default {
'Recent Supporters': 'الداعمين الجدد',
'Seen on': 'شوهد على',
'Temporarily display this reply': 'عرض هذا الرد مؤقتاً',
'Not found the note': 'لم يتم العثور على الملاحظة',
'Note not found': 'لم يتم العثور على الملاحظة',
'no more replies': 'لا توجد مزيد من الردود',
'Relay sets': 'مجموعات الريلاي',
'Favorite Relays': 'الريلايات المفضلة',

2
src/i18n/locales/de.ts

@ -206,7 +206,7 @@ export default { @@ -206,7 +206,7 @@ export default {
'Recent Supporters': 'Neueste Unterstützer',
'Seen on': 'Gesehen auf',
'Temporarily display this reply': 'Antwort vorübergehend anzeigen',
'Not found the note': 'Die Notiz wurde nicht gefunden',
'Note not found': 'Die Notiz wurde nicht gefunden',
'no more replies': 'keine weiteren Antworten',
'Relay sets': 'Relay-Sets',
'Favorite Relays': 'Lieblings-Relays',

2
src/i18n/locales/en.ts

@ -202,7 +202,7 @@ export default { @@ -202,7 +202,7 @@ export default {
'Recent Supporters': 'Recent Supporters',
'Seen on': 'Seen on',
'Temporarily display this reply': 'Temporarily display this reply',
'Not found the note': 'Not found the note',
'Note not found': 'Note not found',
'no more replies': 'no more replies',
'Relay sets': 'Relay sets',
'Favorite Relays': 'Favorite Relays',

2
src/i18n/locales/es.ts

@ -206,7 +206,7 @@ export default { @@ -206,7 +206,7 @@ export default {
'Recent Supporters': 'Últimos patrocinadores',
'Seen on': 'Visto en',
'Temporarily display this reply': 'Mostrar temporalmente esta respuesta',
'Not found the note': 'No se encontró la nota',
'Note not found': 'No se encontró la nota',
'no more replies': 'no hay más respuestas',
'Relay sets': 'Conjuntos de relés',
'Favorite Relays': 'Relés favoritos',

2
src/i18n/locales/fr.ts

@ -205,7 +205,7 @@ export default { @@ -205,7 +205,7 @@ export default {
'Recent Supporters': 'Derniers soutiens',
'Seen on': 'Vu sur',
'Temporarily display this reply': 'Afficher temporairement cette réponse',
'Not found the note': 'Note introuvable',
'Note not found': 'Note introuvable',
'no more replies': 'aucune autre réponse',
'Relay sets': 'Groupes de relais',
'Favorite Relays': 'Relais favoris',

2
src/i18n/locales/it.ts

@ -205,7 +205,7 @@ export default { @@ -205,7 +205,7 @@ export default {
'Recent Supporters': 'Recenti Sostenitori',
'Seen on': 'Visto su',
'Temporarily display this reply': 'Mostra temporaneamente questa replica',
'Not found the note': 'Non è stata trovata la nota',
'Note not found': 'Non è stata trovata la nota',
'no more replies': 'niente più repliche',
'Relay sets': 'Set di Relay',
'Favorite Relays': 'Relay preferiti',

2
src/i18n/locales/ja.ts

@ -203,7 +203,7 @@ export default { @@ -203,7 +203,7 @@ export default {
'Recent Supporters': '最近のサポーター',
'Seen on': '見た',
'Temporarily display this reply': 'この返信を一時的に表示',
'Not found the note': 'ノートが見つかりません',
'Note not found': 'ノートが見つかりません',
'no more replies': 'これ以上の返信はありません',
'Relay sets': 'リレイセット',
'Favorite Relays': 'お気に入りのリレイ',

2
src/i18n/locales/pl.ts

@ -204,7 +204,7 @@ export default { @@ -204,7 +204,7 @@ export default {
'Recent Supporters': 'Ostatni wspierający',
'Seen on': 'Widziany na',
'Temporarily display this reply': 'Tymczasowo wyświetl tę odpowiedź',
'Not found the note': 'Nie znaleziono wpisu',
'Note not found': 'Nie znaleziono wpisu',
'no more replies': 'brak kolejnych odpowiedzi',
'Relay sets': 'Zestawy transmiterów',
'Favorite Relays': 'Ulubione transmitery',

2
src/i18n/locales/pt-BR.ts

@ -204,7 +204,7 @@ export default { @@ -204,7 +204,7 @@ export default {
'Recent Supporters': 'Apoiadores recentes',
'Seen on': 'Visto em',
'Temporarily display this reply': 'Exibir temporariamente esta resposta',
'Not found the note': 'Nota não encontrada',
'Note not found': 'Nota não encontrada',
'no more replies': 'não há mais respostas',
'Relay sets': 'Conjuntos de relé',
'Favorite Relays': 'Relés favoritos',

2
src/i18n/locales/pt-PT.ts

@ -205,7 +205,7 @@ export default { @@ -205,7 +205,7 @@ export default {
'Recent Supporters': 'Apoiadores Recentes',
'Seen on': 'Visto em',
'Temporarily display this reply': 'Exibir temporariamente esta resposta',
'Not found the note': 'Nota não encontrada',
'Note not found': 'Nota não encontrada',
'no more replies': 'não há mais respostas',
'Relay sets': 'Conjuntos de Relé',
'Favorite Relays': 'Relés Favoritos',

2
src/i18n/locales/ru.ts

@ -207,7 +207,7 @@ export default { @@ -207,7 +207,7 @@ export default {
'Recent Supporters': 'Недавние спонсоры',
'Seen on': 'Просмотрено на',
'Temporarily display this reply': 'Временно отобразить этот ответ',
'Not found the note': 'Заметка не найдена',
'Note not found': 'Заметка не найдена',
'no more replies': 'больше нет ответов',
'Relay sets': 'Наборы ретрансляторов',
'Favorite Relays': 'Избранные ретрансляторы',

2
src/i18n/locales/th.ts

@ -201,7 +201,7 @@ export default { @@ -201,7 +201,7 @@ export default {
'Recent Supporters': 'ผสนบสนนลาสด',
'Seen on': 'เหนเมอ',
'Temporarily display this reply': 'แสดงการตอบกลบนวคราว',
'Not found the note': 'ไมพบโนต',
'Note not found': 'ไมพบโนต',
'no more replies': 'ไมการตอบกลบเพมเตม',
'Relay sets': 'ชดรเลย',
'Favorite Relays': 'รเลยโปรด',

2
src/i18n/locales/zh.ts

@ -203,7 +203,7 @@ export default { @@ -203,7 +203,7 @@ export default {
'Recent Supporters': '最近的支持者',
'Seen on': '来自',
'Temporarily display this reply': '临时显示此回复',
'Not found the note': '未找到该笔记',
'Note not found': '未找到该笔记',
'no more replies': '没有更多回复了',
'Relay sets': '服务器组',
'Favorite Relays': '收藏的服务器',

2
src/pages/secondary/NotePage/index.tsx

@ -136,7 +136,7 @@ function ParentNote({ eventId }: { eventId?: string }) { @@ -136,7 +136,7 @@ function ParentNote({ eventId }: { eventId?: string }) {
return (
<div>
<Card className="flex p-1 items-center justify-center text-sm text-muted-foreground">
[{t('Not found the note')}]
[{t('Note not found')}]
</Card>
<div className="ml-5 w-px h-2 bg-border" />
</div>

Loading…
Cancel
Save