[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc(treemap): i18n #12441

Merged
merged 20 commits into from
May 14, 2021
Merged
Prev Previous commit
Next Next commit
lol
  • Loading branch information
connorjclark committed May 11, 2021
commit 9a7f0f8914abc06fbc0eb815dc43c23d08a41247
4 changes: 2 additions & 2 deletions lighthouse-treemap/app/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ class TreemapViewer {

return {
id: 'duplicate-modules',
label: TreemapUtil.i18n.strings.duplicateModules,
label: TreemapUtil.i18n.strings.duplicateModulesLabel,
subLabel: enabled ? TreemapUtil.i18n.formatBytesWithBestUnit(potentialByteSavings) : 'N/A',
highlights,
enabled,
Expand All @@ -294,7 +294,7 @@ class TreemapViewer {

viewModes.push({
id: 'all',
label: TreemapUtil.i18n.strings.all,
label: TreemapUtil.i18n.strings.allLabel,
subLabel: TreemapUtil.i18n.formatBytesWithBestUnit(this.currentTreemapRoot.resourceBytes),
enabled: true,
});
Expand Down