chrome-devtools-frontend 1.0.942095 → 1.0.942529
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/config/gni/all_devtools_files.gni +0 -44
- package/config/gni/devtools_grd_files.gni +42 -2
- package/config/gni/devtools_image_files.gni +1 -1
- package/front_end/.eslintrc.js +11 -1
- package/front_end/Images/src/{feedback_thin_16x16_icon.svg → survey_feedback_icon.svg} +1 -1
- package/front_end/core/sdk/DebuggerModel.ts +4 -14
- package/front_end/emulated_devices/module.json +1 -3
- package/front_end/entrypoints/devtools_app/devtools_app.json +0 -2
- package/front_end/entrypoints/shell/shell.json +0 -1
- package/front_end/legacy_test_runner/bindings_test_runner/IsolatedFilesystemTestRunner.js +2 -2
- package/front_end/legacy_test_runner/test_runner/TestRunner.js +3 -1
- package/front_end/panels/application/components/EndpointsGrid.ts +1 -1
- package/front_end/panels/application/components/ReportsGrid.ts +1 -1
- package/front_end/panels/elements/components/StylePropertyEditor.ts +2 -0
- package/front_end/panels/emulation/DeviceModeToolbar.ts +3 -1
- package/front_end/panels/emulation/DeviceModeView.ts +2 -1
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +3 -1
- package/front_end/panels/emulation/MediaQueryInspector.ts +3 -1
- package/front_end/panels/emulation/emulation-meta.ts +0 -2
- package/front_end/panels/lighthouse/LighthousePanel.ts +2 -4
- package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +1 -4
- package/front_end/panels/lighthouse/module.json +1 -4
- package/front_end/panels/profiler/module.json +1 -3
- package/front_end/panels/screencast/module.json +1 -4
- package/front_end/panels/timeline/module.json +0 -1
- package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +1128 -1158
- package/front_end/third_party/lighthouse/locales/ar-XB.json +211 -79
- package/front_end/third_party/lighthouse/locales/ar.json +213 -81
- package/front_end/third_party/lighthouse/locales/bg.json +211 -79
- package/front_end/third_party/lighthouse/locales/ca.json +212 -80
- package/front_end/third_party/lighthouse/locales/cs.json +211 -79
- package/front_end/third_party/lighthouse/locales/da.json +211 -79
- package/front_end/third_party/lighthouse/locales/de.json +211 -79
- package/front_end/third_party/lighthouse/locales/el.json +213 -81
- package/front_end/third_party/lighthouse/locales/en-GB.json +211 -79
- package/front_end/third_party/lighthouse/locales/en-US.json +186 -75
- package/front_end/third_party/lighthouse/locales/en-XA.json +211 -79
- package/front_end/third_party/lighthouse/locales/en-XL.json +186 -75
- package/front_end/third_party/lighthouse/locales/es-419.json +211 -79
- package/front_end/third_party/lighthouse/locales/es.json +212 -80
- package/front_end/third_party/lighthouse/locales/fi.json +211 -79
- package/front_end/third_party/lighthouse/locales/fil.json +211 -79
- package/front_end/third_party/lighthouse/locales/fr.json +211 -79
- package/front_end/third_party/lighthouse/locales/he.json +212 -80
- package/front_end/third_party/lighthouse/locales/hi.json +214 -82
- package/front_end/third_party/lighthouse/locales/hr.json +211 -79
- package/front_end/third_party/lighthouse/locales/hu.json +211 -79
- package/front_end/third_party/lighthouse/locales/id.json +211 -79
- package/front_end/third_party/lighthouse/locales/it.json +211 -79
- package/front_end/third_party/lighthouse/locales/ja.json +211 -79
- package/front_end/third_party/lighthouse/locales/ko.json +211 -79
- package/front_end/third_party/lighthouse/locales/lt.json +211 -79
- package/front_end/third_party/lighthouse/locales/lv.json +214 -82
- package/front_end/third_party/lighthouse/locales/nl.json +211 -79
- package/front_end/third_party/lighthouse/locales/no.json +211 -79
- package/front_end/third_party/lighthouse/locales/pl.json +211 -79
- package/front_end/third_party/lighthouse/locales/pt-PT.json +211 -79
- package/front_end/third_party/lighthouse/locales/pt.json +211 -79
- package/front_end/third_party/lighthouse/locales/ro.json +212 -80
- package/front_end/third_party/lighthouse/locales/ru.json +211 -79
- package/front_end/third_party/lighthouse/locales/sk.json +211 -79
- package/front_end/third_party/lighthouse/locales/sl.json +211 -79
- package/front_end/third_party/lighthouse/locales/sr-Latn.json +211 -79
- package/front_end/third_party/lighthouse/locales/sr.json +211 -79
- package/front_end/third_party/lighthouse/locales/sv.json +211 -79
- package/front_end/third_party/lighthouse/locales/ta.json +218 -86
- package/front_end/third_party/lighthouse/locales/te.json +251 -119
- package/front_end/third_party/lighthouse/locales/th.json +211 -79
- package/front_end/third_party/lighthouse/locales/tr.json +211 -79
- package/front_end/third_party/lighthouse/locales/uk.json +212 -80
- package/front_end/third_party/lighthouse/locales/vi.json +211 -79
- package/front_end/third_party/lighthouse/locales/zh-HK.json +211 -79
- package/front_end/third_party/lighthouse/locales/zh-TW.json +211 -79
- package/front_end/third_party/lighthouse/locales/zh.json +211 -79
- package/front_end/third_party/lighthouse/report/bundle.d.ts +72 -34
- package/front_end/third_party/lighthouse/report/bundle.js +698 -492
- package/front_end/third_party/lighthouse/report-assets/report-generator.js +1 -2
- package/front_end/third_party/lighthouse/report-assets/report.js +40 -35
- package/front_end/third_party/lighthouse/report-assets/standalone-template.html +2 -4
- package/front_end/ui/components/docs/icon_button/basic.ts +3 -3
- package/front_end/ui/components/helpers/get-stylesheet.ts +0 -14
- package/front_end/ui/components/markdown_view/MarkdownImagesMap.ts +1 -1
- package/front_end/ui/components/survey_link/SurveyLink.ts +1 -1
- package/front_end/ui/legacy/Dialog.ts +3 -1
- package/front_end/ui/legacy/DropTarget.ts +2 -1
- package/front_end/ui/legacy/EmptyWidget.ts +2 -1
- package/front_end/ui/legacy/FilterBar.ts +2 -1
- package/front_end/ui/legacy/GlassPane.ts +4 -2
- package/front_end/ui/legacy/Infobar.ts +3 -2
- package/front_end/ui/legacy/InspectorView.ts +6 -1
- package/front_end/ui/legacy/ListWidget.ts +2 -1
- package/front_end/ui/legacy/PopoverHelper.ts +2 -1
- package/front_end/ui/legacy/ProgressIndicator.ts +2 -1
- package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +2 -1
- package/front_end/ui/legacy/ReportView.ts +2 -1
- package/front_end/ui/legacy/RootView.ts +2 -1
- package/front_end/ui/legacy/SearchableView.ts +2 -1
- package/front_end/ui/legacy/SoftContextMenu.ts +2 -1
- package/front_end/ui/legacy/SoftDropDown.ts +4 -2
- package/front_end/ui/legacy/SplitWidget.ts +2 -1
- package/front_end/ui/legacy/SuggestBox.ts +2 -1
- package/front_end/ui/legacy/TabbedPane.ts +2 -1
- package/front_end/ui/legacy/TargetCrashedScreen.ts +2 -1
- package/front_end/ui/legacy/TextPrompt.ts +2 -1
- package/front_end/ui/legacy/Toolbar.ts +3 -2
- package/front_end/ui/legacy/Treeoutline.ts +3 -2
- package/front_end/ui/legacy/UIUtils.ts +16 -13
- package/front_end/ui/legacy/ViewManager.ts +2 -1
- package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +2 -2
- package/front_end/ui/legacy/components/source_frame/FontView.ts +1 -0
- package/front_end/ui/legacy/components/source_frame/ImageView.ts +1 -0
- package/front_end/ui/legacy/components/source_frame/JSONView.ts +1 -0
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -0
- package/front_end/ui/legacy/components/source_frame/XMLView.ts +2 -0
- package/front_end/ui/legacy/components/source_frame/module.json +0 -3
- package/front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.ts +2 -0
- package/front_end/ui/legacy/components/text_editor/module.json +0 -3
- package/front_end/ui/legacy/components/utils/Linkifier.ts +7 -15
- package/front_end/ui/legacy/theme_support/theme_support_impl.ts +7 -9
- package/front_end/ui/legacy/utils/create-shadow-root-with-core-styles.ts +2 -2
- package/front_end/ui/legacy/utils/inject-core-styles.ts +7 -4
- package/package.json +1 -1
- package/front_end/panels/emulation/module.json +0 -11
- package/front_end/third_party/lighthouse/report-assets/report.css +0 -1774
- package/front_end/ui/legacy/module.json +0 -41
|
@@ -1,4 +1,136 @@
|
|
|
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": "类别"
|
|
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": "渐进式 Web 应用"
|
|
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": "了解 Lighthouse 流程报告"
|
|
28
|
+
},
|
|
29
|
+
"flow-report/src/i18n/ui-strings.js | helpLabel": {
|
|
30
|
+
"message": "了解流程"
|
|
31
|
+
},
|
|
32
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionNavigation": {
|
|
33
|
+
"message": "使用导航报告可以…"
|
|
34
|
+
},
|
|
35
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionSnapshot": {
|
|
36
|
+
"message": "使用快照报告可以…"
|
|
37
|
+
},
|
|
38
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionTimespan": {
|
|
39
|
+
"message": "使用时间跨度报告可以…"
|
|
40
|
+
},
|
|
41
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation1": {
|
|
42
|
+
"message": "获取 Lighthouse 给出的性能得分。"
|
|
43
|
+
},
|
|
44
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation2": {
|
|
45
|
+
"message": "衡量网页加载性能指标,例如 Largest Contentful Paint 和 Speed Index。"
|
|
46
|
+
},
|
|
47
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation3": {
|
|
48
|
+
"message": "评估渐进式 Web 应用的功能。"
|
|
49
|
+
},
|
|
50
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseSnapshot1": {
|
|
51
|
+
"message": "查找单页应用或复杂表单中的无障碍功能方面的问题。"
|
|
52
|
+
},
|
|
53
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseSnapshot2": {
|
|
54
|
+
"message": "评估互动背后隐藏的菜单和界面元素的最佳做法。"
|
|
55
|
+
},
|
|
56
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseTimespan1": {
|
|
57
|
+
"message": "衡量一系列互动的布局偏移和 JavaScript 执行用时。"
|
|
58
|
+
},
|
|
59
|
+
"flow-report/src/i18n/ui-strings.js | helpUseCaseTimespan2": {
|
|
60
|
+
"message": "发掘性能提升机会,以便改进长期网页和单页应用的用户体验。"
|
|
61
|
+
},
|
|
62
|
+
"flow-report/src/i18n/ui-strings.js | highestImpact": {
|
|
63
|
+
"message": "影响力最大"
|
|
64
|
+
},
|
|
65
|
+
"flow-report/src/i18n/ui-strings.js | informativeAuditCount": {
|
|
66
|
+
"message": "{numInformative,plural, =1{{numInformative} 项参考性评估}other{{numInformative} 项参考性评估}}"
|
|
67
|
+
},
|
|
68
|
+
"flow-report/src/i18n/ui-strings.js | mobile": {
|
|
69
|
+
"message": "移动版"
|
|
70
|
+
},
|
|
71
|
+
"flow-report/src/i18n/ui-strings.js | navigationDescription": {
|
|
72
|
+
"message": "网页加载"
|
|
73
|
+
},
|
|
74
|
+
"flow-report/src/i18n/ui-strings.js | navigationLongDescription": {
|
|
75
|
+
"message": "导航报告旨在分析单个网页的加载情况,与最初的 Lighthouse 报告完全一样。"
|
|
76
|
+
},
|
|
77
|
+
"flow-report/src/i18n/ui-strings.js | navigationReport": {
|
|
78
|
+
"message": "导航报告"
|
|
79
|
+
},
|
|
80
|
+
"flow-report/src/i18n/ui-strings.js | navigationReportCount": {
|
|
81
|
+
"message": "{numNavigation,plural, =1{{numNavigation} 份导航报告}other{{numNavigation} 份导航报告}}"
|
|
82
|
+
},
|
|
83
|
+
"flow-report/src/i18n/ui-strings.js | passableAuditCount": {
|
|
84
|
+
"message": "{numPassableAudits,plural, =1{{numPassableAudits} 项有望通过的评估}other{{numPassableAudits} 项有望通过的评估}}"
|
|
85
|
+
},
|
|
86
|
+
"flow-report/src/i18n/ui-strings.js | passedAuditCount": {
|
|
87
|
+
"message": "{numPassed,plural, =1{通过了 {numPassed} 项评估}other{通过了 {numPassed} 项评估}}"
|
|
88
|
+
},
|
|
89
|
+
"flow-report/src/i18n/ui-strings.js | ratingAverage": {
|
|
90
|
+
"message": "一般"
|
|
91
|
+
},
|
|
92
|
+
"flow-report/src/i18n/ui-strings.js | ratingError": {
|
|
93
|
+
"message": "出错了"
|
|
94
|
+
},
|
|
95
|
+
"flow-report/src/i18n/ui-strings.js | ratingFail": {
|
|
96
|
+
"message": "较差"
|
|
97
|
+
},
|
|
98
|
+
"flow-report/src/i18n/ui-strings.js | ratingPass": {
|
|
99
|
+
"message": "良好"
|
|
100
|
+
},
|
|
101
|
+
"flow-report/src/i18n/ui-strings.js | save": {
|
|
102
|
+
"message": "保存"
|
|
103
|
+
},
|
|
104
|
+
"flow-report/src/i18n/ui-strings.js | snapshotDescription": {
|
|
105
|
+
"message": "捕获到的网页状态"
|
|
106
|
+
},
|
|
107
|
+
"flow-report/src/i18n/ui-strings.js | snapshotLongDescription": {
|
|
108
|
+
"message": "快照报告旨在分析处于特定状态的网页(通常是在用户互动之后)。"
|
|
109
|
+
},
|
|
110
|
+
"flow-report/src/i18n/ui-strings.js | snapshotReport": {
|
|
111
|
+
"message": "快照报告"
|
|
112
|
+
},
|
|
113
|
+
"flow-report/src/i18n/ui-strings.js | snapshotReportCount": {
|
|
114
|
+
"message": "{numSnapshot,plural, =1{{numSnapshot} 份快照报告}other{{numSnapshot} 份快照报告}}"
|
|
115
|
+
},
|
|
116
|
+
"flow-report/src/i18n/ui-strings.js | summary": {
|
|
117
|
+
"message": "摘要"
|
|
118
|
+
},
|
|
119
|
+
"flow-report/src/i18n/ui-strings.js | timespanDescription": {
|
|
120
|
+
"message": "用户互动"
|
|
121
|
+
},
|
|
122
|
+
"flow-report/src/i18n/ui-strings.js | timespanLongDescription": {
|
|
123
|
+
"message": "时间跨度报告旨在分析任意时间段(通常包含用户互动)。"
|
|
124
|
+
},
|
|
125
|
+
"flow-report/src/i18n/ui-strings.js | timespanReport": {
|
|
126
|
+
"message": "时间跨度报告"
|
|
127
|
+
},
|
|
128
|
+
"flow-report/src/i18n/ui-strings.js | timespanReportCount": {
|
|
129
|
+
"message": "{numTimespan,plural, =1{{numTimespan} 份时间跨度报告}other{{numTimespan} 份时间跨度报告}}"
|
|
130
|
+
},
|
|
131
|
+
"flow-report/src/i18n/ui-strings.js | title": {
|
|
132
|
+
"message": "Lighthouse 用户流报告"
|
|
133
|
+
},
|
|
2
134
|
"lighthouse-core/audits/accessibility/accesskeys.js | description": {
|
|
3
135
|
"message": "快捷键可让用户快速转到页面的某个部分。为确保正确进行导航,每个快捷键都必须是独一无二的。[了解详情](https://web.dev/accesskeys/)。"
|
|
4
136
|
},
|
|
@@ -554,6 +686,12 @@
|
|
|
554
686
|
"lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js | columnDisplayedDimensions": {
|
|
555
687
|
"message": "显示时的尺寸"
|
|
556
688
|
},
|
|
689
|
+
"lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js | failureTitle": {
|
|
690
|
+
"message": "图片大于其显示时的尺寸"
|
|
691
|
+
},
|
|
692
|
+
"lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js | title": {
|
|
693
|
+
"message": "图片适合其显示时的尺寸"
|
|
694
|
+
},
|
|
557
695
|
"lighthouse-core/audits/byte-efficiency/uses-responsive-images.js | description": {
|
|
558
696
|
"message": "提供大小合适的图片可节省移动数据网络流量并缩短加载用时。[了解详情](https://web.dev/uses-responsive-images/)。"
|
|
559
697
|
},
|
|
@@ -626,18 +764,6 @@
|
|
|
626
764
|
"lighthouse-core/audits/deprecations.js | title": {
|
|
627
765
|
"message": "请勿使用已弃用的 API"
|
|
628
766
|
},
|
|
629
|
-
"lighthouse-core/audits/dobetterweb/appcache-manifest.js | description": {
|
|
630
|
-
"message": "应用缓存已被弃用。[了解详情](https://web.dev/appcache-manifest/)。"
|
|
631
|
-
},
|
|
632
|
-
"lighthouse-core/audits/dobetterweb/appcache-manifest.js | displayValue": {
|
|
633
|
-
"message": "发现了“{AppCacheManifest}”"
|
|
634
|
-
},
|
|
635
|
-
"lighthouse-core/audits/dobetterweb/appcache-manifest.js | failureTitle": {
|
|
636
|
-
"message": "使用了应用缓存"
|
|
637
|
-
},
|
|
638
|
-
"lighthouse-core/audits/dobetterweb/appcache-manifest.js | title": {
|
|
639
|
-
"message": "请勿使用应用缓存"
|
|
640
|
-
},
|
|
641
767
|
"lighthouse-core/audits/dobetterweb/charset.js | description": {
|
|
642
768
|
"message": "必须声明字符编码。您可以在 HTML 的前 1024 个字节中使用 `<meta>` 标记来声明,也可以在 HTTP 响应标头 Content-Type 中进行声明。[了解详情](https://web.dev/charset/)。"
|
|
643
769
|
},
|
|
@@ -695,21 +821,6 @@
|
|
|
695
821
|
"lighthouse-core/audits/dobetterweb/dom-size.js | title": {
|
|
696
822
|
"message": "避免 DOM 规模过大"
|
|
697
823
|
},
|
|
698
|
-
"lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
|
|
699
|
-
"message": "未通过审核的锚点"
|
|
700
|
-
},
|
|
701
|
-
"lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
|
|
702
|
-
"message": "向任何外部链接添加 `rel=\"noopener\"` 或 `rel=\"noreferrer\"`,可提高性能并减少安全漏洞。[了解详情](https://web.dev/external-anchors-use-rel-noopener/)。"
|
|
703
|
-
},
|
|
704
|
-
"lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | failureTitle": {
|
|
705
|
-
"message": "指向跨域目的地的链接不安全"
|
|
706
|
-
},
|
|
707
|
-
"lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | title": {
|
|
708
|
-
"message": "指向跨域目的地的链接安全"
|
|
709
|
-
},
|
|
710
|
-
"lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | warning": {
|
|
711
|
-
"message": "无法确定锚点 ({anchorHTML}) 的目的地。如果不用作超链接,建议移除 target=_blank。"
|
|
712
|
-
},
|
|
713
824
|
"lighthouse-core/audits/dobetterweb/geolocation-on-start.js | description": {
|
|
714
825
|
"message": "如果网站在缺少上下文的情况下请求位置,会导致用户不信任网站或感到困惑。建议将请求与用户操作进行绑定。[了解详情](https://web.dev/geolocation-on-start/)。"
|
|
715
826
|
},
|
|
@@ -1007,6 +1118,15 @@
|
|
|
1007
1118
|
"lighthouse-core/audits/layout-shift-elements.js | title": {
|
|
1008
1119
|
"message": "请避免出现大幅度的布局偏移"
|
|
1009
1120
|
},
|
|
1121
|
+
"lighthouse-core/audits/lcp-lazy-loaded.js | description": {
|
|
1122
|
+
"message": "被延迟加载的首屏图片会在页面生命周期内的较晚时间呈现,这可能会致使系统延迟渲染最大内容元素。[了解详情](https://web.dev/lcp-lazy-loading/)。"
|
|
1123
|
+
},
|
|
1124
|
+
"lighthouse-core/audits/lcp-lazy-loaded.js | failureTitle": {
|
|
1125
|
+
"message": "Largest Contentful Paint 所对应的图片被延迟加载了"
|
|
1126
|
+
},
|
|
1127
|
+
"lighthouse-core/audits/lcp-lazy-loaded.js | title": {
|
|
1128
|
+
"message": "Largest Contentful Paint 所对应的图片未被延迟加载"
|
|
1129
|
+
},
|
|
1010
1130
|
"lighthouse-core/audits/long-tasks.js | description": {
|
|
1011
1131
|
"message": "列出了主线程中运行时间最长的任务,有助于识别出导致输入延迟的最主要原因。[了解详情](https://web.dev/long-tasks-devtools/)"
|
|
1012
1132
|
},
|
|
@@ -1151,15 +1271,6 @@
|
|
|
1151
1271
|
"lighthouse-core/audits/preload-lcp-image.js | title": {
|
|
1152
1272
|
"message": "预加载 LCP 元素所用图片"
|
|
1153
1273
|
},
|
|
1154
|
-
"lighthouse-core/audits/redirects-http.js | description": {
|
|
1155
|
-
"message": "如果您已设置 HTTPS,请确保将所有 HTTP 流量重定向到 HTTPS,以便让所有用户都能使用安全的网络功能。[了解详情](https://web.dev/redirects-http/)。"
|
|
1156
|
-
},
|
|
1157
|
-
"lighthouse-core/audits/redirects-http.js | failureTitle": {
|
|
1158
|
-
"message": "未将 HTTP 流量重定向到 HTTPS"
|
|
1159
|
-
},
|
|
1160
|
-
"lighthouse-core/audits/redirects-http.js | title": {
|
|
1161
|
-
"message": "将 HTTP 流量重定向到 HTTPS"
|
|
1162
|
-
},
|
|
1163
1274
|
"lighthouse-core/audits/redirects.js | description": {
|
|
1164
1275
|
"message": "重定向会在网页可加载前引入更多延迟。[了解详情](https://web.dev/redirects/)。"
|
|
1165
1276
|
},
|
|
@@ -1524,7 +1635,7 @@
|
|
|
1524
1635
|
"message": "页面包含有效的源代码映射"
|
|
1525
1636
|
},
|
|
1526
1637
|
"lighthouse-core/audits/viewport.js | description": {
|
|
1527
|
-
"message": "
|
|
1638
|
+
"message": "`<meta name=\"viewport\">` 不仅会针对移动设备屏幕尺寸优化您的应用,还会阻止[系统在响应用户输入前出现 300 毫秒的延迟](https://developers.google.com/web/updates/2013/12/300ms-tap-delay-gone-away)。[了解详情](https://web.dev/viewport/)。"
|
|
1528
1639
|
},
|
|
1529
1640
|
"lighthouse-core/audits/viewport.js | explanationNoTag": {
|
|
1530
1641
|
"message": "未找到任何 `<meta name=\"viewport\">` 标记"
|
|
@@ -1650,7 +1761,7 @@
|
|
|
1650
1761
|
"message": "基准 [PWA 核对清单](https://developers.google.com/web/progressive-web-apps/checklist)要求必须进行此类检查,但 Lighthouse 不会自动进行此类检查。它们不会影响您的得分,但您必须手动对其进行验证。"
|
|
1651
1762
|
},
|
|
1652
1763
|
"lighthouse-core/config/default-config.js | pwaCategoryTitle": {
|
|
1653
|
-
"message": "
|
|
1764
|
+
"message": "PWA"
|
|
1654
1765
|
},
|
|
1655
1766
|
"lighthouse-core/config/default-config.js | pwaInstallableGroupTitle": {
|
|
1656
1767
|
"message": "可安装"
|
|
@@ -1659,7 +1770,7 @@
|
|
|
1659
1770
|
"message": "优化 PWA"
|
|
1660
1771
|
},
|
|
1661
1772
|
"lighthouse-core/config/default-config.js | seoCategoryDescription": {
|
|
1662
|
-
"message": "
|
|
1773
|
+
"message": "这些检查可确保您的网页遵循了基本的搜索引擎优化建议。还有很多其他因素可能会影响您的网页在搜索引擎结果中的排名,但未被 Lighthouse 纳入此处的评估范围,其中包括[核心网页指标](https://web.dev/learn-web-vitals/)衡量结果。[了解详情](https://support.google.com/webmasters/answer/35769)。"
|
|
1663
1774
|
},
|
|
1664
1775
|
"lighthouse-core/config/default-config.js | seoCategoryManualDescription": {
|
|
1665
1776
|
"message": "请在您的网站上运行这些额外的验证程序,以检查其他 SEO 最佳做法。"
|
|
@@ -1713,7 +1824,7 @@
|
|
|
1713
1824
|
"message": "缺少 base-uri 意味着允许使用注入的 <base> 标记将所有相对网址(例如脚本)的基准网址设为一个受攻击者控制的网域。建议您将 base-uri 设为“none”或“self”。"
|
|
1714
1825
|
},
|
|
1715
1826
|
"lighthouse-core/lib/csp-evaluator.js | missingObjectSrc": {
|
|
1716
|
-
"message": "
|
|
1827
|
+
"message": "如果缺少 object-src,便无法防止不良之徒注入会执行不安全脚本的插件。建议您将 object-src 设为“none”(如果可以的话)。"
|
|
1717
1828
|
},
|
|
1718
1829
|
"lighthouse-core/lib/csp-evaluator.js | missingScriptSrc": {
|
|
1719
1830
|
"message": "缺少 script-src 指令。这意味着允许执行不安全的脚本。"
|
|
@@ -1727,6 +1838,12 @@
|
|
|
1727
1838
|
"lighthouse-core/lib/csp-evaluator.js | nonceLength": {
|
|
1728
1839
|
"message": "Nonces 应包含至少 8 个字符。"
|
|
1729
1840
|
},
|
|
1841
|
+
"lighthouse-core/lib/csp-evaluator.js | plainUrlScheme": {
|
|
1842
|
+
"message": "请避免在这条指令中仅仅使用网址架构 ({keyword})。如果仅仅使用网址架构,便无法防止脚本来自不安全的网域。"
|
|
1843
|
+
},
|
|
1844
|
+
"lighthouse-core/lib/csp-evaluator.js | plainWildcards": {
|
|
1845
|
+
"message": "请避免在这条指令中仅仅使用通配符 ({keyword})。如果仅仅使用通配符,便无法防止脚本来自不安全的网域。"
|
|
1846
|
+
},
|
|
1730
1847
|
"lighthouse-core/lib/csp-evaluator.js | reportToOnly": {
|
|
1731
1848
|
"message": "报告目的地只能通过 report-to 指令进行配置。此指令仅适用于基于 Chromium 的浏览器,因此我们建议您同时也使用 report-uri 指令。"
|
|
1732
1849
|
},
|
|
@@ -1734,7 +1851,7 @@
|
|
|
1734
1851
|
"message": "任何 CSP 都未配置报告目的地。这会导致系统很难持续维护 CSP 以及监控故障。"
|
|
1735
1852
|
},
|
|
1736
1853
|
"lighthouse-core/lib/csp-evaluator.js | strictDynamic": {
|
|
1737
|
-
"message": "
|
|
1854
|
+
"message": "主机许可名单经常会被绕过。建议您改用 CSP nonces 或 hashes(以及“strict-dynamic”,若有必要)。"
|
|
1738
1855
|
},
|
|
1739
1856
|
"lighthouse-core/lib/csp-evaluator.js | unknownDirective": {
|
|
1740
1857
|
"message": "CSP 指令不明。"
|
|
@@ -1742,6 +1859,9 @@
|
|
|
1742
1859
|
"lighthouse-core/lib/csp-evaluator.js | unknownKeyword": {
|
|
1743
1860
|
"message": "{keyword}似乎是无效关键字。"
|
|
1744
1861
|
},
|
|
1862
|
+
"lighthouse-core/lib/csp-evaluator.js | unsafeInline": {
|
|
1863
|
+
"message": "“unsafe-inline”允许执行不安全的页内脚本和事件处理脚本。建议您使用 CSP nonces 或 hashes 来逐一允许各个脚本。"
|
|
1864
|
+
},
|
|
1745
1865
|
"lighthouse-core/lib/csp-evaluator.js | unsafeInlineFallback": {
|
|
1746
1866
|
"message": "建议您添加“unsafe-inline”(会被支持 nonces/hashes 的浏览器忽略),以便向后兼容旧版浏览器。"
|
|
1747
1867
|
},
|
|
@@ -1943,30 +2063,6 @@
|
|
|
1943
2063
|
"lighthouse-core/lib/lh-error.js | urlInvalid": {
|
|
1944
2064
|
"message": "您提供的网址似乎无效。"
|
|
1945
2065
|
},
|
|
1946
|
-
"lighthouse-treemap/app/src/util.js | allLabel": {
|
|
1947
|
-
"message": "全部"
|
|
1948
|
-
},
|
|
1949
|
-
"lighthouse-treemap/app/src/util.js | allScriptsDropdownLabel": {
|
|
1950
|
-
"message": "所有脚本"
|
|
1951
|
-
},
|
|
1952
|
-
"lighthouse-treemap/app/src/util.js | coverageColumnName": {
|
|
1953
|
-
"message": "覆盖率"
|
|
1954
|
-
},
|
|
1955
|
-
"lighthouse-treemap/app/src/util.js | duplicateModulesLabel": {
|
|
1956
|
-
"message": "重复的模块"
|
|
1957
|
-
},
|
|
1958
|
-
"lighthouse-treemap/app/src/util.js | resourceBytesLabel": {
|
|
1959
|
-
"message": "资源字节数"
|
|
1960
|
-
},
|
|
1961
|
-
"lighthouse-treemap/app/src/util.js | tableColumnName": {
|
|
1962
|
-
"message": "名称"
|
|
1963
|
-
},
|
|
1964
|
-
"lighthouse-treemap/app/src/util.js | toggleTableButtonLabel": {
|
|
1965
|
-
"message": "显示/隐藏表格"
|
|
1966
|
-
},
|
|
1967
|
-
"lighthouse-treemap/app/src/util.js | unusedBytesLabel": {
|
|
1968
|
-
"message": "未使用的字节数"
|
|
1969
|
-
},
|
|
1970
2066
|
"node_modules/lighthouse-stack-packs/packs/amp.js | efficient-animated-content": {
|
|
1971
2067
|
"message": "对于动画内容,请使用 [`amp-anim`](https://amp.dev/documentation/components/amp-anim/) 尽量减少当内容在屏幕外时的 CPU 使用量。"
|
|
1972
2068
|
},
|
|
@@ -2234,6 +2330,9 @@
|
|
|
2234
2330
|
"report/renderer/util.js | calculatorLink": {
|
|
2235
2331
|
"message": "查看计算器。"
|
|
2236
2332
|
},
|
|
2333
|
+
"report/renderer/util.js | collapseView": {
|
|
2334
|
+
"message": "收起视图"
|
|
2335
|
+
},
|
|
2237
2336
|
"report/renderer/util.js | crcInitialNavigation": {
|
|
2238
2337
|
"message": "初始导航"
|
|
2239
2338
|
},
|
|
@@ -2270,9 +2369,15 @@
|
|
|
2270
2369
|
"report/renderer/util.js | errorMissingAuditInfo": {
|
|
2271
2370
|
"message": "报告错误:没有任何审核信息"
|
|
2272
2371
|
},
|
|
2372
|
+
"report/renderer/util.js | expandView": {
|
|
2373
|
+
"message": "展开视图"
|
|
2374
|
+
},
|
|
2273
2375
|
"report/renderer/util.js | footerIssue": {
|
|
2274
2376
|
"message": "提交问题"
|
|
2275
2377
|
},
|
|
2378
|
+
"report/renderer/util.js | hide": {
|
|
2379
|
+
"message": "隐藏"
|
|
2380
|
+
},
|
|
2276
2381
|
"report/renderer/util.js | labDataTitle": {
|
|
2277
2382
|
"message": "实验室数据"
|
|
2278
2383
|
},
|
|
@@ -2294,6 +2399,12 @@
|
|
|
2294
2399
|
"report/renderer/util.js | passedAuditsGroupTitle": {
|
|
2295
2400
|
"message": "已通过的审核"
|
|
2296
2401
|
},
|
|
2402
|
+
"report/renderer/util.js | runtimeAnalysisWindow": {
|
|
2403
|
+
"message": "初始网页加载"
|
|
2404
|
+
},
|
|
2405
|
+
"report/renderer/util.js | runtimeCustom": {
|
|
2406
|
+
"message": "自定义节流"
|
|
2407
|
+
},
|
|
2297
2408
|
"report/renderer/util.js | runtimeDesktopEmulation": {
|
|
2298
2409
|
"message": "模拟桌面设备"
|
|
2299
2410
|
},
|
|
@@ -2312,33 +2423,30 @@
|
|
|
2312
2423
|
"report/renderer/util.js | runtimeSettingsCPUThrottling": {
|
|
2313
2424
|
"message": "CPU 节流"
|
|
2314
2425
|
},
|
|
2315
|
-
"report/renderer/util.js | runtimeSettingsChannel": {
|
|
2316
|
-
"message": "所用工具"
|
|
2317
|
-
},
|
|
2318
2426
|
"report/renderer/util.js | runtimeSettingsDevice": {
|
|
2319
2427
|
"message": "设备"
|
|
2320
2428
|
},
|
|
2321
|
-
"report/renderer/util.js | runtimeSettingsFetchTime": {
|
|
2322
|
-
"message": "提取时间"
|
|
2323
|
-
},
|
|
2324
2429
|
"report/renderer/util.js | runtimeSettingsNetworkThrottling": {
|
|
2325
2430
|
"message": "网络节流"
|
|
2326
2431
|
},
|
|
2327
|
-
"report/renderer/util.js | runtimeSettingsTitle": {
|
|
2328
|
-
"message": "运行时设置"
|
|
2329
|
-
},
|
|
2330
|
-
"report/renderer/util.js | runtimeSettingsUA": {
|
|
2331
|
-
"message": "用户代理(主机)"
|
|
2332
|
-
},
|
|
2333
2432
|
"report/renderer/util.js | runtimeSettingsUANetwork": {
|
|
2334
2433
|
"message": "用户代理(网络)"
|
|
2335
2434
|
},
|
|
2336
|
-
"report/renderer/util.js |
|
|
2337
|
-
"message": "
|
|
2435
|
+
"report/renderer/util.js | runtimeSingleLoad": {
|
|
2436
|
+
"message": "单次网页加载"
|
|
2437
|
+
},
|
|
2438
|
+
"report/renderer/util.js | runtimeSingleLoadTooltip": {
|
|
2439
|
+
"message": "此数据是取自单次网页加载,现场数据则是汇总了许多次网页加载。"
|
|
2440
|
+
},
|
|
2441
|
+
"report/renderer/util.js | runtimeSlow4g": {
|
|
2442
|
+
"message": "低速 4G 节流"
|
|
2338
2443
|
},
|
|
2339
2444
|
"report/renderer/util.js | runtimeUnknown": {
|
|
2340
2445
|
"message": "不明"
|
|
2341
2446
|
},
|
|
2447
|
+
"report/renderer/util.js | show": {
|
|
2448
|
+
"message": "显示"
|
|
2449
|
+
},
|
|
2342
2450
|
"report/renderer/util.js | showRelevantAudits": {
|
|
2343
2451
|
"message": "显示与所选指标相关的评估结果:"
|
|
2344
2452
|
},
|
|
@@ -2368,5 +2476,29 @@
|
|
|
2368
2476
|
},
|
|
2369
2477
|
"report/renderer/util.js | warningHeader": {
|
|
2370
2478
|
"message": "警告: "
|
|
2479
|
+
},
|
|
2480
|
+
"treemap/app/src/util.js | allLabel": {
|
|
2481
|
+
"message": "全部"
|
|
2482
|
+
},
|
|
2483
|
+
"treemap/app/src/util.js | allScriptsDropdownLabel": {
|
|
2484
|
+
"message": "所有脚本"
|
|
2485
|
+
},
|
|
2486
|
+
"treemap/app/src/util.js | coverageColumnName": {
|
|
2487
|
+
"message": "覆盖率"
|
|
2488
|
+
},
|
|
2489
|
+
"treemap/app/src/util.js | duplicateModulesLabel": {
|
|
2490
|
+
"message": "重复的模块"
|
|
2491
|
+
},
|
|
2492
|
+
"treemap/app/src/util.js | resourceBytesLabel": {
|
|
2493
|
+
"message": "资源字节数"
|
|
2494
|
+
},
|
|
2495
|
+
"treemap/app/src/util.js | tableColumnName": {
|
|
2496
|
+
"message": "名称"
|
|
2497
|
+
},
|
|
2498
|
+
"treemap/app/src/util.js | toggleTableButtonLabel": {
|
|
2499
|
+
"message": "显示/隐藏表格"
|
|
2500
|
+
},
|
|
2501
|
+
"treemap/app/src/util.js | unusedBytesLabel": {
|
|
2502
|
+
"message": "未使用的字节数"
|
|
2371
2503
|
}
|
|
2372
2504
|
}
|