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

Update dependencies and translations to the most recent versions #18367

Merged
merged 2 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2215,7 +2215,7 @@ function packageJson() {
license: DIST_LICENSE,
optionalDependencies: {
canvas: "^2.11.2",
path2d: "^0.2.0",
path2d: "^0.2.1",
},
browser: {
canvas: false,
Expand Down
42 changes: 17 additions & 25 deletions l10n/zh-TW/viewer.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ pdfjs-download-button-label = 下載
pdfjs-bookmark-button =
.title = 目前頁面(含目前檢視頁面的網址)
pdfjs-bookmark-button-label = 目前頁面
# Used in Firefox for Android.
pdfjs-open-in-app-button =
.title = 在應用程式中開啟
# Used in Firefox for Android.
# Length of the translation matters since we are in a mobile context, with limited screen estate.
pdfjs-open-in-app-button-label = 用程式開啟

## Secondary toolbar and context menu

Expand All @@ -82,8 +76,8 @@ pdfjs-cursor-hand-tool-button =
.title = 開啟頁面移動工具
pdfjs-cursor-hand-tool-button-label = 頁面移動工具
pdfjs-scroll-page-button =
.title = 使用頁面捲動功能
pdfjs-scroll-page-button-label = 頁面捲動功能
.title = 使用單頁捲動版面
pdfjs-scroll-page-button-label = 單頁捲動
pdfjs-scroll-vertical-button =
.title = 使用垂直捲動版面
pdfjs-scroll-vertical-button-label = 垂直捲動
Expand All @@ -108,8 +102,8 @@ pdfjs-spread-even-button-label = 偶數跨頁
pdfjs-document-properties-button =
.title = 文件內容…
pdfjs-document-properties-button-label = 文件內容…
pdfjs-document-properties-file-name = 檔案名稱:
pdfjs-document-properties-file-size = 檔案大小:
pdfjs-document-properties-file-name = 檔案名稱
pdfjs-document-properties-file-size = 檔案大小
# Variables:
# $size_kb (Number) - the PDF file size in kilobytes
# $size_b (Number) - the PDF file size in bytes
Expand All @@ -118,21 +112,21 @@ pdfjs-document-properties-kb = { $size_kb } KB({ $size_b } 位元組)
# $size_mb (Number) - the PDF file size in megabytes
# $size_b (Number) - the PDF file size in bytes
pdfjs-document-properties-mb = { $size_mb } MB({ $size_b } 位元組)
pdfjs-document-properties-title = 標題:
pdfjs-document-properties-author = 作者:
pdfjs-document-properties-subject = 主旨:
pdfjs-document-properties-keywords = 關鍵字:
pdfjs-document-properties-creation-date = 建立日期:
pdfjs-document-properties-modification-date = 修改日期:
pdfjs-document-properties-title = 標題
pdfjs-document-properties-author = 作者
pdfjs-document-properties-subject = 主旨
pdfjs-document-properties-keywords = 關鍵字
pdfjs-document-properties-creation-date = 建立日期
pdfjs-document-properties-modification-date = 修改日期
# Variables:
# $date (Date) - the creation/modification date of the PDF file
# $time (Time) - the creation/modification time of the PDF file
pdfjs-document-properties-date-string = { $date } { $time }
pdfjs-document-properties-creator = 建立者:
pdfjs-document-properties-producer = PDF 產生器:
pdfjs-document-properties-version = PDF 版本:
pdfjs-document-properties-page-count = 頁數:
pdfjs-document-properties-page-size = 頁面大小:
pdfjs-document-properties-creator = 建立者
pdfjs-document-properties-producer = PDF 產生器
pdfjs-document-properties-version = PDF 版本
pdfjs-document-properties-page-count = 頁數
pdfjs-document-properties-page-size = 頁面大小
pdfjs-document-properties-page-size-unit-inches = in
pdfjs-document-properties-page-size-unit-millimeters = mm
pdfjs-document-properties-page-size-orientation-portrait = 垂直
Expand All @@ -156,7 +150,7 @@ pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $hei

# The linearization status of the document; usually called "Fast Web View" in
# English locales of Adobe software.
pdfjs-document-properties-linearized = 快速 Web 檢視:
pdfjs-document-properties-linearized = 快速 Web 檢視
pdfjs-document-properties-linearized-yes = 是
pdfjs-document-properties-linearized-no = 否
pdfjs-document-properties-close-button = 關閉
Expand Down Expand Up @@ -296,8 +290,6 @@ pdfjs-editor-stamp-button-label = 新增或編輯圖片
pdfjs-editor-highlight-button =
.title = 強調
pdfjs-editor-highlight-button-label = 強調
pdfjs-highlight-floating-button =
.title = 強調
pdfjs-highlight-floating-button1 =
.title = 強調
.aria-label = 強調
Expand Down Expand Up @@ -331,7 +323,7 @@ pdfjs-editor-free-highlight-thickness-title =
.title = 更改強調文字以外的項目時的線條粗細
pdfjs-free-text =
.aria-label = 文本編輯器
pdfjs-free-text-default-content = 開始打字
pdfjs-free-text-default-content = 在此打字
pdfjs-ink =
.aria-label = 圖形編輯器
pdfjs-ink-canvas =
Expand Down
98 changes: 50 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@metalsmith/markdown": "^1.10.0",
"autoprefixer": "^10.4.19",
"babel-loader": "^9.1.3",
"caniuse-lite": "^1.0.30001636",
"caniuse-lite": "^1.0.30001639",
"canvas": "^2.11.2",
"core-js": "^3.37.1",
"cross-env": "^7.0.3",
Expand All @@ -28,7 +28,7 @@
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-sort-exports": "^0.9.1",
"eslint-plugin-unicorn": "^54.0.0",
"globals": "^15.6.0",
"globals": "^15.8.0",
"gulp": "^5.0.0",
"gulp-cli": "^3.0.0",
"gulp-postcss": "^10.0.0",
Expand All @@ -42,22 +42,22 @@
"metalsmith": "^2.6.3",
"metalsmith-html-relative": "^2.0.1",
"ordered-read-streams": "^2.0.0",
"path2d": "^0.2.0",
"path2d": "^0.2.1",
"pngjs": "^7.0.0",
"postcss": "^8.4.38",
"postcss": "^8.4.39",
"postcss-dark-theme-class": "^1.3.0",
"postcss-dir-pseudo-class": "^8.0.1",
"postcss-discard-comments": "^7.0.1",
"postcss-nesting": "^12.1.5",
"prettier": "^3.3.2",
"puppeteer": "^22.12.0",
"puppeteer": "^22.12.1",
"streamqueue": "^1.1.2",
"stylelint": "^16.6.1",
"stylelint-prettier": "^5.0.0",
"terser-webpack-plugin": "^5.3.10",
"tsc-alias": "^1.8.10",
"ttest": "^4.0.0",
"typescript": "^5.5.2",
"typescript": "^5.5.3",
"vinyl": "^3.0.0",
"webpack": "^5.92.1",
"webpack-stream": "^7.0.0",
Expand Down