Fix localization issues with disabled am: 9e9ba0d
am: 22b5064
* commit '22b5064424547daf4cdda5d106aa559539e89c23':
Fix localization issues with disabled
Change-Id: I958dffd6f1c8370d5408b811a804411095a9eb74
This commit is contained in:
@@ -518,7 +518,7 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment implem
|
||||
}
|
||||
|
||||
private CharSequence getSummary() {
|
||||
return mContext.getString(!mEnabled ? R.string.disabled
|
||||
return mContext.getString(!mEnabled ? R.string.bluetooth_disabled
|
||||
: mConnected ? R.string.bluetooth_connected
|
||||
: R.string.bluetooth_disconnected);
|
||||
}
|
||||
|
||||
@@ -984,7 +984,7 @@ public class WifiSettings extends RestrictedSettingsFragment
|
||||
|
||||
private CharSequence getSummary() {
|
||||
if (!mWifiTracker.enabled) {
|
||||
return mContext.getString(R.string.disabled);
|
||||
return mContext.getString(R.string.wifi_disabled_generic);
|
||||
}
|
||||
if (!mWifiTracker.connected) {
|
||||
return mContext.getString(R.string.disconnected);
|
||||
|
||||
Reference in New Issue
Block a user