commit | 0b6aff4a7f019526c0dfe1bea4cb7fbd32094190 | [log] [tgz] |
---|---|---|
author | Vidal Diazleal <[email protected]> | Sat Apr 20 01:15:43 2019 |
committer | Commit Bot <[email protected]> | Sat Apr 20 01:15:43 2019 |
tree | a8a215e0f61b189e430017e216439660e9b14383 | |
parent | 045ffa9ababd5ca9d478f2123c81fd7af55e6311 [diff] [blame] |
Devtools: Tab titles are not localizable Tab titles in the devtools are not localizable, this PR makes the title function to actually use l10n tagged templates and fixes the following comment on the code: third_party\blink\renderer\devtools\front_end\Runtime.js // FIXME: should be Common.UIString() but runtime is not l10n aware yet. Change-Id: I4a651e2f1b4ef0e0e6d07b54d52e44c17aeda057 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1554648 Commit-Queue: Vidal Diazleal <[email protected]> Reviewed-by: Joel Einbinder <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#652717} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 47fe01c857b5aff69d66e36e994bb7796748907b
diff --git a/front_end/main/Main.js b/front_end/main/Main.js index 8206ed8..0e186d5 100644 --- a/front_end/main/Main.js +++ b/front_end/main/Main.js
@@ -62,6 +62,7 @@ console.timeStamp('Main._loaded'); await Runtime.appStarted(); Runtime.setPlatform(Host.platform()); + Runtime.setL10nCallback(ls); InspectorFrontendHost.getPreferences(this._gotPreferences.bind(this)); }