[Loc] Migrate ui to Localization V2

- Migrate ui to use Localization V2 APIs.
- Migrate ui/components to use Localization V2 APIs.
- Removed ui grdps
- Removed ui/components grdps

Tested with en-XL.json
https://imgur.com/KOs5bka
https://imgur.com/OdiQElI

Bug: 1136655
Change-Id: I9b2456d8eb4e6dff3624ae688896bee014ea3579
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2698380
Commit-Queue: Vidal Diazleal <[email protected]>
Reviewed-by: Simon Zünd <[email protected]>
diff --git a/front_end/ui/ActionRegistration.ts b/front_end/ui/ActionRegistration.ts
index 554477a..23f9867 100644
--- a/front_end/ui/ActionRegistration.ts
+++ b/front_end/ui/ActionRegistration.ts
@@ -4,7 +4,6 @@
 
 import * as Common from '../common/common.js';
 import * as Platform from '../platform/platform.js';
-import {ls} from '../platform/platform.js';
 import * as Root from '../root/root.js';
 
 import {Context} from './Context.js';
@@ -177,28 +176,29 @@
   Toggled: Symbol('Toggled'),
 };
 
+// TODO(crbug.com/1181019)
 export const ActionCategory = {
-  ELEMENTS: ls`Elements`,
-  SCREENSHOT: ls`Screenshot`,
-  NETWORK: ls`Network`,
-  MEMORY: ls`Memory`,
-  JAVASCRIPT_PROFILER: ls`JavaScript Profiler`,
-  CONSOLE: ls`Console`,
-  PERFORMANCE: ls`Performance`,
-  MOBILE: ls`Mobile`,
-  SENSORS: ls`Sensors`,
-  HELP: ls`Help`,
-  INPUTS: ls`Inputs`,
-  LAYERS: ls`Layers`,
-  NAVIGATION: ls`Navigation`,
-  DRAWER: ls`Drawer`,
-  GLOBAL: ls`Global`,
-  RESOURCES: ls`Resources`,
-  BACKGROUND_SERVICES: ls`Background Services`,
-  SETTINGS: ls`Settings`,
-  DEBUGGER: ls`Debugger`,
-  RECORDER: ls`Recorder`,
-  SOURCES: ls`Sources`,
+  ELEMENTS: 'Elements',
+  SCREENSHOT: 'Screenshot',
+  NETWORK: 'Network',
+  MEMORY: 'Memory',
+  JAVASCRIPT_PROFILER: 'JavaScript Profiler',
+  CONSOLE: 'Console',
+  PERFORMANCE: 'Performance',
+  MOBILE: 'Mobile',
+  SENSORS: 'Sensors',
+  HELP: 'Help',
+  INPUTS: 'Inputs',
+  LAYERS: 'Layers',
+  NAVIGATION: 'Navigation',
+  DRAWER: 'Drawer',
+  GLOBAL: 'Global',
+  RESOURCES: 'Resources',
+  BACKGROUND_SERVICES: 'Background Services',
+  SETTINGS: 'Settings',
+  DEBUGGER: 'Debugger',
+  RECORDER: 'Recorder',
+  SOURCES: 'Sources',
 };
 
 type ActionCategory = typeof ActionCategory[keyof typeof ActionCategory];