From 2eff2ce7458e7b06596ddb91f5f7b2cc0ad3e2a4 Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Mon, 15 Jan 2024 12:15:57 +0100 Subject: [PATCH] chore(translations): last account notice, delete confirm --- public/translations/ar/default.json | 4 +++- public/translations/bn/default.json | 4 +++- public/translations/cs/default.json | 4 +++- public/translations/da/default.json | 4 +++- public/translations/de/default.json | 4 +++- public/translations/el/default.json | 4 +++- public/translations/en/default.json | 4 +++- public/translations/es/default.json | 4 +++- public/translations/fa/default.json | 4 +++- public/translations/fi/default.json | 4 +++- public/translations/fil/default.json | 4 +++- public/translations/fr/default.json | 4 +++- public/translations/he/default.json | 4 +++- public/translations/hi/default.json | 4 +++- public/translations/hu/default.json | 4 +++- public/translations/id/default.json | 4 +++- public/translations/it/default.json | 4 +++- public/translations/ja/default.json | 4 +++- public/translations/ko/default.json | 4 +++- public/translations/mr/default.json | 4 +++- public/translations/nl/default.json | 4 +++- public/translations/no/default.json | 4 +++- public/translations/pl/default.json | 4 +++- public/translations/pt/default.json | 4 +++- public/translations/ro/default.json | 4 +++- public/translations/ru/default.json | 4 +++- public/translations/sq/default.json | 4 +++- public/translations/sv/default.json | 4 +++- public/translations/te/default.json | 4 +++- public/translations/th/default.json | 4 +++- public/translations/tr/default.json | 4 +++- public/translations/uk/default.json | 4 +++- public/translations/ur/default.json | 4 +++- public/translations/vi/default.json | 4 +++- public/translations/zh/default.json | 4 +++- src/views/settings/account-settings/account-settings.tsx | 4 ++-- 36 files changed, 107 insertions(+), 37 deletions(-) diff --git a/public/translations/ar/default.json b/public/translations/ar/default.json index efde445d..7143a3e5 100644 --- a/public/translations/ar/default.json +++ b/public/translations/ar/default.json @@ -187,5 +187,7 @@ "community_settings": "إعدادات المجتمع", "moderation_tools": "أدوات الإشراف", "submit_to": "إرسال إلى <1>{{link}}", - "edit_subscriptions": "تحرير الاشتراكات" + "edit_subscriptions": "تحرير الاشتراكات", + "last_account_notice": "لا يمكنك حذف حسابك الأخير، يرجى إنشاء حساب جديد أولاً.", + "delete_confirm": "هل أنت متأكد أنك تريد حذف {{value}}؟" } \ No newline at end of file diff --git a/public/translations/bn/default.json b/public/translations/bn/default.json index 68600f9b..1e3372ad 100644 --- a/public/translations/bn/default.json +++ b/public/translations/bn/default.json @@ -187,5 +187,7 @@ "community_settings": "সম্প্রদায় সেটিংস", "moderation_tools": "মধ্যস্থতা সরঞ্জাম", "submit_to": "জমা দিন <1>{{link}}", - "edit_subscriptions": "সাবস্ক্রিপশন সম্পাদনা" + "edit_subscriptions": "সাবস্ক্রিপশন সম্পাদনা", + "last_account_notice": "আপনি আপনার সর্বশেষ অ্যাকাউন্টটি মুছে ফেলতে পারবেন না, দয়া করে প্রথমে একটি নতুন তৈরি করুন।", + "delete_confirm": "আপনি কি নিশ্চিত যে আপনি {{value}} মুছতে চান?" } \ No newline at end of file diff --git a/public/translations/cs/default.json b/public/translations/cs/default.json index fbb06d9e..104833ea 100644 --- a/public/translations/cs/default.json +++ b/public/translations/cs/default.json @@ -187,5 +187,7 @@ "community_settings": "Nastavení komunity", "moderation_tools": "Nástroje pro moderaci", "submit_to": "Odeslat na <1>{{link}}", - "edit_subscriptions": "Upravit předplatné" + "edit_subscriptions": "Upravit předplatné", + "last_account_notice": "Nemůžete smazat svůj poslední účet, nejprve si vytvořte nový.", + "delete_confirm": "Opravdu chcete smazat {{value}}?" } \ No newline at end of file diff --git a/public/translations/da/default.json b/public/translations/da/default.json index 5ed41c9e..48e06927 100644 --- a/public/translations/da/default.json +++ b/public/translations/da/default.json @@ -187,5 +187,7 @@ "community_settings": "Fællesskabsindstillinger", "moderation_tools": "Moderationsværktøjer", "submit_to": "Indsend til <1>{{link}}", - "edit_subscriptions": "Rediger abonnementer" + "edit_subscriptions": "Rediger abonnementer", + "last_account_notice": "Du kan ikke slette din sidste konto, opret venligst en ny først.", + "delete_confirm": "Er du sikker på, at du vil slette {{value}}?" } \ No newline at end of file diff --git a/public/translations/de/default.json b/public/translations/de/default.json index a59d971b..ef2bf61d 100644 --- a/public/translations/de/default.json +++ b/public/translations/de/default.json @@ -187,5 +187,7 @@ "community_settings": "Community-Einstellungen", "moderation_tools": "Moderationstools", "submit_to": "Einreichen an <1>{{link}}", - "edit_subscriptions": "Abonnements bearbeiten" + "edit_subscriptions": "Abonnements bearbeiten", + "last_account_notice": "Sie können Ihr letztes Konto nicht löschen, bitte erstellen Sie zuerst ein neues.", + "delete_confirm": "Möchten Sie {{value}} wirklich löschen?" } \ No newline at end of file diff --git a/public/translations/el/default.json b/public/translations/el/default.json index 5ec28fac..e8d5965a 100644 --- a/public/translations/el/default.json +++ b/public/translations/el/default.json @@ -187,5 +187,7 @@ "community_settings": "Ρυθμίσεις κοινότητας", "moderation_tools": "Εργαλεία διαμεσολάβησης", "submit_to": "Υποβολή σε <1>{{link}}", - "edit_subscriptions": "Επεξεργασία συνδρομών" + "edit_subscriptions": "Επεξεργασία συνδρομών", + "last_account_notice": "Δεν μπορείτε να διαγράψετε το τελευταίο σας λογαριασμό, δημιουργήστε πρώτα έναν νέο.", + "delete_confirm": "Είστε σίγουροι ότι θέλετε να διαγράψετε το {{value}};" } \ No newline at end of file diff --git a/public/translations/en/default.json b/public/translations/en/default.json index 7b7ec11c..4b44de4c 100644 --- a/public/translations/en/default.json +++ b/public/translations/en/default.json @@ -187,5 +187,7 @@ "community_settings": "Community Settings", "moderation_tools": "Moderation Tools", "submit_to": "Submit to <1>{{link}}", - "edit_subscriptions": "Edit Subscriptions" + "edit_subscriptions": "Edit Subscriptions", + "last_account_notice": "You cannot delete your last account, please create a new one first.", + "delete_confirm": "Are you sure you want to delete {{value}}?" } \ No newline at end of file diff --git a/public/translations/es/default.json b/public/translations/es/default.json index 74c56699..6718dc41 100644 --- a/public/translations/es/default.json +++ b/public/translations/es/default.json @@ -187,5 +187,7 @@ "community_settings": "Configuración de la comunidad", "moderation_tools": "Herramientas de moderación", "submit_to": "Enviar a <1>{{link}}", - "edit_subscriptions": "Editar suscripciones" + "edit_subscriptions": "Editar suscripciones", + "last_account_notice": "No puedes eliminar tu última cuenta, por favor crea una nueva primero.", + "delete_confirm": "¿Estás seguro de que quieres eliminar {{value}}?" } \ No newline at end of file diff --git a/public/translations/fa/default.json b/public/translations/fa/default.json index 207b0bc9..cc952610 100644 --- a/public/translations/fa/default.json +++ b/public/translations/fa/default.json @@ -187,5 +187,7 @@ "community_settings": "تنظیمات اجتماعی", "moderation_tools": "ابزارهای نظارت", "submit_to": "ارسال به <1>{{link}}", - "edit_subscriptions": "ویرایش اشتراک‌ها" + "edit_subscriptions": "ویرایش اشتراک‌ها", + "last_account_notice": "شما نمی‌توانید حساب آخر خود را حذف کنید، لطفاً ابتدا یک حساب جدید ایجاد کنید.", + "delete_confirm": "آیا مطمئن هستید که می‌خواهید {{value}} را حذف کنید؟" } \ No newline at end of file diff --git a/public/translations/fi/default.json b/public/translations/fi/default.json index a6058439..d55c8d0b 100644 --- a/public/translations/fi/default.json +++ b/public/translations/fi/default.json @@ -187,5 +187,7 @@ "community_settings": "Yhteisön asetukset", "moderation_tools": "Moderointityökalut", "submit_to": "Lähetä osoitteeseen <1>{{link}}", - "edit_subscriptions": "Muokkaa tilauksia" + "edit_subscriptions": "Muokkaa tilauksia", + "last_account_notice": "Et voi poistaa viimeistä tiliäsi, luo ensin uusi.", + "delete_confirm": "Haluatko varmasti poistaa {{value}}?" } \ No newline at end of file diff --git a/public/translations/fil/default.json b/public/translations/fil/default.json index b43471a5..2f9a5aa3 100644 --- a/public/translations/fil/default.json +++ b/public/translations/fil/default.json @@ -187,5 +187,7 @@ "community_settings": "Mga Setting ng Komunidad", "moderation_tools": "Mga Kasangkapan sa Moderasyon", "submit_to": "Isumite sa <1>{{link}}", - "edit_subscriptions": "I-edit ang mga Subskripsyon" + "edit_subscriptions": "I-edit ang mga Subskripsyon", + "last_account_notice": "Hindi mo maaaring burahin ang iyong huling account, mangyaring gumawa muna ng bago.", + "delete_confirm": "Sigurado ka bang nais mong burahin ang {{value}}?" } \ No newline at end of file diff --git a/public/translations/fr/default.json b/public/translations/fr/default.json index bfe8fda7..0cc6538c 100644 --- a/public/translations/fr/default.json +++ b/public/translations/fr/default.json @@ -187,5 +187,7 @@ "community_settings": "Paramètres de la communauté", "moderation_tools": "Outils de modération", "submit_to": "Soumettre à <1>{{link}}", - "edit_subscriptions": "Modifier les abonnements" + "edit_subscriptions": "Modifier les abonnements", + "last_account_notice": "Vous ne pouvez pas supprimer votre dernier compte, veuillez d'abord en créer un nouveau.", + "delete_confirm": "Êtes-vous sûr de vouloir supprimer {{value}}?" } \ No newline at end of file diff --git a/public/translations/he/default.json b/public/translations/he/default.json index cb7a4e07..d89793be 100644 --- a/public/translations/he/default.json +++ b/public/translations/he/default.json @@ -187,5 +187,7 @@ "community_settings": "הגדרות הקהילה", "moderation_tools": "כלי ניטור", "submit_to": "שלח אל <1>{{link}}", - "edit_subscriptions": "ערוך מנויים" + "edit_subscriptions": "ערוך מנויים", + "last_account_notice": "אינך יכול למחוק את החשבון האחרון שלך, אנא צור חשבון חדש תחילה.", + "delete_confirm": "האם אתה בטוח שברצונך למחוק את {{value}}?" } \ No newline at end of file diff --git a/public/translations/hi/default.json b/public/translations/hi/default.json index 961465b2..717b26d5 100644 --- a/public/translations/hi/default.json +++ b/public/translations/hi/default.json @@ -187,5 +187,7 @@ "community_settings": "समुदाय सेटिंग्स", "moderation_tools": "मॉडरेशन टूल्स", "submit_to": "जमा करें <1>{{link}}", - "edit_subscriptions": "सदस्यता संपादित करें" + "edit_subscriptions": "सदस्यता संपादित करें", + "last_account_notice": "आप अपना आखिरी खाता नहीं हटा सकते, कृपया पहले एक नया खाता बनाएं।", + "delete_confirm": "क्या आप निश्चित हैं कि आप {{value}} को हटाना चाहते हैं?" } \ No newline at end of file diff --git a/public/translations/hu/default.json b/public/translations/hu/default.json index 11d36863..f6e7c4de 100644 --- a/public/translations/hu/default.json +++ b/public/translations/hu/default.json @@ -187,5 +187,7 @@ "community_settings": "Közösségi beállítások", "moderation_tools": "Moderációs eszközök", "submit_to": "Küldés ide: <1>{{link}}", - "edit_subscriptions": "Előfizetések szerkesztése" + "edit_subscriptions": "Előfizetések szerkesztése", + "last_account_notice": "Nem törölheti az utolsó fiókját, először hozzon létre egy újat.", + "delete_confirm": "Biztosan törölni szeretné {{value}}?" } \ No newline at end of file diff --git a/public/translations/id/default.json b/public/translations/id/default.json index 38fcf044..7c6aa065 100644 --- a/public/translations/id/default.json +++ b/public/translations/id/default.json @@ -187,5 +187,7 @@ "community_settings": "Pengaturan Komunitas", "moderation_tools": "Alat Moderasi", "submit_to": "Kirim ke <1>{{link}}", - "edit_subscriptions": "Edit Langganan" + "edit_subscriptions": "Edit Langganan", + "last_account_notice": "Anda tidak dapat menghapus akun terakhir Anda, harap buat yang baru terlebih dahulu.", + "delete_confirm": "Apakah Anda yakin ingin menghapus {{value}}?" } \ No newline at end of file diff --git a/public/translations/it/default.json b/public/translations/it/default.json index 372fe707..66a40702 100644 --- a/public/translations/it/default.json +++ b/public/translations/it/default.json @@ -187,5 +187,7 @@ "community_settings": "Impostazioni della comunità", "moderation_tools": "Strumenti di moderazione", "submit_to": "Invia a <1>{{link}}", - "edit_subscriptions": "Modifica sottoscrizioni" + "edit_subscriptions": "Modifica sottoscrizioni", + "last_account_notice": "Non puoi eliminare il tuo ultimo account, crea prima un nuovo account.", + "delete_confirm": "Confermi di voler cancellare {{value}}?" } \ No newline at end of file diff --git a/public/translations/ja/default.json b/public/translations/ja/default.json index b217722a..5f95ace2 100644 --- a/public/translations/ja/default.json +++ b/public/translations/ja/default.json @@ -187,5 +187,7 @@ "community_settings": "コミュニティの設定", "moderation_tools": "モデレーションツール", "submit_to": "<1>{{link}}に提出する", - "edit_subscriptions": "購読の編集" + "edit_subscriptions": "購読の編集", + "last_account_notice": "最後のアカウントは削除できません。新しいアカウントを作成してください。", + "delete_confirm": "{{value}} を削除してもよろしいですか?" } \ No newline at end of file diff --git a/public/translations/ko/default.json b/public/translations/ko/default.json index b7114917..abaef67d 100644 --- a/public/translations/ko/default.json +++ b/public/translations/ko/default.json @@ -187,5 +187,7 @@ "community_settings": "커뮤니티 설정", "moderation_tools": "모더레이션 도구", "submit_to": "<1>{{link}}(으)로 제출하기", - "edit_subscriptions": "구독 편집" + "edit_subscriptions": "구독 편집", + "last_account_notice": "마지막 계정을 삭제할 수 없습니다. 먼저 새로운 계정을 만드십시오.", + "delete_confirm": "{{value}}를 삭제하시겠습니까?" } \ No newline at end of file diff --git a/public/translations/mr/default.json b/public/translations/mr/default.json index aabcfe55..580271ab 100644 --- a/public/translations/mr/default.json +++ b/public/translations/mr/default.json @@ -187,5 +187,7 @@ "community_settings": "समुदाय सेटिंग्स", "moderation_tools": "निरीक्षण साधने", "submit_to": "<1>{{link}} कडे पाठवा", - "edit_subscriptions": "सदस्यता संपादने" + "edit_subscriptions": "सदस्यता संपादने", + "last_account_notice": "तुम्ही आपला आखाडा खाता काढू शकता नाही, कृपया पहिल्यांनी एक नवीन खाती तयार करा.", + "delete_confirm": "तुम्हाला खात्री आहे का की तुम्ही {{value}} काढून टाकणार आहात?" } \ No newline at end of file diff --git a/public/translations/nl/default.json b/public/translations/nl/default.json index 195b234f..9f0bb14d 100644 --- a/public/translations/nl/default.json +++ b/public/translations/nl/default.json @@ -187,5 +187,7 @@ "community_settings": "Community-instellingen", "moderation_tools": "Moderatiehulpmiddelen", "submit_to": "Verzenden naar <1>{{link}}", - "edit_subscriptions": "Abonnementen bewerken" + "edit_subscriptions": "Abonnementen bewerken", + "last_account_notice": "U kunt uw laatste account niet verwijderen, maak eerst een nieuwe aan.", + "delete_confirm": "Weet je zeker dat je {{value}} wilt verwijderen?" } \ No newline at end of file diff --git a/public/translations/no/default.json b/public/translations/no/default.json index 45672817..7cd0a07a 100644 --- a/public/translations/no/default.json +++ b/public/translations/no/default.json @@ -187,5 +187,7 @@ "community_settings": "Fellesskapsinnstillinger", "moderation_tools": "Moderasjonsverktøy", "submit_to": "Send til <1>{{link}}", - "edit_subscriptions": "Rediger abonnementer" + "edit_subscriptions": "Rediger abonnementer", + "last_account_notice": "Du kan ikke slette din siste konto, vennligst opprett en ny først.", + "delete_confirm": "Er du sikker på at du vil slette {{value}}?" } \ No newline at end of file diff --git a/public/translations/pl/default.json b/public/translations/pl/default.json index 2de3c93f..267b85e8 100644 --- a/public/translations/pl/default.json +++ b/public/translations/pl/default.json @@ -187,5 +187,7 @@ "community_settings": "Ustawienia społeczności", "moderation_tools": "Narzędzia moderacji", "submit_to": "Prześlij do <1>{{link}}", - "edit_subscriptions": "Edytuj subskrypcje" + "edit_subscriptions": "Edytuj subskrypcje", + "last_account_notice": "Nie możesz usunąć swojego ostatniego konta, proszę najpierw utwórz nowe.", + "delete_confirm": "Czy na pewno chcesz usunąć {{value}}?" } \ No newline at end of file diff --git a/public/translations/pt/default.json b/public/translations/pt/default.json index bc8c79e4..8b2dd01c 100644 --- a/public/translations/pt/default.json +++ b/public/translations/pt/default.json @@ -187,5 +187,7 @@ "community_settings": "Configurações da comunidade", "moderation_tools": "Ferramentas de moderação", "submit_to": "Enviar para <1>{{link}}", - "edit_subscriptions": "Editar assinaturas" + "edit_subscriptions": "Editar assinaturas", + "last_account_notice": "Você não pode excluir sua última conta, por favor crie uma nova primeiro.", + "delete_confirm": "Tem certeza de que deseja excluir {{value}}?" } \ No newline at end of file diff --git a/public/translations/ro/default.json b/public/translations/ro/default.json index 83181c09..1120c7fb 100644 --- a/public/translations/ro/default.json +++ b/public/translations/ro/default.json @@ -187,5 +187,7 @@ "community_settings": "Setări ale comunității", "moderation_tools": "Instrumente de moderare", "submit_to": "Trimite la <1>{{link}}", - "edit_subscriptions": "Editează abonamente" + "edit_subscriptions": "Editează abonamente", + "last_account_notice": "Nu puteți șterge ultimul dvs. cont, vă rugăm să creați unul nou mai întâi.", + "delete_confirm": "Sunteți sigur că doriți să ștergeți {{value}}?" } \ No newline at end of file diff --git a/public/translations/ru/default.json b/public/translations/ru/default.json index add53a79..5694719a 100644 --- a/public/translations/ru/default.json +++ b/public/translations/ru/default.json @@ -187,5 +187,7 @@ "community_settings": "Настройки сообщества", "moderation_tools": "Инструменты модерации", "submit_to": "Отправить на <1>{{link}}", - "edit_subscriptions": "Редактировать подписки" + "edit_subscriptions": "Редактировать подписки", + "last_account_notice": "Вы не можете удалить свою последнюю учетную запись, сначала создайте новую.", + "delete_confirm": "Вы уверены, что хотите удалить {{value}}?" } \ No newline at end of file diff --git a/public/translations/sq/default.json b/public/translations/sq/default.json index 2b38be70..26ebadca 100644 --- a/public/translations/sq/default.json +++ b/public/translations/sq/default.json @@ -187,5 +187,7 @@ "community_settings": "Cilësimet e komunitetit", "moderation_tools": "Mjete moderimi", "submit_to": "Dërgo te <1>{{link}}", - "edit_subscriptions": "Ndrysho abonimet" + "edit_subscriptions": "Ndrysho abonimet", + "last_account_notice": "Nuk mund të fshini llogarinë tuaj të fundit, ju lutemi krijoni një të re fillimisht.", + "delete_confirm": "A jeni të sigurt se dëshironi të fshini {{value}}?" } \ No newline at end of file diff --git a/public/translations/sv/default.json b/public/translations/sv/default.json index 4a0420a1..2befcbbb 100644 --- a/public/translations/sv/default.json +++ b/public/translations/sv/default.json @@ -187,5 +187,7 @@ "community_settings": "Samhällsinställningar", "moderation_tools": "Modereringsverktyg", "submit_to": "Skicka till <1>{{link}}", - "edit_subscriptions": "Redigera prenumerationer" + "edit_subscriptions": "Redigera prenumerationer", + "last_account_notice": "Du kan inte ta bort ditt senaste konto, skapa först ett nytt.", + "delete_confirm": "Är du säker på att du vill ta bort {{value}}?" } \ No newline at end of file diff --git a/public/translations/te/default.json b/public/translations/te/default.json index 7226b739..4a792228 100644 --- a/public/translations/te/default.json +++ b/public/translations/te/default.json @@ -187,5 +187,7 @@ "community_settings": "కమ్యూనిటీ సెట్టింగులు", "moderation_tools": "మాడరేషన్ సాధనాలు", "submit_to": "<1>{{link}} కు పంపండి", - "edit_subscriptions": "సబ్‌స్క్రిప్షన్స్ సవరించండి" + "edit_subscriptions": "సబ్‌స్క్రిప్షన్స్ సవరించండి", + "last_account_notice": "మీ చివరి ఖాతాను తొలగించలేకపోవదు, దయచేసి మొదటికి కొత్త ఒకటి ప్రమాణించండి.", + "delete_confirm": "మీరు {{value}} ను తొలగించడానికి ఖచ్చితంగా ఉన్నారా?" } \ No newline at end of file diff --git a/public/translations/th/default.json b/public/translations/th/default.json index fde0fc3a..eb517041 100644 --- a/public/translations/th/default.json +++ b/public/translations/th/default.json @@ -187,5 +187,7 @@ "community_settings": "การตั้งค่าชุมชน", "moderation_tools": "เครื่องมือการตรวจสอบ", "submit_to": "ส่งไปที่ <1>{{link}}", - "edit_subscriptions": "แก้ไขการสมัครสมาชิก" + "edit_subscriptions": "แก้ไขการสมัครสมาชิก", + "last_account_notice": "คุณไม่สามารถลบบัญชีครั้งสุดท้ายของคุณได้ โปรดสร้างบัญชีใหม่ก่อน", + "delete_confirm": "คุณแน่ใจหรือไม่ว่าต้องการลบ {{value}}?" } \ No newline at end of file diff --git a/public/translations/tr/default.json b/public/translations/tr/default.json index d0bf6e41..9e087ccf 100644 --- a/public/translations/tr/default.json +++ b/public/translations/tr/default.json @@ -187,5 +187,7 @@ "community_settings": "Topluluk Ayarları", "moderation_tools": "Moderasyon Araçları", "submit_to": "<1>{{link}} adresine gönder", - "edit_subscriptions": "Abonelikleri Düzenle" + "edit_subscriptions": "Abonelikleri Düzenle", + "last_account_notice": "Son hesabınızı silemezsiniz, lütfen önce yeni bir tane oluşturun.", + "delete_confirm": "{{value}}'yi silmek istediğinizden emin misiniz?" } \ No newline at end of file diff --git a/public/translations/uk/default.json b/public/translations/uk/default.json index 731a4fdb..0ce0bcab 100644 --- a/public/translations/uk/default.json +++ b/public/translations/uk/default.json @@ -187,5 +187,7 @@ "community_settings": "Налаштування спільноти", "moderation_tools": "Інструменти модерації", "submit_to": "Надіслати до <1>{{link}}", - "edit_subscriptions": "Редагувати підписки" + "edit_subscriptions": "Редагувати підписки", + "last_account_notice": "Ви не можете видалити свій останній обліковий запис, будь ласка, спочатку створіть новий.", + "delete_confirm": "Ви впевнені, що хочете видалити {{value}}?" } \ No newline at end of file diff --git a/public/translations/ur/default.json b/public/translations/ur/default.json index eb3f4c68..22c1e602 100644 --- a/public/translations/ur/default.json +++ b/public/translations/ur/default.json @@ -187,5 +187,7 @@ "community_settings": "کمیونٹی کی ترتیبات", "moderation_tools": "موڈریشن ٹولز", "submit_to": "جمع کرائیں <1>{{link}}", - "edit_subscriptions": "سبسکرائب کو ترتیب دیں" + "edit_subscriptions": "سبسکرائب کو ترتیب دیں", + "last_account_notice": "آپ اپنا آخری اکاؤنٹ نہیں حذف کر سکتے، براہ کرم پہلے نیا اکاؤنٹ بنائیں۔", + "delete_confirm": "کیا آپ واقعی {{value}} کو حذف کرنا چاہتے ہیں؟" } \ No newline at end of file diff --git a/public/translations/vi/default.json b/public/translations/vi/default.json index 9c6dd07e..4798b66a 100644 --- a/public/translations/vi/default.json +++ b/public/translations/vi/default.json @@ -187,5 +187,7 @@ "community_settings": "Cài đặt cộng đồng", "moderation_tools": "Công cụ kiểm duyệt", "submit_to": "Gửi đến <1>{{link}}", - "edit_subscriptions": "Chỉnh sửa đăng ký" + "edit_subscriptions": "Chỉnh sửa đăng ký", + "last_account_notice": "Bạn không thể xóa tài khoản cuối cùng của mình, vui lòng tạo một tài khoản mới trước.", + "delete_confirm": "Bạn có chắc chắn muốn xóa {{value}} không?" } \ No newline at end of file diff --git a/public/translations/zh/default.json b/public/translations/zh/default.json index 4d58d479..299b9e10 100644 --- a/public/translations/zh/default.json +++ b/public/translations/zh/default.json @@ -187,5 +187,7 @@ "community_settings": "社区设置", "moderation_tools": "管理工具", "submit_to": "提交至 <1>{{link}}", - "edit_subscriptions": "编辑订阅" + "edit_subscriptions": "编辑订阅", + "last_account_notice": "您不能删除您的最后一个帐户,请先创建一个新帐户。", + "delete_confirm": "您确定要删除 {{value}} 吗?" } \ No newline at end of file diff --git a/src/views/settings/account-settings/account-settings.tsx b/src/views/settings/account-settings/account-settings.tsx index b398c02b..714f32ac 100644 --- a/src/views/settings/account-settings/account-settings.tsx +++ b/src/views/settings/account-settings/account-settings.tsx @@ -51,11 +51,11 @@ const AccountSettings = () => { const _deleteAccount = (accountName: string) => { if (accounts.length === 1) { - alert('You cannot delete your last account. Please create a new one.'); + alert(t('last_account_notice')); return; } else if (!accountName) { return; - } else if (window.confirm(`Are you sure you want to delete ${accountName}?`)) { + } else if (window.confirm(t('delete_confirm', { value: accountName }))) { deleteAccount(accountName); setSwitchToLastAccount(true); } else {