PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
fix(ui): name the pages in the Background dialog's backdrop and scan messages
alehelc7715a09e7cd
diff --git a/crates/ui-egui/src/i18n/ar.tsv b/crates/ui-egui/src/i18n/ar.tsvindex 418ed9a01..e41a75241 100644--- a/crates/ui-egui/src/i18n/ar.tsv+++ b/crates/ui-egui/src/i18n/ar.tsv@@ -857,11 +857,11 @@Applies to {n} pages يُطبَّق على {n} صفحاتReplaces the existing one on those pages. يستبدل الموجود على تلك الصفحات.Checking pages… جارٍ فحص الصفحات…- This page paints its own white backdrop, which would hide the background. Replace it ترسم هذه الصفحة تعبئة بيضاء خاصة بها ستُخفي الخلفية. استبدالها- {n} pages paint their own white backdrop, which would hide the background. Replace it عدد الصفحات التي ترسم تعبئة بيضاء خاصة بها ستُخفي الخلفية: {n}. استبدالها+ Page {pages} paints its own white backdrop, which would hide the background. Replace it الصفحة {pages} ترسم تعبئة بيضاء خاصة بها ستُخفي الخلفية. استبدالها+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it الصفحات {pages} ترسم تعبئة بيضاء خاصة بها ستُخفي الخلفية. استبدالهاRemoving the background puts the page's own backdrop back. إزالة الخلفية تعيد التعبئة البيضاء الخاصة بالصفحة.- A picture covers this page (a scan?), so the background won't show there. تغطي صورة هذه الصفحة (مسح ضوئي؟)، لذا لن تظهر الخلفية فيها.- A picture covers {n} pages (scans?), so the background won't show there. عدد الصفحات التي تغطيها صور (مسح ضوئي؟): {n}؛ لن تظهر الخلفية فيها.+ A picture covers page {pages} (a scan?), so the background won't show there. تغطي صورة الصفحة {pages} (مسح ضوئي؟)، لذا لن تظهر الخلفية فيها.+ Pictures cover pages {pages} (scans?), so the background won't show there. تغطي صور الصفحات {pages} (مسح ضوئي؟)، لذا لن تظهر الخلفية فيها.PDF or image PDF أو صورةNo file chosen لم يُختر ملفPage number رقم الصفحةdiff --git a/crates/ui-egui/src/i18n/bg.tsv b/crates/ui-egui/src/i18n/bg.tsvindex c430dbf38..1854c469e 100644--- a/crates/ui-egui/src/i18n/bg.tsv+++ b/crates/ui-egui/src/i18n/bg.tsv@@ -528,11 +528,11 @@Applies to {n} pages Прилага се към {n} странициReplaces the existing one on those pages. Заменя съществуващия на тези страници.Checking pages… Проверка на страниците…- This page paints its own white backdrop, which would hide the background. Replace it Тази страница има собствено бяло запълване, което би скрило фона. Замяна- {n} pages paint their own white backdrop, which would hide the background. Replace it Страници със собствено бяло запълване, което би скрило фона: {n}. Замяна+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Страница {pages} има собствено бяло запълване, което би скрило фона. Замяна+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Страници {pages} имат собствено бяло запълване, което би скрило фона. ЗамянаRemoving the background puts the page's own backdrop back. Премахването на фона връща собственото бяло запълване на страницата.- A picture covers this page (a scan?), so the background won't show there. Изображение покрива тази страница (сканиране?), затова фонът няма да се вижда там.- A picture covers {n} pages (scans?), so the background won't show there. Страници, покрити с изображения (сканирания?): {n}; фонът няма да се вижда там.+ A picture covers page {pages} (a scan?), so the background won't show there. Изображение покрива страница {pages} (сканиране?), затова фонът няма да се вижда там.+ Pictures cover pages {pages} (scans?), so the background won't show there. Изображения покриват страници {pages} (сканирания?), затова фонът няма да се вижда там.PDF or image PDF или изображениеNo file chosen Не е избран файлPage number Номер на страницаdiff --git a/crates/ui-egui/src/i18n/ca.tsv b/crates/ui-egui/src/i18n/ca.tsvindex 45f3a3e9c..34ea8188e 100644--- a/crates/ui-egui/src/i18n/ca.tsv+++ b/crates/ui-egui/src/i18n/ca.tsv@@ -816,11 +816,11 @@Applies to {n} pages S'aplica a {n} pàginesReplaces the existing one on those pages. Substitueix l'existent en aquestes pàgines.Checking pages… S'estan comprovant les pàgines…- This page paints its own white backdrop, which would hide the background. Replace it Aquesta pàgina té el seu propi farciment blanc, que amagaria el fons. Substitueix-lo- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} pàgines tenen el seu propi farciment blanc, que amagaria el fons. Substitueix-lo+ Page {pages} paints its own white backdrop, which would hide the background. Replace it La pàgina {pages} té el seu propi farciment blanc, que amagaria el fons. Substitueix-lo+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Les pàgines {pages} tenen el seu propi farciment blanc, que amagaria el fons. Substitueix-loRemoving the background puts the page's own backdrop back. En eliminar el fons, es restaura el farciment blanc propi de la pàgina.- A picture covers this page (a scan?), so the background won't show there. Una imatge cobreix aquesta pàgina (un escaneig?), així que el fons no s'hi veurà.- A picture covers {n} pages (scans?), so the background won't show there. Hi ha imatges que cobreixen {n} pàgines (escanejos?), així que el fons no s'hi veurà.+ A picture covers page {pages} (a scan?), so the background won't show there. Una imatge cobreix la pàgina {pages} (un escaneig?), així que el fons no s'hi veurà.+ Pictures cover pages {pages} (scans?), so the background won't show there. Hi ha imatges que cobreixen les pàgines {pages} (escanejos?), així que el fons no s'hi veurà.PDF or image PDF o imatgeNo file chosen Cap fitxer triatPage number Número de pàginadiff --git a/crates/ui-egui/src/i18n/ckb.tsv b/crates/ui-egui/src/i18n/ckb.tsvindex 2e6c25968..2e7d8f69a 100644--- a/crates/ui-egui/src/i18n/ckb.tsv+++ b/crates/ui-egui/src/i18n/ckb.tsv@@ -826,11 +826,11 @@Applies to {n} pages بۆ {n} پەڕە جێبەجێ دەکرێتReplaces the existing one on those pages. ئەوەی ئێستا هەیە لەسەر ئەو پەڕانە دەگۆڕێت.Checking pages… پشکنینی پەڕەکان…- This page paints its own white backdrop, which would hide the background. Replace it ئەم پەڕەیە پڕکردنەوەیەکی سپیی خۆی هەیە کە پاشبنەماکە دەشارێتەوە. جێگرتنەوە- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} پەڕە پڕکردنەوەیەکی سپیی خۆیان هەیە کە پاشبنەماکە دەشارێتەوە. جێگرتنەوە+ Page {pages} paints its own white backdrop, which would hide the background. Replace it پەڕەی {pages} پڕکردنەوەیەکی سپیی خۆی هەیە کە پاشبنەماکە دەشارێتەوە. جێگرتنەوە+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it پەڕەکانی {pages} پڕکردنەوەیەکی سپیی خۆیان هەیە کە پاشبنەماکە دەشارێتەوە. جێگرتنەوەRemoving the background puts the page's own backdrop back. لابردنی پاشبنەما پڕکردنەوە سپییەکەی خودی پەڕەکە دەگەڕێنێتەوە.- A picture covers this page (a scan?), so the background won't show there. وێنەیەک ئەم پەڕەیە دادەپۆشێت (سکان؟)، بۆیە پاشبنەماکە لەوێ دەرناکەوێت.- A picture covers {n} pages (scans?), so the background won't show there. وێنەکان {n} پەڕە دادەپۆشن (سکان؟)، بۆیە پاشبنەماکە لەوێ دەرناکەوێت.+ A picture covers page {pages} (a scan?), so the background won't show there. وێنەیەک پەڕەی {pages} دادەپۆشێت (سکان؟)، بۆیە پاشبنەماکە لەوێ دەرناکەوێت.+ Pictures cover pages {pages} (scans?), so the background won't show there. وێنەکان پەڕەکانی {pages} دادەپۆشن (سکان؟)، بۆیە پاشبنەماکە لەوێ دەرناکەوێت.PDF or image PDF یان وێنەNo file chosen هیچ فایلێک هەڵنەبژێردراوەPage number ژمارەی پەڕەdiff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsvindex 952e9e1eb..a2d3f1b0e 100644--- a/crates/ui-egui/src/i18n/cs.tsv+++ b/crates/ui-egui/src/i18n/cs.tsv@@ -932,11 +932,11 @@ key Space MezerníkApplies to {n} pages Počet dotčených stránek: {n}Replaces the existing one on those pages. Nahradí stávající na těchto stránkách.Checking pages… Kontrola stránek…- This page paints its own white backdrop, which would hide the background. Replace it Tato stránka má vlastní bílou výplň, která by zakryla pozadí. Nahradit ji- {n} pages paint their own white backdrop, which would hide the background. Replace it Stránky s vlastní bílou výplní, která by zakryla pozadí: {n}. Nahradit ji+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Stránka {pages} má vlastní bílou výplň, která by zakryla pozadí. Nahradit ji+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Stránky {pages} mají vlastní bílou výplň, která by zakryla pozadí. Nahradit jiRemoving the background puts the page's own backdrop back. Odebráním pozadí se vrátí vlastní bílá výplň stránky.- A picture covers this page (a scan?), so the background won't show there. Tuto stránku pokrývá obrázek (sken?), takže pozadí na ní nebude vidět.- A picture covers {n} pages (scans?), so the background won't show there. Stránky pokryté obrázky (skeny?): {n}; pozadí na nich nebude vidět.+ A picture covers page {pages} (a scan?), so the background won't show there. Stránku {pages} pokrývá obrázek (sken?), takže pozadí na ní nebude vidět.+ Pictures cover pages {pages} (scans?), so the background won't show there. Stránky {pages} pokrývají obrázky (skeny?), takže pozadí na nich nebude vidět.PDF or image PDF nebo obrázekNo file chosen Není vybrán žádný souborPage number Číslo stránkydiff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsvindex e67cbbe5b..f7b6083f6 100644--- a/crates/ui-egui/src/i18n/de.tsv+++ b/crates/ui-egui/src/i18n/de.tsv@@ -835,11 +835,11 @@Applies to {n} pages Gilt für {n} SeitenReplaces the existing one on those pages. Ersetzt das Vorhandene auf diesen Seiten.Checking pages… Seiten werden geprüft…- This page paints its own white backdrop, which would hide the background. Replace it Diese Seite hat eine eigene weiße Fläche, die den Hintergrund verdecken würde. Ersetzen- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} Seiten haben eine eigene weiße Fläche, die den Hintergrund verdecken würde. Ersetzen+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Seite {pages} hat eine eigene weiße Fläche, die den Hintergrund verdecken würde. Ersetzen+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Die Seiten {pages} haben eine eigene weiße Fläche, die den Hintergrund verdecken würde. ErsetzenRemoving the background puts the page's own backdrop back. Wird der Hintergrund entfernt, kehrt die eigene weiße Fläche der Seite zurück.- A picture covers this page (a scan?), so the background won't show there. Ein Bild bedeckt diese Seite (ein Scan?), daher ist der Hintergrund dort nicht zu sehen.- A picture covers {n} pages (scans?), so the background won't show there. Bilder bedecken {n} Seiten (Scans?), daher ist der Hintergrund dort nicht zu sehen.+ A picture covers page {pages} (a scan?), so the background won't show there. Ein Bild bedeckt Seite {pages} (ein Scan?), daher ist der Hintergrund dort nicht zu sehen.+ Pictures cover pages {pages} (scans?), so the background won't show there. Bilder bedecken die Seiten {pages} (Scans?), daher ist der Hintergrund dort nicht zu sehen.PDF or image PDF oder BildNo file chosen Keine Datei ausgewähltPage number Seitenzahldiff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsvindex 72ffad8c4..143c91538 100644--- a/crates/ui-egui/src/i18n/el.tsv+++ b/crates/ui-egui/src/i18n/el.tsv@@ -439,11 +439,11 @@Applies to {n} pages Εφαρμόζεται σε {n} σελίδεςReplaces the existing one on those pages. Αντικαθιστά το υπάρχον στοιχείο στις συγκεκριμένες σελίδες.Checking pages… Έλεγχος σελίδων…- This page paints its own white backdrop, which would hide the background. Replace it Αυτή η σελίδα έχει δική της λευκή γέμιση, που θα έκρυβε το φόντο. Αντικατάσταση- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} σελίδες έχουν δική τους λευκή γέμιση, που θα έκρυβε το φόντο. Αντικατάσταση+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Η σελίδα {pages} έχει δική της λευκή γέμιση, που θα έκρυβε το φόντο. Αντικατάσταση+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Οι σελίδες {pages} έχουν δική τους λευκή γέμιση, που θα έκρυβε το φόντο. ΑντικατάστασηRemoving the background puts the page's own backdrop back. Η αφαίρεση του φόντου επαναφέρει τη λευκή γέμιση της σελίδας.- A picture covers this page (a scan?), so the background won't show there. Μια εικόνα καλύπτει αυτή τη σελίδα (σάρωση;), οπότε το φόντο δεν θα φαίνεται εκεί.- A picture covers {n} pages (scans?), so the background won't show there. Εικόνες καλύπτουν {n} σελίδες (σαρώσεις;), οπότε το φόντο δεν θα φαίνεται εκεί.+ A picture covers page {pages} (a scan?), so the background won't show there. Μια εικόνα καλύπτει τη σελίδα {pages} (σάρωση;), οπότε το φόντο δεν θα φαίνεται εκεί.+ Pictures cover pages {pages} (scans?), so the background won't show there. Εικόνες καλύπτουν τις σελίδες {pages} (σαρώσεις;), οπότε το φόντο δεν θα φαίνεται εκεί.PDF or image PDF ή εικόναNo file chosen Δεν έχει επιλεγεί αρχείοScale relative to target page Κλίμακα ως προς τη σελίδα προορισμούdiff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsvindex fdda81c7a..451b0489b 100644--- a/crates/ui-egui/src/i18n/es.tsv+++ b/crates/ui-egui/src/i18n/es.tsv@@ -851,11 +851,11 @@Applies to {n} pages Se aplica a {n} páginasReplaces the existing one on those pages. Reemplaza al existente en esas páginas.Checking pages… Comprobando páginas…- This page paints its own white backdrop, which would hide the background. Replace it Esta página tiene su propio relleno blanco, que ocultaría el fondo. Reemplazarlo- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} páginas tienen su propio relleno blanco, que ocultaría el fondo. Reemplazarlo+ Page {pages} paints its own white backdrop, which would hide the background. Replace it La página {pages} tiene su propio relleno blanco, que ocultaría el fondo. Reemplazarlo+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Las páginas {pages} tienen su propio relleno blanco, que ocultaría el fondo. ReemplazarloRemoving the background puts the page's own backdrop back. Al quitar el fondo, se restaura el relleno blanco propio de la página.- A picture covers this page (a scan?), so the background won't show there. Una imagen cubre esta página (¿un escaneo?), así que el fondo no se verá ahí.- A picture covers {n} pages (scans?), so the background won't show there. Hay imágenes que cubren {n} páginas (¿escaneos?), así que el fondo no se verá ahí.+ A picture covers page {pages} (a scan?), so the background won't show there. Una imagen cubre la página {pages} (¿un escaneo?), así que el fondo no se verá ahí.+ Pictures cover pages {pages} (scans?), so the background won't show there. Hay imágenes que cubren las páginas {pages} (¿escaneos?), así que el fondo no se verá ahí.PDF or image PDF o imagenNo file chosen Ningún archivo elegidoPage number Número de páginadiff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsvindex d2499f526..ba4a72b14 100644--- a/crates/ui-egui/src/i18n/fi.tsv+++ b/crates/ui-egui/src/i18n/fi.tsv@@ -815,11 +815,11 @@Applies to {n} pages Koskee {n} sivuaReplaces the existing one on those pages. Korvaa näiden sivujen nykyisen.Checking pages… Tarkistetaan sivuja…- This page paints its own white backdrop, which would hide the background. Replace it Tällä sivulla on oma valkoinen täyttö, joka peittäisi taustan. Korvaa se- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} sivulla on oma valkoinen täyttö, joka peittäisi taustan. Korvaa ne+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Sivulla {pages} on oma valkoinen täyttö, joka peittäisi taustan. Korvaa se+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Sivuilla {pages} on oma valkoinen täyttö, joka peittäisi taustan. Korvaa neRemoving the background puts the page's own backdrop back. Taustan poistaminen palauttaa sivun oman valkoisen täytön.- A picture covers this page (a scan?), so the background won't show there. Kuva peittää tämän sivun (skannaus?), joten tausta ei näy siinä.- A picture covers {n} pages (scans?), so the background won't show there. Kuvat peittävät {n} sivua (skannauksia?), joten tausta ei näy niissä.+ A picture covers page {pages} (a scan?), so the background won't show there. Kuva peittää sivun {pages} (skannaus?), joten tausta ei näy siinä.+ Pictures cover pages {pages} (scans?), so the background won't show there. Kuvat peittävät sivut {pages} (skannauksia?), joten tausta ei näy niissä.PDF or image PDF tai kuvaNo file chosen Tiedostoa ei ole valittuPage number Sivunumerodiff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsvindex 0e63a24ae..7eed4b9d4 100644--- a/crates/ui-egui/src/i18n/fr.tsv+++ b/crates/ui-egui/src/i18n/fr.tsv@@ -831,11 +831,11 @@Applies to {n} pages S'applique à {n} pagesReplaces the existing one on those pages. Remplace celui qui existe déjà sur ces pages.Checking pages… Vérification des pages…- This page paints its own white backdrop, which would hide the background. Replace it Cette page a son propre remplissage blanc, qui masquerait l'arrière-plan. Le remplacer- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} pages ont leur propre remplissage blanc, qui masquerait l'arrière-plan. Le remplacer+ Page {pages} paints its own white backdrop, which would hide the background. Replace it La page {pages} a son propre remplissage blanc, qui masquerait l'arrière-plan. Le remplacer+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Les pages {pages} ont leur propre remplissage blanc, qui masquerait l'arrière-plan. Le remplacerRemoving the background puts the page's own backdrop back. Supprimer l'arrière-plan rétablit le remplissage blanc propre à la page.- A picture covers this page (a scan?), so the background won't show there. Une image couvre cette page (une numérisation ?), l'arrière-plan n'y sera donc pas visible.- A picture covers {n} pages (scans?), so the background won't show there. Des images couvrent {n} pages (des numérisations ?), l'arrière-plan n'y sera donc pas visible.+ A picture covers page {pages} (a scan?), so the background won't show there. Une image couvre la page {pages} (une numérisation ?), l'arrière-plan n'y sera donc pas visible.+ Pictures cover pages {pages} (scans?), so the background won't show there. Des images couvrent les pages {pages} (des numérisations ?), l'arrière-plan n'y sera donc pas visible.PDF or image PDF ou imageNo file chosen Aucun fichier choisiPage number Numéro de pagediff --git a/crates/ui-egui/src/i18n/hi.tsv b/crates/ui-egui/src/i18n/hi.tsvindex 9202f1d62..4a6baf181 100644--- a/crates/ui-egui/src/i18n/hi.tsv+++ b/crates/ui-egui/src/i18n/hi.tsv@@ -799,11 +799,11 @@Applies to {n} pages {n} पृष्ठों पर लागूReplaces the existing one on those pages. उन पृष्ठों पर मौजूदा वाले को बदल देता है।Checking pages… पृष्ठों की जाँच हो रही है…- This page paints its own white backdrop, which would hide the background. Replace it इस पृष्ठ की अपनी सफ़ेद भराई है, जो पृष्ठभूमि को छिपा देगी। इसे बदलें- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} पृष्ठों की अपनी सफ़ेद भराई है, जो पृष्ठभूमि को छिपा देगी। इसे बदलें+ Page {pages} paints its own white backdrop, which would hide the background. Replace it पृष्ठ {pages} की अपनी सफ़ेद भराई है, जो पृष्ठभूमि को छिपा देगी। इसे बदलें+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it पृष्ठ {pages} की अपनी सफ़ेद भराई है, जो पृष्ठभूमि को छिपा देगी। इसे बदलेंRemoving the background puts the page's own backdrop back. पृष्ठभूमि हटाने पर पृष्ठ की अपनी सफ़ेद भराई वापस आ जाती है।- A picture covers this page (a scan?), so the background won't show there. एक छवि इस पृष्ठ को ढकती है (स्कैन?), इसलिए वहाँ पृष्ठभूमि नहीं दिखेगी।- A picture covers {n} pages (scans?), so the background won't show there. छवियाँ {n} पृष्ठों को ढकती हैं (स्कैन?), इसलिए वहाँ पृष्ठभूमि नहीं दिखेगी।+ A picture covers page {pages} (a scan?), so the background won't show there. एक छवि पृष्ठ {pages} को ढकती है (स्कैन?), इसलिए वहाँ पृष्ठभूमि नहीं दिखेगी।+ Pictures cover pages {pages} (scans?), so the background won't show there. छवियाँ पृष्ठ {pages} को ढकती हैं (स्कैन?), इसलिए वहाँ पृष्ठभूमि नहीं दिखेगी।PDF or image पीडीएफ़ या छविNo file chosen कोई फ़ाइल नहीं चुनी गईPage number पृष्ठ संख्याdiff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsvindex 80eeb2007..f21705c6e 100644--- a/crates/ui-egui/src/i18n/hu.tsv+++ b/crates/ui-egui/src/i18n/hu.tsv@@ -828,11 +828,11 @@Applies to {n} pages {n} oldalra vonatkozikReplaces the existing one on those pages. Lecseréli a meglévőt ezeken az oldalakon.Checking pages… Oldalak ellenőrzése…- This page paints its own white backdrop, which would hide the background. Replace it Ennek az oldalnak saját fehér kitöltése van, amely eltakarná a hátteret. Csere- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} oldalnak saját fehér kitöltése van, amely eltakarná a hátteret. Csere+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Ennek az oldalnak saját fehér kitöltése van, amely eltakarná a hátteret: {pages}. Csere+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Ezeknek az oldalaknak saját fehér kitöltése van, amely eltakarná a hátteret: {pages}. CsereRemoving the background puts the page's own backdrop back. A háttér eltávolítása visszaállítja az oldal saját fehér kitöltését.- A picture covers this page (a scan?), so the background won't show there. Egy kép fedi le ezt az oldalt (szkennelt?), így ott nem látszik a háttér.- A picture covers {n} pages (scans?), so the background won't show there. Képek fednek le {n} oldalt (szkenneltek?), így ott nem látszik a háttér.+ A picture covers page {pages} (a scan?), so the background won't show there. Egy kép fedi le ezt az oldalt: {pages} (szkennelt?), így ott nem látszik a háttér.+ Pictures cover pages {pages} (scans?), so the background won't show there. Képek fedik le ezeket az oldalakat: {pages} (szkenneltek?), így ott nem látszik a háttér.PDF or image PDF vagy képNo file chosen Nincs fájl kiválasztvaPage number Oldalszámdiff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsvindex 3d7e01d63..002cd54de 100644--- a/crates/ui-egui/src/i18n/id.tsv+++ b/crates/ui-egui/src/i18n/id.tsv@@ -945,11 +945,11 @@Replacement: pages of {name} Pengganti: halaman dari {name}Replaces the existing one on those pages. Menggantikan yang ada di halaman-halaman itu.Checking pages… Memeriksa halaman…- This page paints its own white backdrop, which would hide the background. Replace it Halaman ini memiliki isian putihnya sendiri, yang akan menutupi latar belakang. Ganti- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} halaman memiliki isian putihnya sendiri, yang akan menutupi latar belakang. Ganti+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Halaman {pages} memiliki isian putihnya sendiri, yang akan menutupi latar belakang. Ganti+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Halaman-halaman {pages} memiliki isian putihnya sendiri, yang akan menutupi latar belakang. GantiRemoving the background puts the page's own backdrop back. Menghapus latar belakang akan mengembalikan isian putih milik halaman.- A picture covers this page (a scan?), so the background won't show there. Sebuah gambar menutupi halaman ini (hasil pindai?), jadi latar belakang tidak akan terlihat di sana.- A picture covers {n} pages (scans?), so the background won't show there. Gambar menutupi {n} halaman (hasil pindai?), jadi latar belakang tidak akan terlihat di sana.+ A picture covers page {pages} (a scan?), so the background won't show there. Sebuah gambar menutupi halaman {pages} (hasil pindai?), jadi latar belakang tidak akan terlihat di sana.+ Pictures cover pages {pages} (scans?), so the background won't show there. Gambar menutupi halaman-halaman {pages} (hasil pindai?), jadi latar belakang tidak akan terlihat di sana.Report LaporanReport… Laporan…Requires user to enter a password for: Memerlukan pengguna untuk memasukkan kata sandi untuk:diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsvindex a11fb4abc..fb6461537 100644--- a/crates/ui-egui/src/i18n/it.tsv+++ b/crates/ui-egui/src/i18n/it.tsv@@ -854,11 +854,11 @@Applies to {n} pages Si applica a {n} pagineReplaces the existing one on those pages. Sostituisce l'elemento esistente su quelle pagine.Checking pages… Verifica delle pagine…- This page paints its own white backdrop, which would hide the background. Replace it Questa pagina ha un proprio riempimento bianco, che nasconderebbe lo sfondo. Sostituiscilo- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} pagine hanno un proprio riempimento bianco, che nasconderebbe lo sfondo. Sostituiscilo+ Page {pages} paints its own white backdrop, which would hide the background. Replace it La pagina {pages} ha un proprio riempimento bianco, che nasconderebbe lo sfondo. Sostituiscilo+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Le pagine {pages} hanno un proprio riempimento bianco, che nasconderebbe lo sfondo. SostituisciloRemoving the background puts the page's own backdrop back. Rimuovendo lo sfondo, il riempimento bianco della pagina viene ripristinato.- A picture covers this page (a scan?), so the background won't show there. Un'immagine copre questa pagina (una scansione?), quindi lì lo sfondo non sarà visibile.- A picture covers {n} pages (scans?), so the background won't show there. Delle immagini coprono {n} pagine (scansioni?), quindi lì lo sfondo non sarà visibile.+ A picture covers page {pages} (a scan?), so the background won't show there. Un'immagine copre la pagina {pages} (una scansione?), quindi lì lo sfondo non sarà visibile.+ Pictures cover pages {pages} (scans?), so the background won't show there. Delle immagini coprono le pagine {pages} (scansioni?), quindi lì lo sfondo non sarà visibile.PDF or image PDF o immagineNo file chosen Nessun file sceltoPage number Numero di paginadiff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsvindex f71e0b2fc..79b12f015 100644--- a/crates/ui-egui/src/i18n/ja.tsv+++ b/crates/ui-egui/src/i18n/ja.tsv@@ -858,11 +858,11 @@Applies to {n} pages {n} ページに適用Replaces the existing one on those pages. 対象ページの既存の項目を置き換えます。Checking pages… ページを確認しています…- This page paints its own white backdrop, which would hide the background. Replace it このページには独自の白い塗りがあり、背景が隠れてしまいます。置き換える- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} ページに独自の白い塗りがあり、背景が隠れてしまいます。置き換える+ Page {pages} paints its own white backdrop, which would hide the background. Replace it {pages} ページには独自の白い塗りがあり、背景が隠れてしまいます。置き換える+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it {pages} ページに独自の白い塗りがあり、背景が隠れてしまいます。置き換えるRemoving the background puts the page's own backdrop back. 背景を削除すると、ページ独自の白い塗りが元に戻ります。- A picture covers this page (a scan?), so the background won't show there. このページは画像(スキャン?)で覆われているため、背景は表示されません。- A picture covers {n} pages (scans?), so the background won't show there. {n} ページが画像(スキャン?)で覆われているため、そこでは背景は表示されません。+ A picture covers page {pages} (a scan?), so the background won't show there. {pages} ページは画像(スキャン?)で覆われているため、背景は表示されません。+ Pictures cover pages {pages} (scans?), so the background won't show there. {pages} ページが画像(スキャン?)で覆われているため、そこでは背景は表示されません。PDF or image PDF または画像No file chosen ファイルが選択されていませんPage number ページ番号diff --git a/crates/ui-egui/src/i18n/kk.tsv b/crates/ui-egui/src/i18n/kk.tsvindex 0ddf3c9b1..a040c013b 100644--- a/crates/ui-egui/src/i18n/kk.tsv+++ b/crates/ui-egui/src/i18n/kk.tsv@@ -813,11 +813,11 @@Applies to {n} pages {n} бетке қолданыладыReplaces the existing one on those pages. Осы беттерде бар элементті ауыстырады.Checking pages… Беттер тексерілуде…- This page paints its own white backdrop, which would hide the background. Replace it Бұл беттің өз ақ толтыруы бар, ол фонды жасырады. Ауыстыру- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} беттің өз ақ толтыруы бар, ол фонды жасырады. Ауыстыру+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Өз ақ толтыруы фонды жасыратын бет: {pages}. Ауыстыру+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Өз ақ толтыруы фонды жасыратын беттер: {pages}. АуыстыруRemoving the background puts the page's own backdrop back. Фонды жою беттің өз ақ толтыруын қайтарады.- A picture covers this page (a scan?), so the background won't show there. Бұл бетті сурет жауып тұр (сканер ме?), сондықтан онда фон көрінбейді.- A picture covers {n} pages (scans?), so the background won't show there. {n} бетті суреттер жауып тұр (сканер ме?), сондықтан онда фон көрінбейді.+ A picture covers page {pages} (a scan?), so the background won't show there. Сурет жауып тұрған бет (сканер ме?): {pages}; онда фон көрінбейді.+ Pictures cover pages {pages} (scans?), so the background won't show there. Суреттер жауып тұрған беттер (сканер ме?): {pages}; онда фон көрінбейді.PDF or image PDF немесе суретNo file chosen Файл таңдалмадыPage number Бет нөміріdiff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsvindex 8310f1f32..873c93b6f 100644--- a/crates/ui-egui/src/i18n/ko.tsv+++ b/crates/ui-egui/src/i18n/ko.tsv@@ -799,11 +799,11 @@Applies to {n} pages {n}개 페이지에 적용됩니다Replaces the existing one on those pages. 해당 페이지의 기존 항목을 대체합니다.Checking pages… 페이지 확인 중…- This page paints its own white backdrop, which would hide the background. Replace it 이 페이지에는 배경을 가리는 자체 흰색 채우기가 있습니다. 바꾸기- {n} pages paint their own white backdrop, which would hide the background. Replace it {n}개 페이지에 배경을 가리는 자체 흰색 채우기가 있습니다. 바꾸기+ Page {pages} paints its own white backdrop, which would hide the background. Replace it {pages}페이지에는 배경을 가리는 자체 흰색 채우기가 있습니다. 바꾸기+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it {pages}페이지에 배경을 가리는 자체 흰색 채우기가 있습니다. 바꾸기Removing the background puts the page's own backdrop back. 배경을 제거하면 페이지 자체의 흰색 채우기가 복원됩니다.- A picture covers this page (a scan?), so the background won't show there. 이미지가 이 페이지를 덮고 있어(스캔본?) 배경이 보이지 않습니다.- A picture covers {n} pages (scans?), so the background won't show there. 이미지가 {n}개 페이지를 덮고 있어(스캔본?) 배경이 보이지 않습니다.+ A picture covers page {pages} (a scan?), so the background won't show there. 이미지가 {pages}페이지를 덮고 있어(스캔본?) 배경이 보이지 않습니다.+ Pictures cover pages {pages} (scans?), so the background won't show there. 이미지들이 {pages}페이지를 덮고 있어(스캔본?) 배경이 보이지 않습니다.PDF or image PDF 또는 이미지No file chosen 선택한 파일 없음Page number 페이지 번호diff --git a/crates/ui-egui/src/i18n/lo.tsv b/crates/ui-egui/src/i18n/lo.tsvindex 587a5933a..04d5b73d1 100644--- a/crates/ui-egui/src/i18n/lo.tsv+++ b/crates/ui-egui/src/i18n/lo.tsv@@ -825,11 +825,11 @@Applies to {n} pages ນຳໃຊ້ກັບ {n} ໜ້າReplaces the existing one on those pages. ປ່ຽນແທນສິ່ງທີ່ມີຢູ່ແລ້ວໃນໜ້າເຫຼົ່ານັ້ນ.Checking pages… ກຳລັງກວດສອບໜ້າ…- This page paints its own white backdrop, which would hide the background. Replace it ໜ້ານີ້ມີພື້ນສີຂາວຂອງມັນເອງ ເຊິ່ງຈະບັງພື້ນຫຼັງ. ປ່ຽນແທນ- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} ໜ້າມີພື້ນສີຂາວຂອງມັນເອງ ເຊິ່ງຈະບັງພື້ນຫຼັງ. ປ່ຽນແທນ+ Page {pages} paints its own white backdrop, which would hide the background. Replace it ໜ້າ {pages} ມີພື້ນສີຂາວຂອງມັນເອງ ເຊິ່ງຈະບັງພື້ນຫຼັງ. ປ່ຽນແທນ+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it ໜ້າ {pages} ມີພື້ນສີຂາວຂອງພວກມັນເອງ ເຊິ່ງຈະບັງພື້ນຫຼັງ. ປ່ຽນແທນRemoving the background puts the page's own backdrop back. ການລຶບພື້ນຫຼັງຈະເອົາພື້ນສີຂາວເດີມຂອງໜ້າກັບຄືນມາ.- A picture covers this page (a scan?), so the background won't show there. ມີຮູບພາບປົກໜ້ານີ້ຢູ່ (ພາບສະແກນ?), ສະນັ້ນພື້ນຫຼັງຈະບໍ່ສະແດງຢູ່ບ່ອນນັ້ນ.- A picture covers {n} pages (scans?), so the background won't show there. ມີຮູບພາບປົກ {n} ໜ້າຢູ່ (ພາບສະແກນ?), ສະນັ້ນພື້ນຫຼັງຈະບໍ່ສະແດງຢູ່ບ່ອນນັ້ນ.+ A picture covers page {pages} (a scan?), so the background won't show there. ມີຮູບພາບປົກໜ້າ {pages} ຢູ່ (ພາບສະແກນ?), ສະນັ້ນພື້ນຫຼັງຈະບໍ່ສະແດງຢູ່ບ່ອນນັ້ນ.+ Pictures cover pages {pages} (scans?), so the background won't show there. ມີຮູບພາບຫຼາຍຮູບປົກໜ້າ {pages} ຢູ່ (ພາບສະແກນ?), ສະນັ້ນພື້ນຫຼັງຈະບໍ່ສະແດງຢູ່ບ່ອນນັ້ນ.PDF or image PDF ຫຼື ຮູບພາບNo file chosen ຍັງບໍ່ໄດ້ເລືອກໄຟລ໌Page number ໝາຍເລກໜ້າdiff --git a/crates/ui-egui/src/i18n/lt.tsv b/crates/ui-egui/src/i18n/lt.tsvindex f0839dc9d..86242b6f4 100644--- a/crates/ui-egui/src/i18n/lt.tsv+++ b/crates/ui-egui/src/i18n/lt.tsv@@ -997,11 +997,11 @@Replacement: pages of {name} Pakaitinis dokumentas: {name} puslapiaiReplaces the existing one on those pages. Tuose puslapiuose pakeičia esamą.Checking pages… Tikrinami puslapiai…- This page paints its own white backdrop, which would hide the background. Replace it Šis puslapis turi savo baltą užpildą, kuris paslėptų foną. Pakeisti- {n} pages paint their own white backdrop, which would hide the background. Replace it Puslapiai su savo baltu užpildu, kuris paslėptų foną: {n}. Pakeisti+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Puslapis su savo baltu užpildu, kuris paslėptų foną: {pages}. Pakeisti+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Puslapiai su savo baltu užpildu, kuris paslėptų foną: {pages}. PakeistiRemoving the background puts the page's own backdrop back. Pašalinus foną, grąžinamas paties puslapio baltas užpildas.- A picture covers this page (a scan?), so the background won't show there. Šį puslapį dengia paveikslėlis (nuskaitytas?), todėl fonas ten nesimatys.- A picture covers {n} pages (scans?), so the background won't show there. Paveikslėliais padengti puslapiai (nuskaityti?): {n}; fonas ten nesimatys.+ A picture covers page {pages} (a scan?), so the background won't show there. Paveikslėliu padengtas puslapis (nuskaitytas?): {pages}; fonas ten nesimatys.+ Pictures cover pages {pages} (scans?), so the background won't show there. Paveikslėliais padengti puslapiai (nuskaityti?): {pages}; fonas ten nesimatys.Report AtaskaitaReport… Ataskaita…Requires user to enter a password for: Naudotojas turi įvesti slaptažodį, kad galėtų:diff --git a/crates/ui-egui/src/i18n/nb.tsv b/crates/ui-egui/src/i18n/nb.tsvindex 6391c16a9..54bafb923 100644--- a/crates/ui-egui/src/i18n/nb.tsv+++ b/crates/ui-egui/src/i18n/nb.tsv@@ -954,11 +954,11 @@Replacement: pages of {name} Erstatning: sider fra {name}Replaces the existing one on those pages. Erstatter den eksisterende på disse sidene.Checking pages… Kontrollerer sidene…- This page paints its own white backdrop, which would hide the background. Replace it Denne siden maler sin egen hvite flate, som ville skjult bakgrunnen. Erstatt den- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} sider maler sin egen hvite flate, som ville skjult bakgrunnen. Erstatt den+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Side {pages} maler sin egen hvite flate, som ville skjult bakgrunnen. Erstatt den+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Sidene {pages} maler sine egne hvite flater, som ville skjult bakgrunnen. Erstatt demRemoving the background puts the page's own backdrop back. Når bakgrunnen fjernes, kommer sidens egen hvite flate tilbake.- A picture covers this page (a scan?), so the background won't show there. Et bilde dekker denne siden (en skanning?), så bakgrunnen vises ikke der.- A picture covers {n} pages (scans?), so the background won't show there. Bilder dekker {n} sider (skanninger?), så bakgrunnen vises ikke der.+ A picture covers page {pages} (a scan?), so the background won't show there. Et bilde dekker side {pages} (en skanning?), så bakgrunnen vises ikke der.+ Pictures cover pages {pages} (scans?), so the background won't show there. Bilder dekker sidene {pages} (skanninger?), så bakgrunnen vises ikke der.Report RapportReport… Rapport…Requires user to enter a password for: Krever at brukeren skriver inn et passord for:diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsvindex 3b732fd4d..d3b5abf68 100644--- a/crates/ui-egui/src/i18n/pl.tsv+++ b/crates/ui-egui/src/i18n/pl.tsv@@ -849,11 +849,11 @@Applies to {n} pages Liczba objętych stron: {n}Replaces the existing one on those pages. Zastępuje istniejący element na tych stronach.Checking pages… Sprawdzanie stron…- This page paints its own white backdrop, which would hide the background. Replace it Ta strona ma własne białe wypełnienie, które zasłoniłoby tło. Zastąp- {n} pages paint their own white backdrop, which would hide the background. Replace it Strony z własnym białym wypełnieniem, które zasłoniłoby tło: {n}. Zastąp+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Strona z własnym białym wypełnieniem, które zasłoniłoby tło: {pages}. Zastąp+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Strony z własnym białym wypełnieniem, które zasłoniłoby tło: {pages}. ZastąpRemoving the background puts the page's own backdrop back. Usunięcie tła przywraca własne białe wypełnienie strony.- A picture covers this page (a scan?), so the background won't show there. Tę stronę zakrywa obraz (skan?), więc tło nie będzie tam widoczne.- A picture covers {n} pages (scans?), so the background won't show there. Strony zakryte obrazami (skany?): {n}; tło nie będzie tam widoczne.+ A picture covers page {pages} (a scan?), so the background won't show there. Strona zakryta obrazem (skan?): {pages}; tło nie będzie tam widoczne.+ Pictures cover pages {pages} (scans?), so the background won't show there. Strony zakryte obrazami (skany?): {pages}; tło nie będzie tam widoczne.PDF or image PDF lub obrazNo file chosen Nie wybrano plikuPage number Numer stronydiff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsvindex b2dce497a..53c2d8461 100644--- a/crates/ui-egui/src/i18n/pt-br.tsv+++ b/crates/ui-egui/src/i18n/pt-br.tsv@@ -483,11 +483,11 @@Applies to {n} pages Aplica-se a {n} páginasReplaces the existing one on those pages. Substitui o existente nessas páginas.Checking pages… Verificando páginas…- This page paints its own white backdrop, which would hide the background. Replace it Esta página tem um preenchimento branco próprio, que esconderia o plano de fundo. Substituí-lo- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} páginas têm um preenchimento branco próprio, que esconderia o plano de fundo. Substituí-lo+ Page {pages} paints its own white backdrop, which would hide the background. Replace it A página {pages} tem um preenchimento branco próprio, que esconderia o plano de fundo. Substituí-lo+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it As páginas {pages} têm um preenchimento branco próprio, que esconderia o plano de fundo. Substituí-loRemoving the background puts the page's own backdrop back. Remover o plano de fundo restaura o preenchimento branco da página.- A picture covers this page (a scan?), so the background won't show there. Uma imagem cobre esta página (uma digitalização?), então o plano de fundo não aparecerá nela.- A picture covers {n} pages (scans?), so the background won't show there. Imagens cobrem {n} páginas (digitalizações?), então o plano de fundo não aparecerá nelas.+ A picture covers page {pages} (a scan?), so the background won't show there. Uma imagem cobre a página {pages} (uma digitalização?), então o plano de fundo não aparecerá nela.+ Pictures cover pages {pages} (scans?), so the background won't show there. Imagens cobrem as páginas {pages} (digitalizações?), então o plano de fundo não aparecerá nelas.PDF or image PDF ou imagemNo file chosen Nenhum arquivo escolhidoPage number Número da páginadiff --git a/crates/ui-egui/src/i18n/ro.tsv b/crates/ui-egui/src/i18n/ro.tsvindex 643f39538..5eb10620f 100644--- a/crates/ui-egui/src/i18n/ro.tsv+++ b/crates/ui-egui/src/i18n/ro.tsv@@ -954,11 +954,11 @@Replacement: pages of {name} Înlocuire: pagini din {name}Replaces the existing one on those pages. Înlocuiește-l pe cel existent pe acele pagini.Checking pages… Se verifică paginile…- This page paints its own white backdrop, which would hide the background. Replace it Această pagină are o umplere albă proprie, care ar ascunde fundalul. Înlocuiește-o- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} pagini au o umplere albă proprie, care ar ascunde fundalul. Înlocuiește-o+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Pagina {pages} are o umplere albă proprie, care ar ascunde fundalul. Înlocuiește-o+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Paginile {pages} au o umplere albă proprie, care ar ascunde fundalul. Înlocuiește-oRemoving the background puts the page's own backdrop back. Eliminarea fundalului readuce umplerea albă proprie a paginii.- A picture covers this page (a scan?), so the background won't show there. O imagine acoperă această pagină (o scanare?), deci fundalul nu se va vedea acolo.- A picture covers {n} pages (scans?), so the background won't show there. Imagini acoperă {n} pagini (scanări?), deci fundalul nu se va vedea acolo.+ A picture covers page {pages} (a scan?), so the background won't show there. O imagine acoperă pagina {pages} (o scanare?), deci fundalul nu se va vedea acolo.+ Pictures cover pages {pages} (scans?), so the background won't show there. Imagini acoperă paginile {pages} (scanări?), deci fundalul nu se va vedea acolo.Report RaportReport… Raport…Requires user to enter a password for: Utilizatorul trebuie să introducă o parolă pentru:diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsvindex a5c23bbe9..c3eaea9ba 100644--- a/crates/ui-egui/src/i18n/ru.tsv+++ b/crates/ui-egui/src/i18n/ru.tsv@@ -851,11 +851,11 @@Applies to {n} pages Применяется к {n} страницамReplaces the existing one on those pages. Заменяет существующий на этих страницах.Checking pages… Проверка страниц…- This page paints its own white backdrop, which would hide the background. Replace it На этой странице есть собственная белая заливка, которая скроет фон. Заменить- {n} pages paint their own white backdrop, which would hide the background. Replace it Страницы с собственной белой заливкой, которая скроет фон: {n}. Заменить+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Страница с собственной белой заливкой, которая скроет фон: {pages}. Заменить+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Страницы с собственной белой заливкой, которая скроет фон: {pages}. ЗаменитьRemoving the background puts the page's own backdrop back. При удалении фона собственная белая заливка страницы возвращается.- A picture covers this page (a scan?), so the background won't show there. Эту страницу закрывает изображение (скан?), поэтому фон там не будет виден.- A picture covers {n} pages (scans?), so the background won't show there. Страницы, закрытые изображениями (сканы?): {n}; фон там не будет виден.+ A picture covers page {pages} (a scan?), so the background won't show there. Страница, закрытая изображением (скан?): {pages}; фон там не будет виден.+ Pictures cover pages {pages} (scans?), so the background won't show there. Страницы, закрытые изображениями (сканы?): {pages}; фон там не будет виден.PDF or image PDF или изображениеNo file chosen Файл не выбранPage number Номер страницыdiff --git a/crates/ui-egui/src/i18n/sl.tsv b/crates/ui-egui/src/i18n/sl.tsvindex 5fcbdb126..d81b47794 100644--- a/crates/ui-egui/src/i18n/sl.tsv+++ b/crates/ui-egui/src/i18n/sl.tsv@@ -1523,11 +1523,11 @@Replacement: pages of {name} Zamenjava: strani datoteke {name}Replaces the existing one on those pages. Nadomesti obstoječe na teh straneh.Checking pages… Preverjanje strani…- This page paints its own white backdrop, which would hide the background. Replace it Ta stran ima lastno belo polnilo, ki bi skrilo ozadje. Zamenjaj- {n} pages paint their own white backdrop, which would hide the background. Replace it Strani z lastnim belim polnilom, ki bi skrilo ozadje: {n}. Zamenjaj+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Stran z lastnim belim polnilom, ki bi skrilo ozadje: {pages}. Zamenjaj+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Strani z lastnim belim polnilom, ki bi skrilo ozadje: {pages}. ZamenjajRemoving the background puts the page's own backdrop back. Odstranitev ozadja povrne lastno belo polnilo strani.- A picture covers this page (a scan?), so the background won't show there. To stran prekriva slika (skeniranje?), zato ozadje tam ne bo vidno.- A picture covers {n} pages (scans?), so the background won't show there. Strani, ki jih prekrivajo slike (skeniranja?): {n}; ozadje tam ne bo vidno.+ A picture covers page {pages} (a scan?), so the background won't show there. Stran, ki jo prekriva slika (skeniranje?): {pages}; ozadje tam ne bo vidno.+ Pictures cover pages {pages} (scans?), so the background won't show there. Strani, ki jih prekrivajo slike (skeniranja?): {pages}; ozadje tam ne bo vidno.Replacing images arrives on the web with image file pickers Zamenjava slik bo v spletni različici na voljo z izbirniki slikovnih datotekReplacing images on page {p} arrives on the web with image pickers ({i}) Zamenjava slik na strani {p} bo v spletni različici na voljo z izbirniki slik ({i})Reply Odgovoridiff --git a/crates/ui-egui/src/i18n/sq.tsv b/crates/ui-egui/src/i18n/sq.tsvindex c2fb7fd02..e0b8e0e72 100644--- a/crates/ui-egui/src/i18n/sq.tsv+++ b/crates/ui-egui/src/i18n/sq.tsv@@ -1476,11 +1476,11 @@Replacement: pages of {name} Zëvendësimi: faqet e {name}Replaces the existing one on those pages. Zëvendëson atë ekzistues në ato faqe.Checking pages… Po kontrollohen faqet…- This page paints its own white backdrop, which would hide the background. Replace it Kjo faqe ka mbushjen e vet të bardhë, e cila do ta fshihte sfondin. Zëvendësoje- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} faqe kanë mbushjen e tyre të bardhë, e cila do ta fshihte sfondin. Zëvendësoje+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Faqja {pages} ka mbushjen e vet të bardhë, e cila do ta fshihte sfondin. Zëvendësoje+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Faqet {pages} kanë mbushjen e tyre të bardhë, e cila do ta fshihte sfondin. ZëvendësojeRemoving the background puts the page's own backdrop back. Heqja e sfondit e rikthen mbushjen e bardhë të faqes.- A picture covers this page (a scan?), so the background won't show there. Një imazh e mbulon këtë faqe (skanim?), prandaj sfondi nuk do të duket aty.- A picture covers {n} pages (scans?), so the background won't show there. Imazhe mbulojnë {n} faqe (skanime?), prandaj sfondi nuk do të duket aty.+ A picture covers page {pages} (a scan?), so the background won't show there. Një imazh e mbulon faqen {pages} (skanim?), prandaj sfondi nuk do të duket aty.+ Pictures cover pages {pages} (scans?), so the background won't show there. Imazhe mbulojnë faqet {pages} (skanime?), prandaj sfondi nuk do të duket aty.Replacing images arrives on the web with image file pickers Zëvendësimi i imazheve vjen në ueb me zgjedhësit e skedarëve të imazhitReplacing images on page {p} arrives on the web with image pickers ({i}) Zëvendësimi i imazheve në faqen {p} vjen në ueb me zgjedhësit e imazhit ({i})Reply Përgjigjudiff --git a/crates/ui-egui/src/i18n/te.tsv b/crates/ui-egui/src/i18n/te.tsvindex 0d745bbd9..adaefdbed 100644--- a/crates/ui-egui/src/i18n/te.tsv+++ b/crates/ui-egui/src/i18n/te.tsv@@ -831,11 +831,11 @@ comment menu Edit సవరించుApplies to {n} pages {n} పేజీలకు వర్తిస్తుందిReplaces the existing one on those pages. ఆ పేజీలలో ఇప్పటికే ఉన్నదాన్ని భర్తీ చేస్తుంది.Checking pages… పేజీలను తనిఖీ చేస్తోంది…- This page paints its own white backdrop, which would hide the background. Replace it ఈ పేజీకి సొంత తెల్లని నింపు ఉంది, అది నేపథ్యాన్ని దాచేస్తుంది. భర్తీ చేయండి- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} పేజీలకు సొంత తెల్లని నింపు ఉంది, అది నేపథ్యాన్ని దాచేస్తుంది. భర్తీ చేయండి+ Page {pages} paints its own white backdrop, which would hide the background. Replace it పేజీ {pages}కి సొంత తెల్లని నింపు ఉంది, అది నేపథ్యాన్ని దాచేస్తుంది. భర్తీ చేయండి+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it పేజీలు {pages}కి సొంత తెల్లని నింపు ఉంది, అది నేపథ్యాన్ని దాచేస్తుంది. భర్తీ చేయండిRemoving the background puts the page's own backdrop back. నేపథ్యాన్ని తీసివేస్తే పేజీ సొంత తెల్లని నింపు తిరిగి వస్తుంది.- A picture covers this page (a scan?), so the background won't show there. ఈ పేజీని ఒక చిత్రం కప్పుతోంది (స్కాన్?), కాబట్టి అక్కడ నేపథ్యం కనిపించదు.- A picture covers {n} pages (scans?), so the background won't show there. {n} పేజీలను చిత్రాలు కప్పుతున్నాయి (స్కాన్లు?), కాబట్టి అక్కడ నేపథ్యం కనిపించదు.+ A picture covers page {pages} (a scan?), so the background won't show there. పేజీ {pages}ని ఒక చిత్రం కప్పుతోంది (స్కాన్?), కాబట్టి అక్కడ నేపథ్యం కనిపించదు.+ Pictures cover pages {pages} (scans?), so the background won't show there. పేజీలు {pages}ని చిత్రాలు కప్పుతున్నాయి (స్కాన్లు?), కాబట్టి అక్కడ నేపథ్యం కనిపించదు.PDF or image PDF లేదా చిత్రంNo file chosen ఫైల్ ఏదీ ఎంచుకోలేదుPage number పేజీ సంఖ్యdiff --git a/crates/ui-egui/src/i18n/th.tsv b/crates/ui-egui/src/i18n/th.tsvindex aaaaff485..274031334 100644--- a/crates/ui-egui/src/i18n/th.tsv+++ b/crates/ui-egui/src/i18n/th.tsv@@ -810,11 +810,11 @@Applies to {n} pages มีผลกับ {n} หน้าReplaces the existing one on those pages. แทนที่ของเดิมในหน้าเหล่านั้นChecking pages… กำลังตรวจสอบหน้า…- This page paints its own white backdrop, which would hide the background. Replace it หน้านี้มีพื้นสีขาวของตัวเองซึ่งจะบังพื้นหลัง แทนที่- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} หน้ามีพื้นสีขาวของตัวเองซึ่งจะบังพื้นหลัง แทนที่+ Page {pages} paints its own white backdrop, which would hide the background. Replace it หน้า {pages} มีพื้นสีขาวของตัวเองซึ่งจะบังพื้นหลัง แทนที่+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it หน้า {pages} มีพื้นสีขาวของตัวเองซึ่งจะบังพื้นหลัง แทนที่ทั้งหมดRemoving the background puts the page's own backdrop back. การเอาพื้นหลังออกจะคืนพื้นสีขาวเดิมของหน้า- A picture covers this page (a scan?), so the background won't show there. มีรูปภาพปิดหน้านี้อยู่ (ภาพสแกน?) จึงจะมองไม่เห็นพื้นหลังที่นั่น- A picture covers {n} pages (scans?), so the background won't show there. มีรูปภาพปิด {n} หน้าอยู่ (ภาพสแกน?) จึงจะมองไม่เห็นพื้นหลังที่นั่น+ A picture covers page {pages} (a scan?), so the background won't show there. มีรูปภาพปิดหน้า {pages} อยู่ (ภาพสแกน?) จึงจะมองไม่เห็นพื้นหลังที่นั่น+ Pictures cover pages {pages} (scans?), so the background won't show there. มีรูปภาพหลายรูปปิดหน้า {pages} อยู่ (ภาพสแกน?) จึงจะมองไม่เห็นพื้นหลังที่นั่นPDF or image PDF หรือรูปภาพNo file chosen ยังไม่ได้เลือกไฟล์Page number เลขหน้าdiff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsvindex 53fb666bb..a31216ca5 100644--- a/crates/ui-egui/src/i18n/tr.tsv+++ b/crates/ui-egui/src/i18n/tr.tsv@@ -812,11 +812,11 @@Applies to {n} pages {n} sayfaya uygulanırReplaces the existing one on those pages. Bu sayfalardaki mevcut olanın yerini alır.Checking pages… Sayfalar denetleniyor…- This page paints its own white backdrop, which would hide the background. Replace it Bu sayfanın arka planı gizleyecek kendi beyaz dolgusu var. Değiştir- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} sayfanın arka planı gizleyecek kendi beyaz dolgusu var. Değiştir+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Arka planı gizleyecek kendi beyaz dolgusu olan sayfa: {pages}. Değiştir+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Arka planı gizleyecek kendi beyaz dolgusu olan sayfalar: {pages}. DeğiştirRemoving the background puts the page's own backdrop back. Arka planı kaldırmak, sayfanın kendi beyaz dolgusunu geri getirir.- A picture covers this page (a scan?), so the background won't show there. Bu sayfayı bir resim kaplıyor (tarama mı?), bu yüzden arka plan orada görünmez.- A picture covers {n} pages (scans?), so the background won't show there. {n} sayfayı resimler kaplıyor (tarama mı?), bu yüzden arka plan orada görünmez.+ A picture covers page {pages} (a scan?), so the background won't show there. Resimle kaplı sayfa (tarama mı?): {pages}; arka plan orada görünmez.+ Pictures cover pages {pages} (scans?), so the background won't show there. Resimlerle kaplı sayfalar (tarama mı?): {pages}; arka plan orada görünmez.PDF or image PDF veya resimNo file chosen Dosya seçilmediPage number Sayfa numarasıdiff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsvindex 3672b982d..c1f294dfd 100644--- a/crates/ui-egui/src/i18n/uk.tsv+++ b/crates/ui-egui/src/i18n/uk.tsv@@ -855,11 +855,11 @@Applies to {n} pages Застосовується до {n} сторінокReplaces the existing one on those pages. Замінює наявний елемент на цих сторінках.Checking pages… Перевірка сторінок…- This page paints its own white backdrop, which would hide the background. Replace it Ця сторінка має власну білу заливку, яка приховає тло. Замінити- {n} pages paint their own white backdrop, which would hide the background. Replace it Сторінки з власною білою заливкою, яка приховає тло: {n}. Замінити+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Сторінка з власною білою заливкою, яка приховає тло: {pages}. Замінити+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Сторінки з власною білою заливкою, яка приховає тло: {pages}. ЗамінитиRemoving the background puts the page's own backdrop back. Вилучення тла повертає власну білу заливку сторінки.- A picture covers this page (a scan?), so the background won't show there. Цю сторінку закриває зображення (скан?), тому тло там не буде видно.- A picture covers {n} pages (scans?), so the background won't show there. Сторінки, закриті зображеннями (скани?): {n}; тло там не буде видно.+ A picture covers page {pages} (a scan?), so the background won't show there. Сторінка, закрита зображенням (скан?): {pages}; тло там не буде видно.+ Pictures cover pages {pages} (scans?), so the background won't show there. Сторінки, закриті зображеннями (скани?): {pages}; тло там не буде видно.PDF or image PDF або зображенняNo file chosen Файл не вибраноPage number Номер сторінкиdiff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsvindex 5d300e8ae..526fbac0b 100644--- a/crates/ui-egui/src/i18n/vi.tsv+++ b/crates/ui-egui/src/i18n/vi.tsv@@ -991,11 +991,11 @@ theme Appearance Giao diệnReplacement: pages of {name} Thay thế: các trang của {name}Replaces the existing one on those pages. Thay thế cái hiện có trên các trang đó.Checking pages… Đang kiểm tra các trang…- This page paints its own white backdrop, which would hide the background. Replace it Trang này có lớp tô trắng riêng, sẽ che mất nền. Thay thế- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} trang có lớp tô trắng riêng, sẽ che mất nền. Thay thế+ Page {pages} paints its own white backdrop, which would hide the background. Replace it Trang {pages} có lớp tô trắng riêng, sẽ che mất nền. Thay thế+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it Các trang {pages} có lớp tô trắng riêng, sẽ che mất nền. Thay thếRemoving the background puts the page's own backdrop back. Gỡ nền sẽ khôi phục lớp tô trắng riêng của trang.- A picture covers this page (a scan?), so the background won't show there. Một hình ảnh phủ kín trang này (bản quét?), nên nền sẽ không hiện ở đó.- A picture covers {n} pages (scans?), so the background won't show there. Hình ảnh phủ kín {n} trang (bản quét?), nên nền sẽ không hiện ở đó.+ A picture covers page {pages} (a scan?), so the background won't show there. Một hình ảnh phủ kín trang {pages} (bản quét?), nên nền sẽ không hiện ở đó.+ Pictures cover pages {pages} (scans?), so the background won't show there. Hình ảnh phủ kín các trang {pages} (bản quét?), nên nền sẽ không hiện ở đó.Report Báo cáoReport… Báo cáo…Requires user to enter a password for: Yêu cầu người dùng nhập mật khẩu cho:diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsvindex f07073c1b..005555606 100644--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@ -535,11 +535,11 @@Applies to {n} pages 应用于 {n} 页Replaces the existing one on those pages. 替换这些页面上的现有内容。Checking pages… 正在检查页面…- This page paints its own white backdrop, which would hide the background. Replace it 此页面有自己的白色填充,会遮住背景。替换它- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} 个页面有自己的白色填充,会遮住背景。替换它+ Page {pages} paints its own white backdrop, which would hide the background. Replace it 第 {pages} 页有自己的白色填充,会遮住背景。替换它+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it 第 {pages} 页各有自己的白色填充,会遮住背景。替换它们Removing the background puts the page's own backdrop back. 移除背景后,页面自己的白色填充会恢复。- A picture covers this page (a scan?), so the background won't show there. 此页面被一张图片覆盖(扫描件?),因此那里不会显示背景。- A picture covers {n} pages (scans?), so the background won't show there. {n} 个页面被图片覆盖(扫描件?),因此那里不会显示背景。+ A picture covers page {pages} (a scan?), so the background won't show there. 第 {pages} 页被一张图片覆盖(扫描件?),因此那里不会显示背景。+ Pictures cover pages {pages} (scans?), so the background won't show there. 第 {pages} 页被图片覆盖(扫描件?),因此那里不会显示背景。PDF or image PDF 或图像No file chosen 未选择文件Page number 页码diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsvindex b988a5d8b..bb42c169a 100644--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@ -487,11 +487,11 @@Applies to {n} pages 套用於 {n} 頁Replaces the existing one on those pages. 替換這些頁面上的現有內容。Checking pages… 正在檢查頁面…- This page paints its own white backdrop, which would hide the background. Replace it 此頁面有自己的白色填色,會遮住背景。取代它- {n} pages paint their own white backdrop, which would hide the background. Replace it {n} 個頁面有自己的白色填色,會遮住背景。取代它+ Page {pages} paints its own white backdrop, which would hide the background. Replace it 第 {pages} 頁有自己的白色填色,會遮住背景。取代它+ Pages {pages} paint their own white backdrop, which would hide the background. Replace it 第 {pages} 頁各有自己的白色填色,會遮住背景。取代它們Removing the background puts the page's own backdrop back. 移除背景後,頁面自己的白色填色會恢復。- A picture covers this page (a scan?), so the background won't show there. 此頁面被一張圖片覆蓋(掃描檔?),因此那裡不會顯示背景。- A picture covers {n} pages (scans?), so the background won't show there. {n} 個頁面被圖片覆蓋(掃描檔?),因此那裡不會顯示背景。+ A picture covers page {pages} (a scan?), so the background won't show there. 第 {pages} 頁被一張圖片覆蓋(掃描檔?),因此那裡不會顯示背景。+ Pictures cover pages {pages} (scans?), so the background won't show there. 第 {pages} 頁被圖片覆蓋(掃描檔?),因此那裡不會顯示背景。PDF or image PDF 或圖片No file chosen 未選擇檔案Page number 頁碼diff --git a/crates/ui-egui/src/marks_ui.rs b/crates/ui-egui/src/marks_ui.rsindex 8a445544b..2cf245033 100644--- a/crates/ui-egui/src/marks_ui.rs+++ b/crates/ui-egui/src/marks_ui.rs@@ -85,18 +85,18 @@ pub struct BackdropCheck {}/// What the check found among the pages a background goes on.-#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]+#[derive(Clone, Debug, Default, PartialEq, Eq)]pub struct BackdropCount {- /// Pages with a white backdrop that can be replaced.- pub fills: usize,- /// Pages covered by a picture (scans): the background stays hidden there.- pub images: usize,+ /// Pages (0-based, ascending) with a white backdrop that can be replaced.+ pub fills: Vec<usize>,+ /// Pages (0-based, ascending) covered by a picture (scans): the background stays hidden there.+ pub images: Vec<usize>,/// Pages not checked yet.pub pending: usize,}impl BackdropCheck {- /// Check up to [`BACKDROP_PAGES_PER_FRAME`] more of `pages` (0-based) and count them.+ /// Check up to [`BACKDROP_PAGES_PER_FRAME`] more of `pages` (0-based) and sort them.pub fn update(&mut self, doc: &pdfcraft_engine::Document, pages: &[usize]) -> BackdropCount {let key = (doc.id, doc.edit_generation());let count = doc.info.pages.len();@@ -126,11 +126,15 @@ impl BackdropCheck {let Some(slot) = self.pages.get(p) else { continue };match slot {None => n.pending += 1,- Some(Some(Backdrop::Fill)) => n.fills += 1,- Some(Some(Backdrop::Image)) => n.images += 1,+ Some(Some(Backdrop::Fill)) => n.fills.push(p),+ Some(Some(Backdrop::Image)) => n.images.push(p),Some(None) => {}}}+ for list in [&mut n.fills, &mut n.images] {+ list.sort_unstable();+ list.dedup();+ }n}}@@ -147,9 +151,21 @@ impl MarksDraft {}}-/// "1 page" or "{n} pages", in a message.-fn pages_phrase(n: usize, one: &str, many: &str) -> String {- if n == 1 { one.to_string() } else { crate::i18n::fmt(many, &[("n", &n.to_string())]) }+/// How many runs of pages a message lists before it stops with "…".+const LISTED_PAGE_RUNS: usize = 8;++/// `one` or `many` with `{pages}` replaced by `pages` (0-based, ascending) as 1-based runs+/// ("1-3, 6"), so the message says which pages it means.+fn pages_phrase(pages: &[usize], one: &str, many: &str) -> String {+ // `count` 0 never matches a list that isn't empty, so the list is always written out.+ let runs = crate::combine_ui::range_of(pages, 0);+ let mut parts: Vec<&str> = runs.split(", ").take(LISTED_PAGE_RUNS + 1).collect();+ if parts.len() > LISTED_PAGE_RUNS {+ parts.truncate(LISTED_PAGE_RUNS);+ parts.push("…");+ }+ let template = if pages.len() == 1 { one } else { many };+ crate::i18n::fmt(template, &[("pages", &parts.join(", "))])}#[derive(Clone, Debug, PartialEq)]@@ -599,22 +615,22 @@ fn backdrop_options(ui: &mut egui::Ui, t: &Tokens, d: &mut MarksDraft, doc: &pdfui.label(egui::RichText::new(tl!("Checking pages…")).small().color(t.text_faint));ui.ctx().request_repaint();}- if n.fills > 0 {+ if !n.fills.is_empty() {ui.add_space(4.0);let label = pages_phrase(- n.fills,- tl!("This page paints its own white backdrop, which would hide the background. Replace it"),- tl!("{n} pages paint their own white backdrop, which would hide the background. Replace it"),+ &n.fills,+ tl!("Page {pages} paints its own white backdrop, which would hide the background. Replace it"),+ tl!("Pages {pages} paint their own white backdrop, which would hide the background. Replace it"),);ui.add(widgets::checkbox(&mut d.bg.replace_backdrop, &label));ui.label(egui::RichText::new(tl!("Removing the background puts the page's own backdrop back.")).small().color(t.text_faint));}- if n.images > 0 {+ if !n.images.is_empty() {ui.add_space(4.0);let text = pages_phrase(- n.images,- tl!("A picture covers this page (a scan?), so the background won't show there."),- tl!("A picture covers {n} pages (scans?), so the background won't show there."),+ &n.images,+ tl!("A picture covers page {pages} (a scan?), so the background won't show there."),+ tl!("Pictures cover pages {pages} (scans?), so the background won't show there."),);ui.label(egui::RichText::new(text).small().color(crate::content_ui::UNDRAWABLE));}@@ -654,6 +670,18 @@ mod tests {assert_eq!(undrawable(MarkKind::Background, &d), None);}+ #[test]+ fn backdrop_messages_name_their_pages() {+ let phrase = |pages: &[usize]| pages_phrase(pages, "Page {pages}", "Pages {pages}");+ assert_eq!(phrase(&[2]), "Page 3");+ assert_eq!(phrase(&[0, 1, 2, 5]), "Pages 1-3, 6");+ assert_eq!(phrase(&[0, 1]), "Pages 1-2", "a whole document is still listed");+ let every_other: Vec<usize> = (0..40).step_by(2).collect();+ assert_eq!(phrase(&every_other), "Pages 1, 3, 5, 7, 9, 11, 13, 15, …", "a long list stops");+ let runs: Vec<usize> = (0..LISTED_PAGE_RUNS * 2).step_by(2).collect();+ assert_eq!(phrase(&runs), "Pages 1, 3, 5, 7, 9, 11, 13, 15", "exactly the limit: no …");+ }+#[test]fn page_ranges_with_subsets() {let r = PageRange::default();diff --git a/crates/ui-egui/tests/it/marks.rs b/crates/ui-egui/tests/it/marks.rsindex 988758911..8edc9e3ce 100644--- a/crates/ui-egui/tests/it/marks.rs+++ b/crates/ui-egui/tests/it/marks.rs@@ -179,8 +179,8 @@ fn the_background_dialog_offers_to_replace_a_white_backdrop_and_warns_about_scanassert_eq!(backdrop(&h, 0), Some(pdfcraft_engine::Backdrop::Fill));h.state_mut().execute("edit.background");h.run_steps(3);- let replace = "This page paints its own white backdrop, which would hide the background. Replace it";- h.get_by_label("A picture covers this page (a scan?), so the background won't show there.");+ let replace = "Page 1 paints its own white backdrop, which would hide the background. Replace it";+ h.get_by_label("A picture covers page 2 (a scan?), so the background won't show there.");assert!(h.state().marks_draft.bg.replace_backdrop, "on by default");// Left unticked, the backdrop stays and still hides the background.h.get_by_label(replace).click();