Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2639401 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add lower case charging string." into oc-dev

parents 7a7c0ace a704efa6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -811,6 +811,8 @@
    <string name="battery_info_status_unknown">Unknown</string>
    <!-- [CHAR_LIMIT=20] Battery use screen.  Battery status shown in chart label when charging from an unknown source.  -->
    <string name="battery_info_status_charging">Charging</string>
    <!-- [CHAR_LIMIT=20] Battery use screen with lower case.  Battery status shown in chart label when charging from an unknown source.  -->
    <string name="battery_info_status_charging_lower">charging</string>
    <!-- Battery Info screen. Value for a status item.  Used for diagnostic info screens, precise translation isn't needed -->
    <string name="battery_info_status_discharging">Not charging</string>
    <!-- Battery Info screen. Value for a status item.  Used for diagnostic info screens, precise translation isn't needed -->
+3 −1
Original line number Diff line number Diff line
@@ -171,9 +171,11 @@ public class BatteryInfo {
                info.mChargeLabelString = resources.getString(resId, info.batteryPercentString,
                        timeString);
            } else {
                final String chargeStatusLabel = resources.getString(
                        R.string.battery_info_status_charging_lower);
                info.remainingLabel = null;
                info.mChargeLabelString = resources.getString(
                        R.string.power_charging, info.batteryPercentString, info.statusLabel);
                        R.string.power_charging, info.batteryPercentString, chargeStatusLabel);
            }
        }
        return info;