lighthouse 8.6.0-dev.20211107 → 9.0.0
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/dist/report/bundle.esm.js +5994 -0
- package/dist/report/flow.js +16 -16
- package/dist/report/standalone.js +8 -8
- package/flow-report/src/app.tsx +10 -9
- package/flow-report/src/help-dialog.tsx +0 -1
- package/lighthouse-cli/run.js +1 -1
- package/lighthouse-cli/test/smokehouse/frontends/smokehouse-bin.js +0 -0
- package/lighthouse-core/audits/byte-efficiency/byte-efficiency-audit.js +2 -0
- package/lighthouse-core/audits/deprecations.js +33 -11
- package/lighthouse-core/audits/dobetterweb/uses-http2.js +27 -11
- package/lighthouse-core/audits/installable-manifest.js +5 -3
- package/lighthouse-core/config/constants.js +3 -4
- package/lighthouse-core/config/default-config.js +2 -2
- package/lighthouse-core/fraggle-rock/config/default-config.js +3 -1
- package/lighthouse-core/fraggle-rock/gather/session.js +3 -4
- package/lighthouse-core/gather/driver.js +3 -7
- package/lighthouse-core/gather/fetcher.js +4 -7
- package/lighthouse-core/gather/gather-runner.js +29 -6
- package/lighthouse-core/gather/gatherers/inspector-issues.js +5 -0
- package/lighthouse-core/lib/emulation.js +45 -1
- package/lighthouse-core/util-commonjs.js +17 -0
- package/package.json +8 -5
- package/report/assets/styles.css +9 -8
- package/report/renderer/components.js +1 -1
- package/report/renderer/performance-category-renderer.js +0 -1
- package/report/renderer/report-renderer.js +1 -1
- package/report/renderer/topbar-features.js +2 -1
- package/report/renderer/util.js +17 -0
- package/report/test/renderer/performance-category-renderer-test.js +15 -4
- package/report/test/renderer/util-test.js +22 -0
- package/shared/localization/locales/ar-XB.json +73 -25
- package/shared/localization/locales/ar.json +73 -25
- package/shared/localization/locales/bg.json +73 -25
- package/shared/localization/locales/ca.json +73 -25
- package/shared/localization/locales/cs.json +90 -42
- package/shared/localization/locales/da.json +73 -25
- package/shared/localization/locales/de.json +90 -42
- package/shared/localization/locales/el.json +73 -25
- package/shared/localization/locales/en-GB.json +73 -25
- package/shared/localization/locales/en-US.json +3 -0
- package/shared/localization/locales/en-XA.json +73 -25
- package/shared/localization/locales/en-XL.json +3 -0
- package/shared/localization/locales/es-419.json +91 -43
- package/shared/localization/locales/es.json +91 -43
- package/shared/localization/locales/fi.json +73 -25
- package/shared/localization/locales/fil.json +73 -25
- package/shared/localization/locales/fr.json +90 -42
- package/shared/localization/locales/he.json +74 -26
- package/shared/localization/locales/hi.json +73 -25
- package/shared/localization/locales/hr.json +73 -25
- package/shared/localization/locales/hu.json +90 -42
- package/shared/localization/locales/id.json +90 -42
- package/shared/localization/locales/it.json +90 -42
- package/shared/localization/locales/ja.json +90 -42
- package/shared/localization/locales/ko.json +90 -42
- package/shared/localization/locales/lt.json +90 -42
- package/shared/localization/locales/lv.json +96 -48
- package/shared/localization/locales/nl.json +90 -42
- package/shared/localization/locales/no.json +73 -25
- package/shared/localization/locales/pl.json +73 -25
- package/shared/localization/locales/pt-PT.json +73 -25
- package/shared/localization/locales/pt.json +90 -42
- package/shared/localization/locales/ro.json +91 -43
- package/shared/localization/locales/ru.json +90 -42
- package/shared/localization/locales/sk.json +90 -42
- package/shared/localization/locales/sl.json +90 -42
- package/shared/localization/locales/sr-Latn.json +90 -42
- package/shared/localization/locales/sr.json +90 -42
- package/shared/localization/locales/sv.json +73 -25
- package/shared/localization/locales/ta.json +90 -42
- package/shared/localization/locales/te.json +90 -42
- package/shared/localization/locales/th.json +90 -42
- package/shared/localization/locales/tr.json +90 -42
- package/shared/localization/locales/uk.json +93 -45
- package/shared/localization/locales/vi.json +90 -42
- package/shared/localization/locales/zh-HK.json +90 -42
- package/shared/localization/locales/zh-TW.json +90 -42
- package/shared/localization/locales/zh.json +90 -42
- package/third-party/chromium-synchronization/inspector-issueAdded-types-test.js +19 -11
- package/types/artifacts.d.ts +1 -0
- package/types/lhr/audit-details.d.ts +1 -0
- package/types/lhr/lhr.d.ts +1 -1
- package/changelog.md +0 -5490
- package/lighthouse-core/scripts/package.json +0 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"message": "所有報表"
|
|
4
4
|
},
|
|
5
5
|
"flow-report/src/i18n/ui-strings.js | categories": {
|
|
6
|
-
"message": "
|
|
6
|
+
"message": "類別"
|
|
7
7
|
},
|
|
8
8
|
"flow-report/src/i18n/ui-strings.js | categoryAccessibility": {
|
|
9
9
|
"message": "無障礙功能"
|
|
@@ -24,40 +24,46 @@
|
|
|
24
24
|
"message": "電腦版"
|
|
25
25
|
},
|
|
26
26
|
"flow-report/src/i18n/ui-strings.js | helpDialogTitle": {
|
|
27
|
-
"message": "
|
|
27
|
+
"message": "解讀 Lighthouse 流程報表"
|
|
28
28
|
},
|
|
29
29
|
"flow-report/src/i18n/ui-strings.js | helpLabel": {
|
|
30
|
-
"message": "
|
|
30
|
+
"message": "解讀流程"
|
|
31
31
|
},
|
|
32
32
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionNavigation": {
|
|
33
|
-
"message": "
|
|
33
|
+
"message": "使用導覽報表來..."
|
|
34
34
|
},
|
|
35
35
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionSnapshot": {
|
|
36
|
-
"message": "
|
|
36
|
+
"message": "使用快照報表來..."
|
|
37
37
|
},
|
|
38
38
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionTimespan": {
|
|
39
|
-
"message": "
|
|
39
|
+
"message": "使用時間範圍報表來..."
|
|
40
40
|
},
|
|
41
41
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation1": {
|
|
42
|
-
"message": "
|
|
42
|
+
"message": "取得 Lighthouse 效能分數。"
|
|
43
43
|
},
|
|
44
44
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation2": {
|
|
45
|
-
"message": "
|
|
45
|
+
"message": "評估載入網頁的效能指標,例如最大內容繪製和速度指數。"
|
|
46
46
|
},
|
|
47
47
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation3": {
|
|
48
|
-
"message": "
|
|
48
|
+
"message": "評估漸進式網頁應用程式功能。"
|
|
49
49
|
},
|
|
50
50
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseSnapshot1": {
|
|
51
|
-
"message": "
|
|
51
|
+
"message": "針對單頁應用程式或複雜的表單尋找無障礙功能方面的問題。"
|
|
52
52
|
},
|
|
53
53
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseSnapshot2": {
|
|
54
|
-
"message": "
|
|
54
|
+
"message": "針對隱藏在互動背後的選單和 UI 元素評估最佳做法。"
|
|
55
55
|
},
|
|
56
56
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseTimespan1": {
|
|
57
|
-
"message": "
|
|
57
|
+
"message": "測量一系列互動的版面配置位移和 JavaScript 執行時間。"
|
|
58
58
|
},
|
|
59
59
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseTimespan2": {
|
|
60
|
-
"message": "
|
|
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} 項資訊型稽核}}"
|
|
61
67
|
},
|
|
62
68
|
"flow-report/src/i18n/ui-strings.js | mobile": {
|
|
63
69
|
"message": "行動版"
|
|
@@ -66,11 +72,20 @@
|
|
|
66
72
|
"message": "載入網頁"
|
|
67
73
|
},
|
|
68
74
|
"flow-report/src/i18n/ui-strings.js | navigationLongDescription": {
|
|
69
|
-
"message": "
|
|
75
|
+
"message": "導覽報表能分析單一網頁的載入作業,與原 Lighthouse 報表完全相同。"
|
|
70
76
|
},
|
|
71
77
|
"flow-report/src/i18n/ui-strings.js | navigationReport": {
|
|
72
78
|
"message": "導覽報表"
|
|
73
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
|
+
},
|
|
74
89
|
"flow-report/src/i18n/ui-strings.js | ratingAverage": {
|
|
75
90
|
"message": "平均"
|
|
76
91
|
},
|
|
@@ -84,17 +99,20 @@
|
|
|
84
99
|
"message": "良好"
|
|
85
100
|
},
|
|
86
101
|
"flow-report/src/i18n/ui-strings.js | save": {
|
|
87
|
-
"message": "
|
|
102
|
+
"message": "儲存"
|
|
88
103
|
},
|
|
89
104
|
"flow-report/src/i18n/ui-strings.js | snapshotDescription": {
|
|
90
105
|
"message": "網頁擷取狀態"
|
|
91
106
|
},
|
|
92
107
|
"flow-report/src/i18n/ui-strings.js | snapshotLongDescription": {
|
|
93
|
-
"message": "
|
|
108
|
+
"message": "快照報表能分析特定狀態下的網頁,通常是在使用者互動之後的網頁。"
|
|
94
109
|
},
|
|
95
110
|
"flow-report/src/i18n/ui-strings.js | snapshotReport": {
|
|
96
111
|
"message": "快照報表"
|
|
97
112
|
},
|
|
113
|
+
"flow-report/src/i18n/ui-strings.js | snapshotReportCount": {
|
|
114
|
+
"message": "{numSnapshot,plural, =1{{numSnapshot} 份快照報表}other{{numSnapshot} 份快照報表}}"
|
|
115
|
+
},
|
|
98
116
|
"flow-report/src/i18n/ui-strings.js | summary": {
|
|
99
117
|
"message": "摘要"
|
|
100
118
|
},
|
|
@@ -102,11 +120,14 @@
|
|
|
102
120
|
"message": "使用者互動"
|
|
103
121
|
},
|
|
104
122
|
"flow-report/src/i18n/ui-strings.js | timespanLongDescription": {
|
|
105
|
-
"message": "
|
|
123
|
+
"message": "時間範圍報表能分析任意一段時間,通常包含使用者與網頁互動的時間。"
|
|
106
124
|
},
|
|
107
125
|
"flow-report/src/i18n/ui-strings.js | timespanReport": {
|
|
108
126
|
"message": "時間範圍報表"
|
|
109
127
|
},
|
|
128
|
+
"flow-report/src/i18n/ui-strings.js | timespanReportCount": {
|
|
129
|
+
"message": "{numTimespan,plural, =1{{numTimespan} 份時間範圍報表}other{{numTimespan} 份時間範圍報表}}"
|
|
130
|
+
},
|
|
110
131
|
"flow-report/src/i18n/ui-strings.js | title": {
|
|
111
132
|
"message": "Lighthouse 使用者流程報表"
|
|
112
133
|
},
|
|
@@ -1740,7 +1761,7 @@
|
|
|
1740
1761
|
"message": "這些是基本 [PWA 檢查清單](https://developers.google.com/web/progressive-web-apps/checklist)規定的項目,但 Lighthouse 不會自動進行檢查。它們不會影響你的分數,但請務必手動驗證這些項目。"
|
|
1741
1762
|
},
|
|
1742
1763
|
"lighthouse-core/config/default-config.js | pwaCategoryTitle": {
|
|
1743
|
-
"message": "
|
|
1764
|
+
"message": "PWA"
|
|
1744
1765
|
},
|
|
1745
1766
|
"lighthouse-core/config/default-config.js | pwaInstallableGroupTitle": {
|
|
1746
1767
|
"message": "可安裝"
|
|
@@ -2042,30 +2063,6 @@
|
|
|
2042
2063
|
"lighthouse-core/lib/lh-error.js | urlInvalid": {
|
|
2043
2064
|
"message": "你所提供的網址無效。"
|
|
2044
2065
|
},
|
|
2045
|
-
"treemap/app/src/util.js | allLabel": {
|
|
2046
|
-
"message": "全部"
|
|
2047
|
-
},
|
|
2048
|
-
"treemap/app/src/util.js | allScriptsDropdownLabel": {
|
|
2049
|
-
"message": "所有指令碼"
|
|
2050
|
-
},
|
|
2051
|
-
"treemap/app/src/util.js | coverageColumnName": {
|
|
2052
|
-
"message": "涵蓋率"
|
|
2053
|
-
},
|
|
2054
|
-
"treemap/app/src/util.js | duplicateModulesLabel": {
|
|
2055
|
-
"message": "重複模組"
|
|
2056
|
-
},
|
|
2057
|
-
"treemap/app/src/util.js | resourceBytesLabel": {
|
|
2058
|
-
"message": "資源位元組"
|
|
2059
|
-
},
|
|
2060
|
-
"treemap/app/src/util.js | tableColumnName": {
|
|
2061
|
-
"message": "名稱"
|
|
2062
|
-
},
|
|
2063
|
-
"treemap/app/src/util.js | toggleTableButtonLabel": {
|
|
2064
|
-
"message": "顯示/隱藏表格"
|
|
2065
|
-
},
|
|
2066
|
-
"treemap/app/src/util.js | unusedBytesLabel": {
|
|
2067
|
-
"message": "未使用的位元組"
|
|
2068
|
-
},
|
|
2069
2066
|
"node_modules/lighthouse-stack-packs/packs/amp.js | efficient-animated-content": {
|
|
2070
2067
|
"message": "你可以對動畫內容使用 [`amp-anim`](https://amp.dev/documentation/components/amp-anim/),這樣一來,畫面外的內容即會盡量節省 CPU 用量。"
|
|
2071
2068
|
},
|
|
@@ -2333,6 +2330,9 @@
|
|
|
2333
2330
|
"report/renderer/util.js | calculatorLink": {
|
|
2334
2331
|
"message": "查看計算機。"
|
|
2335
2332
|
},
|
|
2333
|
+
"report/renderer/util.js | collapseView": {
|
|
2334
|
+
"message": "收合檢視畫面"
|
|
2335
|
+
},
|
|
2336
2336
|
"report/renderer/util.js | crcInitialNavigation": {
|
|
2337
2337
|
"message": "起始導覽"
|
|
2338
2338
|
},
|
|
@@ -2369,9 +2369,15 @@
|
|
|
2369
2369
|
"report/renderer/util.js | errorMissingAuditInfo": {
|
|
2370
2370
|
"message": "回報錯誤:無稽核資訊"
|
|
2371
2371
|
},
|
|
2372
|
+
"report/renderer/util.js | expandView": {
|
|
2373
|
+
"message": "展開檢視畫面"
|
|
2374
|
+
},
|
|
2372
2375
|
"report/renderer/util.js | footerIssue": {
|
|
2373
2376
|
"message": "回報問題"
|
|
2374
2377
|
},
|
|
2378
|
+
"report/renderer/util.js | hide": {
|
|
2379
|
+
"message": "隱藏"
|
|
2380
|
+
},
|
|
2375
2381
|
"report/renderer/util.js | labDataTitle": {
|
|
2376
2382
|
"message": "研究資料"
|
|
2377
2383
|
},
|
|
@@ -2393,6 +2399,12 @@
|
|
|
2393
2399
|
"report/renderer/util.js | passedAuditsGroupTitle": {
|
|
2394
2400
|
"message": "通過稽核項目"
|
|
2395
2401
|
},
|
|
2402
|
+
"report/renderer/util.js | runtimeAnalysisWindow": {
|
|
2403
|
+
"message": "初次載入網頁"
|
|
2404
|
+
},
|
|
2405
|
+
"report/renderer/util.js | runtimeCustom": {
|
|
2406
|
+
"message": "自訂節流"
|
|
2407
|
+
},
|
|
2396
2408
|
"report/renderer/util.js | runtimeDesktopEmulation": {
|
|
2397
2409
|
"message": "模擬電腦"
|
|
2398
2410
|
},
|
|
@@ -2420,9 +2432,21 @@
|
|
|
2420
2432
|
"report/renderer/util.js | runtimeSettingsUANetwork": {
|
|
2421
2433
|
"message": "使用者代理程式 (網路)"
|
|
2422
2434
|
},
|
|
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 節流"
|
|
2443
|
+
},
|
|
2423
2444
|
"report/renderer/util.js | runtimeUnknown": {
|
|
2424
2445
|
"message": "不明"
|
|
2425
2446
|
},
|
|
2447
|
+
"report/renderer/util.js | show": {
|
|
2448
|
+
"message": "顯示"
|
|
2449
|
+
},
|
|
2426
2450
|
"report/renderer/util.js | showRelevantAudits": {
|
|
2427
2451
|
"message": "顯示與下列指標相關的稽核項目:"
|
|
2428
2452
|
},
|
|
@@ -2452,5 +2476,29 @@
|
|
|
2452
2476
|
},
|
|
2453
2477
|
"report/renderer/util.js | warningHeader": {
|
|
2454
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": "未使用的位元組"
|
|
2455
2503
|
}
|
|
2456
2504
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"message": "所有报告"
|
|
4
4
|
},
|
|
5
5
|
"flow-report/src/i18n/ui-strings.js | categories": {
|
|
6
|
-
"message": "
|
|
6
|
+
"message": "类别"
|
|
7
7
|
},
|
|
8
8
|
"flow-report/src/i18n/ui-strings.js | categoryAccessibility": {
|
|
9
9
|
"message": "无障碍"
|
|
@@ -24,40 +24,46 @@
|
|
|
24
24
|
"message": "桌面版"
|
|
25
25
|
},
|
|
26
26
|
"flow-report/src/i18n/ui-strings.js | helpDialogTitle": {
|
|
27
|
-
"message": "
|
|
27
|
+
"message": "了解 Lighthouse 流程报告"
|
|
28
28
|
},
|
|
29
29
|
"flow-report/src/i18n/ui-strings.js | helpLabel": {
|
|
30
|
-
"message": "
|
|
30
|
+
"message": "了解流程"
|
|
31
31
|
},
|
|
32
32
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionNavigation": {
|
|
33
|
-
"message": "
|
|
33
|
+
"message": "使用导航报告可以…"
|
|
34
34
|
},
|
|
35
35
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionSnapshot": {
|
|
36
|
-
"message": "
|
|
36
|
+
"message": "使用快照报告可以…"
|
|
37
37
|
},
|
|
38
38
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseInstructionTimespan": {
|
|
39
|
-
"message": "
|
|
39
|
+
"message": "使用时间跨度报告可以…"
|
|
40
40
|
},
|
|
41
41
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation1": {
|
|
42
|
-
"message": "
|
|
42
|
+
"message": "获取 Lighthouse 给出的性能得分。"
|
|
43
43
|
},
|
|
44
44
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation2": {
|
|
45
|
-
"message": "
|
|
45
|
+
"message": "衡量网页加载性能指标,例如 Largest Contentful Paint 和 Speed Index。"
|
|
46
46
|
},
|
|
47
47
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseNavigation3": {
|
|
48
|
-
"message": "
|
|
48
|
+
"message": "评估渐进式 Web 应用的功能。"
|
|
49
49
|
},
|
|
50
50
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseSnapshot1": {
|
|
51
|
-
"message": "
|
|
51
|
+
"message": "查找单页应用或复杂表单中的无障碍功能方面的问题。"
|
|
52
52
|
},
|
|
53
53
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseSnapshot2": {
|
|
54
|
-
"message": "
|
|
54
|
+
"message": "评估互动背后隐藏的菜单和界面元素的最佳做法。"
|
|
55
55
|
},
|
|
56
56
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseTimespan1": {
|
|
57
|
-
"message": "
|
|
57
|
+
"message": "衡量一系列互动的布局偏移和 JavaScript 执行用时。"
|
|
58
58
|
},
|
|
59
59
|
"flow-report/src/i18n/ui-strings.js | helpUseCaseTimespan2": {
|
|
60
|
-
"message": "
|
|
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} 项参考性评估}}"
|
|
61
67
|
},
|
|
62
68
|
"flow-report/src/i18n/ui-strings.js | mobile": {
|
|
63
69
|
"message": "移动版"
|
|
@@ -66,11 +72,20 @@
|
|
|
66
72
|
"message": "网页加载"
|
|
67
73
|
},
|
|
68
74
|
"flow-report/src/i18n/ui-strings.js | navigationLongDescription": {
|
|
69
|
-
"message": "
|
|
75
|
+
"message": "导航报告旨在分析单个网页的加载情况,与最初的 Lighthouse 报告完全一样。"
|
|
70
76
|
},
|
|
71
77
|
"flow-report/src/i18n/ui-strings.js | navigationReport": {
|
|
72
78
|
"message": "导航报告"
|
|
73
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
|
+
},
|
|
74
89
|
"flow-report/src/i18n/ui-strings.js | ratingAverage": {
|
|
75
90
|
"message": "一般"
|
|
76
91
|
},
|
|
@@ -84,17 +99,20 @@
|
|
|
84
99
|
"message": "良好"
|
|
85
100
|
},
|
|
86
101
|
"flow-report/src/i18n/ui-strings.js | save": {
|
|
87
|
-
"message": "
|
|
102
|
+
"message": "保存"
|
|
88
103
|
},
|
|
89
104
|
"flow-report/src/i18n/ui-strings.js | snapshotDescription": {
|
|
90
105
|
"message": "捕获到的网页状态"
|
|
91
106
|
},
|
|
92
107
|
"flow-report/src/i18n/ui-strings.js | snapshotLongDescription": {
|
|
93
|
-
"message": "
|
|
108
|
+
"message": "快照报告旨在分析处于特定状态的网页(通常是在用户互动之后)。"
|
|
94
109
|
},
|
|
95
110
|
"flow-report/src/i18n/ui-strings.js | snapshotReport": {
|
|
96
111
|
"message": "快照报告"
|
|
97
112
|
},
|
|
113
|
+
"flow-report/src/i18n/ui-strings.js | snapshotReportCount": {
|
|
114
|
+
"message": "{numSnapshot,plural, =1{{numSnapshot} 份快照报告}other{{numSnapshot} 份快照报告}}"
|
|
115
|
+
},
|
|
98
116
|
"flow-report/src/i18n/ui-strings.js | summary": {
|
|
99
117
|
"message": "摘要"
|
|
100
118
|
},
|
|
@@ -102,11 +120,14 @@
|
|
|
102
120
|
"message": "用户互动"
|
|
103
121
|
},
|
|
104
122
|
"flow-report/src/i18n/ui-strings.js | timespanLongDescription": {
|
|
105
|
-
"message": "
|
|
123
|
+
"message": "时间跨度报告旨在分析任意时间段(通常包含用户互动)。"
|
|
106
124
|
},
|
|
107
125
|
"flow-report/src/i18n/ui-strings.js | timespanReport": {
|
|
108
126
|
"message": "时间跨度报告"
|
|
109
127
|
},
|
|
128
|
+
"flow-report/src/i18n/ui-strings.js | timespanReportCount": {
|
|
129
|
+
"message": "{numTimespan,plural, =1{{numTimespan} 份时间跨度报告}other{{numTimespan} 份时间跨度报告}}"
|
|
130
|
+
},
|
|
110
131
|
"flow-report/src/i18n/ui-strings.js | title": {
|
|
111
132
|
"message": "Lighthouse 用户流报告"
|
|
112
133
|
},
|
|
@@ -1740,7 +1761,7 @@
|
|
|
1740
1761
|
"message": "基准 [PWA 核对清单](https://developers.google.com/web/progressive-web-apps/checklist)要求必须进行此类检查,但 Lighthouse 不会自动进行此类检查。它们不会影响您的得分,但您必须手动对其进行验证。"
|
|
1741
1762
|
},
|
|
1742
1763
|
"lighthouse-core/config/default-config.js | pwaCategoryTitle": {
|
|
1743
|
-
"message": "
|
|
1764
|
+
"message": "PWA"
|
|
1744
1765
|
},
|
|
1745
1766
|
"lighthouse-core/config/default-config.js | pwaInstallableGroupTitle": {
|
|
1746
1767
|
"message": "可安装"
|
|
@@ -2042,30 +2063,6 @@
|
|
|
2042
2063
|
"lighthouse-core/lib/lh-error.js | urlInvalid": {
|
|
2043
2064
|
"message": "您提供的网址似乎无效。"
|
|
2044
2065
|
},
|
|
2045
|
-
"treemap/app/src/util.js | allLabel": {
|
|
2046
|
-
"message": "全部"
|
|
2047
|
-
},
|
|
2048
|
-
"treemap/app/src/util.js | allScriptsDropdownLabel": {
|
|
2049
|
-
"message": "所有脚本"
|
|
2050
|
-
},
|
|
2051
|
-
"treemap/app/src/util.js | coverageColumnName": {
|
|
2052
|
-
"message": "覆盖率"
|
|
2053
|
-
},
|
|
2054
|
-
"treemap/app/src/util.js | duplicateModulesLabel": {
|
|
2055
|
-
"message": "重复的模块"
|
|
2056
|
-
},
|
|
2057
|
-
"treemap/app/src/util.js | resourceBytesLabel": {
|
|
2058
|
-
"message": "资源字节数"
|
|
2059
|
-
},
|
|
2060
|
-
"treemap/app/src/util.js | tableColumnName": {
|
|
2061
|
-
"message": "名称"
|
|
2062
|
-
},
|
|
2063
|
-
"treemap/app/src/util.js | toggleTableButtonLabel": {
|
|
2064
|
-
"message": "显示/隐藏表格"
|
|
2065
|
-
},
|
|
2066
|
-
"treemap/app/src/util.js | unusedBytesLabel": {
|
|
2067
|
-
"message": "未使用的字节数"
|
|
2068
|
-
},
|
|
2069
2066
|
"node_modules/lighthouse-stack-packs/packs/amp.js | efficient-animated-content": {
|
|
2070
2067
|
"message": "对于动画内容,请使用 [`amp-anim`](https://amp.dev/documentation/components/amp-anim/) 尽量减少当内容在屏幕外时的 CPU 使用量。"
|
|
2071
2068
|
},
|
|
@@ -2333,6 +2330,9 @@
|
|
|
2333
2330
|
"report/renderer/util.js | calculatorLink": {
|
|
2334
2331
|
"message": "查看计算器。"
|
|
2335
2332
|
},
|
|
2333
|
+
"report/renderer/util.js | collapseView": {
|
|
2334
|
+
"message": "收起视图"
|
|
2335
|
+
},
|
|
2336
2336
|
"report/renderer/util.js | crcInitialNavigation": {
|
|
2337
2337
|
"message": "初始导航"
|
|
2338
2338
|
},
|
|
@@ -2369,9 +2369,15 @@
|
|
|
2369
2369
|
"report/renderer/util.js | errorMissingAuditInfo": {
|
|
2370
2370
|
"message": "报告错误:没有任何审核信息"
|
|
2371
2371
|
},
|
|
2372
|
+
"report/renderer/util.js | expandView": {
|
|
2373
|
+
"message": "展开视图"
|
|
2374
|
+
},
|
|
2372
2375
|
"report/renderer/util.js | footerIssue": {
|
|
2373
2376
|
"message": "提交问题"
|
|
2374
2377
|
},
|
|
2378
|
+
"report/renderer/util.js | hide": {
|
|
2379
|
+
"message": "隐藏"
|
|
2380
|
+
},
|
|
2375
2381
|
"report/renderer/util.js | labDataTitle": {
|
|
2376
2382
|
"message": "实验室数据"
|
|
2377
2383
|
},
|
|
@@ -2393,6 +2399,12 @@
|
|
|
2393
2399
|
"report/renderer/util.js | passedAuditsGroupTitle": {
|
|
2394
2400
|
"message": "已通过的审核"
|
|
2395
2401
|
},
|
|
2402
|
+
"report/renderer/util.js | runtimeAnalysisWindow": {
|
|
2403
|
+
"message": "初始网页加载"
|
|
2404
|
+
},
|
|
2405
|
+
"report/renderer/util.js | runtimeCustom": {
|
|
2406
|
+
"message": "自定义节流"
|
|
2407
|
+
},
|
|
2396
2408
|
"report/renderer/util.js | runtimeDesktopEmulation": {
|
|
2397
2409
|
"message": "模拟桌面设备"
|
|
2398
2410
|
},
|
|
@@ -2420,9 +2432,21 @@
|
|
|
2420
2432
|
"report/renderer/util.js | runtimeSettingsUANetwork": {
|
|
2421
2433
|
"message": "用户代理(网络)"
|
|
2422
2434
|
},
|
|
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 节流"
|
|
2443
|
+
},
|
|
2423
2444
|
"report/renderer/util.js | runtimeUnknown": {
|
|
2424
2445
|
"message": "不明"
|
|
2425
2446
|
},
|
|
2447
|
+
"report/renderer/util.js | show": {
|
|
2448
|
+
"message": "显示"
|
|
2449
|
+
},
|
|
2426
2450
|
"report/renderer/util.js | showRelevantAudits": {
|
|
2427
2451
|
"message": "显示与所选指标相关的评估结果:"
|
|
2428
2452
|
},
|
|
@@ -2452,5 +2476,29 @@
|
|
|
2452
2476
|
},
|
|
2453
2477
|
"report/renderer/util.js | warningHeader": {
|
|
2454
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": "未使用的字节数"
|
|
2455
2503
|
}
|
|
2456
2504
|
}
|
|
@@ -31,18 +31,26 @@ describe('issueAdded types', () => {
|
|
|
31
31
|
.sort();
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
it.skip('should notify us if something changed', () => {
|
|
34
|
+
it('should notify us if something changed', () => {
|
|
36
35
|
expect(inspectorIssueDetailsTypes).toMatchInlineSnapshot(`
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
36
|
+
Array [
|
|
37
|
+
"attributionReportingIssueDetails",
|
|
38
|
+
"blockedByResponseIssueDetails",
|
|
39
|
+
"contentSecurityPolicyIssueDetails",
|
|
40
|
+
"corsIssueDetails",
|
|
41
|
+
"deprecationIssueDetails",
|
|
42
|
+
"genericIssueDetails",
|
|
43
|
+
"heavyAdIssueDetails",
|
|
44
|
+
"lowTextContrastIssueDetails",
|
|
45
|
+
"mixedContentIssueDetails",
|
|
46
|
+
"navigatorUserAgentIssueDetails",
|
|
47
|
+
"quirksModeIssueDetails",
|
|
48
|
+
"sameSiteCookieIssueDetails",
|
|
49
|
+
"sharedArrayBufferIssueDetails",
|
|
50
|
+
"twaQualityEnforcementDetails",
|
|
51
|
+
"wasmCrossOriginModuleSharingIssue",
|
|
52
|
+
]
|
|
53
|
+
`);
|
|
46
54
|
});
|
|
47
55
|
|
|
48
56
|
// TODO: https://github.com/GoogleChrome/lighthouse/issues/13147
|
package/types/artifacts.d.ts
CHANGED
|
@@ -558,6 +558,7 @@ declare module Artifacts {
|
|
|
558
558
|
blockedByResponse: LH.Crdp.Audits.BlockedByResponseIssueDetails[];
|
|
559
559
|
heavyAds: LH.Crdp.Audits.HeavyAdIssueDetails[];
|
|
560
560
|
contentSecurityPolicy: LH.Crdp.Audits.ContentSecurityPolicyIssueDetails[];
|
|
561
|
+
deprecations: LH.Crdp.Audits.DeprecationIssueDetails[];
|
|
561
562
|
}
|
|
562
563
|
|
|
563
564
|
// Computed artifact types below.
|
package/types/lhr/lhr.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ declare module Result {
|
|
|
60
60
|
/** The benchmark index number that indicates rough device class. */
|
|
61
61
|
benchmarkIndex: number;
|
|
62
62
|
/** The version of libraries with which these results were generated. Ex: axe-core. */
|
|
63
|
-
credits
|
|
63
|
+
credits?: Record<string, string|undefined>,
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
interface Timing {
|