[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/ApplicationPanelSidebar.ts b/front_end/panels/application/ApplicationPanelSidebar.ts
index c195043..6c56306 100644
--- a/front_end/panels/application/ApplicationPanelSidebar.ts
+++ b/front_end/panels/application/ApplicationPanelSidebar.ts
@@ -106,11 +106,11 @@
   /**
    *@description Text in Application Panel Sidebar of the Application panel
    */
-  localStorage: 'Local Storage',
+  localStorage: 'Local storage',
   /**
    *@description Text in Application Panel Sidebar of the Application panel
    */
-  sessionStorage: 'Session Storage',
+  sessionStorage: 'Session storage',
   /**
    *@description Text in Application Panel Sidebar of the Application panel
    */
@@ -122,7 +122,7 @@
   /**
    *@description Text in Application Panel Sidebar of the Application panel
    */
-  backgroundServices: 'Background Services',
+  backgroundServices: 'Background services',
   /**
    *@description Text in Application Panel Sidebar of the Application panel
    */
@@ -1103,7 +1103,7 @@
   private view?: ServiceWorkersView;
 
   constructor(storagePanel: ResourcesPanel) {
-    super(storagePanel, i18n.i18n.lockedString('Service Workers'), false);
+    super(storagePanel, i18n.i18n.lockedString('Service workers'), false);
     const icon = UI.Icon.Icon.create('gears', 'resource-tree-item');
     this.setLeadingIcons([icon]);
   }
@@ -2196,7 +2196,7 @@
 
   workerCreated(targetInfo: Protocol.Target.TargetInfo): void {
     const categoryKey = targetInfo.type === 'service_worker' ? 'Service Workers' : 'Web Workers';
-    const categoryName = targetInfo.type === 'service_worker' ? i18n.i18n.lockedString('Service Workers') :
+    const categoryName = targetInfo.type === 'service_worker' ? i18n.i18n.lockedString('Service workers') :
                                                                 i18nString(UIStrings.webWorkers);
     let categoryElement = this.categoryElements.get(categoryKey);
     if (!categoryElement) {
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 {
diff --git a/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts b/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts
index 153198f..02ac49a 100644
--- a/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts
+++ b/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts
@@ -16,7 +16,7 @@
   /**
    * @description Hover text for the Bounce Tracking Mitigations element in the Application Panel sidebar.
    */
-  bounceTrackingMitigations: 'Bounce Tracking Mitigations',
+  bounceTrackingMitigations: 'Bounce tracking mitigations',
 };
 const str_ = i18n.i18n.registerUIStrings('panels/application/BounceTrackingMitigationsTreeElement.ts', UIStrings);
 export const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
diff --git a/front_end/panels/application/InterestGroupTreeElement.ts b/front_end/panels/application/InterestGroupTreeElement.ts
index 6837b9c..1b9c889 100644
--- a/front_end/panels/application/InterestGroupTreeElement.ts
+++ b/front_end/panels/application/InterestGroupTreeElement.ts
@@ -21,7 +21,7 @@
    * be used to show a certain set of advertisements in the future as the
    * outcome of a FLEDGE auction. (https://developer.chrome.com/blog/fledge-api/)
    */
-  interestGroups: 'Interest Groups',
+  interestGroups: 'Interest groups',
 };
 const str_ = i18n.i18n.registerUIStrings('panels/application/InterestGroupTreeElement.ts', UIStrings);
 export const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
diff --git a/front_end/panels/application/ServiceWorkerCacheTreeElement.ts b/front_end/panels/application/ServiceWorkerCacheTreeElement.ts
index 7d81a6c..2a7e35e 100644
--- a/front_end/panels/application/ServiceWorkerCacheTreeElement.ts
+++ b/front_end/panels/application/ServiceWorkerCacheTreeElement.ts
@@ -18,7 +18,7 @@
   /**
    *@description Text in Application Panel Sidebar of the Application panel
    */
-  cacheStorage: 'Cache Storage',
+  cacheStorage: 'Cache storage',
   /**
    *@description A context menu item in the Application Panel Sidebar of the Application panel
    */
diff --git a/front_end/panels/application/ServiceWorkersView.ts b/front_end/panels/application/ServiceWorkersView.ts
index b0a16e7..ab36bf4 100644
--- a/front_end/panels/application/ServiceWorkersView.ts
+++ b/front_end/panels/application/ServiceWorkersView.ts
@@ -198,7 +198,7 @@
     super(true);
 
     // TODO(crbug.com/1156978): Replace UI.ReportView.ReportView with ReportView.ts web component.
-    this.currentWorkersView = new UI.ReportView.ReportView(i18n.i18n.lockedString('Service Workers'));
+    this.currentWorkersView = new UI.ReportView.ReportView(i18n.i18n.lockedString('Service workers'));
     this.currentWorkersView.setBodyScrollable(false);
     this.contentElement.classList.add('service-worker-list');
     this.currentWorkersView.show(this.contentElement);
diff --git a/front_end/panels/application/SharedStorageItemsView.ts b/front_end/panels/application/SharedStorageItemsView.ts
index 14ea49a..3475c08 100644
--- a/front_end/panels/application/SharedStorageItemsView.ts
+++ b/front_end/panels/application/SharedStorageItemsView.ts
@@ -18,7 +18,7 @@
   /**
    *@description Text in SharedStorage Items View of the Application panel
    */
-  sharedStorage: 'Shared Storage',
+  sharedStorage: 'Shared storage',
   /**
    *@description Text representing the name of a value stored in the "Shared Storage Items" table
    */
diff --git a/front_end/panels/application/SharedStorageListTreeElement.ts b/front_end/panels/application/SharedStorageListTreeElement.ts
index 0221aad..2e138d4 100644
--- a/front_end/panels/application/SharedStorageListTreeElement.ts
+++ b/front_end/panels/application/SharedStorageListTreeElement.ts
@@ -17,7 +17,7 @@
   /**
    *@description Text in SharedStorage Category View of the Application panel
    */
-  sharedStorage: 'Shared Storage',
+  sharedStorage: 'Shared storage',
 };
 const str_ = i18n.i18n.registerUIStrings('panels/application/SharedStorageListTreeElement.ts', UIStrings);
 const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
diff --git a/front_end/panels/application/StorageView.ts b/front_end/panels/application/StorageView.ts
index 99dc464..7c6fe8d 100644
--- a/front_end/panels/application/StorageView.ts
+++ b/front_end/panels/application/StorageView.ts
@@ -135,7 +135,7 @@
   /**
    * @description Text in Application Panel Sidebar of the Application panel
    */
-  serviceWorkers: 'Service Workers',
+  serviceWorkers: 'Service workers',
   /**
    * @description Checkbox label in Application Panel Sidebar of the Application panel.
    * Storage quota refers to the amount of disk available for the website or app.
diff --git a/front_end/panels/application/TrustTokensTreeElement.ts b/front_end/panels/application/TrustTokensTreeElement.ts
index 556bd94..a3d6e8a 100644
--- a/front_end/panels/application/TrustTokensTreeElement.ts
+++ b/front_end/panels/application/TrustTokensTreeElement.ts
@@ -17,7 +17,7 @@
    * @description Hover text for an info icon in the Private State Token panel.
    * Previously known as 'Trust Tokens'.
    */
-  trustTokens: 'Private State Tokens',
+  trustTokens: 'Private state tokens',
 };
 const str_ = i18n.i18n.registerUIStrings('panels/application/TrustTokensTreeElement.ts', UIStrings);
 export const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
diff --git a/front_end/panels/application/components/BounceTrackingMitigationsView.ts b/front_end/panels/application/components/BounceTrackingMitigationsView.ts
index 51d32a5..007b1bb 100644
--- a/front_end/panels/application/components/BounceTrackingMitigationsView.ts
+++ b/front_end/panels/application/components/BounceTrackingMitigationsView.ts
@@ -18,7 +18,7 @@
   /**
    * @description Title text in bounce tracking mitigations view of the Application panel.
    */
-  bounceTrackingMitigationsTitle: 'Bounce Tracking Mitigations',
+  bounceTrackingMitigationsTitle: 'Bounce tracking mitigations',
   /**
    * @description Label for the button to force bounce tracking mitigations to run.
    */
diff --git a/front_end/panels/application/components/SharedStorageAccessGrid.ts b/front_end/panels/application/components/SharedStorageAccessGrid.ts
index ad11a02..7b8bfbe 100644
--- a/front_end/panels/application/components/SharedStorageAccessGrid.ts
+++ b/front_end/panels/application/components/SharedStorageAccessGrid.ts
@@ -15,7 +15,7 @@
   /**
    *@description Text in Shared Storage Events View of the Application panel
    */
-  sharedStorage: 'Shared Storage',
+  sharedStorage: 'Shared storage',
   /**
    *@description Hover text for an info icon in the Shared Storage Events panel
    */
diff --git a/front_end/panels/application/components/SharedStorageMetadataView.ts b/front_end/panels/application/components/SharedStorageMetadataView.ts
index 9510ec6..d19584c 100644
--- a/front_end/panels/application/components/SharedStorageMetadataView.ts
+++ b/front_end/panels/application/components/SharedStorageMetadataView.ts
@@ -16,7 +16,7 @@
   /**
    *@description Text in SharedStorage Metadata View of the Application panel
    */
-  sharedStorage: 'Shared Storage',
+  sharedStorage: 'Shared storage',
   /**
    *@description The time when the origin most recently created its shared storage database
    */
diff --git a/front_end/panels/application/components/TrustTokensView.ts b/front_end/panels/application/components/TrustTokensView.ts
index 089775c..c4afd4e 100644
--- a/front_end/panels/application/components/TrustTokensView.ts
+++ b/front_end/panels/application/components/TrustTokensView.ts
@@ -28,22 +28,22 @@
   /**
    *@description Hover text for an info icon in the Private State Token panel
    */
-  allStoredTrustTokensAvailableIn: 'All stored Private State Tokens available in this browser instance.',
+  allStoredTrustTokensAvailableIn: 'All stored private state tokens available in this browser instance.',
   /**
    * @description Text shown instead of a table when the table would be empty.
    */
-  noTrustTokensStored: 'No Private State Tokens are currently stored.',
+  noTrustTokensStored: 'No private state tokens are currently stored.',
   /**
    * @description Each row in the Private State Token table has a delete button. This is the text shown
    * when hovering over this button. The placeholder is a normal URL, indicating the site which
    * provided the Private State Tokens that will be deleted when the button is clicked.
    * @example {https://google.com} PH1
    */
-  deleteTrustTokens: 'Delete all stored Private State Tokens issued by {PH1}.',
+  deleteTrustTokens: 'Delete all stored private state tokens issued by {PH1}.',
   /**
    * @description Heading label for a view. Previously known as 'Trust Tokens'.
    */
-  trustTokens: 'Private State Tokens',
+  trustTokens: 'Private state tokens',
 };
 const str_ = i18n.i18n.registerUIStrings('panels/application/components/TrustTokensView.ts', UIStrings);
 export const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
diff --git a/front_end/panels/lighthouse/LighthouseController.ts b/front_end/panels/lighthouse/LighthouseController.ts
index 30260bd..1683b63 100644
--- a/front_end/panels/lighthouse/LighthouseController.ts
+++ b/front_end/panels/lighthouse/LighthouseController.ts
@@ -43,7 +43,7 @@
   /**
    *@description Text in Application Panel Sidebar of the Application panel
    */
-  localStorage: 'Local Storage',
+  localStorage: 'Local storage',
   /**
    *@description Text in Application Panel Sidebar of the Application panel
    */
diff --git a/front_end/panels/network/NetworkItemView.ts b/front_end/panels/network/NetworkItemView.ts
index c980f61..179a53d 100644
--- a/front_end/panels/network/NetworkItemView.ts
+++ b/front_end/panels/network/NetworkItemView.ts
@@ -114,7 +114,7 @@
   /**
    *@description Label of a tab in the network panel. Previously known as 'Trust Tokens'.
    */
-  trustTokens: 'Private State Tokens',
+  trustTokens: 'Private state tokens',
   /**
    *@description Title of the Private State Token tab in the Network panel. Previously known as 'Trust Token tab'.
    */