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

Unified Diff: chrome/browser/resources/options/chromeos/internet_detail.js

Issue 581213003: Translate Wimax from Shill -> ONC, fix JS Wimax strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/options/chromeos/internet_detail.js
diff --git a/chrome/browser/resources/options/chromeos/internet_detail.js b/chrome/browser/resources/options/chromeos/internet_detail.js
index e4235695322367803a77f60db43514cf92da1965..c46c0ed694bcc2d12d0bb6cfac633428ebef93b9 100644
--- a/chrome/browser/resources/options/chromeos/internet_detail.js
+++ b/chrome/browser/resources/options/chromeos/internet_detail.js
@@ -459,7 +459,7 @@ cr.define('options.internet', function() {
updateHidden('#details-internet-page .wifi-details',
this.type_ != 'WiFi');
updateHidden('#details-internet-page .wimax-details',
- this.type_ != 'Wimax');
+ this.type_ != 'WiMAX');
updateHidden('#details-internet-page .vpn-details', this.type_ != 'VPN');
updateHidden('#details-internet-page .proxy-details', !this.showProxy_);
@@ -642,7 +642,7 @@ cr.define('options.internet', function() {
var connectable = onc.getActiveValue('Connectable');
if (connectState != 'Connected' &&
(!connectable || onc.getWiFiSecurity() != 'None' ||
- (this.type_ == 'Wimax' || this.type_ == 'VPN'))) {
+ (this.type_ == 'WiMAX' || this.type_ == 'VPN'))) {
$('details-internet-configure').hidden = false;
} else {
$('details-internet-configure').hidden = true;
@@ -665,7 +665,7 @@ cr.define('options.internet', function() {
var showActivate = false;
if (type == 'WiFi') {
$('wifi-connection-state').textContent = connectionStateString;
- } else if (type == 'Wimax') {
+ } else if (type == 'WiMAX') {
$('wimax-connection-state').textContent = connectionStateString;
} else if (type == 'Cellular') {
$('activation-state').textContent =
@@ -708,7 +708,7 @@ cr.define('options.internet', function() {
typeKey = 'ethernetTitle';
else if (type == 'WiFi')
typeKey = 'wifiTitle';
- else if (type == 'Wimax')
+ else if (type == 'WiMAX')
typeKey = 'wimaxTitle';
else if (type == 'Cellular')
typeKey = 'cellularTitle';
@@ -1074,7 +1074,7 @@ cr.define('options.internet', function() {
'setAutoConnect',
'auto-connect-network-wifi',
'Options_NetworkAutoConnect');
- } else if (type == 'Wimax') {
+ } else if (type == 'WiMAX') {
sendCheckedIfEnabled(servicePath,
'setAutoConnect',
'auto-connect-network-wimax',
@@ -1396,9 +1396,9 @@ cr.define('options.internet', function() {
var networkName = onc.getTranslatedValue('Name');
- // Signal strength as percentage (for WiFi and Wimax).
+ // Signal strength as percentage (for WiFi and WiMAX).
var signalStrength;
- if (type == 'WiFi' || type == 'Wimax')
+ if (type == 'WiFi' || type == 'WiMAX')
signalStrength = onc.getActiveValue(type + '.SignalStrength');
if (!signalStrength)
signalStrength = 0;
@@ -1431,14 +1431,14 @@ cr.define('options.internet', function() {
$('auto-connect-network-wifi').checked =
onc.getActiveValue('WiFi.AutoConnect');
$('auto-connect-network-wifi').disabled = !remembered;
- } else if (type == 'Wimax') {
+ } else if (type == 'WiMAX') {
OptionsPage.showTab($('wimax-network-nav-tab'));
$('wimax-restricted-connectivity').textContent = restrictedString;
$('auto-connect-network-wimax').checked =
- onc.getActiveValue('Wimax.AutoConnect');
+ onc.getActiveValue('WiMAX.AutoConnect');
$('auto-connect-network-wimax').disabled = !remembered;
- var identity = onc.getActiveValue('Wimax.EAP.Identity');
+ var identity = onc.getActiveValue('WiMAX.EAP.Identity');
setOrHideParent('wimax-eap-identity', identity);
$('wimax-signal-strength').textContent = strengthString;
} else if (type == 'Cellular') {

Powered by Google App Engine
This is Rietveld 408576698