diff --git a/gulpfile.mjs b/gulpfile.mjs index 403d606fe..f1307c10a 100644 --- a/gulpfile.mjs +++ b/gulpfile.mjs @@ -2250,7 +2250,7 @@ function packageJson() { bugs: DIST_BUGS_URL, license: DIST_LICENSE, optionalDependencies: { - "@napi-rs/canvas": "^0.1.62", + "@napi-rs/canvas": "^0.1.64", }, browser: { canvas: false, diff --git a/l10n/be/viewer.ftl b/l10n/be/viewer.ftl index 2fcbace18..8dfd471af 100644 --- a/l10n/be/viewer.ftl +++ b/l10n/be/viewer.ftl @@ -345,6 +345,10 @@ pdfjs-editor-stamp-add-image-button-label = Дадаць выяву pdfjs-editor-free-highlight-thickness-input = Таўшчыня pdfjs-editor-free-highlight-thickness-title = .title = Змяняць таўшчыню пры вылучэнні іншых элементаў, акрамя тэксту +# .default-content is used as a placeholder in an empty text editor. +pdfjs-free-text2 = + .aria-label = Тэкставы рэдактар + .default-content = Пачніце ўводзіць… pdfjs-free-text = .aria-label = Тэкставы рэдактар pdfjs-free-text-default-content = Пачніце набор тэксту… @@ -355,8 +359,9 @@ pdfjs-ink-canvas = ## Alt-text dialog -# Alternative text (alt text) helps when people can't see the image. pdfjs-editor-alt-text-button-label = Альтэрнатыўны тэкст +pdfjs-editor-alt-text-edit-button = + .aria-label = Змяніць альтэрнатыўны тэкст pdfjs-editor-alt-text-edit-button-label = Змяніць альтэрнатыўны тэкст pdfjs-editor-alt-text-dialog-label = Выберыце варыянт pdfjs-editor-alt-text-dialog-description = Альтэрнатыўны тэкст дапамагае, калі людзі не бачаць выяву або калі яна не загружаецца. @@ -370,6 +375,9 @@ pdfjs-editor-alt-text-decorative-tooltip = Пазначаны як дэкара # .placeholder: This is a placeholder for the alt text input area pdfjs-editor-alt-text-textarea = .placeholder = Напрыклад, «Малады чалавек садзіцца за стол есці» +# Alternative text (alt text) helps when people can't see the image. +pdfjs-editor-alt-text-button = + .aria-label = Альтэрнатыўны тэкст ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. @@ -451,10 +459,16 @@ pdfjs-editor-new-alt-text-error-close-button = Закрыць pdfjs-editor-new-alt-text-ai-model-downloading-progress = Сцягванне мадэлі ШІ для тэксту для атрыбута alt ({ $downloadedSize } з { $totalSize } МБ) .aria-valuetext = Сцягванне мадэлі ШІ для тэксту для атрыбута alt ({ $downloadedSize } з { $totalSize } МБ) # This is a button that users can click to edit the alt text they have already added. +pdfjs-editor-new-alt-text-added-button = + .aria-label = Тэкст для атрыбута alt дададзены pdfjs-editor-new-alt-text-added-button-label = Тэкст для атрыбута alt дададзены # This is a button that users can click to open the alt text editor and add alt text when it is not present. +pdfjs-editor-new-alt-text-missing-button = + .aria-label = Адсутнічае тэкст для атрыбута alt pdfjs-editor-new-alt-text-missing-button-label = Адсутнічае тэкст для атрыбута alt # This is a button that opens up the alt text modal where users should review the alt text that was automatically generated. +pdfjs-editor-new-alt-text-to-review-button = + .aria-label = Водгук на тэкст для атрыбута alt pdfjs-editor-new-alt-text-to-review-button-label = Водгук на тэкст для атрыбута alt # "Created automatically" is a prefix that will be added to the beginning of any alt text that has been automatically generated. After the colon, the user will see/hear the actual alt text description. If the alt text has been edited by a human, this prefix will not appear. # Variables: diff --git a/l10n/da/viewer.ftl b/l10n/da/viewer.ftl index 2de749e7b..ba8b4eff5 100644 --- a/l10n/da/viewer.ftl +++ b/l10n/da/viewer.ftl @@ -343,6 +343,10 @@ pdfjs-editor-stamp-add-image-button-label = Tilføj billede pdfjs-editor-free-highlight-thickness-input = Tykkelse pdfjs-editor-free-highlight-thickness-title = .title = Ændr tykkelse, når andre elementer end tekst fremhæves +# .default-content is used as a placeholder in an empty text editor. +pdfjs-free-text2 = + .aria-label = Teksteditor + .default-content = Begynd at skrive… pdfjs-free-text = .aria-label = Teksteditor pdfjs-free-text-default-content = Begynd at skrive… @@ -354,6 +358,8 @@ pdfjs-ink-canvas = ## Alt-text dialog pdfjs-editor-alt-text-button-label = Alternativ tekst +pdfjs-editor-alt-text-edit-button = + .aria-label = Rediger alternativ tekst pdfjs-editor-alt-text-edit-button-label = Rediger alternativ tekst pdfjs-editor-alt-text-dialog-label = Vælg en indstilling pdfjs-editor-alt-text-dialog-description = Alternativ tekst hjælper folk, som ikke kan se billedet eller når det ikke indlæses. @@ -367,6 +373,9 @@ pdfjs-editor-alt-text-decorative-tooltip = Markeret som dekorativ # .placeholder: This is a placeholder for the alt text input area pdfjs-editor-alt-text-textarea = .placeholder = For eksempel: "En ung mand sætter sig ved et bord for at spise et måltid mad" +# Alternative text (alt text) helps when people can't see the image. +pdfjs-editor-alt-text-button = + .aria-label = Alternativ tekst ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. @@ -447,6 +456,9 @@ pdfjs-editor-new-alt-text-error-close-button = Luk # $percent (Number) - the percentage of the downloaded size. pdfjs-editor-new-alt-text-ai-model-downloading-progress = Henter alternativ tekst AI-model ({ $downloadedSize } af { $totalSize } MB) .aria-valuetext = Henter alternativ tekst AI-model ({ $downloadedSize } af { $totalSize } MB) +# This is a button that users can click to edit the alt text they have already added. +pdfjs-editor-new-alt-text-added-button = + .aria-label = Alternativ tekst tilføjet pdfjs-editor-new-alt-text-added-button-label = Alternativ tekst tilføjet # This is a button that users can click to open the alt text editor and add alt text when it is not present. pdfjs-editor-new-alt-text-missing-button = diff --git a/l10n/el/viewer.ftl b/l10n/el/viewer.ftl index 4db9d9fb9..22cb27b3d 100644 --- a/l10n/el/viewer.ftl +++ b/l10n/el/viewer.ftl @@ -346,7 +346,7 @@ pdfjs-editor-free-highlight-thickness-title = # .default-content is used as a placeholder in an empty text editor. pdfjs-free-text2 = .aria-label = Επεξεργασία κειμένου - .default-content = Ξεκινήστε την πληκτρολόγηση… + .default-content = Ξεκινήστε να πληκτρολογείτε… pdfjs-free-text = .aria-label = Επεξεργασία κειμένου pdfjs-free-text-default-content = Ξεκινήστε να πληκτρολογείτε… diff --git a/l10n/es-ES/viewer.ftl b/l10n/es-ES/viewer.ftl index 73da02ecc..f7045af93 100644 --- a/l10n/es-ES/viewer.ftl +++ b/l10n/es-ES/viewer.ftl @@ -357,8 +357,9 @@ pdfjs-ink-canvas = ## Alt-text dialog -# Alternative text (alt text) helps when people can't see the image. pdfjs-editor-alt-text-button-label = Texto alternativo +pdfjs-editor-alt-text-edit-button = + .aria-label = Editar el texto alternativo pdfjs-editor-alt-text-edit-button-label = Editar el texto alternativo pdfjs-editor-alt-text-dialog-label = Eligir una opción pdfjs-editor-alt-text-dialog-description = El texto alternativo (texto alternativo) ayuda cuando las personas no pueden ver la imagen o cuando no se carga. @@ -372,6 +373,9 @@ pdfjs-editor-alt-text-decorative-tooltip = Marcada como decorativa # .placeholder: This is a placeholder for the alt text input area pdfjs-editor-alt-text-textarea = .placeholder = Por ejemplo: “Un joven se sienta a la mesa a comer” +# Alternative text (alt text) helps when people can't see the image. +pdfjs-editor-alt-text-button = + .aria-label = Texto alternativo ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. @@ -453,10 +457,16 @@ pdfjs-editor-new-alt-text-error-close-button = Cerrar pdfjs-editor-new-alt-text-ai-model-downloading-progress = Descargando el modelo de IA de texto alternativo ({ $downloadedSize } de { $totalSize } MB) .aria-valuetext = Descargando el modelo de IA de texto alternativo ({ $downloadedSize } de { $totalSize } MB) # This is a button that users can click to edit the alt text they have already added. +pdfjs-editor-new-alt-text-added-button = + .aria-label = Se añadió el texto alternativo pdfjs-editor-new-alt-text-added-button-label = Se añadió el texto alternativo # This is a button that users can click to open the alt text editor and add alt text when it is not present. +pdfjs-editor-new-alt-text-missing-button = + .aria-label = Falta el texto alternativo pdfjs-editor-new-alt-text-missing-button-label = Falta el texto alternativo # This is a button that opens up the alt text modal where users should review the alt text that was automatically generated. +pdfjs-editor-new-alt-text-to-review-button = + .aria-label = Revisar el texto alternativo pdfjs-editor-new-alt-text-to-review-button-label = Revisar el texto alternativo # "Created automatically" is a prefix that will be added to the beginning of any alt text that has been automatically generated. After the colon, the user will see/hear the actual alt text description. If the alt text has been edited by a human, this prefix will not appear. # Variables: diff --git a/l10n/fr/viewer.ftl b/l10n/fr/viewer.ftl index f5352be39..fe367f5e7 100644 --- a/l10n/fr/viewer.ftl +++ b/l10n/fr/viewer.ftl @@ -353,8 +353,9 @@ pdfjs-ink-canvas = ## Alt-text dialog -# Alternative text (alt text) helps when people can't see the image. pdfjs-editor-alt-text-button-label = Texte alternatif +pdfjs-editor-alt-text-edit-button = + .aria-label = Modifier le texte alternatif pdfjs-editor-alt-text-edit-button-label = Modifier le texte alternatif pdfjs-editor-alt-text-dialog-label = Sélectionnez une option pdfjs-editor-alt-text-dialog-description = Le texte alternatif est utile lorsque des personnes ne peuvent pas voir l’image ou que l’image ne se charge pas. @@ -368,6 +369,9 @@ pdfjs-editor-alt-text-decorative-tooltip = Marquée comme décorative # .placeholder: This is a placeholder for the alt text input area pdfjs-editor-alt-text-textarea = .placeholder = Par exemple, « Un jeune homme est assis à une table pour prendre un repas » +# Alternative text (alt text) helps when people can't see the image. +pdfjs-editor-alt-text-button = + .aria-label = Texte alternatif ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. @@ -449,10 +453,16 @@ pdfjs-editor-new-alt-text-error-close-button = Fermer pdfjs-editor-new-alt-text-ai-model-downloading-progress = Téléchargement du modèle d’IA de texte alternatif ({ $downloadedSize } sur { $totalSize } Mo) .aria-valuetext = Téléchargement du modèle d’IA de texte alternatif ({ $downloadedSize } sur { $totalSize } Mo) # This is a button that users can click to edit the alt text they have already added. +pdfjs-editor-new-alt-text-added-button = + .aria-label = Texte alternatif ajouté pdfjs-editor-new-alt-text-added-button-label = Texte alternatif ajouté # This is a button that users can click to open the alt text editor and add alt text when it is not present. +pdfjs-editor-new-alt-text-missing-button = + .aria-label = Texte alternatif manquant pdfjs-editor-new-alt-text-missing-button-label = Texte alternatif manquant # This is a button that opens up the alt text modal where users should review the alt text that was automatically generated. +pdfjs-editor-new-alt-text-to-review-button = + .aria-label = Réviser le texte alternatif pdfjs-editor-new-alt-text-to-review-button-label = Réviser le texte alternatif # "Created automatically" is a prefix that will be added to the beginning of any alt text that has been automatically generated. After the colon, the user will see/hear the actual alt text description. If the alt text has been edited by a human, this prefix will not appear. # Variables: diff --git a/l10n/fy-NL/viewer.ftl b/l10n/fy-NL/viewer.ftl index f719817a1..d53b05906 100644 --- a/l10n/fy-NL/viewer.ftl +++ b/l10n/fy-NL/viewer.ftl @@ -439,7 +439,7 @@ pdfjs-editor-new-alt-text-dialog-edit-label = Alternative tekst (ôfbyldingsbesk # Modal header positioned above a text box where users can add the alt text. pdfjs-editor-new-alt-text-dialog-add-label = Alternative tekst (ôfbyldingsbeskriuwing) tafoegje pdfjs-editor-new-alt-text-textarea = - .placeholder = Skriuw hjir jo beskriuwing... + .placeholder = Skriuw hjir jo beskriuwing… # This text refers to the alt text box above this description. It offers a definition of alt text. pdfjs-editor-new-alt-text-description = Koarte beskriuwing foar minsken dy’t de ôfbylding net sjen kinne of wannear’t de ôfbylding net laden wurdt. # This is a required legal disclaimer that refers to the automatically created text inside the alt text box above this text. It disappears if the text is edited by a human. diff --git a/l10n/ja/viewer.ftl b/l10n/ja/viewer.ftl index 5f24b7f59..0eb7fe5f7 100644 --- a/l10n/ja/viewer.ftl +++ b/l10n/ja/viewer.ftl @@ -351,6 +351,8 @@ pdfjs-ink-canvas = # Alternative text (alt text) helps when people can't see the image. pdfjs-editor-alt-text-button-label = 代替テキスト +pdfjs-editor-alt-text-edit-button = + .aria-label = 代替テキストを編集 pdfjs-editor-alt-text-edit-button-label = 代替テキストを編集 pdfjs-editor-alt-text-dialog-label = オプションの選択 pdfjs-editor-alt-text-dialog-description = 代替テキストは画像が表示されない場合や読み込まれない場合にユーザーの助けになります。 @@ -364,6 +366,9 @@ pdfjs-editor-alt-text-decorative-tooltip = 装飾マークが付いています # .placeholder: This is a placeholder for the alt text input area pdfjs-editor-alt-text-textarea = .placeholder = 例:「若い人がテーブルの席について食事をしています」 +# Alternative text (alt text) helps when people can't see the image. +pdfjs-editor-alt-text-button = + .aria-label = 代替テキスト ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. @@ -445,10 +450,16 @@ pdfjs-editor-new-alt-text-error-close-button = 閉じる pdfjs-editor-new-alt-text-ai-model-downloading-progress = 代替テキスト AI モデルをダウンロードしています ({ $downloadedSize } / { $totalSize } MB) .aria-valuetext = 代替テキスト AI モデルをダウンロードしています ({ $downloadedSize } / { $totalSize } MB) # This is a button that users can click to edit the alt text they have already added. +pdfjs-editor-new-alt-text-added-button = + .aria-label = 代替テキストを追加しました pdfjs-editor-new-alt-text-added-button-label = 代替テキストを追加しました # This is a button that users can click to open the alt text editor and add alt text when it is not present. +pdfjs-editor-new-alt-text-missing-button = + .aria-label = 代替テキストがありません pdfjs-editor-new-alt-text-missing-button-label = 代替テキストがありません # This is a button that opens up the alt text modal where users should review the alt text that was automatically generated. +pdfjs-editor-new-alt-text-to-review-button = + .aria-label = 代替テキストをレビュー pdfjs-editor-new-alt-text-to-review-button-label = 代替テキストをレビュー # "Created automatically" is a prefix that will be added to the beginning of any alt text that has been automatically generated. After the colon, the user will see/hear the actual alt text description. If the alt text has been edited by a human, this prefix will not appear. # Variables: diff --git a/l10n/nb-NO/viewer.ftl b/l10n/nb-NO/viewer.ftl index 6165b74d1..a6441571d 100644 --- a/l10n/nb-NO/viewer.ftl +++ b/l10n/nb-NO/viewer.ftl @@ -357,8 +357,9 @@ pdfjs-ink-canvas = ## Alt-text dialog -# Alternative text (alt text) helps when people can't see the image. pdfjs-editor-alt-text-button-label = Alt-tekst +pdfjs-editor-alt-text-edit-button = + .aria-label = Rediger alt-tekst pdfjs-editor-alt-text-edit-button-label = Rediger alt-tekst tekst pdfjs-editor-alt-text-dialog-label = Velg et alternativ pdfjs-editor-alt-text-dialog-description = Alt-tekst (alternativ tekst) hjelper når folk ikke kan se bildet eller når det ikke lastes inn. @@ -372,6 +373,9 @@ pdfjs-editor-alt-text-decorative-tooltip = Merket som dekorativ # .placeholder: This is a placeholder for the alt text input area pdfjs-editor-alt-text-textarea = .placeholder = For eksempel, «En ung mann setter seg ved et bord for å spise et måltid» +# Alternative text (alt text) helps when people can't see the image. +pdfjs-editor-alt-text-button = + .aria-label = Alt-tekst ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. @@ -453,10 +457,16 @@ pdfjs-editor-new-alt-text-error-close-button = Lukk pdfjs-editor-new-alt-text-ai-model-downloading-progress = Laster ned alternativ tekst AI-modell ({ $downloadedSize } av { $totalSize } MB) .aria-valuetext = Laster ned alternativ tekst AI-modell ({ $downloadedSize } av { $totalSize } MB) # This is a button that users can click to edit the alt text they have already added. +pdfjs-editor-new-alt-text-added-button = + .aria-label = Alt-tekst lagt til pdfjs-editor-new-alt-text-added-button-label = Alternativ tekst lagt til # This is a button that users can click to open the alt text editor and add alt text when it is not present. +pdfjs-editor-new-alt-text-missing-button = + .aria-label = Mangler alt-tekst pdfjs-editor-new-alt-text-missing-button-label = Mangler alternativ tekst # This is a button that opens up the alt text modal where users should review the alt text that was automatically generated. +pdfjs-editor-new-alt-text-to-review-button = + .aria-label = Gjennomgå alt-tekst pdfjs-editor-new-alt-text-to-review-button-label = Gjennomgå alternativ tekst # "Created automatically" is a prefix that will be added to the beginning of any alt text that has been automatically generated. After the colon, the user will see/hear the actual alt text description. If the alt text has been edited by a human, this prefix will not appear. # Variables: diff --git a/l10n/nn-NO/viewer.ftl b/l10n/nn-NO/viewer.ftl index 065932a86..b70a26437 100644 --- a/l10n/nn-NO/viewer.ftl +++ b/l10n/nn-NO/viewer.ftl @@ -334,13 +334,13 @@ pdfjs-editor-remove-highlight-button = pdfjs-editor-free-text-color-input = Farge pdfjs-editor-free-text-size-input = Storleik pdfjs-editor-ink-color-input = Farge -pdfjs-editor-ink-thickness-input = Tjukkleik +pdfjs-editor-ink-thickness-input = Tjukn pdfjs-editor-ink-opacity-input = Ugjennomskinleg pdfjs-editor-stamp-add-image-button = .title = Legg til bilde pdfjs-editor-stamp-add-image-button-label = Legg til bilde # This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Tjukkleik +pdfjs-editor-free-highlight-thickness-input = Tjukn pdfjs-editor-free-highlight-thickness-title = .title = Endre tjukn når du markerer andre element enn tekst # .default-content is used as a placeholder in an empty text editor. @@ -357,7 +357,6 @@ pdfjs-ink-canvas = ## Alt-text dialog -# Alternative text (alt text) helps when people can't see the image. pdfjs-editor-alt-text-button-label = Alt-tekst pdfjs-editor-alt-text-edit-button-label = Rediger alt-tekst tekst pdfjs-editor-alt-text-dialog-label = Vel eit alternativ @@ -452,11 +451,8 @@ pdfjs-editor-new-alt-text-error-close-button = Lat att # $percent (Number) - the percentage of the downloaded size. pdfjs-editor-new-alt-text-ai-model-downloading-progress = Lastar ned AI-modell med alternativ tekst ({ $downloadedSize } av { $totalSize } MB) .aria-valuetext = Lastar ned AI-modell med alternativ tekst ({ $downloadedSize } av { $totalSize } MB) -# This is a button that users can click to edit the alt text they have already added. pdfjs-editor-new-alt-text-added-button-label = Alternativ tekst lagt til -# This is a button that users can click to open the alt text editor and add alt text when it is not present. pdfjs-editor-new-alt-text-missing-button-label = Manglande alternativ tekst -# This is a button that opens up the alt text modal where users should review the alt text that was automatically generated. pdfjs-editor-new-alt-text-to-review-button-label = Vurder alternativ tekst # "Created automatically" is a prefix that will be added to the beginning of any alt text that has been automatically generated. After the colon, the user will see/hear the actual alt text description. If the alt text has been edited by a human, this prefix will not appear. # Variables: diff --git a/l10n/pl/viewer.ftl b/l10n/pl/viewer.ftl index 5ed53a29c..98c1d0919 100644 --- a/l10n/pl/viewer.ftl +++ b/l10n/pl/viewer.ftl @@ -345,6 +345,10 @@ pdfjs-editor-stamp-add-image-button-label = Dodaj obraz pdfjs-editor-free-highlight-thickness-input = Grubość pdfjs-editor-free-highlight-thickness-title = .title = Zmień grubość podczas wyróżniania elementów innych niż tekst +# .default-content is used as a placeholder in an empty text editor. +pdfjs-free-text2 = + .aria-label = Edytor tekstu + .default-content = Zacznij pisać… pdfjs-free-text = .aria-label = Edytor tekstu pdfjs-free-text-default-content = Zacznij pisać… @@ -355,8 +359,9 @@ pdfjs-ink-canvas = ## Alt-text dialog -# Alternative text (alt text) helps when people can't see the image. pdfjs-editor-alt-text-button-label = Tekst alternatywny +pdfjs-editor-alt-text-edit-button = + .aria-label = Edytuj tekst alternatywny pdfjs-editor-alt-text-edit-button-label = Edytuj tekst alternatywny pdfjs-editor-alt-text-dialog-label = Wybierz opcję pdfjs-editor-alt-text-dialog-description = Tekst alternatywny pomaga, kiedy ktoś nie może zobaczyć obrazu lub gdy się nie wczytuje. @@ -370,6 +375,9 @@ pdfjs-editor-alt-text-decorative-tooltip = Oznaczone jako dekoracyjne # .placeholder: This is a placeholder for the alt text input area pdfjs-editor-alt-text-textarea = .placeholder = Na przykład: „Młody człowiek siada przy stole, aby zjeść posiłek” +# Alternative text (alt text) helps when people can't see the image. +pdfjs-editor-alt-text-button = + .aria-label = Tekst alternatywny ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. @@ -451,10 +459,16 @@ pdfjs-editor-new-alt-text-error-close-button = Zamknij pdfjs-editor-new-alt-text-ai-model-downloading-progress = Pobieranie modelu SI tekstu alternatywnego ({ $downloadedSize } z { $totalSize } MB) .aria-valuetext = Pobieranie modelu SI tekstu alternatywnego ({ $downloadedSize } z { $totalSize } MB) # This is a button that users can click to edit the alt text they have already added. +pdfjs-editor-new-alt-text-added-button = + .aria-label = Dodano tekst alternatywny pdfjs-editor-new-alt-text-added-button-label = Dodano tekst alternatywny # This is a button that users can click to open the alt text editor and add alt text when it is not present. +pdfjs-editor-new-alt-text-missing-button = + .aria-label = Brak tekstu alternatywnego pdfjs-editor-new-alt-text-missing-button-label = Brak tekstu alternatywnego # This is a button that opens up the alt text modal where users should review the alt text that was automatically generated. +pdfjs-editor-new-alt-text-to-review-button = + .aria-label = Przejrzyj tekst alternatywny pdfjs-editor-new-alt-text-to-review-button-label = Przejrzyj tekst alternatywny # "Created automatically" is a prefix that will be added to the beginning of any alt text that has been automatically generated. After the colon, the user will see/hear the actual alt text description. If the alt text has been edited by a human, this prefix will not appear. # Variables: diff --git a/l10n/si/viewer.ftl b/l10n/si/viewer.ftl index 0933af2df..048111609 100644 --- a/l10n/si/viewer.ftl +++ b/l10n/si/viewer.ftl @@ -182,7 +182,7 @@ pdfjs-find-highlight-checkbox = සියල්ල උද්දීපනය pdfjs-find-entire-word-checkbox-label = සමස්ත වචන pdfjs-find-reached-top = ලේඛනයේ මුදුනට ළඟා විය, පහළ සිට ඉහළට pdfjs-find-reached-bottom = ලේඛනයේ අවසානයට ළඟා විය, ඉහළ සිට පහළට -pdfjs-find-not-found = වැකිකඩ හමු නොවිණි +pdfjs-find-not-found = වැකිකඩ හමු නොවුණි ## Predefined zoom values diff --git a/l10n/sl/viewer.ftl b/l10n/sl/viewer.ftl index 1b17d9bfa..f7293c702 100644 --- a/l10n/sl/viewer.ftl +++ b/l10n/sl/viewer.ftl @@ -361,8 +361,9 @@ pdfjs-ink-canvas = ## Alt-text dialog -# Alternative text (alt text) helps when people can't see the image. pdfjs-editor-alt-text-button-label = Nadomestno besedilo +pdfjs-editor-alt-text-edit-button = + .aria-label = Uredi nadomestno besedilo pdfjs-editor-alt-text-edit-button-label = Uredi nadomestno besedilo pdfjs-editor-alt-text-dialog-label = Izberite možnost pdfjs-editor-alt-text-dialog-description = Nadomestno besedilo se prikaže tistim, ki ne vidijo slike, ali če se ta ne naloži. @@ -376,6 +377,9 @@ pdfjs-editor-alt-text-decorative-tooltip = Označeno kot okrasno # .placeholder: This is a placeholder for the alt text input area pdfjs-editor-alt-text-textarea = .placeholder = Na primer: "Mladenič sedi za mizo pri jedi" +# Alternative text (alt text) helps when people can't see the image. +pdfjs-editor-alt-text-button = + .aria-label = Nadomestno besedilo ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. @@ -457,10 +461,16 @@ pdfjs-editor-new-alt-text-error-close-button = Zapri pdfjs-editor-new-alt-text-ai-model-downloading-progress = Prenašanje modela UI za nadomestno besedilo ({ $downloadedSize } od { $totalSize } MB) .aria-valuetext = Prenašanje modela UI za nadomestno besedilo ({ $downloadedSize } od { $totalSize } MB) # This is a button that users can click to edit the alt text they have already added. +pdfjs-editor-new-alt-text-added-button = + .aria-label = Nadomestno besedilo dodano pdfjs-editor-new-alt-text-added-button-label = Nadomestno besedilo dodano # This is a button that users can click to open the alt text editor and add alt text when it is not present. +pdfjs-editor-new-alt-text-missing-button = + .aria-label = Nadomestno besedilo manjka pdfjs-editor-new-alt-text-missing-button-label = Nadomestno besedilo manjka # This is a button that opens up the alt text modal where users should review the alt text that was automatically generated. +pdfjs-editor-new-alt-text-to-review-button = + .aria-label = Oceni nadomestno besedilo pdfjs-editor-new-alt-text-to-review-button-label = Oceni nadomestno besedilo # "Created automatically" is a prefix that will be added to the beginning of any alt text that has been automatically generated. After the colon, the user will see/hear the actual alt text description. If the alt text has been edited by a human, this prefix will not appear. # Variables: diff --git a/l10n/sq/viewer.ftl b/l10n/sq/viewer.ftl index 61149609a..c800ce822 100644 --- a/l10n/sq/viewer.ftl +++ b/l10n/sq/viewer.ftl @@ -348,8 +348,9 @@ pdfjs-ink-canvas = ## Alt-text dialog -# Alternative text (alt text) helps when people can't see the image. pdfjs-editor-alt-text-button-label = Tekst alternativ +pdfjs-editor-alt-text-edit-button = + .aria-label = Përpunoni tekst alternativ pdfjs-editor-alt-text-edit-button-label = Përpunoni tekst alternativ pdfjs-editor-alt-text-dialog-label = Zgjidhni një mundësi pdfjs-editor-alt-text-dialog-description = Teksti alt (tekst alternativ) vjen në ndihmë kur njerëzit s’mund të shohin figurën, ose kur ajo nuk ngarkohet. @@ -363,6 +364,9 @@ pdfjs-editor-alt-text-decorative-tooltip = Iu vu shenjë si dekorative # .placeholder: This is a placeholder for the alt text input area pdfjs-editor-alt-text-textarea = .placeholder = Për shembull, “Një djalosh ulet në një tryezë të hajë” +# Alternative text (alt text) helps when people can't see the image. +pdfjs-editor-alt-text-button = + .aria-label = Tekst alternativ ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. @@ -444,10 +448,16 @@ pdfjs-editor-new-alt-text-error-close-button = Mbylle pdfjs-editor-new-alt-text-ai-model-downloading-progress = Po shkarkohet model IA teksti alternativ ({ $downloadedSize } nga { $totalSize } MB) .aria-valuetext = Po shkarkohet model IA teksti alternativ ({ $downloadedSize } nga { $totalSize } MB) # This is a button that users can click to edit the alt text they have already added. +pdfjs-editor-new-alt-text-added-button = + .aria-label = U shtua tekst alternativ pdfjs-editor-new-alt-text-added-button-label = U shtua tekst alternativ # This is a button that users can click to open the alt text editor and add alt text when it is not present. -pdfjs-editor-new-alt-text-missing-button-label = Mungon teskt alternativ +pdfjs-editor-new-alt-text-missing-button = + .aria-label = Mungon tekst alternativ +pdfjs-editor-new-alt-text-missing-button-label = Mungon tekst alternativ # This is a button that opens up the alt text modal where users should review the alt text that was automatically generated. +pdfjs-editor-new-alt-text-to-review-button = + .aria-label = Shqyrtoni tekst alternativ pdfjs-editor-new-alt-text-to-review-button-label = Shqyrtoni tekst alternativ # "Created automatically" is a prefix that will be added to the beginning of any alt text that has been automatically generated. After the colon, the user will see/hear the actual alt text description. If the alt text has been edited by a human, this prefix will not appear. # Variables: diff --git a/l10n/sr/viewer.ftl b/l10n/sr/viewer.ftl index dbdb67e48..337029347 100644 --- a/l10n/sr/viewer.ftl +++ b/l10n/sr/viewer.ftl @@ -162,10 +162,10 @@ pdfjs-printing-not-ready = Упозорење: PDF није у потпунос ## Tooltips and alt text for side panel toolbar buttons pdfjs-toggle-sidebar-button = - .title = Прикажи додатну палету + .title = Прикажи/сакриј бочни панел pdfjs-toggle-sidebar-notification-button = - .title = Прикажи/сакриј бочну траку (документ садржи контуру/прилоге/слојеве) -pdfjs-toggle-sidebar-button-label = Прикажи додатну палету + .title = Прикажи/сакриј бочни панел (документ садржи контуру/прилоге/слојеве) +pdfjs-toggle-sidebar-button-label = Прикажи/сакриј бочни панел pdfjs-document-outline-button = .title = Прикажи структуру документа (двоструким кликом проширујете/скупљате све ставке) pdfjs-document-outline-button-label = Контура документа diff --git a/l10n/th/viewer.ftl b/l10n/th/viewer.ftl index 3aefcef0a..5a3cc99c7 100644 --- a/l10n/th/viewer.ftl +++ b/l10n/th/viewer.ftl @@ -335,6 +335,10 @@ pdfjs-editor-stamp-add-image-button-label = เพิ่มภาพ pdfjs-editor-free-highlight-thickness-input = ความหนา pdfjs-editor-free-highlight-thickness-title = .title = เปลี่ยนความหนาเมื่อเน้นรายการอื่นๆ ที่ไม่ใช่ข้อความ +# .default-content is used as a placeholder in an empty text editor. +pdfjs-free-text2 = + .aria-label = ตัวแก้ไขข้อความ + .default-content = เริ่มพิมพ์ได้เลย… pdfjs-free-text = .aria-label = ตัวแก้ไขข้อความ pdfjs-free-text-default-content = เริ่มพิมพ์… @@ -345,8 +349,9 @@ pdfjs-ink-canvas = ## Alt-text dialog -# Alternative text (alt text) helps when people can't see the image. pdfjs-editor-alt-text-button-label = ข้อความทดแทน +pdfjs-editor-alt-text-edit-button = + .aria-label = แก้ไขข้อความทดแทน pdfjs-editor-alt-text-edit-button-label = แก้ไขข้อความทดแทน pdfjs-editor-alt-text-dialog-label = เลือกตัวเลือก pdfjs-editor-alt-text-dialog-description = ข้อความทดแทนสามารถช่วยเหลือได้เมื่อผู้ใช้มองไม่เห็นภาพ หรือภาพไม่โหลด @@ -360,6 +365,9 @@ pdfjs-editor-alt-text-decorative-tooltip = ทำเครื่องหมา # .placeholder: This is a placeholder for the alt text input area pdfjs-editor-alt-text-textarea = .placeholder = ตัวอย่างเช่น “ชายหนุ่มคนหนึ่งนั่งลงที่โต๊ะเพื่อรับประทานอาหารมื้อหนึ่ง” +# Alternative text (alt text) helps when people can't see the image. +pdfjs-editor-alt-text-button = + .aria-label = ข้อความทดแทน ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. @@ -441,10 +449,16 @@ pdfjs-editor-new-alt-text-error-close-button = ปิด pdfjs-editor-new-alt-text-ai-model-downloading-progress = กำลังดาวน์โหลดโมเดล AI สำหรับข้อความทดแทน ({ $downloadedSize } จาก { $totalSize } MB) .aria-valuetext = กำลังดาวน์โหลดโมเดล AI สำหรับข้อความทดแทน ({ $downloadedSize } จาก { $totalSize } MB) # This is a button that users can click to edit the alt text they have already added. +pdfjs-editor-new-alt-text-added-button = + .aria-label = เพิ่มข้อความทดแทนแล้ว pdfjs-editor-new-alt-text-added-button-label = เพิ่มข้อความทดแทนแล้ว # This is a button that users can click to open the alt text editor and add alt text when it is not present. +pdfjs-editor-new-alt-text-missing-button = + .aria-label = ขาดข้อความทดแทน pdfjs-editor-new-alt-text-missing-button-label = ขาดข้อความทดแทน # This is a button that opens up the alt text modal where users should review the alt text that was automatically generated. +pdfjs-editor-new-alt-text-to-review-button = + .aria-label = ตรวจสอบข้อความทดแทน pdfjs-editor-new-alt-text-to-review-button-label = ตรวจสอบข้อความทดแทน # "Created automatically" is a prefix that will be added to the beginning of any alt text that has been automatically generated. After the colon, the user will see/hear the actual alt text description. If the alt text has been edited by a human, this prefix will not appear. # Variables: diff --git a/l10n/uk/viewer.ftl b/l10n/uk/viewer.ftl index 09afd34bd..c5f1057cc 100644 --- a/l10n/uk/viewer.ftl +++ b/l10n/uk/viewer.ftl @@ -359,8 +359,9 @@ pdfjs-ink-canvas = ## Alt-text dialog -# Alternative text (alt text) helps when people can't see the image. pdfjs-editor-alt-text-button-label = Альтернативний текст +pdfjs-editor-alt-text-edit-button = + .aria-label = Редагувати альтернативний текст pdfjs-editor-alt-text-edit-button-label = Змінити альтернативний текст pdfjs-editor-alt-text-dialog-label = Вибрати варіант pdfjs-editor-alt-text-dialog-description = Альтернативний текст допомагає, коли зображення не видно або коли воно не завантажується. @@ -374,6 +375,9 @@ pdfjs-editor-alt-text-decorative-tooltip = Позначено декоратив # .placeholder: This is a placeholder for the alt text input area pdfjs-editor-alt-text-textarea = .placeholder = Наприклад, “Молодий чоловік сідає за стіл їсти” +# Alternative text (alt text) helps when people can't see the image. +pdfjs-editor-alt-text-button = + .aria-label = Альтернативний текст ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. @@ -455,10 +459,16 @@ pdfjs-editor-new-alt-text-error-close-button = Закрити pdfjs-editor-new-alt-text-ai-model-downloading-progress = Завантаження моделі ШІ для альтернативного тексту ({ $downloadedSize } з { $totalSize } МБ) .aria-valuetext = Завантаження моделі ШІ для альтернативного тексту ({ $downloadedSize } з { $totalSize } МБ) # This is a button that users can click to edit the alt text they have already added. +pdfjs-editor-new-alt-text-added-button = + .aria-label = Альтернативний текст додано pdfjs-editor-new-alt-text-added-button-label = Альтернативний текст додано # This is a button that users can click to open the alt text editor and add alt text when it is not present. +pdfjs-editor-new-alt-text-missing-button = + .aria-label = Відсутній альтернативний текст pdfjs-editor-new-alt-text-missing-button-label = Відсутній альтернативний текст # This is a button that opens up the alt text modal where users should review the alt text that was automatically generated. +pdfjs-editor-new-alt-text-to-review-button = + .aria-label = Переглянути альтернативний текст pdfjs-editor-new-alt-text-to-review-button-label = Переглянути альтернативний текст # "Created automatically" is a prefix that will be added to the beginning of any alt text that has been automatically generated. After the colon, the user will see/hear the actual alt text description. If the alt text has been edited by a human, this prefix will not appear. # Variables: diff --git a/package-lock.json b/package-lock.json index ad6e48ec0..1aad71a21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,11 +15,11 @@ "@jazzer.js/core": "^2.1.0", "@metalsmith/layouts": "^2.7.0", "@metalsmith/markdown": "^1.10.0", - "@napi-rs/canvas": "^0.1.62", - "@types/node": "^22.9.0", + "@napi-rs/canvas": "^0.1.64", + "@types/node": "^22.9.3", "autoprefixer": "^10.4.20", "babel-loader": "^9.2.1", - "caniuse-lite": "^1.0.30001680", + "caniuse-lite": "^1.0.30001684", "core-js": "^3.39.0", "eslint": "^9.15.0", "eslint-plugin-import": "^2.31.0", @@ -28,7 +28,7 @@ "eslint-plugin-no-unsanitized": "^4.1.2", "eslint-plugin-perfectionist": "^3.9.1", "eslint-plugin-prettier": "^5.2.1", - "eslint-plugin-unicorn": "^56.0.0", + "eslint-plugin-unicorn": "^56.0.1", "globals": "^15.12.0", "gulp": "^5.0.0", "gulp-cli": "^3.0.0", @@ -57,7 +57,7 @@ "terser-webpack-plugin": "^5.3.10", "tsc-alias": "^1.8.10", "ttest": "^4.0.0", - "typescript": "^5.6.3", + "typescript": "^5.7.2", "vinyl": "^3.0.0", "webpack": "^5.96.1", "webpack-stream": "^7.0.0", @@ -2353,30 +2353,31 @@ } }, "node_modules/@napi-rs/canvas": { - "version": "0.1.62", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas/-/canvas-0.1.62.tgz", - "integrity": "sha512-+aqi0evK3ohAG3pFhMhM5C6y26foMUK0C1c3dfC1p/CRETwAuQlobuFGxadHkyIgc9mVyfGTpZUCnlrzt6xSwg==", + "version": "0.1.64", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas/-/canvas-0.1.64.tgz", + "integrity": "sha512-GjvaYebjPsnvGxBsUJxW2Bh1Di9kVifWZ+LLeQEI7se4SD5Ts7GRpdLXhKM05wA4GB9reClFLRd4lUoFMcTMxw==", "dev": true, "license": "MIT", "engines": { "node": ">= 10" }, "optionalDependencies": { - "@napi-rs/canvas-android-arm64": "0.1.62", - "@napi-rs/canvas-darwin-arm64": "0.1.62", - "@napi-rs/canvas-darwin-x64": "0.1.62", - "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.62", - "@napi-rs/canvas-linux-arm64-gnu": "0.1.62", - "@napi-rs/canvas-linux-arm64-musl": "0.1.62", - "@napi-rs/canvas-linux-x64-gnu": "0.1.62", - "@napi-rs/canvas-linux-x64-musl": "0.1.62", - "@napi-rs/canvas-win32-x64-msvc": "0.1.62" + "@napi-rs/canvas-android-arm64": "0.1.64", + "@napi-rs/canvas-darwin-arm64": "0.1.64", + "@napi-rs/canvas-darwin-x64": "0.1.64", + "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.64", + "@napi-rs/canvas-linux-arm64-gnu": "0.1.64", + "@napi-rs/canvas-linux-arm64-musl": "0.1.64", + "@napi-rs/canvas-linux-riscv64-gnu": "0.1.64", + "@napi-rs/canvas-linux-x64-gnu": "0.1.64", + "@napi-rs/canvas-linux-x64-musl": "0.1.64", + "@napi-rs/canvas-win32-x64-msvc": "0.1.64" } }, "node_modules/@napi-rs/canvas-android-arm64": { - "version": "0.1.62", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-android-arm64/-/canvas-android-arm64-0.1.62.tgz", - "integrity": "sha512-gilURMgNfCqXQmw211Jo6BiaQpPS7RD5baKWgnQ17XbgpJPi8+DFtbdIzQsCiFWl6p2TfXpg3cqWfN0fm+blRw==", + "version": "0.1.64", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-android-arm64/-/canvas-android-arm64-0.1.64.tgz", + "integrity": "sha512-kyS1b0lt3Nj6QDci8mHTjLA782OpUz5+yiDzsXeOOdqPgiKuDX6ff228gJcZ5/vEOf40rvxar9cYArsTeSuhqQ==", "cpu": [ "arm64" ], @@ -2391,9 +2392,9 @@ } }, "node_modules/@napi-rs/canvas-darwin-arm64": { - "version": "0.1.62", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-arm64/-/canvas-darwin-arm64-0.1.62.tgz", - "integrity": "sha512-TodBo7kdMEeGsGa80/BTJwyG9od+AMGDFe6UW7jkU8uEJmzOROVp6Y2Ka6LfLixpEGwNUCEFEUabr/gETD7bhg==", + "version": "0.1.64", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-arm64/-/canvas-darwin-arm64-0.1.64.tgz", + "integrity": "sha512-FiXkDoQcTaKWU5ZavEpyYTB+gwLtML/KMnYBi/t5gQGbEC5sOM16S4UtQNAb5zraam0/75wqFyVbgIt3H5JbWg==", "cpu": [ "arm64" ], @@ -2408,9 +2409,9 @@ } }, "node_modules/@napi-rs/canvas-darwin-x64": { - "version": "0.1.62", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-x64/-/canvas-darwin-x64-0.1.62.tgz", - "integrity": "sha512-1SqtF7HbLh1XwxUhpkIZg2huG25UHkOvjMKh+GksARs4RiKFC7/jPnPyj3KtmkejyA6zsuqFd49qeJ3StJr4hQ==", + "version": "0.1.64", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-x64/-/canvas-darwin-x64-0.1.64.tgz", + "integrity": "sha512-TobMkHfS93VBdZclq7V82tnbYT7+swKe4rhuRtIAi+HolIPhKkoZP6mUthl841Sfsuo0f2o6ZJxn+Y6DWmZ3Tg==", "cpu": [ "x64" ], @@ -2425,9 +2426,9 @@ } }, "node_modules/@napi-rs/canvas-linux-arm-gnueabihf": { - "version": "0.1.62", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm-gnueabihf/-/canvas-linux-arm-gnueabihf-0.1.62.tgz", - "integrity": "sha512-L5Gp6sKyXV0KXw9V/Cy4DlouL/Wz+D5P14XsRQLlSnTXKVHSBEufZBopsbdjBu0XZTp5rAGWsdnACDzwMSsi+A==", + "version": "0.1.64", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm-gnueabihf/-/canvas-linux-arm-gnueabihf-0.1.64.tgz", + "integrity": "sha512-Zs4+wQpLMjsIvC1sC0+HeYsMGrNtqkhgEMdIHEA5yWLaGmLlsiiqJ+ZZKasynHLklWFfV6ywkfhPTLs2n80tlQ==", "cpu": [ "arm" ], @@ -2442,9 +2443,9 @@ } }, "node_modules/@napi-rs/canvas-linux-arm64-gnu": { - "version": "0.1.62", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-gnu/-/canvas-linux-arm64-gnu-0.1.62.tgz", - "integrity": "sha512-uiyeg4TFSf+SVOlM5pIh8a4oNEUAgL+KoCm6Qvpm8XhBmIpVrCpPShp0eje/zuaMCJtzFkenkbwOapW/blCCVQ==", + "version": "0.1.64", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-gnu/-/canvas-linux-arm64-gnu-0.1.64.tgz", + "integrity": "sha512-AaE2LU42iASw5PE8UdJ/GxAHfN2nKvnwgDL9rR+JzsN19fl4Av8R2VlnBBKVKGJekeqlAN+J+9oIFIGvKUpkpA==", "cpu": [ "arm64" ], @@ -2459,9 +2460,9 @@ } }, "node_modules/@napi-rs/canvas-linux-arm64-musl": { - "version": "0.1.62", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-musl/-/canvas-linux-arm64-musl-0.1.62.tgz", - "integrity": "sha512-diZxX37Fs/Tn2m4UDhzVxAxu0rHtis8EImamcrL+KNDSjCiEe/h0r+Gfh7wNxRv9REh10UP+zlD8PTrcSKjL3g==", + "version": "0.1.64", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-musl/-/canvas-linux-arm64-musl-0.1.64.tgz", + "integrity": "sha512-EcScvyDfBaP44pfrRxDAmv/NKo7CAM34a5HVo6xSPAlLhLaOWTcMJrlZc14Sx105Q46u2myH1DcTtVsFO9XRfg==", "cpu": [ "arm64" ], @@ -2475,10 +2476,27 @@ "node": ">= 10" } }, + "node_modules/@napi-rs/canvas-linux-riscv64-gnu": { + "version": "0.1.64", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-riscv64-gnu/-/canvas-linux-riscv64-gnu-0.1.64.tgz", + "integrity": "sha512-XlqIGfNxV3JF4+mzn+BVxCsKeYGHhYnHo5m8COn012iEri0UXU65VSgMVbAa+78neu9bXoBWT0fUI2TrnV+u1Q==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, "node_modules/@napi-rs/canvas-linux-x64-gnu": { - "version": "0.1.62", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-gnu/-/canvas-linux-x64-gnu-0.1.62.tgz", - "integrity": "sha512-nv0is/DH05kfREHD+62ienlb45Fi3kcvHKwmsHzSrvqNu0l6CFj8h8CuRvhB3tl1KStHZFDxUAqu14MecuK6eA==", + "version": "0.1.64", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-gnu/-/canvas-linux-x64-gnu-0.1.64.tgz", + "integrity": "sha512-TuVeg6ISOV/NmAYE7Gg5/lyE/SW3a2Unrd+3kTVcI76LHfZwZcdPaNaU9GKJLLv1O5/zMcgK/lJmYOpI+JU4NQ==", "cpu": [ "x64" ], @@ -2493,9 +2511,9 @@ } }, "node_modules/@napi-rs/canvas-linux-x64-musl": { - "version": "0.1.62", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-musl/-/canvas-linux-x64-musl-0.1.62.tgz", - "integrity": "sha512-r8tT3k67xN5KhPTEn2KPYZ4iEGTcE6b3+ahPpYBGhKRZfZkMdvzHnmuzcSLkjh8bBlkoiObSBK/G8oY7Q335RA==", + "version": "0.1.64", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-musl/-/canvas-linux-x64-musl-0.1.64.tgz", + "integrity": "sha512-JwfHdmSIRPlP+u8xglfxcqYfpjg6k/HROBKjeA5eSNCHUiSdH/HStyieAkMInyNjbqVL0FwTgLLNWW16fqTq8w==", "cpu": [ "x64" ], @@ -2510,9 +2528,9 @@ } }, "node_modules/@napi-rs/canvas-win32-x64-msvc": { - "version": "0.1.62", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-win32-x64-msvc/-/canvas-win32-x64-msvc-0.1.62.tgz", - "integrity": "sha512-uQdYrjHu6QfGFxD2K9qzomOzygC8Px5dy4v/PgwBSPCd0ShIjGrIGAY5YobjH2xwEtYEPL9KgJkGe3ts+k5Auw==", + "version": "0.1.64", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-win32-x64-msvc/-/canvas-win32-x64-msvc-0.1.64.tgz", + "integrity": "sha512-iVrrc+Ob9yNJ6yPeMRympLOszg2JvV6DaSostBbAs714eaQ/+i5b6dTI0QRdb/JWpm95CQ7SM/kOPZJZv7Rfjw==", "cpu": [ "x64" ], @@ -2710,9 +2728,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.9.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.0.tgz", - "integrity": "sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==", + "version": "22.9.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.3.tgz", + "integrity": "sha512-F3u1fs/fce3FFk+DAxbxc78DF8x0cY09RRL8GnXLmkJ1jvx3TtPdWoTT5/NiYfI5ASqXBmfqJi9dZ3gxMx4lzw==", "dev": true, "license": "MIT", "dependencies": { @@ -3955,9 +3973,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001680", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001680.tgz", - "integrity": "sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA==", + "version": "1.0.30001684", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001684.tgz", + "integrity": "sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==", "dev": true, "funding": [ { @@ -5627,9 +5645,9 @@ } }, "node_modules/eslint-plugin-unicorn": { - "version": "56.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-56.0.0.tgz", - "integrity": "sha512-aXpddVz/PQMmd69uxO98PA4iidiVNvA0xOtbpUoz1WhBd4RxOQQYqN618v68drY0hmy5uU2jy1bheKEVWBjlPw==", + "version": "56.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-56.0.1.tgz", + "integrity": "sha512-FwVV0Uwf8XPfVnKSGpMg7NtlZh0G0gBarCaFcMUOoqPxXryxdYxTRRv4kH6B9TFCVIrjRXG+emcxIk2ayZilog==", "dev": true, "license": "MIT", "dependencies": { @@ -13526,9 +13544,9 @@ "license": "MIT" }, "node_modules/typescript": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", - "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index 1478dbc10..867e5dfe4 100644 --- a/package.json +++ b/package.json @@ -10,11 +10,11 @@ "@jazzer.js/core": "^2.1.0", "@metalsmith/layouts": "^2.7.0", "@metalsmith/markdown": "^1.10.0", - "@napi-rs/canvas": "^0.1.62", - "@types/node": "^22.9.0", + "@napi-rs/canvas": "^0.1.64", + "@types/node": "^22.9.3", "autoprefixer": "^10.4.20", "babel-loader": "^9.2.1", - "caniuse-lite": "^1.0.30001680", + "caniuse-lite": "^1.0.30001684", "core-js": "^3.39.0", "eslint": "^9.15.0", "eslint-plugin-import": "^2.31.0", @@ -23,7 +23,7 @@ "eslint-plugin-no-unsanitized": "^4.1.2", "eslint-plugin-perfectionist": "^3.9.1", "eslint-plugin-prettier": "^5.2.1", - "eslint-plugin-unicorn": "^56.0.0", + "eslint-plugin-unicorn": "^56.0.1", "globals": "^15.12.0", "gulp": "^5.0.0", "gulp-cli": "^3.0.0", @@ -52,7 +52,7 @@ "terser-webpack-plugin": "^5.3.10", "tsc-alias": "^1.8.10", "ttest": "^4.0.0", - "typescript": "^5.6.3", + "typescript": "^5.7.2", "vinyl": "^3.0.0", "webpack": "^5.96.1", "webpack-stream": "^7.0.0", diff --git a/src/display/api.js b/src/display/api.js index c8da40b15..91cf928d1 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -851,8 +851,8 @@ class PDFDocumentProxy { } /** - * @type {Array} A (not guaranteed to be) unique ID to - * identify the PDF document. + * @type {Array} A (not guaranteed to be) unique ID to identify + * the PDF document. * NOTE: The first element will always be defined for all PDF documents, * whereas the second element is only defined for *modified* PDF documents. */