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

Unified Diff: chrome/browser/resources/chromeos/login/controller-pairing-screen.js

Issue 1519883003: 1) Add basic configuration (network connection, language, keyboard layout, timezone) setup page. 2)… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the i18n-content HTML format in the html files Created 5 years 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/chromeos/login/controller-pairing-screen.js
diff --git a/chrome/browser/resources/chromeos/login/controller-pairing-screen.js b/chrome/browser/resources/chromeos/login/controller-pairing-screen.js
index 81560e2560895572bc2748589b9edeabdd69578d..f2da389ce989fc012fdaebff0aa8b921e22deae1 100644
--- a/chrome/browser/resources/chromeos/login/controller-pairing-screen.js
+++ b/chrome/browser/resources/chromeos/login/controller-pairing-screen.js
@@ -115,6 +115,10 @@ Polymer((function() {
this.commitContextChanges();
},
+ i18n: function(args) {
+ return loadTimeData.getStringF.apply(loadTimeData, args);
+ },
+
deviceListChanged_: function() {
this.selectedDevice = this.context.get(CONTEXT_KEY_SELECTED_DEVICE, null);
},
@@ -130,11 +134,13 @@ Polymer((function() {
},
getHostEnrollmentStepTitle_: function(domain) {
- return this.i18n(['enrollmentInProgress', domain]);
+ return this.i18n(['loginControllerPairingScreenEnrollmentInProgress',
+ domain]);
},
getSuccessMessage_: function(selectedDevice) {
- return this.i18n(['successText', selectedDevice]);
+ return this.i18n(['loginControllerPairingScreenSuccessText',
+ selectedDevice]);
}
};
})());

Powered by Google App Engine
This is Rietveld 408576698