From 5a45e2784198de11b725da305263fb0e244674c0 Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Mon, 29 Apr 2024 14:53:46 +0200 Subject: [PATCH] add autofocus, update themes, translate 'submit' --- public/translations/ar/default.json | 3 ++- public/translations/bn/default.json | 3 ++- public/translations/cs/default.json | 3 ++- public/translations/da/default.json | 3 ++- public/translations/de/default.json | 3 ++- public/translations/el/default.json | 3 ++- public/translations/en/default.json | 3 ++- public/translations/es/default.json | 3 ++- public/translations/fa/default.json | 3 ++- public/translations/fi/default.json | 3 ++- public/translations/fil/default.json | 3 ++- public/translations/fr/default.json | 3 ++- public/translations/he/default.json | 3 ++- public/translations/hi/default.json | 3 ++- public/translations/hu/default.json | 3 ++- public/translations/id/default.json | 3 ++- public/translations/it/default.json | 3 ++- public/translations/ja/default.json | 3 ++- public/translations/ko/default.json | 3 ++- public/translations/mr/default.json | 3 ++- public/translations/nl/default.json | 3 ++- public/translations/no/default.json | 3 ++- public/translations/pl/default.json | 3 ++- public/translations/pt/default.json | 3 ++- public/translations/ro/default.json | 3 ++- public/translations/ru/default.json | 3 ++- public/translations/sq/default.json | 3 ++- public/translations/sv/default.json | 3 ++- public/translations/te/default.json | 3 ++- public/translations/th/default.json | 3 ++- public/translations/tr/default.json | 3 ++- public/translations/uk/default.json | 3 ++- public/translations/ur/default.json | 3 ++- public/translations/vi/default.json | 3 ++- public/translations/zh/default.json | 3 ++- src/components/post-form/post-form.tsx | 1 - src/components/reply-modal/reply-modal.tsx | 10 +++++++++- .../subplebbit-description/subplebbit-description.tsx | 9 +++++---- src/themes.css | 4 ++-- src/views/board/board.tsx | 9 ++++++++- src/views/catalog/catalog.tsx | 7 ++++--- src/views/post-page/post-page.tsx | 11 +++++++++-- 42 files changed, 107 insertions(+), 49 deletions(-) diff --git a/public/translations/ar/default.json b/public/translations/ar/default.json index 345cef59..3d54f810 100644 --- a/public/translations/ar/default.json +++ b/public/translations/ar/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} ردود محذوفة. <1>اضغط هنا لعرضها.", "replies_and_links_omitted": "{{repliesCount}} ردود و{{linksCount}} روابط محذوفة. <1>اضغط هنا لعرضها.", "thread_closed_alert": "الموضوع مغلق", - "reply_to_cid": "الرد على {{cid}}" + "reply_to_cid": "الرد على {{cid}}", + "submit": "إرسال" } \ No newline at end of file diff --git a/public/translations/bn/default.json b/public/translations/bn/default.json index 096370bd..ae8c52ee 100644 --- a/public/translations/bn/default.json +++ b/public/translations/bn/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}}টি উত্তর বাদ দেওয়া হয়েছে। <1>দেখতে এখানে ক্লিক করুন।", "replies_and_links_omitted": "{{repliesCount}}টি উত্তর এবং {{linksCount}}টি লিঙ্ক বাদ দেওয়া হয়েছে। <1>দেখতে এখানে ক্লিক করুন।", "thread_closed_alert": "থ্রেডটি বন্ধ করা হয়েছে", - "reply_to_cid": "{{cid}}-এ উত্তর দিন" + "reply_to_cid": "{{cid}}-এ উত্তর দিন", + "submit": "জমা দিন" } \ No newline at end of file diff --git a/public/translations/cs/default.json b/public/translations/cs/default.json index 39af75f8..6c161dcd 100644 --- a/public/translations/cs/default.json +++ b/public/translations/cs/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} odpovědí vynecháno. <1>Klikněte zde pro zobrazení.", "replies_and_links_omitted": "{{repliesCount}} odpovědí a {{linksCount}} odkazů vynecháno. <1>Klikněte zde pro zobrazení.", "thread_closed_alert": "Vlákno je uzavřeno", - "reply_to_cid": "Odpovědět na {{cid}}" + "reply_to_cid": "Odpovědět na {{cid}}", + "submit": "Odeslat" } \ No newline at end of file diff --git a/public/translations/da/default.json b/public/translations/da/default.json index 770ff5ca..a77d8154 100644 --- a/public/translations/da/default.json +++ b/public/translations/da/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} svar udeladt. <1>Klik her for at se dem.", "replies_and_links_omitted": "{{repliesCount}} svar og {{linksCount}} links udeladt. <1>Klik her for at se dem.", "thread_closed_alert": "Tråden er lukket", - "reply_to_cid": "Svar til {{cid}}" + "reply_to_cid": "Svar til {{cid}}", + "submit": "Indsend" } \ No newline at end of file diff --git a/public/translations/de/default.json b/public/translations/de/default.json index 80dde6e4..ab2d492a 100644 --- a/public/translations/de/default.json +++ b/public/translations/de/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} Antworten ausgelassen. <1>Klicken Sie hier, um sie anzuzeigen.", "replies_and_links_omitted": "{{repliesCount}} Antworten und {{linksCount}} Links ausgelassen. <1>Klicken Sie hier, um sie anzuzeigen.", "thread_closed_alert": "Der Thread ist geschlossen", - "reply_to_cid": "Antwort an {{cid}}" + "reply_to_cid": "Antwort an {{cid}}", + "submit": "Einreichen" } \ No newline at end of file diff --git a/public/translations/el/default.json b/public/translations/el/default.json index 9c9eecba..49f04b71 100644 --- a/public/translations/el/default.json +++ b/public/translations/el/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} απαντήσεις παραλείφθηκαν. <1>Κάντε κλικ εδώ για να τις δείτε.", "replies_and_links_omitted": "{{repliesCount}} απαντήσεις και {{linksCount}} σύνδεσμοι παραλείφθηκαν. <1>Κάντε κλικ εδώ για να τις δείτε.", "thread_closed_alert": "Το νήμα έχει κλείσει", - "reply_to_cid": "Απάντηση σε {{cid}}" + "reply_to_cid": "Απάντηση σε {{cid}}", + "submit": "Υποβολή" } \ No newline at end of file diff --git a/public/translations/en/default.json b/public/translations/en/default.json index 0acad424..106f28d0 100644 --- a/public/translations/en/default.json +++ b/public/translations/en/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} replies omitted. <1>Click here to view.", "replies_and_links_omitted": "{{repliesCount}} replies and {{linksCount}} links omitted. <1>Click here to view.", "thread_closed_alert": "This thread is closed", - "reply_to_cid": "Reply to {{cid}}" + "reply_to_cid": "Reply to {{cid}}", + "submit": "Submit" } \ No newline at end of file diff --git a/public/translations/es/default.json b/public/translations/es/default.json index 6ba58425..607ee726 100644 --- a/public/translations/es/default.json +++ b/public/translations/es/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} respuestas omitidas. <1>Haz clic aquí para verlas.", "replies_and_links_omitted": "{{repliesCount}} respuestas y {{linksCount}} enlaces omitidos. <1>Haz clic aquí para verlos.", "thread_closed_alert": "El hilo está cerrado", - "reply_to_cid": "Responder a {{cid}}" + "reply_to_cid": "Responder a {{cid}}", + "submit": "Enviar" } \ No newline at end of file diff --git a/public/translations/fa/default.json b/public/translations/fa/default.json index 38c28c12..39479dd5 100644 --- a/public/translations/fa/default.json +++ b/public/translations/fa/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} پاسخ حذف شده است. <1>اینجا کلیک کنید تا آنها را مشاهده کنید.", "replies_and_links_omitted": "{{repliesCount}} پاسخ و {{linksCount}} لینک حذف شده است. <1>اینجا کلیک کنید تا آنها را مشاهده کنید.", "thread_closed_alert": "موضوع بسته شده است", - "reply_to_cid": "پاسخ به {{cid}}" + "reply_to_cid": "پاسخ به {{cid}}", + "submit": "ارسال" } \ No newline at end of file diff --git a/public/translations/fi/default.json b/public/translations/fi/default.json index 0bd9ab39..7f116156 100644 --- a/public/translations/fi/default.json +++ b/public/translations/fi/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} vastausta jätetty pois. <1>Napsauta tästä nähdäksesi ne.", "replies_and_links_omitted": "{{repliesCount}} vastausta ja {{linksCount}} linkkiä jätetty pois. <1>Napsauta tästä nähdäksesi ne.", "thread_closed_alert": "Ketju on suljettu", - "reply_to_cid": "Vastaa {{cid}}" + "reply_to_cid": "Vastaa {{cid}}", + "submit": "Lähetä" } \ No newline at end of file diff --git a/public/translations/fil/default.json b/public/translations/fil/default.json index 6caf34d1..a9c07848 100644 --- a/public/translations/fil/default.json +++ b/public/translations/fil/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} mga tugon ang hindi ipinakita. <1>I-click dito upang makita.", "replies_and_links_omitted": "{{repliesCount}} mga tugon at {{linksCount}} mga link ang hindi ipinakita. <1>I-click dito upang makita.", "thread_closed_alert": "Sarado na ang thread", - "reply_to_cid": "Tumugon sa {{cid}}" + "reply_to_cid": "Tumugon sa {{cid}}", + "submit": "Isumite" } \ No newline at end of file diff --git a/public/translations/fr/default.json b/public/translations/fr/default.json index 85ad94e0..411467d2 100644 --- a/public/translations/fr/default.json +++ b/public/translations/fr/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} réponses omises. <1>Cliquez ici pour les afficher.", "replies_and_links_omitted": "{{repliesCount}} réponses et {{linksCount}} liens omis. <1>Cliquez ici pour les afficher.", "thread_closed_alert": "Le fil est fermé", - "reply_to_cid": "Répondre à {{cid}}" + "reply_to_cid": "Répondre à {{cid}}", + "submit": "Soumettre" } \ No newline at end of file diff --git a/public/translations/he/default.json b/public/translations/he/default.json index 5f6a0e0a..24350796 100644 --- a/public/translations/he/default.json +++ b/public/translations/he/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} תגובות נשמטו. <1>לחץ כאן לצפייה.", "replies_and_links_omitted": "{{repliesCount}} תגובות ו{{linksCount}} קישורים נשמטו. <1>לחץ כאן לצפייה.", "thread_closed_alert": "האשכול סגור", - "reply_to_cid": "תגובה ל{{cid}}" + "reply_to_cid": "תגובה ל{{cid}}", + "submit": "שלח" } \ No newline at end of file diff --git a/public/translations/hi/default.json b/public/translations/hi/default.json index bd172b50..ff9775e4 100644 --- a/public/translations/hi/default.json +++ b/public/translations/hi/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} उत्तर छोड़े गए हैं। <1>देखने के लिए यहां क्लिक करें।", "replies_and_links_omitted": "{{repliesCount}} उत्तर और {{linksCount}} लिंक छोड़े गए हैं। <1>देखने के लिए यहां क्लिक करें।", "thread_closed_alert": "यह थ्रेड बंद है", - "reply_to_cid": "{{cid}} का उत्तर दें" + "reply_to_cid": "{{cid}} का उत्तर दें", + "submit": "जमा करें" } \ No newline at end of file diff --git a/public/translations/hu/default.json b/public/translations/hu/default.json index b9e505bf..1a94daf2 100644 --- a/public/translations/hu/default.json +++ b/public/translations/hu/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} válasz kihagyva. <1>Kattintson ide a megtekintéshez.", "replies_and_links_omitted": "{{repliesCount}} válasz és {{linksCount}} link kihagyva. <1>Kattintson ide a megtekintéshez.", "thread_closed_alert": "A téma lezárva", - "reply_to_cid": "Válasz erre: {{cid}}" + "reply_to_cid": "Válasz erre: {{cid}}", + "submit": "Beküldés" } \ No newline at end of file diff --git a/public/translations/id/default.json b/public/translations/id/default.json index 243e5628..bd8d2b44 100644 --- a/public/translations/id/default.json +++ b/public/translations/id/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} balasan dihilangkan. <1>Klik di sini untuk melihat.", "replies_and_links_omitted": "{{repliesCount}} balasan dan {{linksCount}} tautan dihilangkan. <1>Klik di sini untuk melihat.", "thread_closed_alert": "Thread ini ditutup", - "reply_to_cid": "Balas ke {{cid}}" + "reply_to_cid": "Balas ke {{cid}}", + "submit": "Kirim" } \ No newline at end of file diff --git a/public/translations/it/default.json b/public/translations/it/default.json index 98e61cde..365c217c 100644 --- a/public/translations/it/default.json +++ b/public/translations/it/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} risposte omesse. <1>Clicca qui per visualizzare.", "replies_and_links_omitted": "{{repliesCount}} risposte e {{linksCount}} link omessi. <1>Clicca qui per visualizzare.", "thread_closed_alert": "Questo thread è chiuso", - "reply_to_cid": "Rispondi a {{cid}}" + "reply_to_cid": "Rispondi a {{cid}}", + "submit": "Invia" } \ No newline at end of file diff --git a/public/translations/ja/default.json b/public/translations/ja/default.json index d3515fe9..ce176d1d 100644 --- a/public/translations/ja/default.json +++ b/public/translations/ja/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}}件の返信が省略されました。 <1>ここをクリックして表示。", "replies_and_links_omitted": "{{repliesCount}}件の返信と{{linksCount}}件のリンクが省略されました。 <1>ここをクリックして表示。", "thread_closed_alert": "このスレッドは閉じられています", - "reply_to_cid": "{{cid}}に返信" + "reply_to_cid": "{{cid}}に返信", + "submit": "送信" } \ No newline at end of file diff --git a/public/translations/ko/default.json b/public/translations/ko/default.json index 100d2963..5faa583e 100644 --- a/public/translations/ko/default.json +++ b/public/translations/ko/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}}개의 답글이 생략되었습니다. <1>여기를 클릭하십시오 보려면.", "replies_and_links_omitted": "{{repliesCount}}개의 답글과 {{linksCount}}개의 링크가 생략되었습니다. <1>여기를 클릭하십시오 보려면.", "thread_closed_alert": "이 스레드는 닫혔습니다", - "reply_to_cid": "{{cid}}에 답변" + "reply_to_cid": "{{cid}}에 답변", + "submit": "제출" } \ No newline at end of file diff --git a/public/translations/mr/default.json b/public/translations/mr/default.json index 87099064..11a95bfc 100644 --- a/public/translations/mr/default.json +++ b/public/translations/mr/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} प्रतिसाद वगळले गेले आहेत. <1>पाहण्यासाठी येथे क्लिक करा.", "replies_and_links_omitted": "{{repliesCount}} प्रतिसाद आणि {{linksCount}} दुवे वगळले गेले आहेत. <1>पाहण्यासाठी येथे क्लिक करा.", "thread_closed_alert": "हा थ्रेड बंद आहे", - "reply_to_cid": "{{cid}} ला उत्तर द्या" + "reply_to_cid": "{{cid}} ला उत्तर द्या", + "submit": "सबमिट करा" } \ No newline at end of file diff --git a/public/translations/nl/default.json b/public/translations/nl/default.json index 4eeb5f4b..fef448a2 100644 --- a/public/translations/nl/default.json +++ b/public/translations/nl/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} reacties weggelaten. <1>Klik hier om ze te bekijken.", "replies_and_links_omitted": "{{repliesCount}} reacties en {{linksCount}} links weggelaten. <1>Klik hier om ze te bekijken.", "thread_closed_alert": "De thread is gesloten", - "reply_to_cid": "Reageren op {{cid}}" + "reply_to_cid": "Reageren op {{cid}}", + "submit": "Verzenden" } \ No newline at end of file diff --git a/public/translations/no/default.json b/public/translations/no/default.json index c8954bca..ff0d896a 100644 --- a/public/translations/no/default.json +++ b/public/translations/no/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} svar utelatt. <1>Klikk her for å se dem.", "replies_and_links_omitted": "{{repliesCount}} svar og {{linksCount}} lenker utelatt. <1>Klikk her for å se dem.", "thread_closed_alert": "Tråden er stengt", - "reply_to_cid": "Svar til {{cid}}" + "reply_to_cid": "Svar til {{cid}}", + "submit": "Send inn" } \ No newline at end of file diff --git a/public/translations/pl/default.json b/public/translations/pl/default.json index 3f4d2bac..16c75668 100644 --- a/public/translations/pl/default.json +++ b/public/translations/pl/default.json @@ -60,5 +60,6 @@ "replies_omitted": "Pominięto {{repliesCount}} odpowiedzi. <1>Kliknij tutaj, aby je zobaczyć.", "replies_and_links_omitted": "Pominięto {{repliesCount}} odpowiedzi i {{linksCount}} linków. <1>Kliknij tutaj, aby je zobaczyć.", "thread_closed_alert": "Wątek jest zamknięty", - "reply_to_cid": "Odpowiedz na {{cid}}" + "reply_to_cid": "Odpowiedz na {{cid}}", + "submit": "Zatwierdź" } \ No newline at end of file diff --git a/public/translations/pt/default.json b/public/translations/pt/default.json index c5c81896..cc9165a4 100644 --- a/public/translations/pt/default.json +++ b/public/translations/pt/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} respostas omitidas. <1>Clique aqui para visualizar.", "replies_and_links_omitted": "{{repliesCount}} respostas e {{linksCount}} links omitidos. <1>Clique aqui para visualizar.", "thread_closed_alert": "O tópico está fechado", - "reply_to_cid": "Responder a {{cid}}" + "reply_to_cid": "Responder a {{cid}}", + "submit": "Enviar" } \ No newline at end of file diff --git a/public/translations/ro/default.json b/public/translations/ro/default.json index 6c30257f..eb12927e 100644 --- a/public/translations/ro/default.json +++ b/public/translations/ro/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} răspunsuri omise. <1>Click aici pentru a le vizualiza.", "replies_and_links_omitted": "{{repliesCount}} răspunsuri și {{linksCount}} linkuri omise. <1>Click aici pentru a le vizualiza.", "thread_closed_alert": "Acest fir de discuție este închis", - "reply_to_cid": "Răspundeți la {{cid}}" + "reply_to_cid": "Răspundeți la {{cid}}", + "submit": "Trimite" } \ No newline at end of file diff --git a/public/translations/ru/default.json b/public/translations/ru/default.json index 4403fdef..a13ecc6a 100644 --- a/public/translations/ru/default.json +++ b/public/translations/ru/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} ответов пропущено. <1>Нажмите здесь, чтобы посмотреть.", "replies_and_links_omitted": "{{repliesCount}} ответов и {{linksCount}} ссылок пропущено. <1>Нажмите здесь, чтобы посмотреть.", "thread_closed_alert": "Тема закрыта", - "reply_to_cid": "Ответить на {{cid}}" + "reply_to_cid": "Ответить на {{cid}}", + "submit": "Отправить" } \ No newline at end of file diff --git a/public/translations/sq/default.json b/public/translations/sq/default.json index 38c2949d..b1ad0ff0 100644 --- a/public/translations/sq/default.json +++ b/public/translations/sq/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} përgjigje janë lënë jashtë. <1>Kliko këtu për t'i shikuar.", "replies_and_links_omitted": "{{repliesCount}} përgjigje dhe {{linksCount}} lidhje janë lënë jashtë. <1>Kliko këtu për t'i shikuar.", "thread_closed_alert": "Temë është mbyllur", - "reply_to_cid": "Përgjigju në {{cid}}" + "reply_to_cid": "Përgjigju në {{cid}}", + "submit": "Dorëzo" } \ No newline at end of file diff --git a/public/translations/sv/default.json b/public/translations/sv/default.json index 8f5b59d4..400bc850 100644 --- a/public/translations/sv/default.json +++ b/public/translations/sv/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} svar utelämnade. <1>Klicka här för att visa dem.", "replies_and_links_omitted": "{{repliesCount}} svar och {{linksCount}} länkar utelämnade. <1>Klicka här för att visa dem.", "thread_closed_alert": "Tråden är stängd", - "reply_to_cid": "Svara på {{cid}}" + "reply_to_cid": "Svara på {{cid}}", + "submit": "Skicka in" } \ No newline at end of file diff --git a/public/translations/te/default.json b/public/translations/te/default.json index 1983dbfc..f8025740 100644 --- a/public/translations/te/default.json +++ b/public/translations/te/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} స్పందనలు వదిలివేయబడ్డాయి. <1>చూడటానికి ఇక్కడ క్లిక్ చేయండి.", "replies_and_links_omitted": "{{repliesCount}} స్పందనలు మరియు {{linksCount}} లింకులు వదిలివేయబడ్డాయి. <1>చూడటానికి ఇక్కడ క్లిక్ చేయండి.", "thread_closed_alert": "ఈ థ్రెడ్ మూసివేయబడింది", - "reply_to_cid": "{{cid}}కి స్పందించండి" + "reply_to_cid": "{{cid}}కి స్పందించండి", + "submit": "సమర్పించు" } \ No newline at end of file diff --git a/public/translations/th/default.json b/public/translations/th/default.json index 5d6559ea..8e606b2e 100644 --- a/public/translations/th/default.json +++ b/public/translations/th/default.json @@ -60,5 +60,6 @@ "replies_omitted": "ข้าม {{repliesCount}} คำตอบ <1>คลิกที่นี่ เพื่อดู.", "replies_and_links_omitted": "ข้าม {{repliesCount}} คำตอบและ {{linksCount}} ลิงก์ <1>คลิกที่นี่ เพื่อดู.", "thread_closed_alert": "กระทู้นี้ถูกปิด", - "reply_to_cid": "ตอบกลับ {{cid}}" + "reply_to_cid": "ตอบกลับ {{cid}}", + "submit": "ส่ง" } \ No newline at end of file diff --git a/public/translations/tr/default.json b/public/translations/tr/default.json index 065be639..ed0b7917 100644 --- a/public/translations/tr/default.json +++ b/public/translations/tr/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} yanıt göz ardı edildi. <1>Buraya tıklayın görüntülemek için.", "replies_and_links_omitted": "{{repliesCount}} yanıt ve {{linksCount}} bağlantı göz ardı edildi. <1>Buraya tıklayın görüntülemek için.", "thread_closed_alert": "Bu konu kapatılmıştır", - "reply_to_cid": "{{cid}}’ye yanıt ver" + "reply_to_cid": "{{cid}}’ye yanıt ver", + "submit": "Gönder" } \ No newline at end of file diff --git a/public/translations/uk/default.json b/public/translations/uk/default.json index a339ad23..acd734b2 100644 --- a/public/translations/uk/default.json +++ b/public/translations/uk/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} відповідей пропущено. <1>Натисніть тут, щоб переглянути.", "replies_and_links_omitted": "{{repliesCount}} відповідей та {{linksCount}} посилань пропущено. <1>Натисніть тут, щоб переглянути.", "thread_closed_alert": "Тему закрито", - "reply_to_cid": "Відповісти на {{cid}}" + "reply_to_cid": "Відповісти на {{cid}}", + "submit": "Надіслати" } \ No newline at end of file diff --git a/public/translations/ur/default.json b/public/translations/ur/default.json index c3c31656..d1841d18 100644 --- a/public/translations/ur/default.json +++ b/public/translations/ur/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} جوابات چھوڑ دیے گئے ہیں۔ <1>مکمل دیکھنے کے لیے یہاں کلک کریں۔", "replies_and_links_omitted": "{{repliesCount}} جوابات اور {{linksCount}} لنکس چھوڑ دیے گئے ہیں۔ <1>مکمل دیکھنے کے لیے یہاں کلک کریں۔", "thread_closed_alert": "یہ دھاگہ بند ہے", - "reply_to_cid": "{{cid}} کا جواب دیں" + "reply_to_cid": "{{cid}} کا جواب دیں", + "submit": "جمع کرائیں" } \ No newline at end of file diff --git a/public/translations/vi/default.json b/public/translations/vi/default.json index 5fd54c96..273a8aa3 100644 --- a/public/translations/vi/default.json +++ b/public/translations/vi/default.json @@ -60,5 +60,6 @@ "replies_omitted": "{{repliesCount}} câu trả lời bị bỏ qua. <1>Nhấn vào đây để xem.", "replies_and_links_omitted": "{{repliesCount}} câu trả lời và {{linksCount}} liên kết bị bỏ qua. <1>Nhấn vào đây để xem.", "thread_closed_alert": "Chủ đề này đã đóng", - "reply_to_cid": "Trả lời {{cid}}" + "reply_to_cid": "Trả lời {{cid}}", + "submit": "Gửi" } \ No newline at end of file diff --git a/public/translations/zh/default.json b/public/translations/zh/default.json index aeed949b..e03bf021 100644 --- a/public/translations/zh/default.json +++ b/public/translations/zh/default.json @@ -60,5 +60,6 @@ "replies_omitted": "省略了{{repliesCount}}条回复。 <1>点击这里查看。", "replies_and_links_omitted": "省略了{{repliesCount}}条回复和{{linksCount}}个链接。 <1>点击这里查看。", "thread_closed_alert": "该主题已关闭", - "reply_to_cid": "回复{{cid}}" + "reply_to_cid": "回复{{cid}}", + "submit": "提交" } \ 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 cc03843a..2a58b31f 100644 --- a/src/components/post-form/post-form.tsx +++ b/src/components/post-form/post-form.tsx @@ -128,7 +128,6 @@ const PostFormTable = () => { useEffect(() => { if (typeof replyIndex === 'number') { resetContent(); - window.scrollTo(0, document.body.scrollHeight); } }, [replyIndex, resetContent]); diff --git a/src/components/reply-modal/reply-modal.tsx b/src/components/reply-modal/reply-modal.tsx index a7b72103..ebff5faa 100644 --- a/src/components/reply-modal/reply-modal.tsx +++ b/src/components/reply-modal/reply-modal.tsx @@ -89,7 +89,15 @@ const ReplyModal = ({ closeModal, parentCid }: ReplyModalProps) => { setContent.link(e.target.value)} />
-