Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1274)

Unified Diff: webkit/glue/devtools/js/inspector_controller_impl.js

Issue 173570: DevTools l10n: inhibit until agreeded that it is needed. (Closed)
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/devtools/js/devtools.js ('k') | webkit/webkit.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/inspector_controller_impl.js
diff --git a/webkit/glue/devtools/js/inspector_controller_impl.js b/webkit/glue/devtools/js/inspector_controller_impl.js
index 12aeb3b5ee9ae76c753f4c19132f27f40a56163e..1a18a45956cd596a7803b8db7ab5a19e0177d7ca 100644
--- a/webkit/glue/devtools/js/inspector_controller_impl.js
+++ b/webkit/glue/devtools/js/inspector_controller_impl.js
@@ -109,11 +109,10 @@ devtools.InspectorControllerImpl.prototype.localizedStringsURL =
function(opt_prefix) {
// l10n is turned off in test mode because delayed loading of strings
// causes test failures.
- if (!window.___interactiveUiTestsMode && !DevToolsHost.isStub) {
+ if (false) {
var locale = DevToolsHost.getApplicationLocale();
locale = locale.replace('_', '-');
- var prefix = opt_prefix || 'inspectorStrings';
- return 'l10n/' + prefix + '_' + locale + '.js';
+ return 'l10n/localizedStrings_' + locale + '.js';
} else {
return undefined;
}
« no previous file with comments | « webkit/glue/devtools/js/devtools.js ('k') | webkit/webkit.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698