lighthouse 8.5.1 → 8.6.0-dev.20211016
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +5490 -0
- package/dist/report/flow.js +35 -12
- package/dist/report/standalone.js +20 -21
- package/flow-report/.eslintrc.cjs +49 -0
- package/flow-report/assets/styles.css +272 -9
- package/flow-report/jest.config.js +1 -1
- package/flow-report/package.json +4 -0
- package/flow-report/src/app.tsx +31 -9
- package/flow-report/src/common.tsx +86 -7
- package/flow-report/src/header.tsx +88 -0
- package/flow-report/src/help-dialog.tsx +120 -0
- package/flow-report/src/i18n/i18n.tsx +52 -0
- package/flow-report/src/i18n/localized-strings.js +11 -0
- package/flow-report/src/i18n/ui-strings.js +134 -0
- package/flow-report/src/icons.tsx +20 -3
- package/flow-report/src/sidebar/sidebar.tsx +11 -16
- package/flow-report/src/summary/category.tsx +39 -24
- package/flow-report/src/summary/summary.tsx +35 -32
- package/flow-report/src/topbar.tsx +54 -4
- package/flow-report/src/util.ts +26 -1
- package/flow-report/src/wrappers/report-renderer.tsx +1 -1
- package/flow-report/src/wrappers/report.tsx +6 -21
- package/flow-report/test/app-test.tsx +17 -13
- package/flow-report/test/common-test.tsx +89 -0
- package/flow-report/test/header-test.tsx +55 -0
- package/flow-report/test/sample-flow.ts +17 -0
- package/flow-report/test/setup/env-setup.ts +1 -0
- package/flow-report/test/sidebar/flow-test.tsx +6 -12
- package/flow-report/test/sidebar/sidebar-test.tsx +7 -13
- package/flow-report/test/summary/category-test.tsx +83 -34
- package/flow-report/test/summary/summary-test.tsx +12 -18
- package/flow-report/test/topbar-test.tsx +68 -0
- package/flow-report/test/util-test.tsx +1 -12
- package/flow-report/tsconfig.json +2 -0
- package/flow-report/types/flow-report.d.ts +2 -1
- package/jest.config.js +1 -15
- package/lighthouse-cli/bin.js +5 -0
- package/lighthouse-cli/cli-flags.js +10 -3
- package/lighthouse-cli/commands/commands.js +1 -0
- package/lighthouse-cli/commands/list-locales.js +16 -0
- package/lighthouse-cli/run.js +2 -2
- package/lighthouse-cli/test/smokehouse/frontends/smokehouse-bin.js +0 -0
- package/lighthouse-cli/test/smokehouse/report-assert.js +20 -4
- package/lighthouse-core/audits/byte-efficiency/byte-efficiency-audit.js +2 -1
- package/lighthouse-core/audits/byte-efficiency/unused-javascript.js +1 -1
- package/lighthouse-core/audits/seo/crawlable-anchors.js +10 -12
- package/lighthouse-core/computed/js-bundles.js +1 -2
- package/lighthouse-core/computed/unused-javascript-summary.js +3 -3
- package/lighthouse-core/config/config-helpers.js +1 -0
- package/lighthouse-core/config/config.js +2 -2
- package/lighthouse-core/config/default-config.js +5 -0
- package/lighthouse-core/fraggle-rock/api.js +10 -0
- package/lighthouse-core/fraggle-rock/config/filters.js +22 -3
- package/lighthouse-core/fraggle-rock/gather/driver.js +4 -0
- package/lighthouse-core/fraggle-rock/gather/navigation-runner.js +2 -2
- package/lighthouse-core/fraggle-rock/user-flow.js +35 -6
- package/lighthouse-core/gather/driver/navigation.js +5 -0
- package/lighthouse-core/gather/driver/prepare.js +14 -0
- package/lighthouse-core/gather/driver/storage.js +5 -0
- package/lighthouse-core/gather/gather-runner.js +2 -2
- package/lighthouse-core/gather/gatherers/dobetterweb/response-compression.js +5 -1
- package/lighthouse-core/gather/gatherers/full-page-screenshot.js +30 -24
- package/lighthouse-core/lib/cdt/Platform.js +55 -0
- package/lighthouse-core/lib/cdt/SDK.js +3 -123
- package/lighthouse-core/lib/cdt/generated/SourceMap.js +148 -312
- package/lighthouse-core/lib/csp-evaluator.js +2 -1
- package/lighthouse-core/lib/i18n/README.md +6 -6
- package/lighthouse-core/lib/i18n/i18n.js +26 -348
- package/lighthouse-core/lib/page-functions.js +4 -4
- package/lighthouse-core/lib/stack-packs.js +1 -13
- package/lighthouse-core/runner.js +6 -6
- package/lighthouse-core/scripts/manual-chrome-launcher.js +4 -1
- package/lighthouse-core/scripts/package.json +4 -0
- package/lighthouse-core/util-commonjs.js +20 -4
- package/package.json +19 -16
- package/readme.md +1 -1
- package/report/assets/standalone-template.html +0 -1
- package/report/assets/styles.css +16 -41
- package/report/assets/templates.html +42 -4
- package/report/clients/psi.js +1 -0
- package/report/clients/standalone.js +1 -2
- package/report/generator/file-namer.js +17 -8
- package/report/generator/report-generator.js +0 -1
- package/report/renderer/category-renderer.js +4 -16
- package/report/renderer/components.js +107 -71
- package/report/renderer/dom.js +19 -0
- package/report/renderer/logger.js +35 -2
- package/report/renderer/performance-category-renderer.js +23 -21
- package/report/renderer/pwa-category-renderer.js +1 -2
- package/report/renderer/report-renderer.js +21 -0
- package/report/renderer/report-ui-features.js +7 -19
- package/report/renderer/swap-locale-feature.js +82 -0
- package/report/renderer/util.js +20 -4
- package/report/test/clients/psi-test.js +0 -4
- package/report/test/generator/file-namer-test.js +2 -2
- package/report/test/renderer/category-renderer-test.js +1 -1
- package/report/test/renderer/performance-category-renderer-test.js +12 -0
- package/report/test/renderer/report-renderer-axe-test.js +86 -0
- package/report/test/renderer/report-renderer-test.js +0 -55
- package/report/test/renderer/util-test.js +68 -8
- package/report/test-assets/faux-psi-template.html +0 -1
- package/report/tsconfig.json +2 -1
- package/report/types/html-renderer.d.ts +2 -1
- package/root.js +18 -0
- package/shared/localization/format.js +455 -0
- package/{lighthouse-core/lib/cdt/Common.js → shared/localization/i18n-module.js} +3 -8
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/ar-XB.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/ar.json +141 -6
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/bg.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/ca.json +140 -5
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/cs.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/da.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/de.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/el.json +141 -6
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/en-GB.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/en-US.json +129 -0
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/en-XA.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/en-XL.json +129 -0
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/es-419.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/es.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/fi.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/fil.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/fr.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/he.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/hi.json +142 -7
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/hr.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/hu.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/id.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/it.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/ja.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/ko.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/lt.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/lv.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/nl.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/no.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/pl.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/pt-PT.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/pt.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/ro.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/ru.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/sk.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/sl.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/sr-Latn.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/sr.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/sv.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/ta.json +146 -11
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/te.json +179 -44
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/th.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/tr.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/uk.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/vi.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/zh-HK.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/zh-TW.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales/zh.json +139 -4
- package/{lighthouse-core/lib/i18n → shared/localization}/locales.js +8 -1
- package/shared/localization/swap-flow-locale.js +20 -0
- package/{lighthouse-core/lib/i18n → shared/localization}/swap-locale.js +9 -7
- package/shared/test/localization/format-test.js +421 -0
- package/shared/test/localization/locales-test.js +47 -0
- package/shared/test/localization/swap-locale-test.js +140 -0
- package/shared/tsconfig.json +22 -0
- package/{lighthouse-core/lib → shared}/type-verifiers.js +0 -0
- package/shared/types/shared.d.ts +24 -0
- package/third-party/chromium-synchronization/inspector-issueAdded-types-test.js +5 -3
- package/third-party/chromium-synchronization/installability-errors-test.js +2 -1
- package/tsconfig-all.json +1 -0
- package/tsconfig-base.json +1 -1
- package/tsconfig.json +2 -3
- package/types/config.d.ts +1 -0
- package/types/es-main.d.ts +18 -0
- package/types/externs.d.ts +2 -0
- package/types/lhr/flow.d.ts +7 -0
- package/types/lhr/i18n.d.ts +0 -3
|
@@ -1,4 +1,115 @@
|
|
|
1
1
|
{
|
|
2
|
+
"flow-report/src/i18n/ui-strings.js | allReports": {
|
|
3
|
+
"message": "Tất cả báo cáo"
|
|
4
|
+
},
|
|
5
|
+
"flow-report/src/i18n/ui-strings.js | categories": {
|
|
6
|
+
"message": "Categories"
|
|
7
|
+
},
|
|
8
|
+
"flow-report/src/i18n/ui-strings.js | categoryAccessibility": {
|
|
9
|
+
"message": "Hỗ trợ tiếp cận"
|
|
10
|
+
},
|
|
11
|
+
"flow-report/src/i18n/ui-strings.js | categoryBestPractices": {
|
|
12
|
+
"message": "Phương pháp hay nhất"
|
|
13
|
+
},
|
|
14
|
+
"flow-report/src/i18n/ui-strings.js | categoryPerformance": {
|
|
15
|
+
"message": "Hiệu suất"
|
|
16
|
+
},
|
|
17
|
+
"flow-report/src/i18n/ui-strings.js | categoryProgressiveWebApp": {
|
|
18
|
+
"message": "Ứng dụng web tiến bộ"
|
|
19
|
+
},
|
|
20
|
+
"flow-report/src/i18n/ui-strings.js | categorySeo": {
|
|
21
|
+
"message": "SEO"
|
|
22
|
+
},
|
|
23
|
+
"flow-report/src/i18n/ui-strings.js | desktop": {
|
|
24
|
+
"message": "Máy tính"
|
|
25
|
+
},
|
|
26
|
+
"flow-report/src/i18n/ui-strings.js | helpDialogTitle": {
|
|
27
|
+
"message": "Understanding the Lighthouse Flow Report"
|
|
28
|
+
},
|
|
29
|
+
"flow-report/src/i18n/ui-strings.js | helpLabel": {
|
|
30
|
+
"message": "Understanding Flows"
|
|
31
|
+
},
|
|
32
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionNavigation": {
|
|
33
|
+
"message": "Use Navigation reports to..."
|
|
34
|
+
},
|
|
35
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionSnapshot": {
|
|
36
|
+
"message": "Use Snapshot reports to..."
|
|
37
|
+
},
|
|
38
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionTimespan": {
|
|
39
|
+
"message": "Use Timespan reports to..."
|
|
40
|
+
},
|
|
41
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation1": {
|
|
42
|
+
"message": "Obtain a Lighthouse Performance score."
|
|
43
|
+
},
|
|
44
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation2": {
|
|
45
|
+
"message": "Measure page load Performance metrics such as Largest Contentful Paint and Speed Index."
|
|
46
|
+
},
|
|
47
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation3": {
|
|
48
|
+
"message": "Assess Progressive Web App capabilities."
|
|
49
|
+
},
|
|
50
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseSnapshot1": {
|
|
51
|
+
"message": "Find accessibility issues in single page applications or complex forms."
|
|
52
|
+
},
|
|
53
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseSnapshot2": {
|
|
54
|
+
"message": "Evaluate best practices of menus and UI elements hidden behind interaction."
|
|
55
|
+
},
|
|
56
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseTimespan1": {
|
|
57
|
+
"message": "Measure layout shifts and JavaScript execution time on a series of interactions."
|
|
58
|
+
},
|
|
59
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseTimespan2": {
|
|
60
|
+
"message": "Discover performance opportunities to improve the experience for long-lived pages and single-page applications."
|
|
61
|
+
},
|
|
62
|
+
"flow-report/src/i18n/ui-strings.js | mobile": {
|
|
63
|
+
"message": "Di động"
|
|
64
|
+
},
|
|
65
|
+
"flow-report/src/i18n/ui-strings.js | navigationDescription": {
|
|
66
|
+
"message": "Tải trang"
|
|
67
|
+
},
|
|
68
|
+
"flow-report/src/i18n/ui-strings.js | navigationLongDescription": {
|
|
69
|
+
"message": "Navigation reports analyze a single page load, exactly like the original Lighthouse reports."
|
|
70
|
+
},
|
|
71
|
+
"flow-report/src/i18n/ui-strings.js | navigationReport": {
|
|
72
|
+
"message": "Báo cáo di chuyển trên trang"
|
|
73
|
+
},
|
|
74
|
+
"flow-report/src/i18n/ui-strings.js | ratingAverage": {
|
|
75
|
+
"message": "Trung bình"
|
|
76
|
+
},
|
|
77
|
+
"flow-report/src/i18n/ui-strings.js | ratingError": {
|
|
78
|
+
"message": "Lỗi"
|
|
79
|
+
},
|
|
80
|
+
"flow-report/src/i18n/ui-strings.js | ratingFail": {
|
|
81
|
+
"message": "Kém"
|
|
82
|
+
},
|
|
83
|
+
"flow-report/src/i18n/ui-strings.js | ratingPass": {
|
|
84
|
+
"message": "Tốt"
|
|
85
|
+
},
|
|
86
|
+
"flow-report/src/i18n/ui-strings.js | save": {
|
|
87
|
+
"message": "Save"
|
|
88
|
+
},
|
|
89
|
+
"flow-report/src/i18n/ui-strings.js | snapshotDescription": {
|
|
90
|
+
"message": "Trạng thái đã chụp của trang"
|
|
91
|
+
},
|
|
92
|
+
"flow-report/src/i18n/ui-strings.js | snapshotLongDescription": {
|
|
93
|
+
"message": "Snapshot reports analyze the page in a particular state, typically after user interactions."
|
|
94
|
+
},
|
|
95
|
+
"flow-report/src/i18n/ui-strings.js | snapshotReport": {
|
|
96
|
+
"message": "Báo cáo tổng quan"
|
|
97
|
+
},
|
|
98
|
+
"flow-report/src/i18n/ui-strings.js | summary": {
|
|
99
|
+
"message": "Tóm tắt"
|
|
100
|
+
},
|
|
101
|
+
"flow-report/src/i18n/ui-strings.js | timespanDescription": {
|
|
102
|
+
"message": "Sự tương tác của người dùng"
|
|
103
|
+
},
|
|
104
|
+
"flow-report/src/i18n/ui-strings.js | timespanLongDescription": {
|
|
105
|
+
"message": "Timespan reports analyze an arbitrary period of time, typically containing user interactions."
|
|
106
|
+
},
|
|
107
|
+
"flow-report/src/i18n/ui-strings.js | timespanReport": {
|
|
108
|
+
"message": "Báo cáo khoảng thời gian"
|
|
109
|
+
},
|
|
110
|
+
"flow-report/src/i18n/ui-strings.js | title": {
|
|
111
|
+
"message": "Báo cáo luồng người dùng Lighthouse"
|
|
112
|
+
},
|
|
2
113
|
"lighthouse-core/audits/accessibility/accesskeys.js | description": {
|
|
3
114
|
"message": "Các phím truy cập cho phép người dùng chuyển nhanh đến một phần của trang. Để di chuyển đúng cách, mỗi phím truy cập phải là duy nhất. [Tìm hiểu thêm](https://web.dev/accesskeys/)."
|
|
4
115
|
},
|
|
@@ -554,6 +665,12 @@
|
|
|
554
665
|
"lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js | columnDisplayedDimensions": {
|
|
555
666
|
"message": "Kích thước hiển thị"
|
|
556
667
|
},
|
|
668
|
+
"lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js | failureTitle": {
|
|
669
|
+
"message": "Hình ảnh có kích thước lớn hơn kích thước hiển thị"
|
|
670
|
+
},
|
|
671
|
+
"lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js | title": {
|
|
672
|
+
"message": "Hình ảnh có kích thước hiển thị phù hợp"
|
|
673
|
+
},
|
|
557
674
|
"lighthouse-core/audits/byte-efficiency/uses-responsive-images.js | description": {
|
|
558
675
|
"message": "Phân phát hình ảnh có kích thước phù hợp để tiết kiệm dữ liệu di động và cải thiện thời gian tải. [Tìm hiểu thêm](https://web.dev/uses-responsive-images/)."
|
|
559
676
|
},
|
|
@@ -1007,6 +1124,15 @@
|
|
|
1007
1124
|
"lighthouse-core/audits/layout-shift-elements.js | title": {
|
|
1008
1125
|
"message": "Tránh các thay đổi lớn về bố cục"
|
|
1009
1126
|
},
|
|
1127
|
+
"lighthouse-core/audits/lcp-lazy-loaded.js | description": {
|
|
1128
|
+
"message": "Hình ảnh trong màn hình đầu tiên được tải từng phần sẽ hiển thị sau trong vòng đời của trang, điều này có thể làm chậm thời gian hiển thị nội dung lớn nhất. [Tìm hiểu thêm](https://web.dev/lcp-lazy-loading/)."
|
|
1129
|
+
},
|
|
1130
|
+
"lighthouse-core/audits/lcp-lazy-loaded.js | failureTitle": {
|
|
1131
|
+
"message": "Hình ảnh Thời gian hiển thị nội dung lớn nhất đã được tải từng phần"
|
|
1132
|
+
},
|
|
1133
|
+
"lighthouse-core/audits/lcp-lazy-loaded.js | title": {
|
|
1134
|
+
"message": "Hình ảnh Thời gian hiển thị nội dung lớn nhất không được tải từng phần"
|
|
1135
|
+
},
|
|
1010
1136
|
"lighthouse-core/audits/long-tasks.js | description": {
|
|
1011
1137
|
"message": "Liệt kê những việc cần nhiều thời gian thực hiện nhất trong chuỗi chính. Thông tin này khá hữu ích trong việc xác định những thành phần có thời gian phản hồi tương tác chậm nhất. [Tìm hiểu thêm](https://web.dev/long-tasks-devtools/)"
|
|
1012
1138
|
},
|
|
@@ -1524,7 +1650,7 @@
|
|
|
1524
1650
|
"message": "Trang có bản đồ nguồn hợp lệ"
|
|
1525
1651
|
},
|
|
1526
1652
|
"lighthouse-core/audits/viewport.js | description": {
|
|
1527
|
-
"message": "
|
|
1653
|
+
"message": "`<meta name=\"viewport\">` không chỉ tối ưu hóa ứng dụng của bạn cho các kích thước màn hình trên thiết bị di động mà còn ngăn [ độ trễ 300 mili giây xảy ra đối với hoạt động đầu vào của người dùng](https://developers.google.com/web/updates/2013/12/300ms-tap-delay-gone-away). [Tìm hiểu thêm](https://web.dev/viewport/)."
|
|
1528
1654
|
},
|
|
1529
1655
|
"lighthouse-core/audits/viewport.js | explanationNoTag": {
|
|
1530
1656
|
"message": "Không tìm thấy thẻ `<meta name=\"viewport\">`"
|
|
@@ -1659,7 +1785,7 @@
|
|
|
1659
1785
|
"message": "PWA đã tối ưu hóa"
|
|
1660
1786
|
},
|
|
1661
1787
|
"lighthouse-core/config/default-config.js | seoCategoryDescription": {
|
|
1662
|
-
"message": "Các hoạt động kiểm tra này đảm bảo rằng trang của bạn
|
|
1788
|
+
"message": "Các hoạt động kiểm tra này đảm bảo rằng trang của bạn đang tuân theo lời khuyên về tối ưu hóa cho công cụ tìm kiếm cơ bản. Có nhiều yếu tố bổ sung mà Lighthouse không hiển thị ở đây có thể ảnh hưởng đến thứ hạng của bạn trong kết quả tìm kiếm, kể cả hiệu suất của [Các chỉ số quan trọng về trang web](https://web.dev/learn-web-vitals/). [Tìm hiểu thêm](https://support.google.com/webmasters/answer/35769)."
|
|
1663
1789
|
},
|
|
1664
1790
|
"lighthouse-core/config/default-config.js | seoCategoryManualDescription": {
|
|
1665
1791
|
"message": "Chạy những trình xác thực bổ sung này trên trang web của bạn để xem thêm các phương pháp hay nhất dành cho quy trình Tối ưu hóa cho công cụ tìm kiếm (SEO)."
|
|
@@ -1713,7 +1839,7 @@
|
|
|
1713
1839
|
"message": "Nếu thiếu base-uri, các thẻ <base> có thể được chèn vào để đặt URL cơ sở cho mọi URL tương đối (ví dụ: tập lệnh) đến miền do kẻ tấn công kiểm soát. Hãy cân nhắc đặt base-uri thành \"none\" hoặc \"self\"."
|
|
1714
1840
|
},
|
|
1715
1841
|
"lighthouse-core/lib/csp-evaluator.js | missingObjectSrc": {
|
|
1716
|
-
"message": "
|
|
1842
|
+
"message": "Khi thiếu object-src, hệ thống sẽ cho phép hành vi chèn các trình bổ trợ thực thi tập lệnh không an toàn. Hãy cân nhắc đặt object-src thành \"none\" nếu bạn có thể."
|
|
1717
1843
|
},
|
|
1718
1844
|
"lighthouse-core/lib/csp-evaluator.js | missingScriptSrc": {
|
|
1719
1845
|
"message": "Thiếu lệnh script-src. Khi không có lệnh này, các tập lệnh không an toàn có thể được thực thi."
|
|
@@ -1727,6 +1853,12 @@
|
|
|
1727
1853
|
"lighthouse-core/lib/csp-evaluator.js | nonceLength": {
|
|
1728
1854
|
"message": "Nonces phải có độ dài tối thiểu là 8 ký tự."
|
|
1729
1855
|
},
|
|
1856
|
+
"lighthouse-core/lib/csp-evaluator.js | plainUrlScheme": {
|
|
1857
|
+
"message": "Tránh dùng các giao thức URL thuần túy ({keyword}) trong lệnh này. Giao thức URL thuần túy cho phép thực thi các tập lệnh từ miền không an toàn."
|
|
1858
|
+
},
|
|
1859
|
+
"lighthouse-core/lib/csp-evaluator.js | plainWildcards": {
|
|
1860
|
+
"message": "Tránh dùng các ký tự đại diện thuần túy ({keyword}) trong lệnh này. Các ký tự đại diện thuần túy cho phép thực thi các tập lệnh từ miền không an toàn."
|
|
1861
|
+
},
|
|
1730
1862
|
"lighthouse-core/lib/csp-evaluator.js | reportToOnly": {
|
|
1731
1863
|
"message": "Đích báo cáo này chỉ được định cấu hình thông qua lệnh report-to. Chỉ các trình duyệt dựa trên Chromium mới hỗ trợ lệnh này. Do đó, bạn nên dùng cả lệnh report-uri."
|
|
1732
1864
|
},
|
|
@@ -1734,7 +1866,7 @@
|
|
|
1734
1866
|
"message": "Không có CSP nào định cấu hình đích báo cáo. Điều này sẽ gây khó khăn cho việc duy trì CSP theo thời gian và giám sát mọi sự cố."
|
|
1735
1867
|
},
|
|
1736
1868
|
"lighthouse-core/lib/csp-evaluator.js | strictDynamic": {
|
|
1737
|
-
"message": "Danh sách máy chủ cho phép có thể thường xuyên bị bỏ qua.
|
|
1869
|
+
"message": "Danh sách máy chủ cho phép có thể thường xuyên bị bỏ qua. Thay vào đó, hãy cân nhắc dùng nonces hoặc hashes của CSP, cùng với \"strict-dynamic\" nếu cần."
|
|
1738
1870
|
},
|
|
1739
1871
|
"lighthouse-core/lib/csp-evaluator.js | unknownDirective": {
|
|
1740
1872
|
"message": "Lệnh CSP không xác định."
|
|
@@ -1742,6 +1874,9 @@
|
|
|
1742
1874
|
"lighthouse-core/lib/csp-evaluator.js | unknownKeyword": {
|
|
1743
1875
|
"message": "Có vẻ như {keyword} là một từ khóa không hợp lệ."
|
|
1744
1876
|
},
|
|
1877
|
+
"lighthouse-core/lib/csp-evaluator.js | unsafeInline": {
|
|
1878
|
+
"message": "\"unsafe-inline\" cho phép thực thi nhiều trình xử lý sự kiện và tập lệnh không an toàn trong trang. Hãy cân nhắc dùng nonces hoặc hashes của CSP để cho phép thực thi từng tập lệnh."
|
|
1879
|
+
},
|
|
1745
1880
|
"lighthouse-core/lib/csp-evaluator.js | unsafeInlineFallback": {
|
|
1746
1881
|
"message": "Hãy cân nhắc thêm \"unsafe-inline\" (bị các trình duyệt hỗ trợ nonces/hashes bỏ qua) để tương thích ngược với những trình duyệt cũ."
|
|
1747
1882
|
},
|
|
@@ -1,4 +1,115 @@
|
|
|
1
1
|
{
|
|
2
|
+
"flow-report/src/i18n/ui-strings.js | allReports": {
|
|
3
|
+
"message": "全部報告"
|
|
4
|
+
},
|
|
5
|
+
"flow-report/src/i18n/ui-strings.js | categories": {
|
|
6
|
+
"message": "Categories"
|
|
7
|
+
},
|
|
8
|
+
"flow-report/src/i18n/ui-strings.js | categoryAccessibility": {
|
|
9
|
+
"message": "無障礙功能"
|
|
10
|
+
},
|
|
11
|
+
"flow-report/src/i18n/ui-strings.js | categoryBestPractices": {
|
|
12
|
+
"message": "最佳做法"
|
|
13
|
+
},
|
|
14
|
+
"flow-report/src/i18n/ui-strings.js | categoryPerformance": {
|
|
15
|
+
"message": "效能"
|
|
16
|
+
},
|
|
17
|
+
"flow-report/src/i18n/ui-strings.js | categoryProgressiveWebApp": {
|
|
18
|
+
"message": "漸進式網絡應用程式"
|
|
19
|
+
},
|
|
20
|
+
"flow-report/src/i18n/ui-strings.js | categorySeo": {
|
|
21
|
+
"message": "搜尋引擎優化 (SEO)"
|
|
22
|
+
},
|
|
23
|
+
"flow-report/src/i18n/ui-strings.js | desktop": {
|
|
24
|
+
"message": "桌面電腦"
|
|
25
|
+
},
|
|
26
|
+
"flow-report/src/i18n/ui-strings.js | helpDialogTitle": {
|
|
27
|
+
"message": "Understanding the Lighthouse Flow Report"
|
|
28
|
+
},
|
|
29
|
+
"flow-report/src/i18n/ui-strings.js | helpLabel": {
|
|
30
|
+
"message": "Understanding Flows"
|
|
31
|
+
},
|
|
32
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionNavigation": {
|
|
33
|
+
"message": "Use Navigation reports to..."
|
|
34
|
+
},
|
|
35
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionSnapshot": {
|
|
36
|
+
"message": "Use Snapshot reports to..."
|
|
37
|
+
},
|
|
38
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionTimespan": {
|
|
39
|
+
"message": "Use Timespan reports to..."
|
|
40
|
+
},
|
|
41
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation1": {
|
|
42
|
+
"message": "Obtain a Lighthouse Performance score."
|
|
43
|
+
},
|
|
44
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation2": {
|
|
45
|
+
"message": "Measure page load Performance metrics such as Largest Contentful Paint and Speed Index."
|
|
46
|
+
},
|
|
47
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation3": {
|
|
48
|
+
"message": "Assess Progressive Web App capabilities."
|
|
49
|
+
},
|
|
50
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseSnapshot1": {
|
|
51
|
+
"message": "Find accessibility issues in single page applications or complex forms."
|
|
52
|
+
},
|
|
53
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseSnapshot2": {
|
|
54
|
+
"message": "Evaluate best practices of menus and UI elements hidden behind interaction."
|
|
55
|
+
},
|
|
56
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseTimespan1": {
|
|
57
|
+
"message": "Measure layout shifts and JavaScript execution time on a series of interactions."
|
|
58
|
+
},
|
|
59
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseTimespan2": {
|
|
60
|
+
"message": "Discover performance opportunities to improve the experience for long-lived pages and single-page applications."
|
|
61
|
+
},
|
|
62
|
+
"flow-report/src/i18n/ui-strings.js | mobile": {
|
|
63
|
+
"message": "流動裝置"
|
|
64
|
+
},
|
|
65
|
+
"flow-report/src/i18n/ui-strings.js | navigationDescription": {
|
|
66
|
+
"message": "網頁載入"
|
|
67
|
+
},
|
|
68
|
+
"flow-report/src/i18n/ui-strings.js | navigationLongDescription": {
|
|
69
|
+
"message": "Navigation reports analyze a single page load, exactly like the original Lighthouse reports."
|
|
70
|
+
},
|
|
71
|
+
"flow-report/src/i18n/ui-strings.js | navigationReport": {
|
|
72
|
+
"message": "導覽報告"
|
|
73
|
+
},
|
|
74
|
+
"flow-report/src/i18n/ui-strings.js | ratingAverage": {
|
|
75
|
+
"message": "一般"
|
|
76
|
+
},
|
|
77
|
+
"flow-report/src/i18n/ui-strings.js | ratingError": {
|
|
78
|
+
"message": "錯誤"
|
|
79
|
+
},
|
|
80
|
+
"flow-report/src/i18n/ui-strings.js | ratingFail": {
|
|
81
|
+
"message": "欠佳"
|
|
82
|
+
},
|
|
83
|
+
"flow-report/src/i18n/ui-strings.js | ratingPass": {
|
|
84
|
+
"message": "良好"
|
|
85
|
+
},
|
|
86
|
+
"flow-report/src/i18n/ui-strings.js | save": {
|
|
87
|
+
"message": "Save"
|
|
88
|
+
},
|
|
89
|
+
"flow-report/src/i18n/ui-strings.js | snapshotDescription": {
|
|
90
|
+
"message": "已採集網頁狀態"
|
|
91
|
+
},
|
|
92
|
+
"flow-report/src/i18n/ui-strings.js | snapshotLongDescription": {
|
|
93
|
+
"message": "Snapshot reports analyze the page in a particular state, typically after user interactions."
|
|
94
|
+
},
|
|
95
|
+
"flow-report/src/i18n/ui-strings.js | snapshotReport": {
|
|
96
|
+
"message": "快覽報告"
|
|
97
|
+
},
|
|
98
|
+
"flow-report/src/i18n/ui-strings.js | summary": {
|
|
99
|
+
"message": "摘要"
|
|
100
|
+
},
|
|
101
|
+
"flow-report/src/i18n/ui-strings.js | timespanDescription": {
|
|
102
|
+
"message": "用戶的互動行為"
|
|
103
|
+
},
|
|
104
|
+
"flow-report/src/i18n/ui-strings.js | timespanLongDescription": {
|
|
105
|
+
"message": "Timespan reports analyze an arbitrary period of time, typically containing user interactions."
|
|
106
|
+
},
|
|
107
|
+
"flow-report/src/i18n/ui-strings.js | timespanReport": {
|
|
108
|
+
"message": "時間範圍報告"
|
|
109
|
+
},
|
|
110
|
+
"flow-report/src/i18n/ui-strings.js | title": {
|
|
111
|
+
"message": "Lighthouse 用戶流程報告"
|
|
112
|
+
},
|
|
2
113
|
"lighthouse-core/audits/accessibility/accesskeys.js | description": {
|
|
3
114
|
"message": "快速鍵可讓使用者快速聚焦網頁的特定部分。如要讓使用者正確瀏覽,每個快速鍵一律不可重複。[瞭解詳情](https://web.dev/accesskeys/)。"
|
|
4
115
|
},
|
|
@@ -554,6 +665,12 @@
|
|
|
554
665
|
"lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js | columnDisplayedDimensions": {
|
|
555
666
|
"message": "顯示的尺寸"
|
|
556
667
|
},
|
|
668
|
+
"lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js | failureTitle": {
|
|
669
|
+
"message": "圖片大於其顯示大小"
|
|
670
|
+
},
|
|
671
|
+
"lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js | title": {
|
|
672
|
+
"message": "圖片適合其顯示大小"
|
|
673
|
+
},
|
|
557
674
|
"lighthouse-core/audits/byte-efficiency/uses-responsive-images.js | description": {
|
|
558
675
|
"message": "提供適當大小的圖片有助節省流動數據用量,並縮短載入時間。[瞭解詳情](https://web.dev/uses-responsive-images/)。"
|
|
559
676
|
},
|
|
@@ -1007,6 +1124,15 @@
|
|
|
1007
1124
|
"lighthouse-core/audits/layout-shift-elements.js | title": {
|
|
1008
1125
|
"message": "避免大幅度的版面配置轉移"
|
|
1009
1126
|
},
|
|
1127
|
+
"lighthouse-core/audits/lcp-lazy-loaded.js | description": {
|
|
1128
|
+
"message": "系統會在頁面生命週期的較後時段輸出延遲載入的毋需捲動的當眼位置圖片,這可能導致最大內容繪製發生延遲。[瞭解詳情](https://web.dev/lcp-lazy-loading/)。"
|
|
1129
|
+
},
|
|
1130
|
+
"lighthouse-core/audits/lcp-lazy-loaded.js | failureTitle": {
|
|
1131
|
+
"message": "「最大內容繪製」圖片延遲載入"
|
|
1132
|
+
},
|
|
1133
|
+
"lighthouse-core/audits/lcp-lazy-loaded.js | title": {
|
|
1134
|
+
"message": "「最大內容繪製」圖片沒有延遲載入"
|
|
1135
|
+
},
|
|
1010
1136
|
"lighthouse-core/audits/long-tasks.js | description": {
|
|
1011
1137
|
"message": "列出主要執行緒上執行時間最長的工作,有助辨識導致輸入延遲的主因。[瞭解詳情](https://web.dev/long-tasks-devtools/)"
|
|
1012
1138
|
},
|
|
@@ -1524,7 +1650,7 @@
|
|
|
1524
1650
|
"message": "頁面包含有效的來源對應"
|
|
1525
1651
|
},
|
|
1526
1652
|
"lighthouse-core/audits/viewport.js | description": {
|
|
1527
|
-
"message": "
|
|
1653
|
+
"message": "`<meta name=\"viewport\">` 不但會針對流動裝置螢幕大小來優化應用程式,還能夠防止[使用者輸入時發生 300 毫秒的延遲](https://developers.google.com/web/updates/2013/12/300ms-tap-delay-gone-away)。[瞭解詳情](https://web.dev/viewport/)。"
|
|
1528
1654
|
},
|
|
1529
1655
|
"lighthouse-core/audits/viewport.js | explanationNoTag": {
|
|
1530
1656
|
"message": "找不到任何 `<meta name=\"viewport\">` 標籤"
|
|
@@ -1659,7 +1785,7 @@
|
|
|
1659
1785
|
"message": "已優化 PWA"
|
|
1660
1786
|
},
|
|
1661
1787
|
"lighthouse-core/config/default-config.js | seoCategoryDescription": {
|
|
1662
|
-
"message": "
|
|
1788
|
+
"message": "這些檢查可確保網頁符合基本搜尋引擎優化建議。這裡有很多其他因素不在 Lighthouse 評分範圍內,但仍可能會影響您的搜尋排名,包括[網站使用體驗核心指標報告](https://web.dev/learn-web-vitals/)的效能。[瞭解詳情](https://support.google.com/webmasters/answer/35769)。"
|
|
1663
1789
|
},
|
|
1664
1790
|
"lighthouse-core/config/default-config.js | seoCategoryManualDescription": {
|
|
1665
1791
|
"message": "在您的網站上執行這些額外的驗證工具,以檢查其他 SEO 最佳做法。"
|
|
@@ -1713,7 +1839,7 @@
|
|
|
1713
1839
|
"message": "如果遺漏 base-uri,有心人士便可透過已插入的 <base> 標籤將所有相對網址 (例如指令碼) 的基底網址設定為攻擊者控制的網域。建議將 base-uri 指定為「none」或「self」。"
|
|
1714
1840
|
},
|
|
1715
1841
|
"lighthouse-core/lib/csp-evaluator.js | missingObjectSrc": {
|
|
1716
|
-
"message": "
|
|
1842
|
+
"message": "缺少 object-src 會容許有心人士插入會執行不安全指令碼的外掛程式。建議您盡可能將 object-src 設為「none」。"
|
|
1717
1843
|
},
|
|
1718
1844
|
"lighthouse-core/lib/csp-evaluator.js | missingScriptSrc": {
|
|
1719
1845
|
"message": "缺少 script-src 指令。這可能導致系統執行不安全的指令碼。"
|
|
@@ -1727,6 +1853,12 @@
|
|
|
1727
1853
|
"lighthouse-core/lib/csp-evaluator.js | nonceLength": {
|
|
1728
1854
|
"message": "nonce 的長度至少要有 8 個字元。"
|
|
1729
1855
|
},
|
|
1856
|
+
"lighthouse-core/lib/csp-evaluator.js | plainUrlScheme": {
|
|
1857
|
+
"message": "請避免在此指令之中使用純網址配置 ({keyword})。純網址配置會容許有心人士從不安全的網域取得指令碼。"
|
|
1858
|
+
},
|
|
1859
|
+
"lighthouse-core/lib/csp-evaluator.js | plainWildcards": {
|
|
1860
|
+
"message": "請避免在此指令中使用純萬用字元 ({keyword})。純萬用字元會容許有心人士從不安全的網域取得指令碼。"
|
|
1861
|
+
},
|
|
1730
1862
|
"lighthouse-core/lib/csp-evaluator.js | reportToOnly": {
|
|
1731
1863
|
"message": "報告目的地只能透過 report-to 指令設定。由於這項指令只受到以 Chromium 為基礎的瀏覽器支援,因此建議同時使用 report-uri 指令。"
|
|
1732
1864
|
},
|
|
@@ -1734,7 +1866,7 @@
|
|
|
1734
1866
|
"message": "沒有 CSP 設定報告目的地。這會導致系統難以持續維護 CSP 及監察故障情況。"
|
|
1735
1867
|
},
|
|
1736
1868
|
"lighthouse-core/lib/csp-evaluator.js | strictDynamic": {
|
|
1737
|
-
"message": "
|
|
1869
|
+
"message": "由於主機許可名單經常被忽略,建議您改為使用 CSP nonce 或 hash,如有需要,請同時使用「strict-dynamic」。"
|
|
1738
1870
|
},
|
|
1739
1871
|
"lighthouse-core/lib/csp-evaluator.js | unknownDirective": {
|
|
1740
1872
|
"message": "CSP 指令不明。"
|
|
@@ -1742,6 +1874,9 @@
|
|
|
1742
1874
|
"lighthouse-core/lib/csp-evaluator.js | unknownKeyword": {
|
|
1743
1875
|
"message": "{keyword} 似乎是無效關鍵字。"
|
|
1744
1876
|
},
|
|
1877
|
+
"lighthouse-core/lib/csp-evaluator.js | unsafeInline": {
|
|
1878
|
+
"message": "「unsafe-inline」會允許執行不安全的頁面內嵌指令碼和事件處理常式。建議使用 CSP nonce 或 hash 逐一允許指令碼。"
|
|
1879
|
+
},
|
|
1745
1880
|
"lighthouse-core/lib/csp-evaluator.js | unsafeInlineFallback": {
|
|
1746
1881
|
"message": "建議新增「unsafe-inline」,以便退回兼容舊版瀏覽器 (支援 nonce/hash 的瀏覽器會忽略 unsafe-inline)。"
|
|
1747
1882
|
},
|
|
@@ -1,4 +1,115 @@
|
|
|
1
1
|
{
|
|
2
|
+
"flow-report/src/i18n/ui-strings.js | allReports": {
|
|
3
|
+
"message": "所有報表"
|
|
4
|
+
},
|
|
5
|
+
"flow-report/src/i18n/ui-strings.js | categories": {
|
|
6
|
+
"message": "Categories"
|
|
7
|
+
},
|
|
8
|
+
"flow-report/src/i18n/ui-strings.js | categoryAccessibility": {
|
|
9
|
+
"message": "無障礙功能"
|
|
10
|
+
},
|
|
11
|
+
"flow-report/src/i18n/ui-strings.js | categoryBestPractices": {
|
|
12
|
+
"message": "最佳做法"
|
|
13
|
+
},
|
|
14
|
+
"flow-report/src/i18n/ui-strings.js | categoryPerformance": {
|
|
15
|
+
"message": "效能"
|
|
16
|
+
},
|
|
17
|
+
"flow-report/src/i18n/ui-strings.js | categoryProgressiveWebApp": {
|
|
18
|
+
"message": "漸進式網頁應用程式"
|
|
19
|
+
},
|
|
20
|
+
"flow-report/src/i18n/ui-strings.js | categorySeo": {
|
|
21
|
+
"message": "搜尋引擎最佳化 (SEO)"
|
|
22
|
+
},
|
|
23
|
+
"flow-report/src/i18n/ui-strings.js | desktop": {
|
|
24
|
+
"message": "電腦版"
|
|
25
|
+
},
|
|
26
|
+
"flow-report/src/i18n/ui-strings.js | helpDialogTitle": {
|
|
27
|
+
"message": "Understanding the Lighthouse Flow Report"
|
|
28
|
+
},
|
|
29
|
+
"flow-report/src/i18n/ui-strings.js | helpLabel": {
|
|
30
|
+
"message": "Understanding Flows"
|
|
31
|
+
},
|
|
32
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionNavigation": {
|
|
33
|
+
"message": "Use Navigation reports to..."
|
|
34
|
+
},
|
|
35
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionSnapshot": {
|
|
36
|
+
"message": "Use Snapshot reports to..."
|
|
37
|
+
},
|
|
38
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionTimespan": {
|
|
39
|
+
"message": "Use Timespan reports to..."
|
|
40
|
+
},
|
|
41
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation1": {
|
|
42
|
+
"message": "Obtain a Lighthouse Performance score."
|
|
43
|
+
},
|
|
44
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation2": {
|
|
45
|
+
"message": "Measure page load Performance metrics such as Largest Contentful Paint and Speed Index."
|
|
46
|
+
},
|
|
47
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation3": {
|
|
48
|
+
"message": "Assess Progressive Web App capabilities."
|
|
49
|
+
},
|
|
50
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseSnapshot1": {
|
|
51
|
+
"message": "Find accessibility issues in single page applications or complex forms."
|
|
52
|
+
},
|
|
53
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseSnapshot2": {
|
|
54
|
+
"message": "Evaluate best practices of menus and UI elements hidden behind interaction."
|
|
55
|
+
},
|
|
56
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseTimespan1": {
|
|
57
|
+
"message": "Measure layout shifts and JavaScript execution time on a series of interactions."
|
|
58
|
+
},
|
|
59
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseTimespan2": {
|
|
60
|
+
"message": "Discover performance opportunities to improve the experience for long-lived pages and single-page applications."
|
|
61
|
+
},
|
|
62
|
+
"flow-report/src/i18n/ui-strings.js | mobile": {
|
|
63
|
+
"message": "行動版"
|
|
64
|
+
},
|
|
65
|
+
"flow-report/src/i18n/ui-strings.js | navigationDescription": {
|
|
66
|
+
"message": "載入網頁"
|
|
67
|
+
},
|
|
68
|
+
"flow-report/src/i18n/ui-strings.js | navigationLongDescription": {
|
|
69
|
+
"message": "Navigation reports analyze a single page load, exactly like the original Lighthouse reports."
|
|
70
|
+
},
|
|
71
|
+
"flow-report/src/i18n/ui-strings.js | navigationReport": {
|
|
72
|
+
"message": "導覽報表"
|
|
73
|
+
},
|
|
74
|
+
"flow-report/src/i18n/ui-strings.js | ratingAverage": {
|
|
75
|
+
"message": "平均"
|
|
76
|
+
},
|
|
77
|
+
"flow-report/src/i18n/ui-strings.js | ratingError": {
|
|
78
|
+
"message": "錯誤"
|
|
79
|
+
},
|
|
80
|
+
"flow-report/src/i18n/ui-strings.js | ratingFail": {
|
|
81
|
+
"message": "不佳"
|
|
82
|
+
},
|
|
83
|
+
"flow-report/src/i18n/ui-strings.js | ratingPass": {
|
|
84
|
+
"message": "良好"
|
|
85
|
+
},
|
|
86
|
+
"flow-report/src/i18n/ui-strings.js | save": {
|
|
87
|
+
"message": "Save"
|
|
88
|
+
},
|
|
89
|
+
"flow-report/src/i18n/ui-strings.js | snapshotDescription": {
|
|
90
|
+
"message": "網頁擷取狀態"
|
|
91
|
+
},
|
|
92
|
+
"flow-report/src/i18n/ui-strings.js | snapshotLongDescription": {
|
|
93
|
+
"message": "Snapshot reports analyze the page in a particular state, typically after user interactions."
|
|
94
|
+
},
|
|
95
|
+
"flow-report/src/i18n/ui-strings.js | snapshotReport": {
|
|
96
|
+
"message": "快照報表"
|
|
97
|
+
},
|
|
98
|
+
"flow-report/src/i18n/ui-strings.js | summary": {
|
|
99
|
+
"message": "摘要"
|
|
100
|
+
},
|
|
101
|
+
"flow-report/src/i18n/ui-strings.js | timespanDescription": {
|
|
102
|
+
"message": "使用者互動"
|
|
103
|
+
},
|
|
104
|
+
"flow-report/src/i18n/ui-strings.js | timespanLongDescription": {
|
|
105
|
+
"message": "Timespan reports analyze an arbitrary period of time, typically containing user interactions."
|
|
106
|
+
},
|
|
107
|
+
"flow-report/src/i18n/ui-strings.js | timespanReport": {
|
|
108
|
+
"message": "時間範圍報表"
|
|
109
|
+
},
|
|
110
|
+
"flow-report/src/i18n/ui-strings.js | title": {
|
|
111
|
+
"message": "Lighthouse 使用者流程報表"
|
|
112
|
+
},
|
|
2
113
|
"lighthouse-core/audits/accessibility/accesskeys.js | description": {
|
|
3
114
|
"message": "快速鍵可讓使用者快速聚焦網頁的特定部分。要讓使用者正確瀏覽,每個快速鍵一律不得重複。[瞭解詳情](https://web.dev/accesskeys/)。"
|
|
4
115
|
},
|
|
@@ -554,6 +665,12 @@
|
|
|
554
665
|
"lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js | columnDisplayedDimensions": {
|
|
555
666
|
"message": "顯示的尺寸"
|
|
556
667
|
},
|
|
668
|
+
"lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js | failureTitle": {
|
|
669
|
+
"message": "圖片大於其顯示大小"
|
|
670
|
+
},
|
|
671
|
+
"lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js | title": {
|
|
672
|
+
"message": "圖片適合其顯示大小"
|
|
673
|
+
},
|
|
557
674
|
"lighthouse-core/audits/byte-efficiency/uses-responsive-images.js | description": {
|
|
558
675
|
"message": "使用大小合適的圖片有助於節省行動數據用量並縮短載入時間。[瞭解詳情](https://web.dev/uses-responsive-images/)。"
|
|
559
676
|
},
|
|
@@ -1007,6 +1124,15 @@
|
|
|
1007
1124
|
"lighthouse-core/audits/layout-shift-elements.js | title": {
|
|
1008
1125
|
"message": "避免大量版面配置轉移"
|
|
1009
1126
|
},
|
|
1127
|
+
"lighthouse-core/audits/lcp-lazy-loaded.js | description": {
|
|
1128
|
+
"message": "不需捲動位置的圖片經過延遲載入後,會在頁面生命週期的較晚階段顯示,這可能會延遲最大內容繪製作業。[瞭解詳情](https://web.dev/lcp-lazy-loading/)。"
|
|
1129
|
+
},
|
|
1130
|
+
"lighthouse-core/audits/lcp-lazy-loaded.js | failureTitle": {
|
|
1131
|
+
"message": "已延遲載入最大內容繪製圖片"
|
|
1132
|
+
},
|
|
1133
|
+
"lighthouse-core/audits/lcp-lazy-loaded.js | title": {
|
|
1134
|
+
"message": "未延遲載入最大內容繪製圖片"
|
|
1135
|
+
},
|
|
1010
1136
|
"lighthouse-core/audits/long-tasks.js | description": {
|
|
1011
1137
|
"message": "列出主要執行緒上執行時間最長的工作,這項資訊有助於找出造成輸入延遲的主因。[瞭解詳情](https://web.dev/long-tasks-devtools/)"
|
|
1012
1138
|
},
|
|
@@ -1524,7 +1650,7 @@
|
|
|
1524
1650
|
"message": "頁面包含有效的來源對應"
|
|
1525
1651
|
},
|
|
1526
1652
|
"lighthouse-core/audits/viewport.js | description": {
|
|
1527
|
-
"message": "
|
|
1653
|
+
"message": "`<meta name=\"viewport\">`不僅會根據行動裝置螢幕大小將應用程式最佳化,還能避免[使用者輸入內容出現 300 毫秒的延遲](https://developers.google.com/web/updates/2013/12/300ms-tap-delay-gone-away)。[瞭解詳情](https://web.dev/viewport/)。"
|
|
1528
1654
|
},
|
|
1529
1655
|
"lighthouse-core/audits/viewport.js | explanationNoTag": {
|
|
1530
1656
|
"message": "找不到任何 `<meta name=\"viewport\">` 標記"
|
|
@@ -1659,7 +1785,7 @@
|
|
|
1659
1785
|
"message": "PWA 最佳化"
|
|
1660
1786
|
},
|
|
1661
1787
|
"lighthouse-core/config/default-config.js | seoCategoryDescription": {
|
|
1662
|
-
"message": "
|
|
1788
|
+
"message": "這些檢查可確保你的網頁採用基本的搜尋引擎最佳化建議。但請注意,Lighthouse 未於此處考量到的因素有很多,可能會影響你的搜尋排名,包括[網站體驗核心指標](https://web.dev/learn-web-vitals/)上的成效表現。[瞭解詳情](https://support.google.com/webmasters/answer/35769)"
|
|
1663
1789
|
},
|
|
1664
1790
|
"lighthouse-core/config/default-config.js | seoCategoryManualDescription": {
|
|
1665
1791
|
"message": "在您的網站上執行這些額外的驗證工具,以檢查其他 SEO 最佳做法。"
|
|
@@ -1713,7 +1839,7 @@
|
|
|
1713
1839
|
"message": "如果缺少 base-uri,有心人士就利用插入的 <base> 標記,將所有相對網址 (例如指令碼) 的基底網址設為攻擊者控制的網域。建議將 base-uri 設為「none」或「self」。"
|
|
1714
1840
|
},
|
|
1715
1841
|
"lighthouse-core/lib/csp-evaluator.js | missingObjectSrc": {
|
|
1716
|
-
"message": "
|
|
1842
|
+
"message": "缺少 object-src 會讓有心人士能夠插入執行不安全指令碼的外掛程式。如果可以的話,建議將 object-src 設為「none」。"
|
|
1717
1843
|
},
|
|
1718
1844
|
"lighthouse-core/lib/csp-evaluator.js | missingScriptSrc": {
|
|
1719
1845
|
"message": "缺少 script-src 指令。這可能導致系統執行不安全的指令碼。"
|
|
@@ -1727,6 +1853,12 @@
|
|
|
1727
1853
|
"lighthouse-core/lib/csp-evaluator.js | nonceLength": {
|
|
1728
1854
|
"message": "nonce 的長度至少要有 8 個字元。"
|
|
1729
1855
|
},
|
|
1856
|
+
"lighthouse-core/lib/csp-evaluator.js | plainUrlScheme": {
|
|
1857
|
+
"message": "請避免在這個指令中使用純網址架構 ({keyword})。純網址架構會讓指令碼能夠使用不安全的網域來源。"
|
|
1858
|
+
},
|
|
1859
|
+
"lighthouse-core/lib/csp-evaluator.js | plainWildcards": {
|
|
1860
|
+
"message": "請避免在這個指令中使用純萬用字元 ({keyword})。純萬用字元會讓指令碼能夠使用不安全的網域來源。"
|
|
1861
|
+
},
|
|
1730
1862
|
"lighthouse-core/lib/csp-evaluator.js | reportToOnly": {
|
|
1731
1863
|
"message": "回報目的地只能透過 report-to 指令設定。由於這項指令只受到以 Chromium 為基礎的瀏覽器支援,因此建議同時使用 report-uri 指令。"
|
|
1732
1864
|
},
|
|
@@ -1734,7 +1866,7 @@
|
|
|
1734
1866
|
"message": "尚無 CSP 設定回報目的地。這會導致系統難以持續維護 CSP 及監控故障情況。"
|
|
1735
1867
|
},
|
|
1736
1868
|
"lighthouse-core/lib/csp-evaluator.js | strictDynamic": {
|
|
1737
|
-
"message": "
|
|
1869
|
+
"message": "由於主機許可清單經常受到忽略,建議改用 CSP Nonce 或 Hash,如有必要,還可以搭配使用「strict-dynamic」。"
|
|
1738
1870
|
},
|
|
1739
1871
|
"lighthouse-core/lib/csp-evaluator.js | unknownDirective": {
|
|
1740
1872
|
"message": "CSP 指令不明。"
|
|
@@ -1742,6 +1874,9 @@
|
|
|
1742
1874
|
"lighthouse-core/lib/csp-evaluator.js | unknownKeyword": {
|
|
1743
1875
|
"message": "{keyword} 似乎是無效關鍵字。"
|
|
1744
1876
|
},
|
|
1877
|
+
"lighthouse-core/lib/csp-evaluator.js | unsafeInline": {
|
|
1878
|
+
"message": "「unsafe-inline」會允許執行不安全的網頁內指令碼和事件處理常式。建議使用 CSP nonce 或 hash 逐一允許指令碼。"
|
|
1879
|
+
},
|
|
1745
1880
|
"lighthouse-core/lib/csp-evaluator.js | unsafeInlineFallback": {
|
|
1746
1881
|
"message": "建議新增「unsafe-inline」,以便回溯相容於舊版瀏覽器 (支援 nonce/hash 的瀏覽器會忽略 unsafe-inline)。"
|
|
1747
1882
|
},
|