diff --git a/public/translations/ar/default.json b/public/translations/ar/default.json index 052869e1..d159e08e 100644 --- a/public/translations/ar/default.json +++ b/public/translations/ar/default.json @@ -11,5 +11,6 @@ "about": "حول", "whitepaper": "ورقة بيضاء", "token": "رمز", - "download_app": "تحميل التطبيق" + "download_app": "تحميل التطبيق", + "start_new_thread": "بدء موضوع جديد" } \ No newline at end of file diff --git a/public/translations/bn/default.json b/public/translations/bn/default.json index 4e06fc66..0e95ba51 100644 --- a/public/translations/bn/default.json +++ b/public/translations/bn/default.json @@ -11,5 +11,6 @@ "about": "সম্পর্কিত", "whitepaper": "হোয়াইট পেপার", "token": "টোকেন", - "download_app": "অ্যাপ ডাউনলোড করুন" + "download_app": "অ্যাপ ডাউনলোড করুন", + "start_new_thread": "নতুন থ্রেড শুরু করুন" } \ No newline at end of file diff --git a/public/translations/cs/default.json b/public/translations/cs/default.json index d4fcf7f8..15424bdb 100644 --- a/public/translations/cs/default.json +++ b/public/translations/cs/default.json @@ -11,5 +11,6 @@ "about": "O nás", "whitepaper": "Bílá kniha", "token": "Token", - "download_app": "Stáhnout aplikaci" + "download_app": "Stáhnout aplikaci", + "start_new_thread": "Začít nové vlákno" } \ No newline at end of file diff --git a/public/translations/da/default.json b/public/translations/da/default.json index adba35c3..55c6fd16 100644 --- a/public/translations/da/default.json +++ b/public/translations/da/default.json @@ -11,5 +11,6 @@ "about": "Om", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "Download app" + "download_app": "Download app", + "start_new_thread": "Start en ny tråd" } \ No newline at end of file diff --git a/public/translations/de/default.json b/public/translations/de/default.json index ee2231be..28f92204 100644 --- a/public/translations/de/default.json +++ b/public/translations/de/default.json @@ -11,5 +11,6 @@ "about": "Über", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "App herunterladen" + "download_app": "App herunterladen", + "start_new_thread": "Starte einen neuen Thread" } \ No newline at end of file diff --git a/public/translations/el/default.json b/public/translations/el/default.json index d5b395ef..32798a37 100644 --- a/public/translations/el/default.json +++ b/public/translations/el/default.json @@ -11,5 +11,6 @@ "about": "Σχετικά", "whitepaper": "Λευκή Βίβλος", "token": "Τόκεν", - "download_app": "Λήψη εφαρμογής" + "download_app": "Λήψη εφαρμογής", + "start_new_thread": "Ξεκινήστε ένα νέο νήμα" } \ No newline at end of file diff --git a/public/translations/en/default.json b/public/translations/en/default.json index 29bc443e..08345af5 100644 --- a/public/translations/en/default.json +++ b/public/translations/en/default.json @@ -11,5 +11,6 @@ "about": "About", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "Download app" + "download_app": "Download app", + "start_new_thread": "Start a New Thread" } \ No newline at end of file diff --git a/public/translations/es/default.json b/public/translations/es/default.json index f27e7989..30367a91 100644 --- a/public/translations/es/default.json +++ b/public/translations/es/default.json @@ -11,5 +11,6 @@ "about": "Acerca de", "whitepaper": "Libro blanco", "token": "Token", - "download_app": "Descargar la aplicación" + "download_app": "Descargar la aplicación", + "start_new_thread": "Iniciar un Nuevo Hilo" } \ No newline at end of file diff --git a/public/translations/fa/default.json b/public/translations/fa/default.json index 88c9b609..8b653fd4 100644 --- a/public/translations/fa/default.json +++ b/public/translations/fa/default.json @@ -11,5 +11,6 @@ "about": "درباره", "whitepaper": "کاغذ سفید", "token": "توکن", - "download_app": "دانلود اپلیکیشن" + "download_app": "دانلود اپلیکیشن", + "start_new_thread": "شروع موضوع جدید" } \ No newline at end of file diff --git a/public/translations/fi/default.json b/public/translations/fi/default.json index cdc3edc2..a81be95f 100644 --- a/public/translations/fi/default.json +++ b/public/translations/fi/default.json @@ -11,5 +11,6 @@ "about": "Tietoa", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "Lataa sovellus" + "download_app": "Lataa sovellus", + "start_new_thread": "Aloita uusi lanka" } \ No newline at end of file diff --git a/public/translations/fil/default.json b/public/translations/fil/default.json index 76d3a889..27ba48db 100644 --- a/public/translations/fil/default.json +++ b/public/translations/fil/default.json @@ -11,5 +11,6 @@ "about": "Tungkol sa", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "I-download ang app" + "download_app": "I-download ang app", + "start_new_thread": "Magsimula ng Bagong Thread" } \ No newline at end of file diff --git a/public/translations/fr/default.json b/public/translations/fr/default.json index e71391cb..bd38409a 100644 --- a/public/translations/fr/default.json +++ b/public/translations/fr/default.json @@ -11,5 +11,6 @@ "about": "À propos de", "whitepaper": "Livre blanc", "token": "Jeton", - "download_app": "Télécharger l'application" + "download_app": "Télécharger l'application", + "start_new_thread": "Démarrer un nouveau fil" } \ No newline at end of file diff --git a/public/translations/he/default.json b/public/translations/he/default.json index 86adf33f..03132ae4 100644 --- a/public/translations/he/default.json +++ b/public/translations/he/default.json @@ -11,5 +11,6 @@ "about": "אודות", "whitepaper": "מסמך לבן", "token": "אסימון", - "download_app": "הורד את האפליקציה" + "download_app": "הורד את האפליקציה", + "start_new_thread": "התחלה של פוסט חדש" } \ No newline at end of file diff --git a/public/translations/hi/default.json b/public/translations/hi/default.json index 8918d927..90ed2ccd 100644 --- a/public/translations/hi/default.json +++ b/public/translations/hi/default.json @@ -11,5 +11,6 @@ "about": "के बारे में", "whitepaper": "व्हाइटपेपर", "token": "टोकन", - "download_app": "ऐप डाउनलोड करें" + "download_app": "ऐप डाउनलोड करें", + "start_new_thread": "नया थ्रेड शुरू करें" } \ No newline at end of file diff --git a/public/translations/hu/default.json b/public/translations/hu/default.json index 618829b5..638b6a78 100644 --- a/public/translations/hu/default.json +++ b/public/translations/hu/default.json @@ -11,5 +11,6 @@ "about": "Rólunk", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "App letöltése" + "download_app": "App letöltése", + "start_new_thread": "Új téma indítása" } \ No newline at end of file diff --git a/public/translations/id/default.json b/public/translations/id/default.json index c7481905..abf0be35 100644 --- a/public/translations/id/default.json +++ b/public/translations/id/default.json @@ -11,5 +11,6 @@ "about": "Tentang", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "Unduh aplikasi" + "download_app": "Unduh aplikasi", + "start_new_thread": "Mulai Thread Baru" } \ No newline at end of file diff --git a/public/translations/it/default.json b/public/translations/it/default.json index 4ed31157..a2056e46 100644 --- a/public/translations/it/default.json +++ b/public/translations/it/default.json @@ -11,5 +11,6 @@ "about": "Info", "whitepaper": "Libro bianco", "token": "Token", - "download_app": "Scarica app" + "download_app": "Scarica app", + "start_new_thread": "Inizia un Nuovo Thread" } \ No newline at end of file diff --git a/public/translations/ja/default.json b/public/translations/ja/default.json index 8783ad42..6722d3dd 100644 --- a/public/translations/ja/default.json +++ b/public/translations/ja/default.json @@ -11,5 +11,6 @@ "about": "約", "whitepaper": "ホワイトペーパー", "token": "トークン", - "download_app": "アプリをダウンロード" + "download_app": "アプリをダウンロード", + "start_new_thread": "新しいスレッドを開始" } \ No newline at end of file diff --git a/public/translations/ko/default.json b/public/translations/ko/default.json index ee0fe24d..23296217 100644 --- a/public/translations/ko/default.json +++ b/public/translations/ko/default.json @@ -11,5 +11,6 @@ "about": "약", "whitepaper": "화이트페이퍼", "token": "토큰", - "download_app": "앱 다운로드" + "download_app": "앱 다운로드", + "start_new_thread": "새로운 쓰레드 시작" } \ No newline at end of file diff --git a/public/translations/mr/default.json b/public/translations/mr/default.json index 70b3d20a..29738a6b 100644 --- a/public/translations/mr/default.json +++ b/public/translations/mr/default.json @@ -11,5 +11,6 @@ "about": "विषयी", "whitepaper": "व्हायटपेपर", "token": "टोकन", - "download_app": "अॅप डाउनलोड करा" + "download_app": "अॅप डाउनलोड करा", + "start_new_thread": "नवीन थ्रेड सुरू करा" } \ No newline at end of file diff --git a/public/translations/nl/default.json b/public/translations/nl/default.json index ea56587f..82a210b2 100644 --- a/public/translations/nl/default.json +++ b/public/translations/nl/default.json @@ -11,5 +11,6 @@ "about": "Over", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "App downloaden" + "download_app": "App downloaden", + "start_new_thread": "Start een nieuw onderwerp" } \ No newline at end of file diff --git a/public/translations/no/default.json b/public/translations/no/default.json index 935277ec..d46bec42 100644 --- a/public/translations/no/default.json +++ b/public/translations/no/default.json @@ -11,5 +11,6 @@ "about": "Om", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "Last ned appen" + "download_app": "Last ned appen", + "start_new_thread": "Start en ny tråd" } \ No newline at end of file diff --git a/public/translations/pl/default.json b/public/translations/pl/default.json index 04b26fff..9494d971 100644 --- a/public/translations/pl/default.json +++ b/public/translations/pl/default.json @@ -11,5 +11,6 @@ "about": "O", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "Pobierz aplikację" + "download_app": "Pobierz aplikację", + "start_new_thread": "Rozpocznij nowy wątek" } \ No newline at end of file diff --git a/public/translations/pt/default.json b/public/translations/pt/default.json index 69ecc397..f129d44e 100644 --- a/public/translations/pt/default.json +++ b/public/translations/pt/default.json @@ -11,5 +11,6 @@ "about": "Sobre", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "Baixar aplicativo" + "download_app": "Baixar aplicativo", + "start_new_thread": "Iniciar um Novo Tópico" } \ No newline at end of file diff --git a/public/translations/ro/default.json b/public/translations/ro/default.json index 7ed29047..2413fe0c 100644 --- a/public/translations/ro/default.json +++ b/public/translations/ro/default.json @@ -11,5 +11,6 @@ "about": "Despre", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "Descărcați aplicația" + "download_app": "Descărcați aplicația", + "start_new_thread": "Începeți un nou fir de discuție" } \ No newline at end of file diff --git a/public/translations/ru/default.json b/public/translations/ru/default.json index d4228de0..a9c85438 100644 --- a/public/translations/ru/default.json +++ b/public/translations/ru/default.json @@ -11,5 +11,6 @@ "about": "О", "whitepaper": "Белая бумага", "token": "Токен", - "download_app": "Скачать приложение" + "download_app": "Скачать приложение", + "start_new_thread": "Начать новую тему" } \ No newline at end of file diff --git a/public/translations/sq/default.json b/public/translations/sq/default.json index c2ce428d..6700465f 100644 --- a/public/translations/sq/default.json +++ b/public/translations/sq/default.json @@ -11,5 +11,6 @@ "about": "Rreth", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "Shkarko aplikacionin" + "download_app": "Shkarko aplikacionin", + "start_new_thread": "Filloni një temë të re" } \ No newline at end of file diff --git a/public/translations/sv/default.json b/public/translations/sv/default.json index 7e0ec95a..ab8660e9 100644 --- a/public/translations/sv/default.json +++ b/public/translations/sv/default.json @@ -11,5 +11,6 @@ "about": "Om", "whitepaper": "Whitepaper", "token": "Token", - "download_app": "Ladda ner appen" + "download_app": "Ladda ner appen", + "start_new_thread": "Starta en ny tråd" } \ No newline at end of file diff --git a/public/translations/te/default.json b/public/translations/te/default.json index 8be68f0d..7bd28d6c 100644 --- a/public/translations/te/default.json +++ b/public/translations/te/default.json @@ -11,5 +11,6 @@ "about": "గురించి", "whitepaper": "వైట్పేపర్", "token": "టోకెన్", - "download_app": "అప్లికేషన్ను డౌన్లోడ్ చేయండి" + "download_app": "అప్లికేషన్ను డౌన్లోడ్ చేయండి", + "start_new_thread": "కొత్త థ్రెడ్ను ప్రారంభించండి" } \ No newline at end of file diff --git a/public/translations/th/default.json b/public/translations/th/default.json index c1bb5404..9cb931fd 100644 --- a/public/translations/th/default.json +++ b/public/translations/th/default.json @@ -11,5 +11,6 @@ "about": "เกี่ยวกับ", "whitepaper": "เอกสารขาว", "token": "โทเค็น", - "download_app": "ดาวน์โหลดแอพ" + "download_app": "ดาวน์โหลดแอพ", + "start_new_thread": "เริ่มต้นสร้างกระทู้ใหม่" } \ No newline at end of file diff --git a/public/translations/tr/default.json b/public/translations/tr/default.json index aea6c636..4bac8236 100644 --- a/public/translations/tr/default.json +++ b/public/translations/tr/default.json @@ -11,5 +11,6 @@ "about": "Hakkında", "whitepaper": "Beyaz kağıt", "token": "Jeton", - "download_app": "Uygulamayı indir" + "download_app": "Uygulamayı indir", + "start_new_thread": "Yeni bir Konu Başlat" } \ No newline at end of file diff --git a/public/translations/uk/default.json b/public/translations/uk/default.json index 7c878586..77ade9a0 100644 --- a/public/translations/uk/default.json +++ b/public/translations/uk/default.json @@ -11,5 +11,6 @@ "about": "Про", "whitepaper": "Біла книга", "token": "Токен", - "download_app": "Завантажити додаток" + "download_app": "Завантажити додаток", + "start_new_thread": "Почати нову тему" } \ No newline at end of file diff --git a/public/translations/ur/default.json b/public/translations/ur/default.json index 498adec0..f8bc5bd4 100644 --- a/public/translations/ur/default.json +++ b/public/translations/ur/default.json @@ -11,5 +11,6 @@ "about": "کے بارے میں", "whitepaper": "سفید پیپر", "token": "ٹوکن", - "download_app": "ایپ ڈاؤن لوڈ کریں" + "download_app": "ایپ ڈاؤن لوڈ کریں", + "start_new_thread": "نئی دھاگہ شروع کریں" } \ No newline at end of file diff --git a/public/translations/vi/default.json b/public/translations/vi/default.json index e25d3397..9f991090 100644 --- a/public/translations/vi/default.json +++ b/public/translations/vi/default.json @@ -11,5 +11,6 @@ "about": "Về", "whitepaper": "Bản trắng", "token": "Token", - "download_app": "Tải ứng dụng" + "download_app": "Tải ứng dụng", + "start_new_thread": "Bắt đầu một chủ đề mới" } \ No newline at end of file diff --git a/public/translations/zh/default.json b/public/translations/zh/default.json index acbe65e4..74e62369 100644 --- a/public/translations/zh/default.json +++ b/public/translations/zh/default.json @@ -11,5 +11,6 @@ "about": "关于", "whitepaper": "白皮书", "token": "代币", - "download_app": "下载应用" + "download_app": "下载应用", + "start_new_thread": "开始新主题" } \ No newline at end of file diff --git a/src/components/post-form/post-form.tsx b/src/components/post-form/post-form.tsx index 18ced8bd..fb583c27 100644 --- a/src/components/post-form/post-form.tsx +++ b/src/components/post-form/post-form.tsx @@ -1,9 +1,12 @@ import styles from './post-form.module.css'; +import { useTranslation } from 'react-i18next'; const PostForm = () => { + const { t } = useTranslation(); + return (