From c31c0a4482943be76d2c372fcb919a64153da521 Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Thu, 16 May 2024 10:03:32 +0200 Subject: [PATCH] feat(account settings): improve UI --- public/translations/ar/default.json | 3 ++- public/translations/bn/default.json | 5 +++-- public/translations/cs/default.json | 5 +++-- public/translations/da/default.json | 5 +++-- public/translations/de/default.json | 5 +++-- public/translations/el/default.json | 5 +++-- public/translations/en/default.json | 5 +++-- public/translations/es/default.json | 5 +++-- public/translations/fa/default.json | 3 ++- public/translations/fi/default.json | 5 +++-- public/translations/fil/default.json | 5 +++-- public/translations/fr/default.json | 5 +++-- public/translations/he/default.json | 3 ++- public/translations/hi/default.json | 3 ++- public/translations/hu/default.json | 5 +++-- public/translations/id/default.json | 5 +++-- public/translations/it/default.json | 5 +++-- public/translations/ja/default.json | 3 ++- public/translations/ko/default.json | 5 +++-- public/translations/mr/default.json | 3 ++- public/translations/nl/default.json | 5 +++-- public/translations/no/default.json | 5 +++-- public/translations/pl/default.json | 5 +++-- public/translations/pt/default.json | 5 +++-- public/translations/ro/default.json | 5 +++-- public/translations/ru/default.json | 5 +++-- public/translations/sq/default.json | 5 +++-- public/translations/sv/default.json | 5 +++-- public/translations/te/default.json | 3 ++- public/translations/th/default.json | 3 ++- public/translations/tr/default.json | 5 +++-- public/translations/uk/default.json | 5 +++-- public/translations/ur/default.json | 5 +++-- public/translations/vi/default.json | 5 +++-- public/translations/zh/default.json | 5 +++-- .../account-settings/account-settings.module.css | 4 +++- .../account-settings/account-settings.tsx | 15 +++++---------- 37 files changed, 105 insertions(+), 73 deletions(-) diff --git a/public/translations/ar/default.json b/public/translations/ar/default.json index 0fe67a69..e17b2b38 100644 --- a/public/translations/ar/default.json +++ b/public/translations/ar/default.json @@ -113,5 +113,6 @@ "export": "تصدير", "full_account_data": "بيانات الحساب الكاملة", "this_account": "هذا الحساب", - "delete": "حذف" + "delete": "حذف", + "delete_account": "حذف الحساب" } \ No newline at end of file diff --git a/public/translations/bn/default.json b/public/translations/bn/default.json index 100af10a..9fd4eb5e 100644 --- a/public/translations/bn/default.json +++ b/public/translations/bn/default.json @@ -75,7 +75,7 @@ "projects": "প্রকল্পসমূহ", "challenge_counter": "{{index}} থেকে {{total}}", "embed": "এম্বেড", - "remove": "মুছে ফেলুন", + "remove": "অপসারণ", "download_latest_desktop": "সর্বশেষ ডেস্কটপ সংস্করণ এখানে ডাউনলোড করুন: {{link}}", "new_stable_version": "নতুন স্থিতিশীল সংস্করণ উপলব্ধ, plebchan v{{newVersion}}। আপনি plebchan v{{oldVersion}} ব্যবহার করছেন।", "refresh_to_update": "আপডেট করতে পৃষ্ঠাটি রিফ্রেশ করুন", @@ -113,5 +113,6 @@ "export": "রপ্তানি", "full_account_data": "সম্পূর্ণ অ্যাকাউন্ট ডেটা", "this_account": "এই অ্যাকাউন্ট", - "delete": "মুছে ফেলা" + "delete": "মুছে ফেলা", + "delete_account": "অ্যাকাউন্ট মুছুন" } \ No newline at end of file diff --git a/public/translations/cs/default.json b/public/translations/cs/default.json index 28466edd..5a5e327a 100644 --- a/public/translations/cs/default.json +++ b/public/translations/cs/default.json @@ -75,7 +75,7 @@ "projects": "projekty", "challenge_counter": "{{index}} z {{total}}", "embed": "vložit", - "remove": "Odebrat", + "remove": "odstranit", "download_latest_desktop": "Stáhněte si nejnovější verzi pro stolní počítače zde: {{link}}", "new_stable_version": "Nová stabilní verze k dispozici, plebchan v{{newVersion}}. Používáte plebchan v{{oldVersion}}.", "refresh_to_update": "Obnovte stránku pro aktualizaci", @@ -113,5 +113,6 @@ "export": "export", "full_account_data": "plná účetní data", "this_account": "tento účet", - "delete": "smazat" + "delete": "smazat", + "delete_account": "smazat účet" } \ No newline at end of file diff --git a/public/translations/da/default.json b/public/translations/da/default.json index 99ef4cc3..510487b2 100644 --- a/public/translations/da/default.json +++ b/public/translations/da/default.json @@ -75,7 +75,7 @@ "projects": "projekter", "challenge_counter": "{{index}} af {{total}}", "embed": "integrer", - "remove": "Fjern", + "remove": "fjern", "download_latest_desktop": "Download den seneste version til skrivebordet her: {{link}}", "new_stable_version": "Ny stabil version tilgængelig, plebchan v{{newVersion}}. Du bruger plebchan v{{oldVersion}}.", "refresh_to_update": "Opdater siden for at opdatere", @@ -113,5 +113,6 @@ "export": "eksportér", "full_account_data": "fulde kontodata", "this_account": "denne konto", - "delete": "slet" + "delete": "slet", + "delete_account": "slet konto" } \ No newline at end of file diff --git a/public/translations/de/default.json b/public/translations/de/default.json index 62d2c0b4..fae9e240 100644 --- a/public/translations/de/default.json +++ b/public/translations/de/default.json @@ -75,7 +75,7 @@ "projects": "Projekte", "challenge_counter": "{{index}} von {{total}}", "embed": "einbetten", - "remove": "Entfernen", + "remove": "entfernen", "download_latest_desktop": "Laden Sie hier die neueste Desktop-Version herunter: {{link}}", "new_stable_version": "Neue stabile Version verfügbar, plebchan v{{newVersion}}. Du verwendest plebchan v{{oldVersion}}.", "refresh_to_update": "Aktualisieren Sie die Seite, um zu aktualisieren", @@ -113,5 +113,6 @@ "export": "exportiere", "full_account_data": "vollständige Kontodaten", "this_account": "dieses Konto", - "delete": "löschen" + "delete": "löschen", + "delete_account": "Konto löschen" } \ No newline at end of file diff --git a/public/translations/el/default.json b/public/translations/el/default.json index 6f217ea4..90201afd 100644 --- a/public/translations/el/default.json +++ b/public/translations/el/default.json @@ -75,7 +75,7 @@ "projects": "έργα", "challenge_counter": "{{index}} από {{total}}", "embed": "ενσωμάτωση", - "remove": "Αφαίρεση", + "remove": "αφαίρεση", "download_latest_desktop": "Κατεβάστε την πιο πρόσφατη έκδοση για επιτραπέζιο υπολογιστή εδώ: {{link}}", "new_stable_version": "Νέα σταθερή έκδοση διαθέσιμη, plebchan v{{newVersion}}. Χρησιμοποιείτε plebchan v{{oldVersion}}.", "refresh_to_update": "Ανανεώστε τη σελίδα για να ενημερωθεί", @@ -113,5 +113,6 @@ "export": "εξαγωγή", "full_account_data": "πλήρα δεδομένα λογαριασμού", "this_account": "αυτός ο λογαριασμός", - "delete": "διαγραφή" + "delete": "διαγραφή", + "delete_account": "διαγραφή λογαριασμού" } \ No newline at end of file diff --git a/public/translations/en/default.json b/public/translations/en/default.json index 9dee3366..0d9286b2 100644 --- a/public/translations/en/default.json +++ b/public/translations/en/default.json @@ -75,7 +75,7 @@ "projects": "projects", "challenge_counter": "{{index}} of {{total}}", "embed": "embed", - "remove": "Remove", + "remove": "remove", "download_latest_desktop": "Download the latest desktop version here: {{link}}", "new_stable_version": "New stable version available, plebchan v{{newVersion}}. You are using plebchan v{{oldVersion}}.", "refresh_to_update": "Refresh the page to update", @@ -113,5 +113,6 @@ "export": "export", "full_account_data": "full account data", "this_account": "this account", - "delete": "delete" + "delete": "delete", + "delete_account": "delete account" } \ No newline at end of file diff --git a/public/translations/es/default.json b/public/translations/es/default.json index eff6a6e7..0cffdf85 100644 --- a/public/translations/es/default.json +++ b/public/translations/es/default.json @@ -75,7 +75,7 @@ "projects": "proyectos", "challenge_counter": "{{index}} de {{total}}", "embed": "incrustar", - "remove": "Eliminar", + "remove": "eliminar", "download_latest_desktop": "Descarga la última versión de escritorio aquí: {{link}}", "new_stable_version": "Nueva versión estable disponible, plebchan v{{newVersion}}. Estás usando plebchan v{{oldVersion}}.", "refresh_to_update": "Actualiza la página para actualizar", @@ -113,5 +113,6 @@ "export": "exportar", "full_account_data": "datos completos de la cuenta", "this_account": "esta cuenta", - "delete": "eliminar" + "delete": "eliminar", + "delete_account": "eliminar cuenta" } \ No newline at end of file diff --git a/public/translations/fa/default.json b/public/translations/fa/default.json index ce63e771..8624e9c2 100644 --- a/public/translations/fa/default.json +++ b/public/translations/fa/default.json @@ -113,5 +113,6 @@ "export": "صدور", "full_account_data": "داده حساب کامل", "this_account": "این حساب", - "delete": "حذف کنید" + "delete": "حذف کنید", + "delete_account": "حذف حساب" } \ No newline at end of file diff --git a/public/translations/fi/default.json b/public/translations/fi/default.json index c90996b6..dfd98cb2 100644 --- a/public/translations/fi/default.json +++ b/public/translations/fi/default.json @@ -75,7 +75,7 @@ "projects": "projektit", "challenge_counter": "{{index}} / {{total}}", "embed": "upota", - "remove": "Poista", + "remove": "poista", "download_latest_desktop": "Lataa uusin työpöytäversio täältä: {{link}}", "new_stable_version": "Uusi vakaa versio saatavilla, plebchan v{{newVersion}}. Käytät plebchan v{{oldVersion}}.", "refresh_to_update": "Päivitä sivu päivittääksesi", @@ -113,5 +113,6 @@ "export": "vie", "full_account_data": "täydelliset tilitiedot", "this_account": "tämä tili", - "delete": "poista" + "delete": "poista", + "delete_account": "poista tili" } \ No newline at end of file diff --git a/public/translations/fil/default.json b/public/translations/fil/default.json index b0463102..803fbf0c 100644 --- a/public/translations/fil/default.json +++ b/public/translations/fil/default.json @@ -75,7 +75,7 @@ "projects": "mga proyekto", "challenge_counter": "{{index}} ng {{total}}", "embed": "i-embed", - "remove": "Alisin", + "remove": "alisin", "download_latest_desktop": "I-download ang pinakabagong bersyon ng desktop dito: {{link}}", "new_stable_version": "Bagong stable na bersyon na magagamit, plebchan v{{newVersion}}. Ginagamit mo ang plebchan v{{oldVersion}}.", "refresh_to_update": "I-refresh ang pahina upang i-update", @@ -113,5 +113,6 @@ "export": "i-export", "full_account_data": "buong account data", "this_account": "ang account na ito", - "delete": "burahin" + "delete": "burahin", + "delete_account": "tanggalin ang account" } \ No newline at end of file diff --git a/public/translations/fr/default.json b/public/translations/fr/default.json index 277dd0a7..f4309bde 100644 --- a/public/translations/fr/default.json +++ b/public/translations/fr/default.json @@ -75,7 +75,7 @@ "projects": "projets", "challenge_counter": "{{index}} sur {{total}}", "embed": "intégrer", - "remove": "Retirer", + "remove": "supprimer", "download_latest_desktop": "Téléchargez la dernière version de bureau ici : {{link}}", "new_stable_version": "Nouvelle version stable disponible, plebchan v{{newVersion}}. Vous utilisez plebchan v{{oldVersion}}.", "refresh_to_update": "Actualisez la page pour mettre à jour", @@ -113,5 +113,6 @@ "export": "exporter", "full_account_data": "données complètes du compte", "this_account": "ce compte", - "delete": "supprimer" + "delete": "supprimer", + "delete_account": "supprimer le compte" } \ No newline at end of file diff --git a/public/translations/he/default.json b/public/translations/he/default.json index 6ea38a41..5fe43caf 100644 --- a/public/translations/he/default.json +++ b/public/translations/he/default.json @@ -113,5 +113,6 @@ "export": "יצוא", "full_account_data": "נתוני החשבון המלאים", "this_account": "החשבון הזה", - "delete": "מחק" + "delete": "מחק", + "delete_account": "מחק חשבון" } \ No newline at end of file diff --git a/public/translations/hi/default.json b/public/translations/hi/default.json index 682867a5..05b023c9 100644 --- a/public/translations/hi/default.json +++ b/public/translations/hi/default.json @@ -113,5 +113,6 @@ "export": "निर्यात", "full_account_data": "पूरे खाते का डेटा", "this_account": "इस खाता", - "delete": "हटाएँ" + "delete": "हटाएँ", + "delete_account": "खाता हटाएं" } \ No newline at end of file diff --git a/public/translations/hu/default.json b/public/translations/hu/default.json index 6f3d07a3..05cec2a8 100644 --- a/public/translations/hu/default.json +++ b/public/translations/hu/default.json @@ -75,7 +75,7 @@ "projects": "projektek", "challenge_counter": "{{index}} a(z) {{total}}-ból/ből", "embed": "beágyaz", - "remove": "Eltávolítás", + "remove": "eltávolít", "download_latest_desktop": "Töltsd le a legújabb asztali verziót itt: {{link}}", "new_stable_version": "Új stabil verzió elérhető, plebchan v{{newVersion}}. A plebchan v{{oldVersion}}-t használod.", "refresh_to_update": "Frissítse az oldalt az frissítéshez", @@ -113,5 +113,6 @@ "export": "exportálás", "full_account_data": "teljes fiókadata", "this_account": "ez a fiók", - "delete": "töröl" + "delete": "töröl", + "delete_account": "fiók törlése" } \ No newline at end of file diff --git a/public/translations/id/default.json b/public/translations/id/default.json index eb863d36..37ee9bc8 100644 --- a/public/translations/id/default.json +++ b/public/translations/id/default.json @@ -75,7 +75,7 @@ "projects": "proyek", "challenge_counter": "{{index}} dari {{total}}", "embed": "sematkan", - "remove": "Hapus", + "remove": "hapus", "download_latest_desktop": "Unduh versi desktop terbaru di sini: {{link}}", "new_stable_version": "Versi stabil baru tersedia, plebchan v{{newVersion}}. Anda menggunakan plebchan v{{oldVersion}}.", "refresh_to_update": "Segarkan halaman untuk memperbarui", @@ -113,5 +113,6 @@ "export": "ekspor", "full_account_data": "data akun lengkap", "this_account": "akun ini", - "delete": "hapus" + "delete": "hapus", + "delete_account": "hapus akun" } \ No newline at end of file diff --git a/public/translations/it/default.json b/public/translations/it/default.json index ad45064b..89e8f924 100644 --- a/public/translations/it/default.json +++ b/public/translations/it/default.json @@ -75,7 +75,7 @@ "projects": "progetti", "challenge_counter": "{{index}} di {{total}}", "embed": "incorpora", - "remove": "Rimuovi", + "remove": "rimuovi", "download_latest_desktop": "Scarica l'ultima versione desktop qui: {{link}}", "new_stable_version": "Nuova versione stabile disponibile, plebchan v{{newVersion}}. Stai utilizzando plebchan v{{oldVersion}}.", "refresh_to_update": "Ricarica la pagina per aggiornare", @@ -113,5 +113,6 @@ "export": "esporta", "full_account_data": "i dati completi dell'account", "this_account": "questo account", - "delete": "elimina" + "delete": "elimina", + "delete_account": "elimina account" } \ No newline at end of file diff --git a/public/translations/ja/default.json b/public/translations/ja/default.json index 5ec15a0f..6d8609ce 100644 --- a/public/translations/ja/default.json +++ b/public/translations/ja/default.json @@ -113,5 +113,6 @@ "export": "エクスポート", "full_account_data": "フルアカウントデータ", "this_account": "このアカウント", - "delete": "削除" + "delete": "削除", + "delete_account": "アカウントを削除" } \ No newline at end of file diff --git a/public/translations/ko/default.json b/public/translations/ko/default.json index 9bc7ef73..0a5f39e9 100644 --- a/public/translations/ko/default.json +++ b/public/translations/ko/default.json @@ -75,7 +75,7 @@ "projects": "프로젝트", "challenge_counter": "{{index}} 중 {{total}}", "embed": "임베드", - "remove": "삭제", + "remove": "제거", "download_latest_desktop": "최신 데스크톱 버전을 여기에서 다운로드하세요: {{link}}", "new_stable_version": "새로운 안정 버전이 사용 가능합니다, plebchan v{{newVersion}}. plebchan v{{oldVersion}}을(를) 사용 중입니다.", "refresh_to_update": "업데이트를 위해 페이지를 새로 고칩니다", @@ -113,5 +113,6 @@ "export": "내보내기", "full_account_data": "전체 계정 데이터", "this_account": "이 계정", - "delete": "삭제" + "delete": "삭제", + "delete_account": "계정 삭제" } \ No newline at end of file diff --git a/public/translations/mr/default.json b/public/translations/mr/default.json index a80b62d0..42998131 100644 --- a/public/translations/mr/default.json +++ b/public/translations/mr/default.json @@ -113,5 +113,6 @@ "export": "निर्यात करा", "full_account_data": "पूर्ण खाते डेटा", "this_account": "हे खाते", - "delete": "काढा" + "delete": "काढा", + "delete_account": "खाते हटवा" } \ No newline at end of file diff --git a/public/translations/nl/default.json b/public/translations/nl/default.json index 9cd71762..c42a9bb9 100644 --- a/public/translations/nl/default.json +++ b/public/translations/nl/default.json @@ -75,7 +75,7 @@ "projects": "projecten", "challenge_counter": "{{index}} van {{total}}", "embed": "insluiten", - "remove": "Verwijderen", + "remove": "verwijderen", "download_latest_desktop": "Download de nieuwste desktopversie hier: {{link}}", "new_stable_version": "Nieuwe stabiele versie beschikbaar, plebchan v{{newVersion}}. Je gebruikt plebchan v{{oldVersion}}.", "refresh_to_update": "Vernieuw de pagina om bij te werken", @@ -113,5 +113,6 @@ "export": "exporteer", "full_account_data": "volledige accountgegevens", "this_account": "dit account", - "delete": "verwijderen" + "delete": "verwijderen", + "delete_account": "account verwijderen" } \ No newline at end of file diff --git a/public/translations/no/default.json b/public/translations/no/default.json index 202d74f7..fb4be48a 100644 --- a/public/translations/no/default.json +++ b/public/translations/no/default.json @@ -75,7 +75,7 @@ "projects": "prosjekter", "challenge_counter": "{{index}} av {{total}}", "embed": "bygg inn", - "remove": "Fjern", + "remove": "fjern", "download_latest_desktop": "Last ned den nyeste skrivebordsversjonen her: {{link}}", "new_stable_version": "Ny stabil versjon tilgjengelig, plebchan v{{newVersion}}. Du bruker plebchan v{{oldVersion}}.", "refresh_to_update": "Oppdater siden for å oppdatere", @@ -113,5 +113,6 @@ "export": "eksporter", "full_account_data": "full kontodata", "this_account": "denne kontoen", - "delete": "slett" + "delete": "slett", + "delete_account": "slett konto" } \ No newline at end of file diff --git a/public/translations/pl/default.json b/public/translations/pl/default.json index 34d19374..0f057f7c 100644 --- a/public/translations/pl/default.json +++ b/public/translations/pl/default.json @@ -75,7 +75,7 @@ "projects": "projekty", "challenge_counter": "{{index}} z {{total}}", "embed": "osadź", - "remove": "Usuń", + "remove": "usuń", "download_latest_desktop": "Pobierz najnowszą wersję na pulpit tutaj: {{link}}", "new_stable_version": "Nowa stabilna wersja dostępna, plebchan v{{newVersion}}. Używasz plebchan v{{oldVersion}}.", "refresh_to_update": "Odśwież stronę, aby zaktualizować", @@ -113,5 +113,6 @@ "export": "eksportuj", "full_account_data": "pełne dane konta", "this_account": "ten rachunek", - "delete": "usuń" + "delete": "usuń", + "delete_account": "usuń konto" } \ No newline at end of file diff --git a/public/translations/pt/default.json b/public/translations/pt/default.json index 0ca09004..91081d74 100644 --- a/public/translations/pt/default.json +++ b/public/translations/pt/default.json @@ -75,7 +75,7 @@ "projects": "projetos", "challenge_counter": "{{index}} de {{total}}", "embed": "embutir", - "remove": "Remover", + "remove": "remover", "download_latest_desktop": "Baixe a versão mais recente para desktop aqui: {{link}}", "new_stable_version": "Nova versão estável disponível, plebchan v{{newVersion}}. Você está usando plebchan v{{oldVersion}}.", "refresh_to_update": "Atualize a página para atualizar", @@ -113,5 +113,6 @@ "export": "exportar", "full_account_data": "dados completos da conta", "this_account": "esta conta", - "delete": "apagar" + "delete": "apagar", + "delete_account": "excluir conta" } \ No newline at end of file diff --git a/public/translations/ro/default.json b/public/translations/ro/default.json index fdce3f55..3f902a09 100644 --- a/public/translations/ro/default.json +++ b/public/translations/ro/default.json @@ -75,7 +75,7 @@ "projects": "proiecte", "challenge_counter": "{{index}} din {{total}}", "embed": "încorpora", - "remove": "Elimină", + "remove": "elimina", "download_latest_desktop": "Descărcați cea mai recentă versiune de desktop aici: {{link}}", "new_stable_version": "Noua versiune stabilă disponibilă, plebchan v{{newVersion}}. Folosiți plebchan v{{oldVersion}}.", "refresh_to_update": "Actualizați pagina pentru a actualiza", @@ -113,5 +113,6 @@ "export": "exportați", "full_account_data": "date complete ale contului", "this_account": "acest cont", - "delete": "ștergeți" + "delete": "ștergeți", + "delete_account": "șterge contul" } \ No newline at end of file diff --git a/public/translations/ru/default.json b/public/translations/ru/default.json index b6321ff4..8b9b168f 100644 --- a/public/translations/ru/default.json +++ b/public/translations/ru/default.json @@ -75,7 +75,7 @@ "projects": "проекты", "challenge_counter": "{{index}} из {{total}}", "embed": "встроить", - "remove": "Удалить", + "remove": "удалить", "download_latest_desktop": "Скачать последнюю версию для рабочего стола здесь: {{link}}", "new_stable_version": "Доступна новая стабильная версия, plebchan v{{newVersion}}. Вы используете plebchan v{{oldVersion}}.", "refresh_to_update": "Обновите страницу, чтобы обновить", @@ -113,5 +113,6 @@ "export": "экспортировать", "full_account_data": "полные данные аккаунта", "this_account": "этот аккаунт", - "delete": "удалить" + "delete": "удалить", + "delete_account": "удалить аккаунт" } \ No newline at end of file diff --git a/public/translations/sq/default.json b/public/translations/sq/default.json index f2d1d25b..29c84fa8 100644 --- a/public/translations/sq/default.json +++ b/public/translations/sq/default.json @@ -75,7 +75,7 @@ "projects": "projekte", "challenge_counter": "{{index}} nga {{total}}", "embed": "integro", - "remove": "Hiqni", + "remove": "hiq", "download_latest_desktop": "Shkarko versionin më të ri të desktopit këtu: {{link}}", "new_stable_version": "Version i ri i qëndrueshëm është në dispozicion, plebchan v{{newVersion}}. Ju po përdorni plebchan v{{oldVersion}}.", "refresh_to_update": "Rifresko faqen për të rifreskuar", @@ -113,5 +113,6 @@ "export": "eksport", "full_account_data": "të dhënat e plotë të llogarisë", "this_account": "kjo llogaria", - "delete": "fshij" + "delete": "fshij", + "delete_account": "fshi llogarinë" } \ No newline at end of file diff --git a/public/translations/sv/default.json b/public/translations/sv/default.json index 7f483b77..173a4cbf 100644 --- a/public/translations/sv/default.json +++ b/public/translations/sv/default.json @@ -75,7 +75,7 @@ "projects": "projekt", "challenge_counter": "{{index}} av {{total}}", "embed": "bädda in", - "remove": "Ta bort", + "remove": "ta bort", "download_latest_desktop": "Ladda ner den senaste skrivbordsversionen här: {{link}}", "new_stable_version": "Ny stabil version tillgänglig, plebchan v{{newVersion}}. Du använder plebchan v{{oldVersion}}.", "refresh_to_update": "Uppdatera sidan för att uppdatera", @@ -113,5 +113,6 @@ "export": "exportera", "full_account_data": "fullständig kontodata", "this_account": "detta konto", - "delete": "ta bort" + "delete": "ta bort", + "delete_account": "ta bort konto" } \ No newline at end of file diff --git a/public/translations/te/default.json b/public/translations/te/default.json index ae724627..30c4a916 100644 --- a/public/translations/te/default.json +++ b/public/translations/te/default.json @@ -113,5 +113,6 @@ "export": "ఎగుమతి", "full_account_data": "పూర్తి ఖాతా డేటా", "this_account": "ఈ ఖాతా", - "delete": "తొలగించండి" + "delete": "తొలగించండి", + "delete_account": "ఖాతాను తొలగించు" } \ No newline at end of file diff --git a/public/translations/th/default.json b/public/translations/th/default.json index 69104174..e476b6ab 100644 --- a/public/translations/th/default.json +++ b/public/translations/th/default.json @@ -113,5 +113,6 @@ "export": "ส่งออก", "full_account_data": "ข้อมูลบัญชีเต็มรูปแบบ", "this_account": "บัญชีนี้", - "delete": "ลบ" + "delete": "ลบ", + "delete_account": "ลบบัญชี" } \ No newline at end of file diff --git a/public/translations/tr/default.json b/public/translations/tr/default.json index 6f67c2f5..d79930b2 100644 --- a/public/translations/tr/default.json +++ b/public/translations/tr/default.json @@ -75,7 +75,7 @@ "projects": "projeler", "challenge_counter": "{{index}} / {{total}}", "embed": "göm", - "remove": "Kaldır", + "remove": "kaldır", "download_latest_desktop": "Son masaüstü sürümünü buradan indirin: {{link}}", "new_stable_version": "Yeni stabil sürüm kullanılabilir, plebchan v{{newVersion}}. plebchan v{{oldVersion}} kullanıyorsunuz.", "refresh_to_update": "Güncellemek için sayfayı yenileyin", @@ -113,5 +113,6 @@ "export": "dışa aktar", "full_account_data": "tam hesap verisi", "this_account": "bu hesap", - "delete": "sil" + "delete": "sil", + "delete_account": "hesabı sil" } \ No newline at end of file diff --git a/public/translations/uk/default.json b/public/translations/uk/default.json index ca17a7d3..28aa305c 100644 --- a/public/translations/uk/default.json +++ b/public/translations/uk/default.json @@ -75,7 +75,7 @@ "projects": "проекти", "challenge_counter": "{{index}} з {{total}}", "embed": "вбудувати", - "remove": "Видалити", + "remove": "видалити", "download_latest_desktop": "Завантажте останню версію для робочого столу тут: {{link}}", "new_stable_version": "Нова стабільна версія доступна, plebchan v{{newVersion}}. Ви використовуєте plebchan v{{oldVersion}}.", "refresh_to_update": "Оновіть сторінку, щоб оновити", @@ -113,5 +113,6 @@ "export": "експортувати", "full_account_data": "повні дані аккаунта", "this_account": "цей аккаунт", - "delete": "видалити" + "delete": "видалити", + "delete_account": "видалити обліковий запис" } \ No newline at end of file diff --git a/public/translations/ur/default.json b/public/translations/ur/default.json index 2a1ab5ef..389699d8 100644 --- a/public/translations/ur/default.json +++ b/public/translations/ur/default.json @@ -75,7 +75,7 @@ "projects": "منصوبے", "challenge_counter": "{{index}} میں سے {{total}}", "embed": "ایمبیڈ", - "remove": "ہٹا دو", + "remove": "ہٹائیں", "download_latest_desktop": "یہاں سب سے تازہ ڈیسک ٹاپ ورژن ڈاؤن لوڈ کریں: {{link}}", "new_stable_version": "نیو مستقر ورژن دستیاب ہے, plebchan v{{newVersion}}۔ آپ plebchan v{{oldVersion}} استعمال کر رہے ہیں۔", "refresh_to_update": "اپ ڈیٹ کرنے کے لئے صفحہ تازہ کریں", @@ -113,5 +113,6 @@ "export": "برآمد کریں", "full_account_data": "مکمل اکاؤنٹ ڈیٹا", "this_account": "یہ اکاؤنٹ", - "delete": "حذف کریں" + "delete": "حذف کریں", + "delete_account": "اکاؤنٹ حذف کریں" } \ No newline at end of file diff --git a/public/translations/vi/default.json b/public/translations/vi/default.json index 2f50ea31..852708e7 100644 --- a/public/translations/vi/default.json +++ b/public/translations/vi/default.json @@ -75,7 +75,7 @@ "projects": "dự án", "challenge_counter": "{{index}} trong {{total}}", "embed": "nhúng", - "remove": "Xóa bỏ", + "remove": "xóa", "download_latest_desktop": "Tải xuống phiên bản máy tính để bàn mới nhất tại đây: {{link}}", "new_stable_version": "Phiên bản ổn định mới có sẵn, plebchan v{{newVersion}}. Bạn đang sử dụng plebchan v{{oldVersion}}.", "refresh_to_update": "Làm mới trang để cập nhật", @@ -113,5 +113,6 @@ "export": "xuất", "full_account_data": "dữ liệu tài khoản đầy đủ", "this_account": "tài khoản này", - "delete": "xóa" + "delete": "xóa", + "delete_account": "xóa tài khoản" } \ No newline at end of file diff --git a/public/translations/zh/default.json b/public/translations/zh/default.json index 8eb58984..92086e9f 100644 --- a/public/translations/zh/default.json +++ b/public/translations/zh/default.json @@ -75,7 +75,7 @@ "projects": "项目", "challenge_counter": "{{index}} / {{total}}", "embed": "嵌入", - "remove": "删除", + "remove": "移除", "download_latest_desktop": "在这里下载最新的桌面版本: {{link}}", "new_stable_version": "新的稳定版可用,plebchan v{{newVersion}}。您正在使用plebchan v{{oldVersion}}。", "refresh_to_update": "刷新页面以更新", @@ -113,5 +113,6 @@ "export": "导出", "full_account_data": "完整帐户数据", "this_account": "此帐户", - "delete": "删除" + "delete": "删除", + "delete_account": "删除账户" } \ No newline at end of file diff --git a/src/components/settings-modal/account-settings/account-settings.module.css b/src/components/settings-modal/account-settings/account-settings.module.css index 8db6b80b..24091235 100644 --- a/src/components/settings-modal/account-settings/account-settings.module.css +++ b/src/components/settings-modal/account-settings/account-settings.module.css @@ -34,8 +34,10 @@ margin-top: 5px; } -.deleteAccount, .deleteAccount button { +.deleteAccount { color: red; + float: right; + margin-right: 10px; } .setting .createAccount { diff --git a/src/components/settings-modal/account-settings/account-settings.tsx b/src/components/settings-modal/account-settings/account-settings.tsx index dece228f..99224131 100644 --- a/src/components/settings-modal/account-settings/account-settings.tsx +++ b/src/components/settings-modal/account-settings/account-settings.tsx @@ -165,16 +165,11 @@ const AccountSettings = () => {