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

Unified Diff: chrome/browser/resources/options2/chromeos/accounts_user_list.js

Issue 10391044: retry 136193 - convert localStrings to loadTimeData for options page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 7 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
Index: chrome/browser/resources/options2/chromeos/accounts_user_list.js
diff --git a/chrome/browser/resources/options2/chromeos/accounts_user_list.js b/chrome/browser/resources/options2/chromeos/accounts_user_list.js
index b687c5769be37f00573fb5ba753b8785f99ee512..431683eab3231cb33dc34c5f08ebd455c544933f 100644
--- a/chrome/browser/resources/options2/chromeos/accounts_user_list.js
+++ b/chrome/browser/resources/options2/chromeos/accounts_user_list.js
@@ -144,7 +144,7 @@ cr.define('options.accounts', function() {
var labelName = this.ownerDocument.createElement('span');
labelName.className = 'user-name-label';
labelName.textContent = this.user.owner ?
- localStrings.getStringF('username_format', this.user.name) :
+ loadTimeData.getStringF('username_format', this.user.name) :
this.user.name;
var emailNameBlock = this.ownerDocument.createElement('div');
@@ -152,7 +152,7 @@ cr.define('options.accounts', function() {
emailNameBlock.appendChild(labelEmail);
emailNameBlock.appendChild(labelName);
emailNameBlock.title = this.user.owner ?
- localStrings.getStringF('username_format', this.user.email) :
+ loadTimeData.getStringF('username_format', this.user.email) :
this.user.email;
this.appendChild(this.icon_);

Powered by Google App Engine
This is Rietveld 408576698