summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/l10n.js
diff options
context:
space:
mode:
authorjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 18:31:11 +0000
committerjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 18:31:11 +0000
commit3331c714202f873cdf98d867601741cf15cb6748 (patch)
treebe295980e4d426c993f5b5fd5f9505398df4fd97 /remoting/webapp/l10n.js
parent3107a38d8cf0b224e7ebb3d9cde97a315c80cc1a (diff)
downloadchromium_src-3331c714202f873cdf98d867601741cf15cb6748.zip
chromium_src-3331c714202f873cdf98d867601741cf15cb6748.tar.gz
chromium_src-3331c714202f873cdf98d867601741cf15cb6748.tar.bz2
Filter the local host id from the list.
BUG=121151 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9956092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130420 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/l10n.js')
-rw-r--r--remoting/webapp/l10n.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/remoting/webapp/l10n.js b/remoting/webapp/l10n.js
index 487d1c0..2ec2b82 100644
--- a/remoting/webapp/l10n.js
+++ b/remoting/webapp/l10n.js
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
+/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -58,5 +58,9 @@ l10n.localize = function() {
}
}
l10n.localizeElement(element, substitutions);
+ // Localize tool-tips
+ // TODO(jamiewalch): Move this logic to the html document.
+ var editButton = document.getElementById('this-host-rename');
+ editButton.title = chrome.i18n.getMessage(/*i18n-content*/'TOOLTIP_RENAME');
}
};