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

Unified Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_pair_device_dialog.js

Issue 1920253002: Refactors parse_html_subset() into i18n_behavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/settings/bluetooth_page/bluetooth_pair_device_dialog.js
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_pair_device_dialog.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_pair_device_dialog.js
index e31d5a42835309871069941f5906038e87ac1f74..7bf13b17586be14761586081482b4da2623869ff 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_pair_device_dialog.js
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_pair_device_dialog.js
@@ -72,7 +72,7 @@ Polymer({
message = 'bluetoothStartConnecting';
else
message = this.getEventDesc_(pairingEvent.pairing);
- return this.i18n(message, device.name);
+ return this.i18n(message, [device.name]);
},
/**

Powered by Google App Engine
This is Rietveld 408576698