style(reply modal): adjust error/alert red box, add translation

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