Fix localization issues with disabled
am: 9e9ba0d
* commit '9e9ba0d75142c7af9d8f7eabb7dfd34ff59e2064':
Fix localization issues with disabled
Change-Id: If37b22b8dd44ad42265227b20c449acc97b06bb4
This commit is contained in:
@@ -7385,4 +7385,7 @@
|
||||
<!-- Title of screen controlling which apps have access to send premium SMS messages [CHAR LIMIT=60] -->
|
||||
<string name="premium_sms_access">Premium SMS access</string>
|
||||
|
||||
<!-- [CHAR LIMIT=25] Bluetooth is disabled. -->
|
||||
<string name="bluetooth_disabled">Disabled</string>
|
||||
|
||||
</resources>
|
||||
|
@@ -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