mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-16 11:16:12 -04:00
fix(overview): Stop denying a charge the reading still allows
The visible count came from the pessimistic end of the interval alone, so an interval straddling a full charge said "Less than one more full charge" while the colour stayed neutral and TalkBack said "may not be enough". An uncertain interval now rounds to a single charge instead, and an open-ended spec that has not reached one charge names no number at all. Fixes review finding F2
This commit is contained in:
@@ -287,6 +287,8 @@
|
||||
</plurals>
|
||||
<string name="battery_case_charges_less_than_one">Less than one more full charge for both earbuds</string>
|
||||
<string name="battery_case_charges_empty">Case is empty, no charges left for your earbuds</string>
|
||||
<!-- Shown when the case reading is too coarse to name any number of charges. Must not mention a count. -->
|
||||
<string name="battery_case_charges_uncertain">Not sure how many full charges are left for both earbuds</string>
|
||||
<string name="battery_case_charges_state_enough_cd">Enough for a full charge</string>
|
||||
<string name="battery_case_charges_state_not_enough_cd">Not enough for a full charge</string>
|
||||
<string name="battery_case_charges_state_uncertain_cd">May not be enough for a full charge</string>
|
||||
|
||||
Reference in New Issue
Block a user