You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: front_end/panels/timeline/components/LiveMetricsView.ts
+56-52Lines changed: 56 additions & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,15 @@ const UIStrings = {
81
81
* @example {Mobile} PH1
82
82
*/
83
83
showFieldDataForDevice: 'Show field data for device type: {PH1}',
84
+
/**
85
+
* @description Text indicating that there is not enough data to report real user statistics.
86
+
*/
87
+
notEnoughData: 'Not enough data',
88
+
/**
89
+
* @description Label for a text block that describes the network connections of real users.
90
+
* @example {75th percentile is similar to Slow 4G throttling} PH1
91
+
*/
92
+
network: 'Network: {PH1}',
84
93
/**
85
94
* @description Label for an select box that selects which device type field data be shown for (e.g. desktop/mobile/all devices/etc).
86
95
* @example {Mobile} PH1
@@ -141,30 +150,20 @@ const UIStrings = {
141
150
*/
142
151
showFieldDataForPage: 'Show field data for {PH1}',
143
152
/**
144
-
* @description Tooltip text explaining that real user connections are similar to a test environment with no throttling. "latencies" refers to the time it takes for a website server to respond. "throttling" is when the network is intentionally slowed down to simulate a slower connection.
153
+
* @description Tooltip text explaining that real user connections are similar to a test environment with no throttling. "throttling" is when the network is intentionally slowed down to simulate a slower connection.
145
154
*/
146
-
tryDisablingThrottling:
147
-
'The 75th percentile of real users experienced network latencies similar to a connection with no throttling.',
155
+
tryDisablingThrottling: '75th percentile is too fast to simulate with throttling',
148
156
/**
149
-
* @description Tooltip text explaining that real user connections are similar to a specif network throttling setup. "latencies" refers to the time it takes for a website server to respond. "throttling" is when the network is intentionally slowed down to simulate a slower connection.
157
+
* @description Tooltip text explaining that real user connections are similar to a specif network throttling setup. "throttling" is when the network is intentionally slowed down to simulate a slower connection.
150
158
* @example {Slow 4G} PH1
151
159
*/
152
-
tryUsingThrottling: 'The 75th percentile of real users experienced network latencies similar to {PH1} throttling.',
160
+
tryUsingThrottling: '75th percentile is similar to {PH1} throttling',
153
161
/**
154
-
* @descriptionTooltip text explaining that a majority of users are using a mobile form factor with the specific percentage.
162
+
* @descriptionText block listing what percentage of real users are on different device form factors.
155
163
* @example {60%} PH1
164
+
* @example {30%} PH2
156
165
*/
157
-
mostUsersMobile: '{PH1} of users are on mobile.',
158
-
/**
159
-
* @description Tooltip text explaining that a majority of users are using a desktop form factor with the specific percentage.
160
-
* @example {60%} PH1
161
-
*/
162
-
mostUsersDesktop: '{PH1} of users are on desktop.',
163
-
/**
164
-
* @description Text for a percentage value.
165
-
* @example {60} PH1
166
-
*/
167
-
percentage: '{PH1}%',
166
+
percentDevices: '{PH1}% mobile, {PH2}% desktop',
168
167
/**
169
168
* @description Text block explaining how to simulate different mobile and desktop devices. The placeholder at the end will be a link with the text "simulate different devices" translated separately.
170
169
* @example {simulate different devices} PH1
@@ -205,8 +204,9 @@ const UIStrings = {
205
204
}`,
206
205
/**
207
206
* @description Label for a a range of dates that represents the period of time a set of field data is collected from.
207
+
* @example {Oct 1, 2024 - Nov 1, 2024} PH1
208
208
*/
209
-
collectionPeriod: 'Collection period:',
209
+
collectionPeriod: 'Collection period: {PH1}',
210
210
/**
211
211
* @description Text showing a range of dates meant to represent a period of time.
212
212
* @example {Oct 1, 2024} PH1
@@ -246,9 +246,9 @@ const UIStrings = {
246
246
*/
247
247
clearCurrentLog: 'Clear the current log',
248
248
/**
249
-
* @description Title for an expandable section that contains more information about real user environments. This message is meant to prompt the user to understand the conditions experienced by real users.
249
+
* @description Title for a section that contains more information about real user environments. This message is meant to prompt the user to understand the conditions experienced by real users.
250
250
*/
251
-
considerRealUser: 'Consider real user environments',
251
+
realUserEnvironments: 'Real user environments',
252
252
/**
253
253
* @description Title for a page load phase that measures the time between when the page load starts and the time when the first byte of the initial document is downloaded.
254
254
*/
@@ -610,47 +610,44 @@ export class LiveMetricsView extends LegacyWrapper.LegacyWrapper.WrappableCompon
0 commit comments