diff --git a/lib/l10n/intl_ar.arb b/lib/l10n/intl_ar.arb index b1f3e9f75..bbb9bf4d6 100644 --- a/lib/l10n/intl_ar.arb +++ b/lib/l10n/intl_ar.arb @@ -1,6 +1,6 @@ { "@@locale": "ar", - "@@last_modified": "2026-01-29 15:07:18.322525", + "@@last_modified": "2026-01-29 15:25:01.121856", "about": "حول", "@about": { "type": "String", @@ -11171,5 +11171,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "فشل التسجيل. يرجى التحقق من أذونات الصوت الخاصة بك والمحاولة مرة أخرى.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_be.arb b/lib/l10n/intl_be.arb index da5d54797..5495930c4 100644 --- a/lib/l10n/intl_be.arb +++ b/lib/l10n/intl_be.arb @@ -1908,7 +1908,7 @@ "playWithAI": "Пакуль гуляйце з ШІ", "courseStartDesc": "Pangea Bot гатовы да працы ў любы час!\n\n...але навучанне лепш з сябрамі!", "@@locale": "be", - "@@last_modified": "2026-01-29 15:07:05.014829", + "@@last_modified": "2026-01-29 15:24:53.163474", "@alwaysUse24HourFormat": { "type": "String", "placeholders": {} @@ -12053,5 +12053,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Запіс не ўдалося. Калі ласка, праверце свае аўдыё дазволы і паспрабуйце яшчэ раз.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_bn.arb b/lib/l10n/intl_bn.arb index f242d0bd8..75bed772b 100644 --- a/lib/l10n/intl_bn.arb +++ b/lib/l10n/intl_bn.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:07:34.916865", + "@@last_modified": "2026-01-29 15:25:11.468426", "about": "সম্পর্কে", "@about": { "type": "String", @@ -12058,5 +12058,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "রেকর্ডিং ব্যর্থ হয়েছে। দয়া করে আপনার অডিও অনুমতিগুলি পরীক্ষা করুন এবং আবার চেষ্টা করুন।", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_bo.arb b/lib/l10n/intl_bo.arb index b09340c93..3fc63cb2f 100644 --- a/lib/l10n/intl_bo.arb +++ b/lib/l10n/intl_bo.arb @@ -4276,7 +4276,7 @@ "joinPublicTrip": "མི་ཚེས་ལ་ལོག་འབད།", "startOwnTrip": "ངེད་རང་གི་ལོག་ལ་སྦྱོར་བཅོས།", "@@locale": "bo", - "@@last_modified": "2026-01-29 15:07:31.637996", + "@@last_modified": "2026-01-29 15:25:08.749600", "@alwaysUse24HourFormat": { "type": "String", "placeholders": {} @@ -10708,5 +10708,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Recording failed. Please check your audio permissions and try again.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_ca.arb b/lib/l10n/intl_ca.arb index f751acf7b..8368b89d7 100644 --- a/lib/l10n/intl_ca.arb +++ b/lib/l10n/intl_ca.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:07:06.641061", + "@@last_modified": "2026-01-29 15:24:54.287095", "about": "Quant a", "@about": { "type": "String", @@ -10978,5 +10978,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "La gravació ha fallat. Si us plau, comproveu els vostres permisos d'àudio i torneu-ho a provar.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_cs.arb b/lib/l10n/intl_cs.arb index 355f52794..131ca13bc 100644 --- a/lib/l10n/intl_cs.arb +++ b/lib/l10n/intl_cs.arb @@ -1,6 +1,6 @@ { "@@locale": "cs", - "@@last_modified": "2026-01-29 15:07:01.444754", + "@@last_modified": "2026-01-29 15:24:50.917574", "about": "O aplikaci", "@about": { "type": "String", @@ -11561,5 +11561,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Nahrávání se nezdařilo. Zkontrolujte prosím svá oprávnění k audiosouborům a zkuste to znovu.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_da.arb b/lib/l10n/intl_da.arb index 701e82dd6..c9199d76a 100644 --- a/lib/l10n/intl_da.arb +++ b/lib/l10n/intl_da.arb @@ -1927,7 +1927,7 @@ "playWithAI": "Leg med AI for nu", "courseStartDesc": "Pangea Bot er klar til at starte når som helst!\n\n...men læring er bedre med venner!", "@@locale": "da", - "@@last_modified": "2026-01-29 15:06:27.944003", + "@@last_modified": "2026-01-29 15:24:30.021734", "@aboutHomeserver": { "type": "String", "placeholders": { @@ -12015,5 +12015,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Optagelse mislykkedes. Tjek venligst dine lydtilladelser og prøv igen.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_de.arb b/lib/l10n/intl_de.arb index 3e4660225..3946a72f4 100644 --- a/lib/l10n/intl_de.arb +++ b/lib/l10n/intl_de.arb @@ -1,6 +1,6 @@ { "@@locale": "de", - "@@last_modified": "2026-01-29 15:06:52.712598", + "@@last_modified": "2026-01-29 15:24:45.173559", "alwaysUse24HourFormat": "true", "@alwaysUse24HourFormat": { "description": "Set to true to always display time of day in 24 hour format." @@ -10961,5 +10961,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Die Aufnahme ist fehlgeschlagen. Bitte überprüfen Sie Ihre Audio-Berechtigungen und versuchen Sie es erneut.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_el.arb b/lib/l10n/intl_el.arb index 5afcbe1cd..f8f02aaac 100644 --- a/lib/l10n/intl_el.arb +++ b/lib/l10n/intl_el.arb @@ -4453,7 +4453,7 @@ "playWithAI": "Παίξτε με την Τεχνητή Νοημοσύνη προς το παρόν", "courseStartDesc": "Ο Pangea Bot είναι έτοιμος να ξεκινήσει οποιαδήποτε στιγμή!\n\n...αλλά η μάθηση είναι καλύτερη με φίλους!", "@@locale": "el", - "@@last_modified": "2026-01-29 15:07:42.491115", + "@@last_modified": "2026-01-29 15:25:16.616510", "@alwaysUse24HourFormat": { "type": "String", "placeholders": {} @@ -12012,5 +12012,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Η ηχογράφηση απέτυχε. Παρακαλώ ελέγξτε τις άδειες ήχου σας και δοκιμάστε ξανά.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 3cff95055..a9d91816d 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -5067,5 +5067,6 @@ "searchLanguagesHint": "Search target languages", "supportSubtitle": "Questions? We're here to help!", "autoIGCToolName": "Enable writing assistance", - "autoIGCToolDescription": "Automatically run Pangea Chat tools to correct sent messages to target language." + "autoIGCToolDescription": "Automatically run Pangea Chat tools to correct sent messages to target language.", + "emptyAudioError": "Recording failed. Please check your audio permissions and try again." } diff --git a/lib/l10n/intl_eo.arb b/lib/l10n/intl_eo.arb index 05c20d3b2..2db67fc78 100644 --- a/lib/l10n/intl_eo.arb +++ b/lib/l10n/intl_eo.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:07:47.404457", + "@@last_modified": "2026-01-29 15:25:20.184834", "about": "Prio", "@about": { "type": "String", @@ -12043,5 +12043,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Registrado malsukcesis. Bonvolu kontroli viajn aŭdajn permesojn kaj provi denove.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_es.arb b/lib/l10n/intl_es.arb index c7f232a69..7551953cc 100644 --- a/lib/l10n/intl_es.arb +++ b/lib/l10n/intl_es.arb @@ -1,6 +1,6 @@ { "@@locale": "es", - "@@last_modified": "2026-01-29 15:06:22.201432", + "@@last_modified": "2026-01-29 15:24:25.947319", "about": "Acerca de", "@about": { "type": "String", @@ -8196,5 +8196,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "La grabación falló. Por favor, verifica tus permisos de audio y vuelve a intentarlo.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_et.arb b/lib/l10n/intl_et.arb index ba87ca6a9..f3660a31e 100644 --- a/lib/l10n/intl_et.arb +++ b/lib/l10n/intl_et.arb @@ -1,6 +1,6 @@ { "@@locale": "et", - "@@last_modified": "2026-01-29 15:06:51.369225", + "@@last_modified": "2026-01-29 15:24:43.759174", "about": "Rakenduse teave", "@about": { "type": "String", @@ -11225,5 +11225,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Salvestamine ebaõnnestus. Palun kontrollige oma heliõigusi ja proovige uuesti.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_eu.arb b/lib/l10n/intl_eu.arb index e3fad74b2..ee41e44f8 100644 --- a/lib/l10n/intl_eu.arb +++ b/lib/l10n/intl_eu.arb @@ -1,6 +1,6 @@ { "@@locale": "eu", - "@@last_modified": "2026-01-29 15:06:48.103616", + "@@last_modified": "2026-01-29 15:24:41.896758", "about": "Honi buruz", "@about": { "type": "String", @@ -10954,5 +10954,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Grabaketa huts egin da. Mesedez, egiaztatu zure audio baimenak eta saiatu berriro.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_fa.arb b/lib/l10n/intl_fa.arb index 505e0292e..a4ca4d98f 100644 --- a/lib/l10n/intl_fa.arb +++ b/lib/l10n/intl_fa.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:07:36.399530", + "@@last_modified": "2026-01-29 15:25:12.904348", "repeatPassword": "تکرار رمزعبور", "@repeatPassword": {}, "about": "درباره", @@ -11686,5 +11686,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "ضبط صدا ناموفق بود. لطفاً مجوزهای صوتی خود را بررسی کرده و دوباره تلاش کنید.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_fi.arb b/lib/l10n/intl_fi.arb index a0d95abc1..aac0ee07e 100644 --- a/lib/l10n/intl_fi.arb +++ b/lib/l10n/intl_fi.arb @@ -4006,7 +4006,7 @@ "playWithAI": "Leiki tekoälyn kanssa nyt", "courseStartDesc": "Pangea Bot on valmis milloin tahansa!\n\n...mutta oppiminen on parempaa ystävien kanssa!", "@@locale": "fi", - "@@last_modified": "2026-01-29 15:06:25.834812", + "@@last_modified": "2026-01-29 15:24:28.359131", "@alwaysUse24HourFormat": { "type": "String", "placeholders": {} @@ -11577,5 +11577,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Äänityksen tallentaminen epäonnistui. Tarkista äänioikeutesi ja yritä uudelleen.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_fil.arb b/lib/l10n/intl_fil.arb index 464add113..11f741731 100644 --- a/lib/l10n/intl_fil.arb +++ b/lib/l10n/intl_fil.arb @@ -2784,7 +2784,7 @@ "selectAll": "Piliin lahat", "deselectAll": "Huwag piliin lahat", "@@locale": "fil", - "@@last_modified": "2026-01-29 15:07:14.638498", + "@@last_modified": "2026-01-29 15:24:58.900213", "@setCustomPermissionLevel": { "type": "String", "placeholders": {} @@ -11930,5 +11930,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Nabigo ang pag-record. Pakisuri ang iyong mga pahintulot sa audio at subukan muli.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_fr.arb b/lib/l10n/intl_fr.arb index 82dee45a1..c870edeee 100644 --- a/lib/l10n/intl_fr.arb +++ b/lib/l10n/intl_fr.arb @@ -1,6 +1,6 @@ { "@@locale": "fr", - "@@last_modified": "2026-01-29 15:07:56.515699", + "@@last_modified": "2026-01-29 15:25:26.287351", "about": "À propos", "@about": { "type": "String", @@ -11278,5 +11278,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "L'enregistrement a échoué. Veuillez vérifier vos autorisations audio et réessayer.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_ga.arb b/lib/l10n/intl_ga.arb index db5650ac4..ec3c93803 100644 --- a/lib/l10n/intl_ga.arb +++ b/lib/l10n/intl_ga.arb @@ -4514,7 +4514,7 @@ "playWithAI": "Imir le AI faoi láthair", "courseStartDesc": "Tá Bot Pangea réidh chun dul am ar bith!\n\n...ach is fearr foghlaim le cairde!", "@@locale": "ga", - "@@last_modified": "2026-01-29 15:07:54.885891", + "@@last_modified": "2026-01-29 15:25:25.078471", "@customReaction": { "type": "String", "placeholders": {} @@ -10952,5 +10952,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Theip ar an taifeadadh. Seiceáil do cheadanna gutháin le do thoil agus déan iarracht arís.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_gl.arb b/lib/l10n/intl_gl.arb index 4163dd369..6afe8ff27 100644 --- a/lib/l10n/intl_gl.arb +++ b/lib/l10n/intl_gl.arb @@ -1,6 +1,6 @@ { "@@locale": "gl", - "@@last_modified": "2026-01-29 15:06:23.699064", + "@@last_modified": "2026-01-29 15:24:27.141903", "about": "Acerca de", "@about": { "type": "String", @@ -10951,5 +10951,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "A gravación fallou. Por favor, verifica os teus permisos de audio e intenta de novo.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_he.arb b/lib/l10n/intl_he.arb index 7a1355d22..62ea0d0a8 100644 --- a/lib/l10n/intl_he.arb +++ b/lib/l10n/intl_he.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:06:42.180824", + "@@last_modified": "2026-01-29 15:24:38.819884", "about": "אודות", "@about": { "type": "String", @@ -12003,5 +12003,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "הקלטה נכשלה. אנא בדוק את הרשאות האודיו שלך ונסה שוב.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_hi.arb b/lib/l10n/intl_hi.arb index d4aef366a..5b4aec6df 100644 --- a/lib/l10n/intl_hi.arb +++ b/lib/l10n/intl_hi.arb @@ -4480,7 +4480,7 @@ "playWithAI": "अभी के लिए एआई के साथ खेलें", "courseStartDesc": "पैंजिया बॉट कभी भी जाने के लिए तैयार है!\n\n...लेकिन दोस्तों के साथ सीखना बेहतर है!", "@@locale": "hi", - "@@last_modified": "2026-01-29 15:07:45.666329", + "@@last_modified": "2026-01-29 15:25:18.981310", "@alwaysUse24HourFormat": { "type": "String", "placeholders": {} @@ -12039,5 +12039,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "रिकॉर्डिंग विफल हो गई। कृपया अपनी ऑडियो अनुमति की जांच करें और फिर से प्रयास करें।", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_hr.arb b/lib/l10n/intl_hr.arb index fa5aeffbf..48febb156 100644 --- a/lib/l10n/intl_hr.arb +++ b/lib/l10n/intl_hr.arb @@ -1,6 +1,6 @@ { "@@locale": "hr", - "@@last_modified": "2026-01-29 15:06:39.819147", + "@@last_modified": "2026-01-29 15:24:37.899487", "about": "Informacije", "@about": { "type": "String", @@ -11326,5 +11326,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Snimanje nije uspjelo. Provjerite svoja audio dopuštenja i pokušajte ponovo.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_hu.arb b/lib/l10n/intl_hu.arb index 7fec7a975..84f9c75cd 100644 --- a/lib/l10n/intl_hu.arb +++ b/lib/l10n/intl_hu.arb @@ -1,6 +1,6 @@ { "@@locale": "hu", - "@@last_modified": "2026-01-29 15:06:29.988437", + "@@last_modified": "2026-01-29 15:24:31.343536", "about": "Névjegy", "@about": { "type": "String", @@ -10955,5 +10955,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "A felvétel nem sikerült. Kérjük, ellenőrizze az audio engedélyeit, és próbálja újra.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_ia.arb b/lib/l10n/intl_ia.arb index 7f9564b8d..5fd4b8497 100644 --- a/lib/l10n/intl_ia.arb +++ b/lib/l10n/intl_ia.arb @@ -1955,7 +1955,7 @@ "playWithAI": "Joca con le IA pro ora", "courseStartDesc": "Pangea Bot es preste a comenzar a qualunque momento!\n\n...ma apprender es melior con amicos!", "@@locale": "ia", - "@@last_modified": "2026-01-29 15:06:44.528924", + "@@last_modified": "2026-01-29 15:24:39.850520", "@alwaysUse24HourFormat": { "type": "String", "placeholders": {} @@ -12032,5 +12032,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Fala falhou. Por favor, verifique suas permissões de áudio e tente novamente.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_id.arb b/lib/l10n/intl_id.arb index d27ebaa39..e2df77b03 100644 --- a/lib/l10n/intl_id.arb +++ b/lib/l10n/intl_id.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:06:31.522162", + "@@last_modified": "2026-01-29 15:24:32.345033", "setAsCanonicalAlias": "Atur sebagai alias utama", "@setAsCanonicalAlias": { "type": "String", @@ -10945,5 +10945,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Perekaman gagal. Silakan periksa izin audio Anda dan coba lagi.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_ie.arb b/lib/l10n/intl_ie.arb index ede8b05c0..6b918b6b7 100644 --- a/lib/l10n/intl_ie.arb +++ b/lib/l10n/intl_ie.arb @@ -4369,7 +4369,7 @@ "playWithAI": "Joca con AI pro ora", "courseStartDesc": "Pangea Bot es preste a partir a qualunque momento!\n\n...ma apprender es melior con amicos!", "@@locale": "ie", - "@@last_modified": "2026-01-29 15:06:38.287582", + "@@last_modified": "2026-01-29 15:24:36.672214", "@alwaysUse24HourFormat": { "type": "String", "placeholders": {} @@ -11928,5 +11928,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Faillí an taifeadadh. Seiceáil do cheadanna gutháin agus déan iarracht arís.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_it.arb b/lib/l10n/intl_it.arb index 57f0a652c..9c90360c5 100644 --- a/lib/l10n/intl_it.arb +++ b/lib/l10n/intl_it.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:06:57.328652", + "@@last_modified": "2026-01-29 15:24:48.551043", "about": "Informazioni", "@about": { "type": "String", @@ -10957,5 +10957,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Registrazione fallita. Controlla le tue autorizzazioni audio e riprova.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_ja.arb b/lib/l10n/intl_ja.arb index 692c8b7d7..92adcf3a0 100644 --- a/lib/l10n/intl_ja.arb +++ b/lib/l10n/intl_ja.arb @@ -1,6 +1,6 @@ { "@@locale": "ja", - "@@last_modified": "2026-01-29 15:07:44.016421", + "@@last_modified": "2026-01-29 15:25:17.739953", "about": "このアプリについて", "@about": { "type": "String", @@ -11744,5 +11744,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "録音に失敗しました。オーディオの権限を確認して、再試行してください。", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_ka.arb b/lib/l10n/intl_ka.arb index d7d2bc2d7..a7767b8f2 100644 --- a/lib/l10n/intl_ka.arb +++ b/lib/l10n/intl_ka.arb @@ -2591,7 +2591,7 @@ "playWithAI": "ამ დროისთვის ითამაშეთ AI-თან", "courseStartDesc": "Pangea Bot მზადაა ნებისმიერ დროს გასასვლელად!\n\n...მაგრამ სწავლა უკეთესია მეგობრებთან ერთად!", "@@locale": "ka", - "@@last_modified": "2026-01-29 15:07:51.798615", + "@@last_modified": "2026-01-29 15:25:22.347053", "@alwaysUse24HourFormat": { "type": "String", "placeholders": {} @@ -11984,5 +11984,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "ჩაწერა ვერ მოხერხდა. გთხოვთ, შეამოწმოთ თქვენი აუდიო უფლებები და სცადოთ კიდევ ერთხელ.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_ko.arb b/lib/l10n/intl_ko.arb index 072ea4906..07bbc150e 100644 --- a/lib/l10n/intl_ko.arb +++ b/lib/l10n/intl_ko.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:06:20.164584", + "@@last_modified": "2026-01-29 15:24:24.593568", "about": "소개", "@about": { "type": "String", @@ -11062,5 +11062,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "녹음에 실패했습니다. 오디오 권한을 확인하고 다시 시도해 주세요.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_lt.arb b/lib/l10n/intl_lt.arb index a7d356909..3308c41dc 100644 --- a/lib/l10n/intl_lt.arb +++ b/lib/l10n/intl_lt.arb @@ -3858,7 +3858,7 @@ "playWithAI": "Žaiskite su dirbtiniu intelektu dabar", "courseStartDesc": "Pangea botas pasiruošęs bet kada pradėti!\n\n...bet mokymasis yra geresnis su draugais!", "@@locale": "lt", - "@@last_modified": "2026-01-29 15:07:24.773734", + "@@last_modified": "2026-01-29 15:25:04.531263", "@alwaysUse24HourFormat": { "type": "String", "placeholders": {} @@ -11759,5 +11759,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Įrašymas nepavyko. Patikrinkite savo garso teises ir bandykite dar kartą.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_lv.arb b/lib/l10n/intl_lv.arb index 9e8bb2088..3723d4804 100644 --- a/lib/l10n/intl_lv.arb +++ b/lib/l10n/intl_lv.arb @@ -4480,7 +4480,7 @@ "playWithAI": "Tagad spēlējiet ar AI", "courseStartDesc": "Pangea bots ir gatavs jebkurā laikā!\n\n...bet mācīties ir labāk ar draugiem!", "@@locale": "lv", - "@@last_modified": "2026-01-29 15:07:16.587390", + "@@last_modified": "2026-01-29 15:25:00.127768", "analyticsInactiveTitle": "Pieprasījumi neaktīviem lietotājiem nevar tikt nosūtīti", "analyticsInactiveDesc": "Neaktīvi lietotāji, kuri nav pieteikušies kopš šīs funkcijas ieviešanas, neredzēs jūsu pieprasījumu.\n\nPieprasījuma poga parādīsies, kad viņi atgriezīsies. Jūs varat atkārtoti nosūtīt pieprasījumu vēlāk, noklikšķinot uz pieprasījuma pogas viņu vārdā, kad tā būs pieejama.", "accessRequestedTitle": "Pieprasījums piekļūt analītikai", @@ -10940,5 +10940,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Ieraksts neizdevās. Lūdzu, pārbaudiet savas audio atļaujas un mēģiniet vēlreiz.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_nb.arb b/lib/l10n/intl_nb.arb index ebaf96f0c..09e9c33e9 100644 --- a/lib/l10n/intl_nb.arb +++ b/lib/l10n/intl_nb.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:07:03.171187", + "@@last_modified": "2026-01-29 15:24:51.834093", "about": "Om", "@about": { "type": "String", @@ -12047,5 +12047,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Opptak mislyktes. Vennligst sjekk lydinnstillingene dine og prøv igjen.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_nl.arb b/lib/l10n/intl_nl.arb index b6c0cf23a..c42360e72 100644 --- a/lib/l10n/intl_nl.arb +++ b/lib/l10n/intl_nl.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:07:30.391551", + "@@last_modified": "2026-01-29 15:25:07.906820", "about": "Over ons", "@about": { "type": "String", @@ -10954,5 +10954,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Opname mislukt. Controleer uw audiorechten en probeer het opnieuw.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_pl.arb b/lib/l10n/intl_pl.arb index dcd40f76d..1f510f122 100644 --- a/lib/l10n/intl_pl.arb +++ b/lib/l10n/intl_pl.arb @@ -1,6 +1,6 @@ { "@@locale": "pl", - "@@last_modified": "2026-01-29 15:07:38.396549", + "@@last_modified": "2026-01-29 15:25:13.973596", "about": "O aplikacji", "@about": { "type": "String", @@ -10952,5 +10952,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Nagrywanie nie powiodło się. Sprawdź swoje uprawnienia audio i spróbuj ponownie.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_pt.arb b/lib/l10n/intl_pt.arb index be40fae34..fb1fe68ad 100644 --- a/lib/l10n/intl_pt.arb +++ b/lib/l10n/intl_pt.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:06:49.608370", + "@@last_modified": "2026-01-29 15:24:42.742766", "copiedToClipboard": "Copiada para a área de transferência", "@copiedToClipboard": { "type": "String", @@ -12054,5 +12054,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "A gravação falhou. Verifique suas permissões de áudio e tente novamente.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_pt_BR.arb b/lib/l10n/intl_pt_BR.arb index 555556175..804cf4d03 100644 --- a/lib/l10n/intl_pt_BR.arb +++ b/lib/l10n/intl_pt_BR.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:06:46.368303", + "@@last_modified": "2026-01-29 15:24:40.772387", "about": "Sobre", "@about": { "type": "String", @@ -11312,5 +11312,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Gravação falhou. Por favor, verifique suas permissões de áudio e tente novamente.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_pt_PT.arb b/lib/l10n/intl_pt_PT.arb index ac4c03cd1..d432143f5 100644 --- a/lib/l10n/intl_pt_PT.arb +++ b/lib/l10n/intl_pt_PT.arb @@ -3328,7 +3328,7 @@ "selectAll": "Selecionar tudo", "deselectAll": "Desmarcar tudo", "@@locale": "pt_PT", - "@@last_modified": "2026-01-29 15:07:10.458819", + "@@last_modified": "2026-01-29 15:24:56.954106", "@alwaysUse24HourFormat": { "type": "String", "placeholders": {} @@ -11983,5 +11983,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "A gravação falhou. Por favor, verifique suas permissões de áudio e tente novamente.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_ro.arb b/lib/l10n/intl_ro.arb index 5da6ef7af..edec75b6d 100644 --- a/lib/l10n/intl_ro.arb +++ b/lib/l10n/intl_ro.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:06:33.346052", + "@@last_modified": "2026-01-29 15:24:33.490827", "about": "Despre", "@about": { "type": "String", @@ -11689,5 +11689,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Înregistrarea a eșuat. Vă rugăm să verificați permisiunile audio și să încercați din nou.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_ru.arb b/lib/l10n/intl_ru.arb index cadbe2dad..c8ee20fd1 100644 --- a/lib/l10n/intl_ru.arb +++ b/lib/l10n/intl_ru.arb @@ -1,6 +1,6 @@ { "@@locale": "ru", - "@@last_modified": "2026-01-29 15:07:50.290963", + "@@last_modified": "2026-01-29 15:25:21.118191", "about": "О проекте", "@about": { "type": "String", @@ -11062,5 +11062,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Запись не удалась. Пожалуйста, проверьте свои аудиоразрешения и попробуйте снова.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_sk.arb b/lib/l10n/intl_sk.arb index e2120ec1b..c21ad3db8 100644 --- a/lib/l10n/intl_sk.arb +++ b/lib/l10n/intl_sk.arb @@ -1,6 +1,6 @@ { "@@locale": "sk", - "@@last_modified": "2026-01-29 15:06:36.035000", + "@@last_modified": "2026-01-29 15:24:35.550214", "about": "O aplikácii", "@about": { "type": "String", @@ -12038,5 +12038,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Nahrávanie zlyhalo. Skontrolujte svoje povolenia na zvuk a skúste to znova.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_sl.arb b/lib/l10n/intl_sl.arb index 456f4876d..f60670b58 100644 --- a/lib/l10n/intl_sl.arb +++ b/lib/l10n/intl_sl.arb @@ -2461,7 +2461,7 @@ "playWithAI": "Za zdaj igrajte z AI-jem", "courseStartDesc": "Pangea Bot je pripravljen kadarkoli!\n\n...ampak je bolje učiti se s prijatelji!", "@@locale": "sl", - "@@last_modified": "2026-01-29 15:06:54.198410", + "@@last_modified": "2026-01-29 15:24:46.298517", "@alwaysUse24HourFormat": { "type": "String", "placeholders": {} @@ -12035,5 +12035,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Zapisovanje ni uspelo. Preverite svoje avdio dovoljenja in poskusite znova.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_sr.arb b/lib/l10n/intl_sr.arb index c67d94f4e..5d7e48627 100644 --- a/lib/l10n/intl_sr.arb +++ b/lib/l10n/intl_sr.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:07:53.138516", + "@@last_modified": "2026-01-29 15:25:23.670980", "about": "О програму", "@about": { "type": "String", @@ -12056,5 +12056,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Snimanje nije uspelo. Proverite svoja audio dopuštenja i pokušajte ponovo.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_sv.arb b/lib/l10n/intl_sv.arb index 8f7577444..c78d86da4 100644 --- a/lib/l10n/intl_sv.arb +++ b/lib/l10n/intl_sv.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:07:40.343125", + "@@last_modified": "2026-01-29 15:25:15.398282", "about": "Om", "@about": { "type": "String", @@ -11432,5 +11432,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Inspelningen misslyckades. Kontrollera dina ljudbehörigheter och försök igen.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_ta.arb b/lib/l10n/intl_ta.arb index 5dc71df1c..7e00ff56c 100644 --- a/lib/l10n/intl_ta.arb +++ b/lib/l10n/intl_ta.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:07:28.131995", + "@@last_modified": "2026-01-29 15:25:06.783614", "acceptedTheInvitation": "👍 {username} அழைப்பை ஏற்றுக்கொண்டது", "@acceptedTheInvitation": { "type": "String", @@ -11178,5 +11178,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "பதிவு தோல்வியுற்றது. உங்கள் ஒலிப் அனுமதிகளை சரிபார்க்கவும் மற்றும் மீண்டும் முயற்சிக்கவும்.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_te.arb b/lib/l10n/intl_te.arb index d165a2632..8ee0f85f3 100644 --- a/lib/l10n/intl_te.arb +++ b/lib/l10n/intl_te.arb @@ -1917,7 +1917,7 @@ "playWithAI": "ఇప్పుడే AI తో ఆడండి", "courseStartDesc": "పాంజియా బాట్ ఎప్పుడైనా సిద్ధంగా ఉంటుంది!\n\n...కానీ స్నేహితులతో నేర్చుకోవడం మెరుగైనది!", "@@locale": "te", - "@@last_modified": "2026-01-29 15:07:22.426646", + "@@last_modified": "2026-01-29 15:25:03.384353", "@setCustomPermissionLevel": { "type": "String", "placeholders": {} @@ -12043,5 +12043,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "రికార్డింగ్ విఫలమైంది. దయచేసి మీ ఆడియో అనుమతులను తనిఖీ చేసి మళ్లీ ప్రయత్నించండి.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_th.arb b/lib/l10n/intl_th.arb index 7bb75babb..64c3ee9b5 100644 --- a/lib/l10n/intl_th.arb +++ b/lib/l10n/intl_th.arb @@ -4453,7 +4453,7 @@ "playWithAI": "เล่นกับ AI ชั่วคราว", "courseStartDesc": "Pangea Bot พร้อมที่จะเริ่มต้นได้ทุกเมื่อ!\n\n...แต่การเรียนรู้ดีกว่ากับเพื่อน!", "@@locale": "th", - "@@last_modified": "2026-01-29 15:07:08.564147", + "@@last_modified": "2026-01-29 15:24:55.978319", "@alwaysUse24HourFormat": { "type": "String", "placeholders": {} @@ -12012,5 +12012,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "การบันทึกล้มเหลว โปรดตรวจสอบสิทธิ์เสียงของคุณและลองอีกครั้ง", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_tr.arb b/lib/l10n/intl_tr.arb index e2c6b76c5..ecb6d5684 100644 --- a/lib/l10n/intl_tr.arb +++ b/lib/l10n/intl_tr.arb @@ -1,6 +1,6 @@ { "@@locale": "tr", - "@@last_modified": "2026-01-29 15:07:20.069325", + "@@last_modified": "2026-01-29 15:25:02.072081", "about": "Hakkında", "@about": { "type": "String", @@ -11176,5 +11176,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Kayıt başarısız oldu. Lütfen ses izinlerinizi kontrol edin ve tekrar deneyin.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_uk.arb b/lib/l10n/intl_uk.arb index a3b9a741f..241d83125 100644 --- a/lib/l10n/intl_uk.arb +++ b/lib/l10n/intl_uk.arb @@ -1,6 +1,6 @@ { "@@locale": "uk", - "@@last_modified": "2026-01-29 15:06:59.589347", + "@@last_modified": "2026-01-29 15:24:49.757644", "about": "Про застосунок", "@about": { "type": "String", @@ -10948,5 +10948,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Запис не вдався. Будь ласка, перевірте свої аудіоправа та спробуйте ще раз.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_vi.arb b/lib/l10n/intl_vi.arb index df1a01354..ac763b4d1 100644 --- a/lib/l10n/intl_vi.arb +++ b/lib/l10n/intl_vi.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:07:25.995959", + "@@last_modified": "2026-01-29 15:25:05.410589", "about": "Giới thiệu", "@about": { "type": "String", @@ -6532,5 +6532,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "Ghi âm không thành công. Vui lòng kiểm tra quyền truy cập âm thanh của bạn và thử lại.", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_yue.arb b/lib/l10n/intl_yue.arb index b9f996a9f..429ee83b3 100644 --- a/lib/l10n/intl_yue.arb +++ b/lib/l10n/intl_yue.arb @@ -1853,7 +1853,7 @@ "selectAll": "全選", "deselectAll": "取消全選", "@@locale": "yue", - "@@last_modified": "2026-01-29 15:06:55.682505", + "@@last_modified": "2026-01-29 15:24:47.783824", "@ignoreUser": { "type": "String", "placeholders": {} @@ -12045,5 +12045,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "錄音失敗。請檢查您的音頻權限並重試。", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_zh.arb b/lib/l10n/intl_zh.arb index 7a17c014d..a9ae94fd4 100644 --- a/lib/l10n/intl_zh.arb +++ b/lib/l10n/intl_zh.arb @@ -1,6 +1,6 @@ { "@@locale": "zh", - "@@last_modified": "2026-01-29 15:07:33.349642", + "@@last_modified": "2026-01-29 15:25:09.954015", "about": "关于", "@about": { "type": "String", @@ -10945,5 +10945,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "录音失败。请检查您的音频权限并重试。", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/l10n/intl_zh_Hant.arb b/lib/l10n/intl_zh_Hant.arb index 016259f20..872b4672d 100644 --- a/lib/l10n/intl_zh_Hant.arb +++ b/lib/l10n/intl_zh_Hant.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2026-01-29 15:07:12.085198", + "@@last_modified": "2026-01-29 15:24:57.889262", "about": "關於", "@about": { "type": "String", @@ -10952,5 +10952,10 @@ "@autoIGCToolDescription": { "type": "String", "placeholders": {} + }, + "emptyAudioError": "錄音失敗。請檢查您的音頻權限並重試。", + "@emptyAudioError": { + "type": "String", + "placeholders": {} } } \ No newline at end of file diff --git a/lib/pages/chat/recording_dialog.dart b/lib/pages/chat/recording_dialog.dart index bf450254a..501e20663 100644 --- a/lib/pages/chat/recording_dialog.dart +++ b/lib/pages/chat/recording_dialog.dart @@ -19,6 +19,8 @@ import 'events/audio_player.dart'; class PermissionException implements Exception {} +class EmptyAudioException implements Exception {} + class RecordingDialog extends StatefulWidget { const RecordingDialog({ super.key, @@ -143,6 +145,16 @@ class RecordingDialogState extends State { for (var i = 0; i < amplitudeTimeline.length; i += step) { waveform.add((amplitudeTimeline[i] / 100 * 1024).round()); } + + // #Pangea + if (amplitudeTimeline.isEmpty || amplitudeTimeline.every((e) => e <= 1)) { + if (mounted) { + setState(() => error = EmptyAudioException()); + } + return; + } + // Pangea# + Navigator.of(context, rootNavigator: false).pop( RecordingResult( path: path, @@ -168,7 +180,7 @@ class RecordingDialogState extends State { constraints: const BoxConstraints(maxWidth: 250.0), child: error is PermissionException ? Text(L10n.of(context).recordingPermissionDenied) - : kIsWeb + : kIsWeb && error is! EmptyAudioException ? Text(L10n.of(context).genericWebRecordingError) : Text(error!.toLocalizedString(context)), ) diff --git a/lib/utils/localized_exception_extension.dart b/lib/utils/localized_exception_extension.dart index 17df8cf58..0b1989b46 100644 --- a/lib/utils/localized_exception_extension.dart +++ b/lib/utils/localized_exception_extension.dart @@ -8,6 +8,7 @@ import 'package:matrix/encryption.dart'; import 'package:matrix/matrix.dart'; import 'package:fluffychat/l10n/l10n.dart'; +import 'package:fluffychat/pages/chat/recording_dialog.dart'; import 'package:fluffychat/pangea/analytics_practice/analytics_practice_session_repo.dart'; import 'package:fluffychat/pangea/common/network/requests.dart'; import 'package:fluffychat/utils/other_party_can_receive.dart'; @@ -39,6 +40,10 @@ extension LocalizedExceptionExtension on Object { if (this is InsufficientDataException) { return L10n.of(context).notEnoughToPractice; } + + if (this is EmptyAudioException) { + return L10n.of(context).emptyAudioError; + } // Pangea# if (this is FileTooBigMatrixException) { final exception = this as FileTooBigMatrixException;