mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
style(reply modal): adjust error/alert red box, add translation
This commit is contained in:
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "جاري التحميل...",
|
"uploading": "جاري التحميل...",
|
||||||
"no_file_chosen": "لم يتم اختيار أي ملف",
|
"no_file_chosen": "لم يتم اختيار أي ملف",
|
||||||
"error": "خطأ",
|
"error": "خطأ",
|
||||||
"vote": "تصويت"
|
"vote": "تصويت",
|
||||||
|
"warning": "تحذير"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "আপলোড হচ্ছে...",
|
"uploading": "আপলোড হচ্ছে...",
|
||||||
"no_file_chosen": "কোন ফাইল নির্বাচিত নয়",
|
"no_file_chosen": "কোন ফাইল নির্বাচিত নয়",
|
||||||
"error": "ত্রুটি",
|
"error": "ত্রুটি",
|
||||||
"vote": "ভোট"
|
"vote": "ভোট",
|
||||||
|
"warning": "সতর্কতা"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "nahrávání...",
|
"uploading": "nahrávání...",
|
||||||
"no_file_chosen": "Žádný soubor není vybrán",
|
"no_file_chosen": "Žádný soubor není vybrán",
|
||||||
"error": "Chyba",
|
"error": "Chyba",
|
||||||
"vote": "hlasování"
|
"vote": "hlasování",
|
||||||
|
"warning": "Upozornění"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "uploading...",
|
"uploading": "uploading...",
|
||||||
"no_file_chosen": "Ingen fil valgt",
|
"no_file_chosen": "Ingen fil valgt",
|
||||||
"error": "Fejl",
|
"error": "Fejl",
|
||||||
"vote": "stem"
|
"vote": "stem",
|
||||||
|
"warning": "Advarsel"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "Hochladen...",
|
"uploading": "Hochladen...",
|
||||||
"no_file_chosen": "Keine Datei ausgewählt",
|
"no_file_chosen": "Keine Datei ausgewählt",
|
||||||
"error": "Fehler",
|
"error": "Fehler",
|
||||||
"vote": "Abstimmung"
|
"vote": "Abstimmung",
|
||||||
|
"warning": "Warnung"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "ανέβασμα...",
|
"uploading": "ανέβασμα...",
|
||||||
"no_file_chosen": "Δεν έχει επιλεγεί αρχείο",
|
"no_file_chosen": "Δεν έχει επιλεγεί αρχείο",
|
||||||
"error": "Σφάλμα",
|
"error": "Σφάλμα",
|
||||||
"vote": "ψηφοφορία"
|
"vote": "ψηφοφορία",
|
||||||
|
"warning": "Προειδοποίηση"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "uploading...",
|
"uploading": "uploading...",
|
||||||
"no_file_chosen": "No file chosen",
|
"no_file_chosen": "No file chosen",
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
"vote": "vote"
|
"vote": "vote",
|
||||||
|
"warning": "Warning"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "subiendo...",
|
"uploading": "subiendo...",
|
||||||
"no_file_chosen": "Ningún archivo elegido",
|
"no_file_chosen": "Ningún archivo elegido",
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
"vote": "voto"
|
"vote": "voto",
|
||||||
|
"warning": "Advertencia"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "در حال بارگذاری...",
|
"uploading": "در حال بارگذاری...",
|
||||||
"no_file_chosen": "فایلی انتخاب نشده است",
|
"no_file_chosen": "فایلی انتخاب نشده است",
|
||||||
"error": "خطا",
|
"error": "خطا",
|
||||||
"vote": "رای"
|
"vote": "رای",
|
||||||
|
"warning": "هشدار"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "lataaminen...",
|
"uploading": "lataaminen...",
|
||||||
"no_file_chosen": "Ei tiedostoa valittu",
|
"no_file_chosen": "Ei tiedostoa valittu",
|
||||||
"error": "Virhe",
|
"error": "Virhe",
|
||||||
"vote": "äänestä"
|
"vote": "äänestä",
|
||||||
|
"warning": "Varoitus"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "ina-upload...",
|
"uploading": "ina-upload...",
|
||||||
"no_file_chosen": "Walang napiling file",
|
"no_file_chosen": "Walang napiling file",
|
||||||
"error": "Error",
|
"error": "Error",
|
||||||
"vote": "bumoto"
|
"vote": "bumoto",
|
||||||
|
"warning": "Babala"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "téléchargement...",
|
"uploading": "téléchargement...",
|
||||||
"no_file_chosen": "Aucun fichier choisi",
|
"no_file_chosen": "Aucun fichier choisi",
|
||||||
"error": "Erreur",
|
"error": "Erreur",
|
||||||
"vote": "vote"
|
"vote": "vote",
|
||||||
|
"warning": "Avertissement"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "מעלה...",
|
"uploading": "מעלה...",
|
||||||
"no_file_chosen": "לא נבחר קובץ",
|
"no_file_chosen": "לא נבחר קובץ",
|
||||||
"error": "שגיאה",
|
"error": "שגיאה",
|
||||||
"vote": "הצבעה"
|
"vote": "הצבעה",
|
||||||
|
"warning": "אזהרה"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "अपलोड हो रहा है...",
|
"uploading": "अपलोड हो रहा है...",
|
||||||
"no_file_chosen": "कोई फ़ाइल नहीं चुनी गई",
|
"no_file_chosen": "कोई फ़ाइल नहीं चुनी गई",
|
||||||
"error": "त्रुटि",
|
"error": "त्रुटि",
|
||||||
"vote": "मत डालें"
|
"vote": "मत डालें",
|
||||||
|
"warning": "चेतावनी"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "feltöltés...",
|
"uploading": "feltöltés...",
|
||||||
"no_file_chosen": "Nincs fájl kiválasztva",
|
"no_file_chosen": "Nincs fájl kiválasztva",
|
||||||
"error": "Hiba",
|
"error": "Hiba",
|
||||||
"vote": "szavazás"
|
"vote": "szavazás",
|
||||||
|
"warning": "Figyelmeztetés"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "mengupload...",
|
"uploading": "mengupload...",
|
||||||
"no_file_chosen": "Tidak ada file yang dipilih",
|
"no_file_chosen": "Tidak ada file yang dipilih",
|
||||||
"error": "Kesalahan",
|
"error": "Kesalahan",
|
||||||
"vote": "suara"
|
"vote": "suara",
|
||||||
|
"warning": "Peringatan"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "caricamento...",
|
"uploading": "caricamento...",
|
||||||
"no_file_chosen": "Nessun file scelto",
|
"no_file_chosen": "Nessun file scelto",
|
||||||
"error": "Errore",
|
"error": "Errore",
|
||||||
"vote": "vota"
|
"vote": "vota",
|
||||||
|
"warning": "Avviso"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "アップロード中...",
|
"uploading": "アップロード中...",
|
||||||
"no_file_chosen": "ファイルが選択されていません",
|
"no_file_chosen": "ファイルが選択されていません",
|
||||||
"error": "エラー",
|
"error": "エラー",
|
||||||
"vote": "投票"
|
"vote": "投票",
|
||||||
|
"warning": "警告"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "업로드 중...",
|
"uploading": "업로드 중...",
|
||||||
"no_file_chosen": "선택된 파일이 없습니다",
|
"no_file_chosen": "선택된 파일이 없습니다",
|
||||||
"error": "오류",
|
"error": "오류",
|
||||||
"vote": "투표"
|
"vote": "투표",
|
||||||
|
"warning": "경고"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "अपलोड करत आहे...",
|
"uploading": "अपलोड करत आहे...",
|
||||||
"no_file_chosen": "कोणताही फाइल निवडलेली नाही",
|
"no_file_chosen": "कोणताही फाइल निवडलेली नाही",
|
||||||
"error": "त्रुटी",
|
"error": "त्रुटी",
|
||||||
"vote": "मत"
|
"vote": "मत",
|
||||||
|
"warning": "चेतावणी"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "uploaden...",
|
"uploading": "uploaden...",
|
||||||
"no_file_chosen": "Geen bestand gekozen",
|
"no_file_chosen": "Geen bestand gekozen",
|
||||||
"error": "Fout",
|
"error": "Fout",
|
||||||
"vote": "stem"
|
"vote": "stem",
|
||||||
|
"warning": "Waarschuwing"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "laster opp...",
|
"uploading": "laster opp...",
|
||||||
"no_file_chosen": "Ingen fil valgt",
|
"no_file_chosen": "Ingen fil valgt",
|
||||||
"error": "Feil",
|
"error": "Feil",
|
||||||
"vote": "stemme"
|
"vote": "stemme",
|
||||||
|
"warning": "Advarsel"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "ładowanie...",
|
"uploading": "ładowanie...",
|
||||||
"no_file_chosen": "Nie wybrano żadnego pliku",
|
"no_file_chosen": "Nie wybrano żadnego pliku",
|
||||||
"error": "Błąd",
|
"error": "Błąd",
|
||||||
"vote": "głos"
|
"vote": "głos",
|
||||||
|
"warning": "Ostrzeżenie"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "carregando...",
|
"uploading": "carregando...",
|
||||||
"no_file_chosen": "Nenhum arquivo escolhido",
|
"no_file_chosen": "Nenhum arquivo escolhido",
|
||||||
"error": "Erro",
|
"error": "Erro",
|
||||||
"vote": "voto"
|
"vote": "voto",
|
||||||
|
"warning": "Aviso"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "încărcare...",
|
"uploading": "încărcare...",
|
||||||
"no_file_chosen": "Niciun fișier ales",
|
"no_file_chosen": "Niciun fișier ales",
|
||||||
"error": "Eroare",
|
"error": "Eroare",
|
||||||
"vote": "vot"
|
"vote": "vot",
|
||||||
|
"warning": "Avertisment"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "загрузка...",
|
"uploading": "загрузка...",
|
||||||
"no_file_chosen": "Файл не выбран",
|
"no_file_chosen": "Файл не выбран",
|
||||||
"error": "Ошибка",
|
"error": "Ошибка",
|
||||||
"vote": "голосовать"
|
"vote": "голосовать",
|
||||||
|
"warning": "Предупреждение"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "duke ngarkuar...",
|
"uploading": "duke ngarkuar...",
|
||||||
"no_file_chosen": "Nuk është zgjedhur asnjë skedar",
|
"no_file_chosen": "Nuk është zgjedhur asnjë skedar",
|
||||||
"error": "Gabim",
|
"error": "Gabim",
|
||||||
"vote": "votim"
|
"vote": "votim",
|
||||||
|
"warning": "Kujdes"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "laddar upp...",
|
"uploading": "laddar upp...",
|
||||||
"no_file_chosen": "Ingen fil vald",
|
"no_file_chosen": "Ingen fil vald",
|
||||||
"error": "Fel",
|
"error": "Fel",
|
||||||
"vote": "rösta"
|
"vote": "rösta",
|
||||||
|
"warning": "Varning"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "అప్లోడ్ అవుతోంది...",
|
"uploading": "అప్లోడ్ అవుతోంది...",
|
||||||
"no_file_chosen": "ఎటువంటి ఫైల్ ఎంపిక చేయబడలేదు",
|
"no_file_chosen": "ఎటువంటి ఫైల్ ఎంపిక చేయబడలేదు",
|
||||||
"error": "దోషం",
|
"error": "దోషం",
|
||||||
"vote": "ఐదు"
|
"vote": "ఐదు",
|
||||||
|
"warning": "హెచ్చరిక"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "กำลังอัปโหลด...",
|
"uploading": "กำลังอัปโหลด...",
|
||||||
"no_file_chosen": "ไม่มีไฟล์ที่เลือก",
|
"no_file_chosen": "ไม่มีไฟล์ที่เลือก",
|
||||||
"error": "ข้อผิดพลาด",
|
"error": "ข้อผิดพลาด",
|
||||||
"vote": "โหวต"
|
"vote": "โหวต",
|
||||||
|
"warning": "คำเตือน"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "yükleniyor...",
|
"uploading": "yükleniyor...",
|
||||||
"no_file_chosen": "Hiçbir dosya seçilmedi",
|
"no_file_chosen": "Hiçbir dosya seçilmedi",
|
||||||
"error": "Hata",
|
"error": "Hata",
|
||||||
"vote": "oy"
|
"vote": "oy",
|
||||||
|
"warning": "Uyarı"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "завантаження...",
|
"uploading": "завантаження...",
|
||||||
"no_file_chosen": "Не вибрано жодного файлу",
|
"no_file_chosen": "Не вибрано жодного файлу",
|
||||||
"error": "Помилка",
|
"error": "Помилка",
|
||||||
"vote": "голос"
|
"vote": "голос",
|
||||||
|
"warning": "Попередження"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "اپ لوڈ ہو رہا ہے...",
|
"uploading": "اپ لوڈ ہو رہا ہے...",
|
||||||
"no_file_chosen": "کوئی فائل منتخب نہیں کی گئی",
|
"no_file_chosen": "کوئی فائل منتخب نہیں کی گئی",
|
||||||
"error": "غلطی",
|
"error": "غلطی",
|
||||||
"vote": "ووٹ"
|
"vote": "ووٹ",
|
||||||
|
"warning": "چیتاونی"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "đang tải lên...",
|
"uploading": "đang tải lên...",
|
||||||
"no_file_chosen": "Không có tệp nào được chọn",
|
"no_file_chosen": "Không có tệp nào được chọn",
|
||||||
"error": "Lỗi",
|
"error": "Lỗi",
|
||||||
"vote": "bỏ phiếu"
|
"vote": "bỏ phiếu",
|
||||||
|
"warning": "Cảnh báo"
|
||||||
}
|
}
|
||||||
@@ -261,5 +261,6 @@
|
|||||||
"uploading": "正在上传...",
|
"uploading": "正在上传...",
|
||||||
"no_file_chosen": "未选择任何文件",
|
"no_file_chosen": "未选择任何文件",
|
||||||
"error": "错误",
|
"error": "错误",
|
||||||
"vote": "投票"
|
"vote": "投票",
|
||||||
|
"warning": "警告"
|
||||||
}
|
}
|
||||||
@@ -150,7 +150,7 @@ const ReplyModal = ({ closeModal, showReplyModal, parentCid, postCid, scrollY, s
|
|||||||
const offlineAlert = updatedAt
|
const offlineAlert = updatedAt
|
||||||
? isBoardOffline && (
|
? isBoardOffline && (
|
||||||
<div className={styles.offlineBoard}>
|
<div className={styles.offlineBoard}>
|
||||||
<Trans i18nKey='posts_last_synced_info' values={{ time: getFormattedTimeAgo(updatedAt) }} />
|
{t('warning')}: <Trans i18nKey='posts_last_synced_info' values={{ time: getFormattedTimeAgo(updatedAt) }} />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
: t('subplebbit_offline_info');
|
: t('subplebbit_offline_info');
|
||||||
@@ -291,8 +291,6 @@ const ReplyModal = ({ closeModal, showReplyModal, parentCid, postCid, scrollY, s
|
|||||||
<div className={styles.content}>
|
<div className={styles.content}>
|
||||||
<textarea cols={48} rows={4} wrap='soft' ref={textRef} spellCheck={true} onInput={handleContentInput} onChange={handleContentChange} />
|
<textarea cols={48} rows={4} wrap='soft' ref={textRef} spellCheck={true} onInput={handleContentInput} onChange={handleContentChange} />
|
||||||
</div>
|
</div>
|
||||||
{!(isInAllView || isInSubscriptionsView) && offlineAlert}
|
|
||||||
<div className={styles.offlineAlert}></div>
|
|
||||||
<div className={styles.footer}>
|
<div className={styles.footer}>
|
||||||
{url && !isAndroid && (
|
{url && !isAndroid && (
|
||||||
<>
|
<>
|
||||||
@@ -328,6 +326,7 @@ const ReplyModal = ({ closeModal, showReplyModal, parentCid, postCid, scrollY, s
|
|||||||
{t('error')}: {error}
|
{t('error')}: {error}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
{!(isInAllView || isInSubscriptionsView) && offlineAlert}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user