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

Unified Diff: chrome/browser/resources/shared/js/i18n_template_no_process.js

Issue 10391044: retry 136193 - convert localStrings to loadTimeData for options page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: plugins, ui_account_tweaks fixes 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/shared/js/i18n_template_no_process.js
diff --git a/chrome/browser/resources/shared/js/i18n_template_no_process.js b/chrome/browser/resources/shared/js/i18n_template_no_process.js
index cce85bed6190b9ecd5fa369a768bf98c004bf9e7..fc4ca7d63387b44c6ff120ebfb7eefcdb96559c7 100644
--- a/chrome/browser/resources/shared/js/i18n_template_no_process.js
+++ b/chrome/browser/resources/shared/js/i18n_template_no_process.js
@@ -53,7 +53,7 @@ var i18nTemplate = (function() {
* @param {LoadTimeData} dictionary The dictionary of strings to draw from.
*/
'i18n-options': function(select, key, dictionary) {
- var options = dictionary.getString(key);
+ var options = dictionary.getValue(key);
options.forEach(function(optionData) {
var option = typeof optionData == 'string' ?
new Option(optionData) :

Powered by Google App Engine
This is Rietveld 408576698