diff --git a/locales/ar.json b/locales/ar.json index 54d5934..37498a3 100644 --- a/locales/ar.json +++ b/locales/ar.json @@ -311,5 +311,17 @@ "Open folder": "فتح المجلد", "Tick the files you want to recover.": "حدّد الملفات التي تريد استعادتها.", "Clear search": "مسح البحث", - "Not saved: that folder is on the drive you scanned.": "لم يتم الحفظ: هذا المجلد على القرص الذي تم فحصه." + "Not saved: that folder is on the drive you scanned.": "لم يتم الحفظ: هذا المجلد على القرص الذي تم فحصه.", + "missing signature": "التوقيع مفقود", + "short header": "الترويسة قصيرة جدًا", + "invalid header length or checksum": "طول الترويسة أو مجموعها الاختباري غير صالح", + "header locations or usable bounds disagree with disk size": "مواضع الترويسة أو الحدود القابلة للاستخدام لا تطابق حجم القرص", + "invalid or unsupported partition entry dimensions": "أبعاد مُدخلات الأقسام غير صالحة أو غير مدعومة", + "entry array exceeds inspection limit": "جدول المُدخلات يتجاوز حد الفحص", + "entry array overflow": "تجاوز في جدول المُدخلات", + "entry array outside metadata area": "جدول المُدخلات خارج منطقة البيانات الوصفية", + "partition array checksum mismatch": "المجموع الاختباري لجدول الأقسام غير مطابق", + "short disk GUID": "مُعرّف GUID للقرص قصير جدًا", + "invalid disk GUID": "مُعرّف GUID للقرص غير صالح", + "unknown logical sector size": "حجم القطاع المنطقي غير معروف" } diff --git a/locales/de.json b/locales/de.json index 76eda56..edb5b44 100644 --- a/locales/de.json +++ b/locales/de.json @@ -311,5 +311,17 @@ "Open folder": "Ordner öffnen", "Tick the files you want to recover.": "Wählen Sie die Dateien aus, die Sie wiederherstellen möchten.", "Clear search": "Suche löschen", - "Not saved: that folder is on the drive you scanned.": "Nicht gespeichert: Dieser Ordner liegt auf dem durchsuchten Laufwerk." + "Not saved: that folder is on the drive you scanned.": "Nicht gespeichert: Dieser Ordner liegt auf dem durchsuchten Laufwerk.", + "missing signature": "Signatur fehlt", + "short header": "Header zu kurz", + "invalid header length or checksum": "Ungültige Header-Länge oder Prüfsumme", + "header locations or usable bounds disagree with disk size": "Header-Positionen oder nutzbare Grenzen passen nicht zur Datenträgergröße", + "invalid or unsupported partition entry dimensions": "Ungültige oder nicht unterstützte Abmessungen der Partitionseinträge", + "entry array exceeds inspection limit": "Eintragstabelle überschreitet das Prüflimit", + "entry array overflow": "Überlauf der Eintragstabelle", + "entry array outside metadata area": "Eintragstabelle außerhalb des Metadatenbereichs", + "partition array checksum mismatch": "Prüfsumme der Partitionstabelle stimmt nicht", + "short disk GUID": "Datenträger-GUID zu kurz", + "invalid disk GUID": "Ungültige Datenträger-GUID", + "unknown logical sector size": "Unbekannte logische Sektorgröße" } diff --git a/locales/en.json b/locales/en.json index 07a9ecb..d89ef30 100644 --- a/locales/en.json +++ b/locales/en.json @@ -311,5 +311,17 @@ "Open folder": "Open folder", "Tick the files you want to recover.": "Tick the files you want to recover.", "Clear search": "Clear search", - "Not saved: that folder is on the drive you scanned.": "Not saved: that folder is on the drive you scanned." + "Not saved: that folder is on the drive you scanned.": "Not saved: that folder is on the drive you scanned.", + "missing signature": "missing signature", + "short header": "short header", + "invalid header length or checksum": "invalid header length or checksum", + "header locations or usable bounds disagree with disk size": "header locations or usable bounds disagree with disk size", + "invalid or unsupported partition entry dimensions": "invalid or unsupported partition entry dimensions", + "entry array exceeds inspection limit": "entry array exceeds inspection limit", + "entry array overflow": "entry array overflow", + "entry array outside metadata area": "entry array outside metadata area", + "partition array checksum mismatch": "partition array checksum mismatch", + "short disk GUID": "short disk GUID", + "invalid disk GUID": "invalid disk GUID", + "unknown logical sector size": "unknown logical sector size" } diff --git a/locales/es.json b/locales/es.json index 32529cf..8fbc667 100644 --- a/locales/es.json +++ b/locales/es.json @@ -311,5 +311,17 @@ "Open folder": "Abrir carpeta", "Tick the files you want to recover.": "Marca los archivos que quieres recuperar.", "Clear search": "Borrar búsqueda", - "Not saved: that folder is on the drive you scanned.": "No se guardó: esa carpeta está en la unidad analizada." + "Not saved: that folder is on the drive you scanned.": "No se guardó: esa carpeta está en la unidad analizada.", + "missing signature": "falta la firma", + "short header": "encabezado demasiado corto", + "invalid header length or checksum": "longitud o suma de comprobación del encabezado no válida", + "header locations or usable bounds disagree with disk size": "las posiciones del encabezado o los límites utilizables no coinciden con el tamaño del disco", + "invalid or unsupported partition entry dimensions": "dimensiones de las entradas de partición no válidas o no compatibles", + "entry array exceeds inspection limit": "la tabla de entradas supera el límite de inspección", + "entry array overflow": "desbordamiento de la tabla de entradas", + "entry array outside metadata area": "tabla de entradas fuera del área de metadatos", + "partition array checksum mismatch": "la suma de comprobación de la tabla de particiones no coincide", + "short disk GUID": "GUID del disco demasiado corto", + "invalid disk GUID": "GUID del disco no válido", + "unknown logical sector size": "tamaño de sector lógico desconocido" } diff --git a/locales/fr.json b/locales/fr.json index 12bbe65..5178c27 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -311,5 +311,17 @@ "Open folder": "Ouvrir le dossier", "Tick the files you want to recover.": "Cochez les fichiers à récupérer.", "Clear search": "Effacer la recherche", - "Not saved: that folder is on the drive you scanned.": "Non enregistré : ce dossier se trouve sur le disque analysé." + "Not saved: that folder is on the drive you scanned.": "Non enregistré : ce dossier se trouve sur le disque analysé.", + "missing signature": "signature manquante", + "short header": "en-tête trop court", + "invalid header length or checksum": "longueur ou somme de contrôle de l’en-tête non valide", + "header locations or usable bounds disagree with disk size": "les positions de l’en-tête ou les limites utilisables ne correspondent pas à la taille du disque", + "invalid or unsupported partition entry dimensions": "dimensions des entrées de partition non valides ou non prises en charge", + "entry array exceeds inspection limit": "la table des entrées dépasse la limite d’inspection", + "entry array overflow": "dépassement de la table des entrées", + "entry array outside metadata area": "table des entrées hors de la zone de métadonnées", + "partition array checksum mismatch": "somme de contrôle de la table des partitions incorrecte", + "short disk GUID": "GUID du disque trop court", + "invalid disk GUID": "GUID du disque non valide", + "unknown logical sector size": "taille de secteur logique inconnue" } diff --git a/locales/he.json b/locales/he.json index c68ff5f..4eb89ba 100644 --- a/locales/he.json +++ b/locales/he.json @@ -311,5 +311,17 @@ "Open folder": "פתיחת התיקייה", "Tick the files you want to recover.": "סמנו את הקבצים שברצונכם לשחזר.", "Clear search": "ניקוי החיפוש", - "Not saved: that folder is on the drive you scanned.": "לא נשמר: התיקייה נמצאת בכונן שנסרק." + "Not saved: that folder is on the drive you scanned.": "לא נשמר: התיקייה נמצאת בכונן שנסרק.", + "missing signature": "חתימה חסרה", + "short header": "הכותרת קצרה מדי", + "invalid header length or checksum": "אורך הכותרת או סכום הביקורת שלה אינם תקינים", + "header locations or usable bounds disagree with disk size": "מיקומי הכותרות או הגבולות השמישים אינם תואמים לגודל הדיסק", + "invalid or unsupported partition entry dimensions": "ממדי רשומות המחיצות אינם תקינים או אינם נתמכים", + "entry array exceeds inspection limit": "טבלת הרשומות חורגת ממגבלת הבדיקה", + "entry array overflow": "גלישה בטבלת הרשומות", + "entry array outside metadata area": "טבלת הרשומות מחוץ לאזור המטא־נתונים", + "partition array checksum mismatch": "סכום הביקורת של טבלת המחיצות אינו תואם", + "short disk GUID": "מזהה ה־GUID של הדיסק קצר מדי", + "invalid disk GUID": "מזהה ה־GUID של הדיסק אינו תקין", + "unknown logical sector size": "גודל סקטור לוגי לא ידוע" } diff --git a/locales/it.json b/locales/it.json index 6b8e289..6c559c8 100644 --- a/locales/it.json +++ b/locales/it.json @@ -311,5 +311,17 @@ "Open folder": "Apri cartella", "Tick the files you want to recover.": "Spunta i file da recuperare.", "Clear search": "Cancella ricerca", - "Not saved: that folder is on the drive you scanned.": "Salvataggio bloccato: la cartella si trova sull'unità scansionata." + "Not saved: that folder is on the drive you scanned.": "Salvataggio bloccato: la cartella si trova sull'unità scansionata.", + "missing signature": "firma mancante", + "short header": "intestazione troppo corta", + "invalid header length or checksum": "lunghezza o checksum dell’intestazione non validi", + "header locations or usable bounds disagree with disk size": "le posizioni dell’intestazione o i limiti utilizzabili non corrispondono alla dimensione del disco", + "invalid or unsupported partition entry dimensions": "dimensioni delle voci di partizione non valide o non supportate", + "entry array exceeds inspection limit": "la tabella delle voci supera il limite di ispezione", + "entry array overflow": "overflow della tabella delle voci", + "entry array outside metadata area": "tabella delle voci fuori dall’area dei metadati", + "partition array checksum mismatch": "checksum della tabella delle partizioni non corrispondente", + "short disk GUID": "GUID del disco troppo corto", + "invalid disk GUID": "GUID del disco non valido", + "unknown logical sector size": "dimensione del settore logico sconosciuta" } diff --git a/locales/nl.json b/locales/nl.json index 6913070..5908583 100644 --- a/locales/nl.json +++ b/locales/nl.json @@ -311,5 +311,17 @@ "Open folder": "Map openen", "Tick the files you want to recover.": "Vink de bestanden aan die je wilt herstellen.", "Clear search": "Zoekopdracht wissen", - "Not saved: that folder is on the drive you scanned.": "Niet opgeslagen: de map staat op het station dat je hebt gescand." + "Not saved: that folder is on the drive you scanned.": "Niet opgeslagen: de map staat op het station dat je hebt gescand.", + "missing signature": "handtekening ontbreekt", + "short header": "header te kort", + "invalid header length or checksum": "ongeldige headerlengte of controlesom", + "header locations or usable bounds disagree with disk size": "headerposities of bruikbare grenzen komen niet overeen met de schijfgrootte", + "invalid or unsupported partition entry dimensions": "ongeldige of niet-ondersteunde afmetingen van partitie-items", + "entry array exceeds inspection limit": "itemtabel overschrijdt de inspectielimiet", + "entry array overflow": "overloop van de itemtabel", + "entry array outside metadata area": "itemtabel buiten het metadatagebied", + "partition array checksum mismatch": "controlesom van de partitietabel komt niet overeen", + "short disk GUID": "schijf-GUID te kort", + "invalid disk GUID": "ongeldige schijf-GUID", + "unknown logical sector size": "onbekende logische sectorgrootte" } diff --git a/locales/pt.json b/locales/pt.json index 6440c99..4bd9632 100644 --- a/locales/pt.json +++ b/locales/pt.json @@ -311,5 +311,17 @@ "Open folder": "Abrir pasta", "Tick the files you want to recover.": "Marque os arquivos que deseja recuperar.", "Clear search": "Limpar a pesquisa", - "Not saved: that folder is on the drive you scanned.": "Não salvo: essa pasta está na unidade analisada." + "Not saved: that folder is on the drive you scanned.": "Não salvo: essa pasta está na unidade analisada.", + "missing signature": "assinatura ausente", + "short header": "cabeçalho curto demais", + "invalid header length or checksum": "comprimento ou soma de verificação do cabeçalho inválido", + "header locations or usable bounds disagree with disk size": "as posições do cabeçalho ou os limites utilizáveis não correspondem ao tamanho do disco", + "invalid or unsupported partition entry dimensions": "dimensões das entradas de partição inválidas ou não suportadas", + "entry array exceeds inspection limit": "a tabela de entradas excede o limite de inspeção", + "entry array overflow": "estouro da tabela de entradas", + "entry array outside metadata area": "tabela de entradas fora da área de metadados", + "partition array checksum mismatch": "a soma de verificação da tabela de partições não confere", + "short disk GUID": "GUID do disco curto demais", + "invalid disk GUID": "GUID do disco inválido", + "unknown logical sector size": "tamanho de setor lógico desconhecido" } diff --git a/locales/ru.json b/locales/ru.json index 78ec859..f5349e5 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -311,5 +311,17 @@ "Open folder": "Открыть папку", "Tick the files you want to recover.": "Отметьте файлы, которые нужно восстановить.", "Clear search": "Очистить поиск", - "Not saved: that folder is on the drive you scanned.": "Не сохранено: эта папка находится на сканируемом диске." + "Not saved: that folder is on the drive you scanned.": "Не сохранено: эта папка находится на сканируемом диске.", + "missing signature": "отсутствует сигнатура", + "short header": "слишком короткий заголовок", + "invalid header length or checksum": "недопустимая длина или контрольная сумма заголовка", + "header locations or usable bounds disagree with disk size": "положения заголовков или границы доступной области не соответствуют размеру диска", + "invalid or unsupported partition entry dimensions": "недопустимые или неподдерживаемые размеры записей разделов", + "entry array exceeds inspection limit": "таблица записей превышает предел проверки", + "entry array overflow": "переполнение таблицы записей", + "entry array outside metadata area": "таблица записей вне области метаданных", + "partition array checksum mismatch": "контрольная сумма таблицы разделов не совпадает", + "short disk GUID": "слишком короткий GUID диска", + "invalid disk GUID": "недопустимый GUID диска", + "unknown logical sector size": "неизвестный размер логического сектора" } diff --git a/src/partition.rs b/src/partition.rs index 4aee8e6..da493ce 100644 --- a/src/partition.rs +++ b/src/partition.rs @@ -260,7 +260,11 @@ pub fn inspect( crate::i18n::t(name), crate::i18n::t("Header and array checksums verified") ), - Err(e) => format!("{} · {e}", crate::i18n::t(name)), + Err(e) => format!( + "{} · {}", + crate::i18n::t(name), + crate::i18n::t(&e.to_string()) + ), }, )); }