[UXW] Remove excessive capitalization in Applications tree view
Bug:1464866
Change-Id: I15f15829ef837fa33ea892057925fe1495412c09
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4683608
Reviewed-by: Danil Somsikov <[email protected]>
Reviewed-by: Benedikt Meurer <[email protected]>
Commit-Queue: Danil Somsikov <[email protected]>
diff --git a/front_end/panels/application/BackgroundServiceView.ts b/front_end/panels/application/BackgroundServiceView.ts
index 177f4b3..31bab52 100644
--- a/front_end/panels/application/BackgroundServiceView.ts
+++ b/front_end/panels/application/BackgroundServiceView.ts
@@ -21,15 +21,15 @@
/**
*@description Text in Background Service View of the Application panel
*/
- backgroundFetch: 'Background Fetch',
+ backgroundFetch: 'Background fetch',
/**
*@description Text in Background Service View of the Application panel
*/
- backgroundSync: 'Background Sync',
+ backgroundSync: 'Background sync',
/**
*@description Text in Background Service View of the Application panel
*/
- pushMessaging: 'Push Messaging',
+ pushMessaging: 'Push messaging',
/**
*@description Text in Background Service View of the Application panel
*/
@@ -37,11 +37,11 @@
/**
*@description Text in Background Service View of the Application panel
*/
- paymentHandler: 'Payment Handler',
+ paymentHandler: 'Payment handler',
/**
*@description Text in the Periodic Background Service View of the Application panel
*/
- periodicBackgroundSync: 'Periodic Background Sync',
+ periodicBackgroundSync: 'Periodic background sync',
/**
*@description Text to clear content
*/
@@ -93,7 +93,7 @@
/**
*@description Text in Application Panel Sidebar of the Application panel
*/
- backgroundServices: 'Background Services',
+ backgroundServices: 'Background services',
/**
*@description Text that is usually a hyperlink to more documentation
*/
@@ -469,7 +469,7 @@
centered.createChild('p').textContent = i18nString(UIStrings.selectAnEntryToViewMetadata);
} else if (this.recordButton.toggled()) {
// Inform users that we are recording/waiting for events.
- const featureName = BackgroundServiceView.getUIString(this.serviceName);
+ const featureName = BackgroundServiceView.getUIString(this.serviceName).toLowerCase();
centered.createChild('p').textContent = i18nString(UIStrings.recordingSActivity, {PH1: featureName});
centered.createChild('p').textContent = i18nString(UIStrings.devtoolsWillRecordAllSActivity, {PH1: featureName});
} else {