summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/client_screen.js
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/webapp/client_screen.js')
-rw-r--r--remoting/webapp/client_screen.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/webapp/client_screen.js b/remoting/webapp/client_screen.js
index de0a063..ea677cc 100644
--- a/remoting/webapp/client_screen.js
+++ b/remoting/webapp/client_screen.js
@@ -457,6 +457,9 @@ remoting.connectMe2Me = function(hostId, retryIfOffline) {
// Skip PIN prompt if it is not supported.
remoting.connectMe2MeWithPin();
} else {
+ var host = remoting.hostList.getHostForId(remoting.hostId);
+ var message = document.getElementById('pin-message');
+ l10n.localizeElement(message, host.hostName);
remoting.setMode(remoting.AppMode.CLIENT_PIN_PROMPT);
}
};