Skip to content

Commit 67076b6

Browse files
Merge pull request #19190 from timvandermeij/updates
Update dependencies and translations to the most recent versions
2 parents b870c5d + 2738d1e commit 67076b6

24 files changed

+887
-331
lines changed

eslint.config.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ export default [
103103
"web",
104104
"fluent-bundle",
105105
"fluent-dom",
106+
// See https://github.com/firebase/firebase-admin-node/discussions/1359.
107+
"eslint-plugin-perfectionist",
106108
],
107109
},
108110
],

gulpfile.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2251,7 +2251,7 @@ function packageJson() {
22512251
bugs: DIST_BUGS_URL,
22522252
license: DIST_LICENSE,
22532253
optionalDependencies: {
2254-
"@napi-rs/canvas": "^0.1.64",
2254+
"@napi-rs/canvas": "^0.1.65",
22552255
},
22562256
browser: {
22572257
canvas: false,

l10n/cs/viewer.ftl

+9
Original file line numberDiff line numberDiff line change
@@ -497,3 +497,12 @@ pdfjs-editor-alt-text-settings-editor-title = Editor alternativního textu
497497
pdfjs-editor-alt-text-settings-show-dialog-button-label = Při přidávání obrázku hned zobrazit editor alternativního textu
498498
pdfjs-editor-alt-text-settings-show-dialog-description = Pomůže vám zajistit, aby všechny vaše obrázky obsahovaly alternativní text.
499499
pdfjs-editor-alt-text-settings-close-button = Zavřít
500+
501+
## "Annotations removed" bar
502+
503+
pdfjs-editor-undo-bar-undo-button =
504+
.title = Zpět
505+
pdfjs-editor-undo-bar-undo-button-label = Zpět
506+
pdfjs-editor-undo-bar-close-button =
507+
.title = Zavřít
508+
pdfjs-editor-undo-bar-close-button-label = Zavřít

l10n/dsb/viewer.ftl

+22
Original file line numberDiff line numberDiff line change
@@ -497,3 +497,25 @@ pdfjs-editor-alt-text-settings-editor-title = Editor za alternatiwny tekst
497497
pdfjs-editor-alt-text-settings-show-dialog-button-label = Editor alternatiwnego teksta ned pokazaś, gaž se wobraz pśidawa
498498
pdfjs-editor-alt-text-settings-show-dialog-description = Pomaga, wam wšym swójim wobrazam alternatiwny tekst pśidaś.
499499
pdfjs-editor-alt-text-settings-close-button = Zacyniś
500+
501+
## "Annotations removed" bar
502+
503+
pdfjs-editor-undo-bar-message-highlight = Wótwónoźone wuzwignuś
504+
pdfjs-editor-undo-bar-message-freetext = Tekst jo se wótwónoźeł
505+
pdfjs-editor-undo-bar-message-ink = Kreslanka jo se wótwónoźeła
506+
pdfjs-editor-undo-bar-message-stamp = Wobraz jo se wótwónoźeł
507+
# Variables:
508+
# $count (Number) - the number of removed annotations.
509+
pdfjs-editor-undo-bar-message-multiple =
510+
{ $count ->
511+
[one] { $count } pśipisk jo se wótwónoźeł
512+
[two] { $count } pśipiska stej se wótwónoźełej
513+
[few] { $count } pśipiski su se wótwónoźeli
514+
*[other] { $count } pśipiskow jo se wótwónoźeło
515+
}
516+
pdfjs-editor-undo-bar-undo-button =
517+
.title = Anulěrowaś
518+
pdfjs-editor-undo-bar-undo-button-label = Anulěrowaś
519+
pdfjs-editor-undo-bar-close-button =
520+
.title = Zacyniś
521+
pdfjs-editor-undo-bar-close-button-label = Zacyniś

l10n/en-CA/viewer.ftl

+15-1
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@ pdfjs-editor-stamp-add-image-button-label = Add image
343343
pdfjs-editor-free-highlight-thickness-input = Thickness
344344
pdfjs-editor-free-highlight-thickness-title =
345345
.title = Change thickness when highlighting items other than text
346+
# .default-content is used as a placeholder in an empty text editor.
347+
pdfjs-free-text2 =
348+
.aria-label = Text Editor
349+
.default-content = Start typing…
346350
pdfjs-free-text =
347351
.aria-label = Text Editor
348352
pdfjs-free-text-default-content = Start typing…
@@ -353,8 +357,9 @@ pdfjs-ink-canvas =
353357
354358
## Alt-text dialog
355359

356-
# Alternative text (alt text) helps when people can't see the image.
357360
pdfjs-editor-alt-text-button-label = Alt text
361+
pdfjs-editor-alt-text-edit-button =
362+
.aria-label = Edit alt text
358363
pdfjs-editor-alt-text-edit-button-label = Edit alt text
359364
pdfjs-editor-alt-text-dialog-label = Choose an option
360365
pdfjs-editor-alt-text-dialog-description = Alt text (alternative text) helps when people can’t see the image or when it doesn’t load.
@@ -368,6 +373,9 @@ pdfjs-editor-alt-text-decorative-tooltip = Marked as decorative
368373
# .placeholder: This is a placeholder for the alt text input area
369374
pdfjs-editor-alt-text-textarea =
370375
.placeholder = For example, “A young man sits down at a table to eat a meal”
376+
# Alternative text (alt text) helps when people can't see the image.
377+
pdfjs-editor-alt-text-button =
378+
.aria-label = Alt text
371379
372380
## Editor resizers
373381
## This is used in an aria label to help to understand the role of the resizer.
@@ -449,10 +457,16 @@ pdfjs-editor-new-alt-text-error-close-button = Close
449457
pdfjs-editor-new-alt-text-ai-model-downloading-progress = Downloading alt text AI model ({ $downloadedSize } of { $totalSize } MB)
450458
.aria-valuetext = Downloading alt text AI model ({ $downloadedSize } of { $totalSize } MB)
451459
# This is a button that users can click to edit the alt text they have already added.
460+
pdfjs-editor-new-alt-text-added-button =
461+
.aria-label = Alt text added
452462
pdfjs-editor-new-alt-text-added-button-label = Alt text added
453463
# This is a button that users can click to open the alt text editor and add alt text when it is not present.
464+
pdfjs-editor-new-alt-text-missing-button =
465+
.aria-label = Missing alt text
454466
pdfjs-editor-new-alt-text-missing-button-label = Missing alt text
455467
# This is a button that opens up the alt text modal where users should review the alt text that was automatically generated.
468+
pdfjs-editor-new-alt-text-to-review-button =
469+
.aria-label = Review alt text
456470
pdfjs-editor-new-alt-text-to-review-button-label = Review alt text
457471
# "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.
458472
# Variables:

l10n/en-GB/viewer.ftl

+20
Original file line numberDiff line numberDiff line change
@@ -493,3 +493,23 @@ pdfjs-editor-alt-text-settings-editor-title = Alt text editor
493493
pdfjs-editor-alt-text-settings-show-dialog-button-label = Show alt text editor right away when adding an image
494494
pdfjs-editor-alt-text-settings-show-dialog-description = Helps you make sure all your images have alt text.
495495
pdfjs-editor-alt-text-settings-close-button = Close
496+
497+
## "Annotations removed" bar
498+
499+
pdfjs-editor-undo-bar-message-highlight = Highlight removed
500+
pdfjs-editor-undo-bar-message-freetext = Text removed
501+
pdfjs-editor-undo-bar-message-ink = Drawing removed
502+
pdfjs-editor-undo-bar-message-stamp = Image removed
503+
# Variables:
504+
# $count (Number) - the number of removed annotations.
505+
pdfjs-editor-undo-bar-message-multiple =
506+
{ $count ->
507+
[one] { $count } annotation removed
508+
*[other] { $count } annotations removed
509+
}
510+
pdfjs-editor-undo-bar-undo-button =
511+
.title = Undo
512+
pdfjs-editor-undo-bar-undo-button-label = Undo
513+
pdfjs-editor-undo-bar-close-button =
514+
.title = Close
515+
pdfjs-editor-undo-bar-close-button-label = Close

l10n/es-AR/viewer.ftl

+20
Original file line numberDiff line numberDiff line change
@@ -493,3 +493,23 @@ pdfjs-editor-alt-text-settings-editor-title = Editor de texto alternativo
493493
pdfjs-editor-alt-text-settings-show-dialog-button-label = Mostrar el editor de texto alternativo inmediatamente al agregar una imagen
494494
pdfjs-editor-alt-text-settings-show-dialog-description = Te ayuda a asegurarse de que todas las imágenes tengan texto alternativo.
495495
pdfjs-editor-alt-text-settings-close-button = Cerrar
496+
497+
## "Annotations removed" bar
498+
499+
pdfjs-editor-undo-bar-message-highlight = Resaltado eliminado
500+
pdfjs-editor-undo-bar-message-freetext = Texto eliminado
501+
pdfjs-editor-undo-bar-message-ink = Dibujo eliminado
502+
pdfjs-editor-undo-bar-message-stamp = Imagen eliminado
503+
# Variables:
504+
# $count (Number) - the number of removed annotations.
505+
pdfjs-editor-undo-bar-message-multiple =
506+
{ $count ->
507+
[one] { $count } anotación eliminada
508+
*[other] { $count } anotaciones eliminadas
509+
}
510+
pdfjs-editor-undo-bar-undo-button =
511+
.title = Deshacer
512+
pdfjs-editor-undo-bar-undo-button-label = Deshacer
513+
pdfjs-editor-undo-bar-close-button =
514+
.title = Cerrar
515+
pdfjs-editor-undo-bar-close-button-label = Cerrar

l10n/fa/viewer.ftl

+103-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,18 @@ pdfjs-open-file-button-label = باز کردن
3939
pdfjs-print-button =
4040
.title = چاپ
4141
pdfjs-print-button-label = چاپ
42+
pdfjs-save-button =
43+
.title = ذخیره
4244
pdfjs-save-button-label = ذخیره
45+
# Used in Firefox for Android as a tooltip for the download button (“download” is a verb).
46+
pdfjs-download-button =
47+
.title = دریافت
48+
# Used in Firefox for Android as a label for the download button (“download” is a verb).
49+
# Length of the translation matters since we are in a mobile context, with limited screen estate.
50+
pdfjs-download-button-label = دریافت
51+
pdfjs-bookmark-button =
52+
.title = صفحه فعلی (مشاهده نشانی اینترنتی از صفحه فعلی)
53+
pdfjs-bookmark-button-label = صفحه فعلی
4354
4455
## Secondary toolbar and context menu
4556

@@ -64,21 +75,35 @@ pdfjs-cursor-text-select-tool-button-label = ابزارِ انتخابِ متن
6475
pdfjs-cursor-hand-tool-button =
6576
.title = فعال کردن ابزارِ دست
6677
pdfjs-cursor-hand-tool-button-label = ابزار دست
78+
pdfjs-scroll-page-button =
79+
.title = استفاده از پیمایش صفحه
80+
pdfjs-scroll-page-button-label = پیمایش صفحه
6781
pdfjs-scroll-vertical-button =
6882
.title = استفاده از پیمایش عمودی
6983
pdfjs-scroll-vertical-button-label = پیمایش عمودی
7084
pdfjs-scroll-horizontal-button =
7185
.title = استفاده از پیمایش افقی
7286
pdfjs-scroll-horizontal-button-label = پیمایش افقی
87+
pdfjs-spread-none-button =
88+
.title = صفحات پیوسته را یکی نکنید
89+
pdfjs-spread-none-button-label = بدون صفحات پیوسته
7390
7491
## Document properties dialog
7592

7693
pdfjs-document-properties-button =
7794
.title = خصوصیات سند...
7895
pdfjs-document-properties-button-label = خصوصیات سند...
79-
pdfjs-document-properties-file-name = نام فایل:
96+
pdfjs-document-properties-file-name = نام پرونده:
8097
pdfjs-document-properties-file-size = حجم پرونده:
8198
# Variables:
99+
# $kb (Number) - the PDF file size in kilobytes
100+
# $b (Number) - the PDF file size in bytes
101+
pdfjs-document-properties-size-kb = { NUMBER($kb, maximumSignificantDigits: 3) } کیلوبایت ({ $b } بایت)
102+
# Variables:
103+
# $mb (Number) - the PDF file size in megabytes
104+
# $b (Number) - the PDF file size in bytes
105+
pdfjs-document-properties-size-mb = { NUMBER($mb, maximumSignificantDigits: 3) } مگابایت ({ $b } بایت)
106+
# Variables:
82107
# $size_kb (Number) - the PDF file size in kilobytes
83108
# $size_b (Number) - the PDF file size in bytes
84109
pdfjs-document-properties-kb = { $size_kb } کیلوبایت ({ $size_b } بایت)
@@ -93,6 +118,9 @@ pdfjs-document-properties-keywords = کلیدواژه‌ها:
93118
pdfjs-document-properties-creation-date = تاریخ ایجاد:
94119
pdfjs-document-properties-modification-date = تاریخ ویرایش:
95120
# Variables:
121+
# $dateObj (Date) - the creation/modification date and time of the PDF file
122+
pdfjs-document-properties-date-time-string = { DATETIME($dateObj, dateStyle: "short", timeStyle: "medium") }
123+
# Variables:
96124
# $date (Date) - the creation/modification date of the PDF file
97125
# $time (Time) - the creation/modification time of the PDF file
98126
pdfjs-document-properties-date-string = { $date }، { $time }
@@ -209,13 +237,20 @@ pdfjs-rendering-error = هنگام بارگیری صفحه خطایی رخ دا
209237
210238
## Annotations
211239

240+
# Variables:
241+
# $date (Date) - the modification date of the annotation
242+
# $time (Time) - the modification time of the annotation
243+
pdfjs-annotation-date-string = { $date }، { $time }
212244
# .alt: This is used as a tooltip.
213245
# Variables:
214246
# $type (String) - an annotation type from a list defined in the PDF spec
215247
# (32000-1:2008 Table 169 – Annotation types).
216248
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
217249
pdfjs-text-annotation-type =
218250
.alt = [{ $type } Annotation]
251+
# Variables:
252+
# $dateObj (Date) - the modification date and time of the annotation
253+
pdfjs-annotation-date-time-string = { DATETIME($dateObj, dateStyle: "short", timeStyle: "medium") }
219254
220255
## Password
221256

@@ -233,14 +268,81 @@ pdfjs-editor-free-text-button-label = متن
233268
pdfjs-editor-ink-button =
234269
.title = کشیدن
235270
pdfjs-editor-ink-button-label = کشیدن
271+
pdfjs-editor-stamp-button =
272+
.title = افزودن یا ویرایش تصاویر
273+
pdfjs-editor-stamp-button-label = افزودن یا ویرایش تصاویر
274+
pdfjs-editor-highlight-button =
275+
.title = برجسته کردن
276+
pdfjs-editor-highlight-button-label = برجسته کردن
277+
pdfjs-highlight-floating-button1 =
278+
.title = برجسته کردن
279+
.aria-label = برجسته کردن
280+
pdfjs-highlight-floating-button-label = برجسته کردن
281+
282+
## Remove button for the various kind of editor.
283+
284+
285+
##
286+
236287
# Editor Parameters
237288
pdfjs-editor-free-text-color-input = رنگ
238289
pdfjs-editor-free-text-size-input = اندازه
239290
pdfjs-editor-ink-color-input = رنگ
291+
pdfjs-editor-stamp-add-image-button =
292+
.title = افزودن تصویر
293+
pdfjs-editor-stamp-add-image-button-label = افزودن تصویر
294+
# .default-content is used as a placeholder in an empty text editor.
295+
pdfjs-free-text2 =
296+
.aria-label = ویرایشگر متن
297+
.default-content = شروع به نوشتن کنید…
298+
pdfjs-free-text =
299+
.aria-label = ویرایشگر متن
300+
pdfjs-free-text-default-content = شروع به نوشتن کنید…
240301
241302
## Alt-text dialog
242303

304+
pdfjs-editor-alt-text-add-description-label = افزودن توضیحات
305+
pdfjs-editor-alt-text-cancel-button = انصراف
306+
pdfjs-editor-alt-text-save-button = ذخیره
243307
244308
## Editor resizers
245309
## This is used in an aria label to help to understand the role of the resizer.
246310

311+
312+
## Color picker
313+
314+
pdfjs-editor-colorpicker-button =
315+
.title = تغییر رنگ
316+
pdfjs-editor-colorpicker-dropdown =
317+
.aria-label = انتخاب رنگ
318+
pdfjs-editor-colorpicker-yellow =
319+
.title = زرد
320+
pdfjs-editor-colorpicker-green =
321+
.title = سبز
322+
pdfjs-editor-colorpicker-blue =
323+
.title = آبی
324+
pdfjs-editor-colorpicker-pink =
325+
.title = صورتی
326+
pdfjs-editor-colorpicker-red =
327+
.title = قرمز
328+
329+
## Show all highlights
330+
## This is a toggle button to show/hide all the highlights.
331+
332+
pdfjs-editor-highlight-show-all-button-label = نمایش همه
333+
pdfjs-editor-highlight-show-all-button =
334+
.title = نمایش همه
335+
336+
## New alt-text dialog
337+
## Group note for entire feature: Alternative text (alt text) helps when people can't see the image. This feature includes a tool to create alt text automatically using an AI model that works locally on the user's device to preserve privacy.
338+
339+
pdfjs-editor-new-alt-text-disclaimer-learn-more-url = بیشتر بدانید
340+
pdfjs-editor-new-alt-text-not-now-button = اکنون نه
341+
pdfjs-editor-new-alt-text-error-close-button = بستن
342+
343+
## Image alt-text settings
344+
345+
pdfjs-editor-alt-text-settings-delete-model-button = حذف
346+
pdfjs-editor-alt-text-settings-download-model-button = دریافت
347+
pdfjs-editor-alt-text-settings-downloading-model-button = در حال دریافت…
348+
pdfjs-editor-alt-text-settings-close-button = بستن

l10n/hr/viewer.ftl

+2-2
Original file line numberDiff line numberDiff line change
@@ -235,15 +235,15 @@ pdfjs-find-reached-bottom = Dosegnut kraj dokumenta, nastavak s početka
235235
# $current (Number) - the index of the currently active find result
236236
# $total (Number) - the total number of matches in the document
237237
pdfjs-find-match-count =
238-
{ NUMBER($total) ->
238+
{ $total ->
239239
[one] { $current } od { $total } rezultata
240240
[few] { $current } od { $total } rezultata
241241
*[other] { $current } od { $total } rezultata
242242
}
243243
# Variables:
244244
# $limit (Number) - the maximum number of matches
245245
pdfjs-find-match-count-limit =
246-
{ NUMBER($limit) ->
246+
{ $limit ->
247247
[one] Više od { $limit } rezultat
248248
[few] Više od { $limit } rezultata
249249
*[other] Više od { $limit } rezultata

l10n/hsb/viewer.ftl

+22
Original file line numberDiff line numberDiff line change
@@ -497,3 +497,25 @@ pdfjs-editor-alt-text-settings-editor-title = Editor za alternatiwny tekst
497497
pdfjs-editor-alt-text-settings-show-dialog-button-label = Editor alternatiwneho teksta hnydom pokazać, hdyž so wobraz přidawa
498498
pdfjs-editor-alt-text-settings-show-dialog-description = Pomha, wam wšěm swojim wobrazam alternatiwny tekst přidać.
499499
pdfjs-editor-alt-text-settings-close-button = Začinić
500+
501+
## "Annotations removed" bar
502+
503+
pdfjs-editor-undo-bar-message-highlight = Wotstronjene wuzběhnyć
504+
pdfjs-editor-undo-bar-message-freetext = Tekst je so wotstronił
505+
pdfjs-editor-undo-bar-message-ink = Rysowanka je so wotstroniła
506+
pdfjs-editor-undo-bar-message-stamp = Wobraz je so wotstronił
507+
# Variables:
508+
# $count (Number) - the number of removed annotations.
509+
pdfjs-editor-undo-bar-message-multiple =
510+
{ $count ->
511+
[one] { $count } přispomnjenka je so wotstroniła
512+
[two] { $count } přispomnjence stej so wotstroniłoj
513+
[few] { $count } přispomnjenki su so wotstronili
514+
*[other] { $count } přispomnjenkow je so wotstroniło
515+
}
516+
pdfjs-editor-undo-bar-undo-button =
517+
.title = Cofnyć
518+
pdfjs-editor-undo-bar-undo-button-label = Cofnyć
519+
pdfjs-editor-undo-bar-close-button =
520+
.title = Začinić
521+
pdfjs-editor-undo-bar-close-button-label = Začinić

0 commit comments

Comments
 (0)