-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
i18n: perf-budget and res-summary column headers #9127
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if we want to keep the Transfer Size
label
lighthouse-core/lib/i18n/i18n.js
Outdated
@@ -56,6 +56,12 @@ const UIStrings = { | |||
columnWastedMs: 'Potential Savings', | |||
/** Label for the time spent column in data tables, entries will be the number of milliseconds spent during a particular activity */ | |||
columnTimeSpent: 'Time Spent', | |||
/** Label for the type of network resource column in data tables, entries will be enumerated kinds of network requests e.g. "Scripts", "Third-Party", "Stylesheet".*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure when these descriptions switched formats above, but the ones below (like totalResourceType
) seem like they'd read a lot clearer to someone with no context (like, what's a "type of network resource column in data tables"?).
e.g.
Label for a row in a data table; entries will be types of resources loaded over the network, e.g. "Scripts", "Third-Party", "Stylesheet".
seems better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ones below are different. Those are rows
in the perf-budgets table, not the columns. That's why they're different. But I agree they're more clear.
@@ -20,6 +20,8 @@ const UIStrings = { | |||
=1 {1 request} | |||
other {# requests} | |||
}`, | |||
/** Table column header for how displaying how much larger the size of network requests were than a predetermined budget. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** Table column header for how displaying how much larger the size of network requests were than a predetermined budget. */ | |
/** Table column header displaying: how much greater the quantity of network requests were than a predetermined budget, how much larger the size of network requests were than a predetermined budget. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Integrated this with the column format from i18n.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with last thing
Co-Authored-By: Brendan Kenny <[email protected]>
This comment has been minimized.
This comment has been minimized.
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) ℹ️ Googlers: Go here for more info. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Please Googlebot. Please. |
Summary
Noticed this when snooping around for i18n stuff.
fixes: #9126