Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from mozilla:master #96

Merged
merged 152 commits into from
Sep 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
48a2c29
Bump actions/checkout from 3 to 4
dependabot[bot] Sep 4, 2023
7f44f35
Make annotations focusable (bug 1851489)
calixteman Sep 4, 2023
08f9e48
Merge pull request #16898 from calixteman/make_annotation_focusable
calixteman Sep 4, 2023
a00b542
Unconditionally render non-form annotations in the annotation layer (…
calixteman Sep 4, 2023
f2a4f2a
Merge pull request #16899 from calixteman/bug1851498
calixteman Sep 5, 2023
e7800c2
Support downloading FileAttachment annotations with the keyboard
Snuffleupagus Sep 4, 2023
92792a8
Merge pull request #16902 from Snuffleupagus/FileAttachment-keyboard-…
Snuffleupagus Sep 5, 2023
d03494e
Only call the focus/blur callbacks when it's necessary (bug 1851517)
calixteman Sep 5, 2023
03eabae
Merge pull request #16905 from calixteman/bug1851517
calixteman Sep 5, 2023
cf5a1d6
Merge pull request #16897 from mozilla/dependabot/github_actions/acti…
Snuffleupagus Sep 5, 2023
8ab4e2e
[Editor] Avoid to use parent of editors in destroyed pages
calixteman Sep 7, 2023
5ffa23c
Merge pull request #16911 from calixteman/issue16872
calixteman Sep 7, 2023
a8a50c5
Construct the correct field name and strip out classes when searching
calixteman Sep 7, 2023
3e32d87
Merge pull request #16915 from calixteman/issue16914
calixteman Sep 7, 2023
c6f7e72
[Editor] Add the parent tag id (if any) to the serialized editors (bu…
calixteman Sep 7, 2023
df9cce3
Slightly reduce asynchronicity when parsing Annotations
Snuffleupagus Sep 7, 2023
b5b061c
Slightly re-factor the parameter handling in `Catalog.parseDestDictio…
Snuffleupagus Sep 7, 2023
b903b30
Merge pull request #16916 from calixteman/parent_in_struct_tree
calixteman Sep 8, 2023
52cc122
Simplify writeObject function
calixteman Sep 8, 2023
cf7efdb
Merge pull request #16921 from calixteman/simplify_write
calixteman Sep 8, 2023
18a661b
Merge pull request #16920 from Snuffleupagus/annotationGlobals
Snuffleupagus Sep 9, 2023
f42d70a
Update packages
timvandermeij Sep 9, 2023
981ef9e
Update translations
timvandermeij Sep 9, 2023
5f93638
Merge pull request #16925 from timvandermeij/updates
timvandermeij Sep 10, 2023
66507cc
Enable unit test "creates pdf doc from non-existent URL"
timvandermeij Sep 10, 2023
221ee6c
Merge pull request #16932 from timvandermeij/unit-test-enable
timvandermeij Sep 10, 2023
5646604
[Editor] Only get back the focus when it has been lost after an edito…
calixteman Sep 12, 2023
953f271
Merge pull request #16940 from calixteman/get_back_focus_when_required
calixteman Sep 12, 2023
50937a3
Ensure that the entire PDF document is loaded *before* we begin savin…
Snuffleupagus Sep 12, 2023
b157822
Merge pull request #16941 from Snuffleupagus/SaveDocument-await-reque…
Snuffleupagus Sep 12, 2023
720963b
[Editor] Move an editor in the DOM just after having moved it on the …
calixteman Sep 13, 2023
920e51a
Merge pull request #16944 from calixteman/move_dom_after_position
calixteman Sep 13, 2023
01f9f38
[Editor] Change the style of the bounding box and the resizers (bug 1…
calixteman Sep 12, 2023
8d695c9
Merge pull request #16943 from calixteman/new_resizers
calixteman Sep 14, 2023
38f60a7
[Editor] Change the colors of the outline and the resizers for select…
calixteman Sep 15, 2023
93ce7c5
Change the `getB` function, in `src/core/pattern.js`, to use the expo…
Snuffleupagus Sep 15, 2023
4c0fbe5
Merge pull request #16950 from calixteman/resizers_hcm
calixteman Sep 15, 2023
628ca73
Make it possible to clear the cache, used by the `getB` function in `…
Snuffleupagus Sep 15, 2023
586d3ad
Merge pull request #16951 from Snuffleupagus/tweak-pattern-getB
Snuffleupagus Sep 15, 2023
d2c8997
Remove the closure from the `DeviceCmykCS` class
Snuffleupagus Sep 15, 2023
4d615f0
Remove the closure from the `CalGrayCS` class
Snuffleupagus Sep 15, 2023
52fa66a
Remove the closure from the `CalRGBCS` class
Snuffleupagus Sep 15, 2023
8cb5d01
Remove the closure from the `LabCS` class
Snuffleupagus Sep 15, 2023
316d1ec
Simplify the `EvaluatorPreprocessor.opMap` getter a little bit
Snuffleupagus Sep 16, 2023
4dd197a
Merge pull request #16954 from Snuffleupagus/rm-colorspace-closure
timvandermeij Sep 16, 2023
ff96c41
Use `await` even more in the "SaveDocument" worker-thread handler
Snuffleupagus Sep 16, 2023
89c8f90
Merge pull request #16956 from Snuffleupagus/opMap-rm-getLookupTableF…
timvandermeij Sep 16, 2023
6c5d5f3
Update Puppeteer to version 21.2.1
timvandermeij Sep 16, 2023
7f8de83
Merge pull request #16957 from Snuffleupagus/SaveDocument-more-await
timvandermeij Sep 16, 2023
b49fe5b
Merge pull request #16958 from timvandermeij/puppeteer
timvandermeij Sep 16, 2023
0304b65
Remove the closure from the `CipherTransformFactory` class
Snuffleupagus Sep 16, 2023
a8573d4
[Editor] Add the ability to create/update the structure tree when sav…
calixteman Sep 11, 2023
22cd0c6
Remove the closure from the `Stepper` class in `web/debugger.js`
Snuffleupagus Sep 17, 2023
c9cd934
Stop hard-coding the panel width in `web/debugger.js`
Snuffleupagus Sep 17, 2023
2d79be9
Convert `PDFBug`, in `web/debugger.js`, to a class with static methods
Snuffleupagus Sep 17, 2023
98671c3
Merge pull request #16959 from Snuffleupagus/rm-CipherTransformFactor…
timvandermeij Sep 17, 2023
518590a
Merge pull request #16961 from Snuffleupagus/debugger-rm-closure
timvandermeij Sep 17, 2023
dd46110
Use the `page.$eval` method in the `bug1844576` integration test
timvandermeij Sep 17, 2023
0d3fbc1
Wait for selector instead of timeout in the `bug1844576` integration …
timvandermeij Sep 17, 2023
e37e7b6
Merge pull request #16962 from timvandermeij/fix-intermittent-bug1844576
timvandermeij Sep 17, 2023
306cca9
Fix off-by-one errors in the "FreeText must move several annotations"…
timvandermeij Sep 17, 2023
9781989
Merge pull request #16964 from timvandermeij/fix-intermittent-annotat…
timvandermeij Sep 17, 2023
1b3ccf1
Wait for selector instead of timeout in the freetext double click mov…
timvandermeij Sep 17, 2023
01428f1
Wait for visibility change in the `issue15053` integration test
timvandermeij Sep 17, 2023
3afb717
Merge pull request #16938 from calixteman/update_struct_tree
calixteman Sep 18, 2023
a216836
[Editor] Add a button to trigger a dialog for adding an alt text (bug…
calixteman Sep 15, 2023
b852819
Merge pull request #16955 from calixteman/alt_text_button
calixteman Sep 18, 2023
9dbe95c
[Editor] Avoid to have some transparency in the icon used in the 'Alt…
calixteman Sep 18, 2023
9b6e37c
Fix a CSS linter issue in removing a useless comma
calixteman Sep 18, 2023
2bd7bb3
Merge pull request #16972 from calixteman/alt_text_icon_alpha
calixteman Sep 18, 2023
c8727d9
Merge pull request #16974 from calixteman/fix_css_linter_issue
calixteman Sep 18, 2023
60ccce5
[Editor] Use the same height as in the svg for icons for the alt-text…
calixteman Sep 18, 2023
c0ed7ff
Merge pull request #16975 from calixteman/alt_text_fix_icon_dims
calixteman Sep 18, 2023
df0da86
[Editor] Add a dialog box in order to get alt-text data (bug 1844952)
calixteman Sep 15, 2023
5ac40b7
Merge pull request #16952 from calixteman/alt_text_window
calixteman Sep 18, 2023
0df9d1d
[Editor] Update alt text dialog description
calixteman Sep 19, 2023
f7870c0
[Editor] Make the border of the resizers slightly rounded
calixteman Sep 19, 2023
b9469c2
Merge pull request #16980 from calixteman/rounded_resizers
calixteman Sep 19, 2023
daae658
Merge pull request #16979 from calixteman/alt_text_change_str1
calixteman Sep 19, 2023
0ac8f33
Ignore optional content with missing /Type-entries
Snuffleupagus Sep 19, 2023
29a48f9
Merge pull request #16981 from Snuffleupagus/optionalContent-type-mis…
Snuffleupagus Sep 19, 2023
c12049d
[Editor] Allow the user to add and save an alt-text for images (bug 1…
calixteman Sep 18, 2023
54f6264
Merge pull request #16977 from calixteman/add_alt_text
calixteman Sep 19, 2023
c162b00
[Editor] Remove copy/paste listener when alt text dialog is displayed
calixteman Sep 19, 2023
8d326e5
Merge pull request #16982 from calixteman/alt_text_rm_copy_listeners
calixteman Sep 19, 2023
21c55b5
Don't try to close the `altText` dialog if it's not open (PR 16977 fo…
Snuffleupagus Sep 20, 2023
7952a36
[Editor] Add a tooltip showing the alt text when hovering the alt-tex…
calixteman Sep 19, 2023
b7fa4fb
Merge pull request #16983 from calixteman/alt_text_tooltip
calixteman Sep 20, 2023
b80e0d8
Merge pull request #16984 from Snuffleupagus/altText-close
calixteman Sep 20, 2023
0a278ef
[Editor] Add more telemetry for the 'add image' feature (bug 1853960)
calixteman Sep 20, 2023
0317d3e
Merge pull request #16987 from calixteman/alt_text_telemetry
calixteman Sep 20, 2023
9a677d0
[Editor] Change some strings in the alt-text dialog
calixteman Sep 20, 2023
6764638
Merge pull request #16986 from calixteman/alt_text_contents
calixteman Sep 20, 2023
7d0bf37
[Editor] Change the colors for the disabled Save button in alt text d…
calixteman Sep 20, 2023
f2d75d9
Merge pull request #16985 from calixteman/btn_bg
calixteman Sep 20, 2023
fe60db2
Use the new "reporttelemetry" event in more viewer components
Snuffleupagus Sep 20, 2023
c90ea23
[Editor] Add an aria-label to the alt-text button depending on its state
calixteman Sep 20, 2023
34506f8
Merge pull request #16989 from Snuffleupagus/more-reporttelemetry-event
Snuffleupagus Sep 20, 2023
5660cdf
Ensure that all "alt_text_*" save-telemetry values are boolean (PR 16…
Snuffleupagus Sep 21, 2023
b5d1800
[Editor] Tweak few values after review from UX
calixteman Sep 20, 2023
67ddabc
Merge pull request #16990 from calixteman/alt_text_aria_label
calixteman Sep 21, 2023
237b8ce
Merge pull request #16988 from calixteman/alt_text_dialog_others
calixteman Sep 21, 2023
561aea5
Merge pull request #16991 from Snuffleupagus/alt_text_edit-boolean
calixteman Sep 21, 2023
e2b7896
[GeckoView] Avoid bundling the `AltTextManager` class, since it's unused
Snuffleupagus Sep 21, 2023
80e691d
Enable the Stylelint `declaration-block-no-duplicate-properties` rule…
Snuffleupagus Sep 21, 2023
b002d16
Merge pull request #16996 from Snuffleupagus/issue-16995
calixteman Sep 21, 2023
61c77c7
Make one of the m-c linters happy
calixteman Sep 21, 2023
9de432b
Merge pull request #16998 from calixteman/fix_css_linter_issue_1
calixteman Sep 21, 2023
a7894a4
Merge pull request #16993 from Snuffleupagus/gv-no-AltTextManager
calixteman Sep 21, 2023
5711d0f
[GeckoView] Exclude `annotation_editor_layer_builder.css` in the buil…
Snuffleupagus Sep 21, 2023
e9f707c
Merge pull request #16999 from Snuffleupagus/issue-16994
Snuffleupagus Sep 21, 2023
4cedc12
Restore the `collectFields` parameter in the Annotation code (issue 1…
Snuffleupagus Sep 21, 2023
9b21f17
Prevent wheel/touch zooming in the viewer when a dialog is open
Snuffleupagus Sep 21, 2023
6545551
[Editor] Avoid to darken the current editor when opening the alt-text…
calixteman Sep 21, 2023
988222d
Merge pull request #17003 from Snuffleupagus/issue-17000
Snuffleupagus Sep 22, 2023
edb83ff
Merge pull request #17004 from Snuffleupagus/dialog-disable-zooming
Snuffleupagus Sep 22, 2023
2fc8ab3
Merge pull request #17002 from calixteman/alt_text_mask
calixteman Sep 22, 2023
ee5b8bc
[Editor] Make the altText dialog labels part of telemetry (PR 16987 f…
Snuffleupagus Sep 22, 2023
0237e2e
[Editor] Darken the toolbar when the alt-text dialog is opened
calixteman Sep 22, 2023
eff7ed5
Merge pull request #17009 from Snuffleupagus/altText-label-clicks
Snuffleupagus Sep 22, 2023
3f859f7
Merge pull request #17010 from calixteman/alt_text_mask_1
calixteman Sep 22, 2023
050093c
[Editor] Tweak the save flow in the alt-text dialog
calixteman Sep 22, 2023
43c7e88
Don't bother trying to unregister the "reporttelemetry" event listener
Snuffleupagus Sep 22, 2023
a68845c
Merge pull request #17014 from Snuffleupagus/reporttelemetry-tweaks
Snuffleupagus Sep 22, 2023
f66613c
Merge pull request #17005 from calixteman/alt_text_tweak_save_flow
calixteman Sep 22, 2023
d5936d9
[Editor] Let the Save button always enabled in the alt-text dialog
calixteman Sep 22, 2023
c027aae
Merge pull request #17015 from calixteman/alt_text_save_button
calixteman Sep 22, 2023
8c5da23
Don't reset `this.#currentEditor` when destroying the dialog
Snuffleupagus Sep 22, 2023
d555f35
Merge pull request #17011 from Snuffleupagus/altText-destroy-keep-#cu…
Snuffleupagus Sep 22, 2023
9e0e679
[Editor] Report telemetry when closing the altText dialog with `Esc` …
Snuffleupagus Sep 22, 2023
85568bd
Merge pull request #17012 from Snuffleupagus/altText-telemetry-on-close
Snuffleupagus Sep 22, 2023
88f3ed7
[Editor] Disable context menu on alt-text button and in the associate…
calixteman Sep 22, 2023
d2e34df
Merge pull request #17016 from calixteman/alt_text_button_no_menu
calixteman Sep 23, 2023
f9eda5b
Merge pull request #16967 from timvandermeij/fix-intermittent-freetext
timvandermeij Sep 23, 2023
a09b722
Merge pull request #16970 from timvandermeij/fix-intermittent-border
timvandermeij Sep 23, 2023
1df31c0
Use one `noContextMenu` function in both the src/- and web/-folders
Snuffleupagus Sep 23, 2023
0fc0dc3
Merge pull request #17017 from Snuffleupagus/one-noContextMenu
Snuffleupagus Sep 23, 2023
57caa46
[Editor] The ::before containter containing the border of a selected …
calixteman Sep 23, 2023
1b95ab7
Update npm packages
Snuffleupagus Sep 24, 2023
073a1da
Update l10n files
Snuffleupagus Sep 24, 2023
587a3a2
Merge pull request #17020 from Snuffleupagus/update-packages
timvandermeij Sep 24, 2023
57f548c
Merge pull request #17019 from calixteman/bug1854818
Snuffleupagus Sep 24, 2023
b41bca7
Don't wait for scripting to be ready in the `autoprint` integration test
timvandermeij Sep 24, 2023
9b46404
Merge pull request #17021 from timvandermeij/fix-intermittent-autoprint
timvandermeij Sep 24, 2023
de55345
[Editor] Add an integration test for the new alt-text flow
calixteman Sep 23, 2023
48d7559
Merge pull request #17018 from calixteman/alt_text_test
calixteman Sep 24, 2023
6e584ad
Use realistic typing delays for the scripting integration tests
timvandermeij Sep 24, 2023
fc898e1
[Editor] Add padding to the altText-button to account for different l…
Snuffleupagus Sep 24, 2023
6112f3e
Merge pull request #17023 from Snuffleupagus/altText-padding
Snuffleupagus Sep 24, 2023
ce87167
Merge pull request #17022 from timvandermeij/fix-intermittent-us
timvandermeij Sep 24, 2023
a93ac2a
Bump the stable version in `pdfjs.config`
timvandermeij Sep 24, 2023
57d196e
Merge pull request #17024 from timvandermeij/bump
timvandermeij Sep 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
1 change: 1 addition & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"prettier/prettier": true,

"block-no-empty": true,
"declaration-block-no-duplicate-properties": true,
"declaration-block-no-redundant-longhand-properties": true,
"declaration-property-value-disallowed-list": {
"float": ["inline-start", "inline-end"]
Expand Down
6 changes: 6 additions & 0 deletions external/builder/builder.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ function preprocess(inFilename, outFilename, defines) {
return content.replaceAll(
/^\s*@import\s+url\(([^)]+)\);\s*$/gm,
function (all, url) {
if (defines.GECKOVIEW) {
switch (url) {
case "annotation_editor_layer_builder.css":
return "";
}
}
const file = path.join(path.dirname(baseUrl), url);
const imported = fs.readFileSync(file, "utf8").toString();
return expandCssImports(imported, file);
Expand Down
8 changes: 5 additions & 3 deletions gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function createWebpackConfig(
: [
[
"@babel/preset-env",
{ corejs: "3.32.1", shippedProposals: true, useBuiltIns: "usage" },
{ corejs: "3.32.2", shippedProposals: true, useBuiltIns: "usage" },
],
];
const babelPlugins = ["@babel/plugin-transform-modules-commonjs"];
Expand Down Expand Up @@ -244,6 +244,7 @@ function createWebpackConfig(
"display-svg": "src/display/stubs.js",
};
const viewerAlias = {
"web-alt_text_manager": "web/alt_text_manager.js",
"web-annotation_editor_params": "web/annotation_editor_params.js",
"web-com": "",
"web-pdf_attachment_viewer": "web/pdf_attachment_viewer.js",
Expand Down Expand Up @@ -1353,6 +1354,7 @@ gulp.task(
console.log();
console.log("### Building mozilla-central extension");
const defines = builder.merge(DEFINES, { MOZCENTRAL: true });
const gvDefines = builder.merge(defines, { GECKOVIEW: true });

const MOZCENTRAL_DIR = BUILD_DIR + "mozcentral/",
MOZCENTRAL_EXTENSION_DIR = MOZCENTRAL_DIR + "browser/extensions/pdfjs/",
Expand Down Expand Up @@ -1404,7 +1406,7 @@ gulp.task(
preprocessHTML("web/viewer.html", defines).pipe(
gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")
),
preprocessHTML("web/viewer-geckoview.html", defines).pipe(
preprocessHTML("web/viewer-geckoview.html", gvDefines).pipe(
gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")
),

Expand All @@ -1413,7 +1415,7 @@ gulp.task(
.pipe(replaceMozcentralCSS())
.pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")),

preprocessCSS("web/viewer-geckoview.css", defines)
preprocessCSS("web/viewer-geckoview.css", gvDefines)
.pipe(postcss([autoprefixer(MOZCENTRAL_AUTOPREFIXER_CONFIG)]))
.pipe(replaceMozcentralCSS())
.pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + "web")),
Expand Down
20 changes: 17 additions & 3 deletions l10n/cs/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ editor_free_text2_label=Text
editor_ink2.title=Kreslení
editor_ink2_label=Kreslení

editor_stamp.title=Přidat obrázek
editor_stamp_label=Přidat obrázek

editor_stamp1.title=Přidání či úprava obrázků
editor_stamp1_label=Přidání či úprava obrázků

Expand All @@ -268,3 +265,20 @@ editor_stamp_add_image.title=Přidat obrázek
editor_free_text2_aria_label=Textový editor
editor_ink2_aria_label=Editor kreslení
editor_ink_canvas_aria_label=Uživatelem vytvořený obrázek

# Alt-text dialog
# LOCALIZATION NOTE (editor_alt_text_button_label): Alternative text (alt text) helps
# when people can't see the image.
editor_alt_text_button_label=Náhradní popis
editor_alt_text_edit_button_label=Upravit náhradní popis
editor_alt_text_dialog_label=Vyberte možnost
editor_alt_text_dialog_description=Náhradní popis pomáhá, když lidé obrázek nevidí nebo když se nenačítá.
editor_alt_text_add_description_label=Přidat popis
editor_alt_text_add_description_description=Snažte se o 1-2 věty, které popisují předmět, prostředí nebo činnosti.
editor_alt_text_mark_decorative_label=Označit jako dekorativní
editor_alt_text_mark_decorative_description=Používá se pro okrasné obrázky, jako jsou rámečky nebo vodoznaky.
editor_alt_text_cancel_button=Zrušit
editor_alt_text_save_button=Uložit
editor_alt_text_decorative_tooltip=Označen jako dekorativní
# This is a placeholder for the alt text input area
editor_alt_text_textarea.placeholder=Například: “Mladý muž si sedá ke stolu, aby se najedl.”
20 changes: 17 additions & 3 deletions l10n/dsb/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ editor_free_text2_label=Tekst
editor_ink2.title=Kresliś
editor_ink2_label=Kresliś

editor_stamp.title=Wobraz pśidaś
editor_stamp_label=Wobraz pśidaś

editor_stamp1.title=Wobraze pśidaś abo wobźěłaś
editor_stamp1_label=Wobraze pśidaś abo wobźěłaś

Expand All @@ -268,3 +265,20 @@ editor_stamp_add_image.title=Wobraz pśidaś
editor_free_text2_aria_label=Tekstowy editor
editor_ink2_aria_label=Kresleński editor
editor_ink_canvas_aria_label=Wobraz napórany wót wužywarja

# Alt-text dialog
# LOCALIZATION NOTE (editor_alt_text_button_label): Alternative text (alt text) helps
# when people can't see the image.
editor_alt_text_button_label=Alternatiwny tekst
editor_alt_text_edit_button_label=Alternatiwny tekst wobźěłaś
editor_alt_text_dialog_label=Nastajenje wubraś
editor_alt_text_dialog_description=Alternatiwny tekst pomaga, gaž luźe njamógu wobraz wiźeś abo gaž se wobraz njezacytajo.
editor_alt_text_add_description_label=Wopisanje pśidaś
editor_alt_text_add_description_description=Pišćo 1 sadu abo 2 saźe, kótarejž temu, nastajenje abo akcije wopisujotej.
editor_alt_text_mark_decorative_label=Ako dekoratiwny markěrowaś
editor_alt_text_mark_decorative_description=To se za pyšnjece wobraze wužywa, na pśikład ramiki abo wódowe znamjenja.
editor_alt_text_cancel_button=Pśetergnuś
editor_alt_text_save_button=Składowaś
editor_alt_text_decorative_tooltip=Ako dekoratiwny markěrowany
# This is a placeholder for the alt text input area
editor_alt_text_textarea.placeholder=Na pśikład, „Młody muski za blidom sejźi, aby jěź jědł“
20 changes: 18 additions & 2 deletions l10n/en-CA/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,17 @@ print.title=Print
print_label=Print
save.title=Save
save_label=Save

# LOCALIZATION NOTE (download_button.title): used in Firefox for Android as a tooltip for the download button (“download” is a verb).
download_button.title=Download
# LOCALIZATION NOTE (download_button_label): used in Firefox for Android as a label for the download button (“download” is a verb).
# Length of the translation matters since we are in a mobile context, with limited screen estate.
download_button_label=Download
bookmark1.title=Current Page (View URL from Current Page)
bookmark1_label=Current Page
# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android.
open_in_app.title=Open in app
# LOCALIZATION NOTE (open_in_app_label): This string is used in Firefox for Android. Length of the translation matters since we are in a mobile context, with limited screen estate.
open_in_app_label=Open in app

# Secondary toolbar and context menu
tools.title=Tools
Expand Down Expand Up @@ -212,7 +220,6 @@ loading_error=An error occurred while loading the PDF.
invalid_file_error=Invalid or corrupted PDF file.
missing_file_error=Missing PDF file.
unexpected_response_error=Unexpected server response.

rendering_error=An error occurred while rendering the page.

# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
Expand All @@ -239,6 +246,12 @@ editor_free_text2_label=Text
editor_ink2.title=Draw
editor_ink2_label=Draw

editor_stamp.title=Add an image
editor_stamp_label=Add an image

editor_stamp1.title=Add or edit images
editor_stamp1_label=Add or edit images

free_text2_default_content=Start typing…

# Editor Parameters
Expand All @@ -248,6 +261,9 @@ editor_ink_color=Colour
editor_ink_thickness=Thickness
editor_ink_opacity=Opacity

editor_stamp_add_image_label=Add image
editor_stamp_add_image.title=Add image

# Editor aria
editor_free_text2_aria_label=Text Editor
editor_ink2_aria_label=Draw Editor
Expand Down
20 changes: 17 additions & 3 deletions l10n/en-GB/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ editor_free_text2_label=Text
editor_ink2.title=Draw
editor_ink2_label=Draw

editor_stamp.title=Add an image
editor_stamp_label=Add an image

editor_stamp1.title=Add or edit images
editor_stamp1_label=Add or edit images

Expand All @@ -268,3 +265,20 @@ editor_stamp_add_image.title=Add image
editor_free_text2_aria_label=Text Editor
editor_ink2_aria_label=Draw Editor
editor_ink_canvas_aria_label=User-created image

# Alt-text dialog
# LOCALIZATION NOTE (editor_alt_text_button_label): Alternative text (alt text) helps
# when people can't see the image.
editor_alt_text_button_label=Alt text
editor_alt_text_edit_button_label=Edit alt text
editor_alt_text_dialog_label=Choose an option
editor_alt_text_dialog_description=Alt text (alternative text) helps when people can’t see the image or when it doesn’t load.
editor_alt_text_add_description_label=Add a description
editor_alt_text_add_description_description=Aim for 1-2 sentences that describe the subject, setting, or actions.
editor_alt_text_mark_decorative_label=Mark as decorative
editor_alt_text_mark_decorative_description=This is used for ornamental images, like borders or watermarks.
editor_alt_text_cancel_button=Cancel
editor_alt_text_save_button=Save
editor_alt_text_decorative_tooltip=Marked as decorative
# This is a placeholder for the alt text input area
editor_alt_text_textarea.placeholder=For example, “A young man sits down at a table to eat a meal”
17 changes: 17 additions & 0 deletions l10n/en-US/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,20 @@ editor_stamp_add_image.title=Add image
editor_free_text2_aria_label=Text Editor
editor_ink2_aria_label=Draw Editor
editor_ink_canvas_aria_label=User-created image

# Alt-text dialog
# LOCALIZATION NOTE (editor_alt_text_button_label): Alternative text (alt text) helps
# when people can't see the image.
editor_alt_text_button_label=Alt text
editor_alt_text_edit_button_label=Edit alt text
editor_alt_text_dialog_label=Choose an option
editor_alt_text_dialog_description=Alt text (alternative text) helps when people can’t see the image or when it doesn’t load.
editor_alt_text_add_description_label=Add a description
editor_alt_text_add_description_description=Aim for 1-2 sentences that describe the subject, setting, or actions.
editor_alt_text_mark_decorative_label=Mark as decorative
editor_alt_text_mark_decorative_description=This is used for ornamental images, like borders or watermarks.
editor_alt_text_cancel_button=Cancel
editor_alt_text_save_button=Save
editor_alt_text_decorative_tooltip=Marked as decorative
# This is a placeholder for the alt text input area
editor_alt_text_textarea.placeholder=For example, “A young man sits down at a table to eat a meal”
20 changes: 17 additions & 3 deletions l10n/es-AR/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ editor_free_text2_label=Texto
editor_ink2.title=Dibujar
editor_ink2_label=Dibujar

editor_stamp.title=Agregar una imagen
editor_stamp_label=Agregar una imagen

editor_stamp1.title=Agregar o editar imágenes
editor_stamp1_label=Agregar o editar imágenes

Expand All @@ -268,3 +265,20 @@ editor_stamp_add_image.title=Agregar una imagen
editor_free_text2_aria_label=Editor de texto
editor_ink2_aria_label=Editor de dibujos
editor_ink_canvas_aria_label=Imagen creada por el usuario

# Alt-text dialog
# LOCALIZATION NOTE (editor_alt_text_button_label): Alternative text (alt text) helps
# when people can't see the image.
editor_alt_text_button_label=Texto alternativo
editor_alt_text_edit_button_label=Editar el texto alternativo
editor_alt_text_dialog_label=Eligir una opción
editor_alt_text_dialog_description=El texto alternativo (texto alternativo) ayuda cuando las personas no pueden ver la imagen o cuando no se carga.
editor_alt_text_add_description_label=Agregar una descripción
editor_alt_text_add_description_description=Intente escribir 1 o 2 oraciones que describan el tema, el entorno o las acciones.
editor_alt_text_mark_decorative_label=Marcar como decorativo
editor_alt_text_mark_decorative_description=Esto se usa para imágenes ornamentales, como bordes o marcas de agua.
editor_alt_text_cancel_button=Cancelar
editor_alt_text_save_button=Guardar
editor_alt_text_decorative_tooltip=Marcado como decorativo
# This is a placeholder for the alt text input area
editor_alt_text_textarea.placeholder=Por ejemplo: “Un joven se sienta a la mesa a comer”
20 changes: 17 additions & 3 deletions l10n/es-CL/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ editor_free_text2_label=Texto
editor_ink2.title=Dibujar
editor_ink2_label=Dibujar

editor_stamp.title=Añadir una imagen
editor_stamp_label=Añadir una imagen

editor_stamp1.title=Añadir o editar imágenes
editor_stamp1_label=Añadir o editar imágenes

Expand All @@ -268,3 +265,20 @@ editor_stamp_add_image.title=Añadir imagen
editor_free_text2_aria_label=Editor de texto
editor_ink2_aria_label=Editor de dibujos
editor_ink_canvas_aria_label=Imagen creada por el usuario

# Alt-text dialog
# LOCALIZATION NOTE (editor_alt_text_button_label): Alternative text (alt text) helps
# when people can't see the image.
editor_alt_text_button_label=Texto alternativo
editor_alt_text_edit_button_label=Editar texto alternativo
editor_alt_text_dialog_label=Elige una opción
editor_alt_text_dialog_description=El texto alternativo (alt text) ayuda cuando las personas no pueden ver la imagen o cuando no se carga.
editor_alt_text_add_description_label=Añade una descripción
editor_alt_text_add_description_description=Intenta escribir 1 o 2 oraciones que describan el tema, el ambiente o las acciones.
editor_alt_text_mark_decorative_label=Marcar como decorativa
editor_alt_text_mark_decorative_description=Se utiliza para imágenes ornamentales, como bordes o marcas de agua.
editor_alt_text_cancel_button=Cancelar
editor_alt_text_save_button=Guardar
editor_alt_text_decorative_tooltip=Marcada como decorativa
# This is a placeholder for the alt text input area
editor_alt_text_textarea.placeholder=Por ejemplo: “Un joven se sienta a la mesa a comer”
11 changes: 11 additions & 0 deletions l10n/es-ES/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ print.title=Imprimir
print_label=Imprimir
save.title=Guardar
save_label=Guardar
# LOCALIZATION NOTE (download_button.title): used in Firefox for Android as a tooltip for the download button (“download” is a verb).
download_button.title=Descargar
# LOCALIZATION NOTE (download_button_label): used in Firefox for Android as a label for the download button (“download” is a verb).
# Length of the translation matters since we are in a mobile context, with limited screen estate.
download_button_label=Descargar
bookmark1.title=Página actual (Ver URL de la página actual)
bookmark1_label=Página actual
# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android.
Expand Down Expand Up @@ -244,6 +249,9 @@ editor_ink2_label=Dibujar
editor_stamp.title=Añadir una imagen
editor_stamp_label=Añadir una imagen

editor_stamp1.title=Añadir o editar imágenes
editor_stamp1_label=Añadir o editar imágenes

free_text2_default_content=Empezar a escribir…

# Editor Parameters
Expand All @@ -253,6 +261,9 @@ editor_ink_color=Color
editor_ink_thickness=Grosor
editor_ink_opacity=Opacidad

editor_stamp_add_image_label=Añadir imagen
editor_stamp_add_image.title=Añadir imagen

# Editor aria
editor_free_text2_aria_label=Editor de texto
editor_ink2_aria_label=Editor de dibujos
Expand Down
20 changes: 17 additions & 3 deletions l10n/eu/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ editor_free_text2_label=Testua
editor_ink2.title=Marrazkia
editor_ink2_label=Marrazkia

editor_stamp.title=Gehitu irudia
editor_stamp_label=Gehitu irudia

editor_stamp1.title=Gehitu edo editatu irudiak
editor_stamp1_label=Gehitu edo editatu irudiak

Expand All @@ -268,3 +265,20 @@ editor_stamp_add_image.title=Gehitu irudia
editor_free_text2_aria_label=Testu-editorea
editor_ink2_aria_label=Marrazki-editorea
editor_ink_canvas_aria_label=Erabiltzaileak sortutako irudia

# Alt-text dialog
# LOCALIZATION NOTE (editor_alt_text_button_label): Alternative text (alt text) helps
# when people can't see the image.
editor_alt_text_button_label=Testu alternatiboa
editor_alt_text_edit_button_label=Editatu testu alternatiboa
editor_alt_text_dialog_label=Aukeratu aukera
editor_alt_text_dialog_description=Testu alternatiboak laguntzen du jendeak ezin duenean irudia ikusi edo ez denean kargatzen.
editor_alt_text_add_description_label=Gehitu azalpena
editor_alt_text_add_description_description=Saiatu idazten gaia, ezarpena edo ekintzak deskribatzen dituen esaldi 1 edo 2.
editor_alt_text_mark_decorative_label=Markatu apaingarri gisa
editor_alt_text_mark_decorative_description=Irudiak apaingarrientzat erabiltzen da, adibidez ertz edo ur-marketarako.
editor_alt_text_cancel_button=Utzi
editor_alt_text_save_button=Gorde
editor_alt_text_decorative_tooltip=Apaingarri gisa markatuta
# This is a placeholder for the alt text input area
editor_alt_text_textarea.placeholder=Adibidez, "gizon gaztea mahaian eserita dago bazkaltzeko"
Loading
Loading