chrome-devtools-frontend 1.0.1564339 → 1.0.1564932
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.
|
@@ -48,6 +48,10 @@ const UIStrings = {
|
|
|
48
48
|
* @description Card header in Experiments settings tab that list all available stable experiments that can be turned on or off.
|
|
49
49
|
*/
|
|
50
50
|
experiments: 'Experiments',
|
|
51
|
+
/**
|
|
52
|
+
* @description Number of experiments from the filtered list of experiements
|
|
53
|
+
*/
|
|
54
|
+
experimentsFound: '{n, plural, =1 {# experiment found} other {# experiments found}}',
|
|
51
55
|
/**
|
|
52
56
|
* @description Message shown in the experiments panel to warn users about any possible unstable features.
|
|
53
57
|
*/
|
|
@@ -459,6 +463,9 @@ export class ExperimentsSettingsTab extends UI.Widget.VBox implements SettingsTa
|
|
|
459
463
|
UI.ARIAUtils.LiveAnnouncer.alert(warning.textContent);
|
|
460
464
|
this.#experimentsSection = createSettingsCard(i18nString(UIStrings.experiments), warning);
|
|
461
465
|
this.containerElement.appendChild(this.#experimentsSection);
|
|
466
|
+
} else {
|
|
467
|
+
UI.ARIAUtils.LiveAnnouncer.alert(
|
|
468
|
+
i18nString(UIStrings.experimentsFound, {n: stableExperiments.length + unstableExperiments.length}));
|
|
462
469
|
}
|
|
463
470
|
}
|
|
464
471
|
|
package/package.json
CHANGED