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

Unified Diff: remoting/webapp/remoting.js

Issue 9572024: [Chromoting] Get extension name directly from translation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/remoting.js
diff --git a/remoting/webapp/remoting.js b/remoting/webapp/remoting.js
index 75b84b719948c7f9e39c285bb8bdc34cc5463394..c624b8dc1ec52c9f732d692fe4b676399d9063bc 100644
--- a/remoting/webapp/remoting.js
+++ b/remoting/webapp/remoting.js
@@ -89,7 +89,8 @@ remoting.logExtensionInfoAsync_ = function() {
var manifest =
/** @type {{name: string, version: string, default_locale: string}} */
JSON.parse(xhr.responseText);
- console.log(manifest.name + ' version: ' + manifest.version);
+ var name = chrome.i18n.getMessage('PRODUCT_NAME');
+ console.log(name + ' version: ' + manifest.version);
}
xhr.send(null);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698