Update battery charge rate to % #156

This commit is contained in:
NGnius (Graham) 2024-05-07 17:57:48 -04:00
parent d4377872aa
commit dc014ca1c7
8 changed files with 15 additions and 15 deletions

View file

@ -85,7 +85,7 @@ export class Battery extends Component<backend.IdcProps> {
}}
/>
{ get_value(CHARGE_RATE_BATT) != null && <SliderField
label={tr("Maximum (mA)")}
label={tr("Maximum (%)")}
value={get_value(CHARGE_RATE_BATT)}
max={(get_value(LIMITS_INFO) as backend.SettingsLimits).battery.charge_current!.max}
min={(get_value(LIMITS_INFO) as backend.SettingsLimits).battery.charge_current!.min}

View file

@ -73,8 +73,8 @@ msgstr "Control de carga de la batería mientras está encendido"
#: components/battery.tsx:74
# (Battery maximum input current with unit)
msgid "Maximum (mA)"
msgstr "Máximo (mA)"
msgid "Maximum (%)"
msgstr "Máximo (%)"
#: components/battery.tsx:97,115
# (Battery charge mode override toggle)

View file

@ -92,8 +92,8 @@ msgstr "Contrôler le taux de charge quand actif"
# (Battery maximum input current with unit)
#: components/battery.tsx:74
msgid "Maximum (mA)"
msgstr "Maximum (mA)"
msgid "Maximum (%)"
msgstr "Maximum (%)"
# (Battery charge mode override toggle)
#: components/battery.tsx:97,115

View file

@ -76,8 +76,8 @@ msgstr "Controlla la velocità di ricarica quando il Deck è attivo"
# (Battery maximum input current with unit)
#: components/battery.tsx:74
msgid "Maximum (mA)"
msgstr "Massimo (mA)"
msgid "Maximum (%)"
msgstr "Massimo (%)"
# (Battery charge mode override toggle)
#: components/battery.tsx:97,115

View file

@ -81,8 +81,8 @@ msgstr "Контролируйте уровень тока заряда бата
#: components/battery.tsx:74
# (Battery maximum input current with unit)
msgid "Maximum (mA)"
msgstr "Максимум (mA)"
msgid "Maximum (%)"
msgstr "Максимум (%)"
#: components/battery.tsx:97,115
# (Battery charge mode override toggle)

View file

@ -81,8 +81,8 @@ msgstr "Контролюйте рівень струму заряджання б
#: components/battery.tsx:74
# (Battery maximum input current with unit)
msgid "Maximum (mA)"
msgstr "Максимум (mA)"
msgid "Maximum (%)"
msgstr "Максимум (%)"
#: components/battery.tsx:97,115
# (Battery charge mode override toggle)

View file

@ -67,8 +67,8 @@ msgstr "控制电池充电效率"
#: components/battery.tsx:74
# (Battery maximum input current with unit)
msgid "Maximum (mA)"
msgstr "最大 (mA)"
msgid "Maximum (%)"
msgstr "最大 (%)"
#: components/battery.tsx:97,115
# (Battery charge mode override toggle)

View file

@ -68,8 +68,8 @@ msgstr "控制電池充電效率"
#: components/battery.tsx:74
# (Battery maximum input current with unit)
msgid "Maximum (mA)"
msgstr "最大 (mA)"
msgid "Maximum (%)"
msgstr "最大 (%)"
#: components/battery.tsx:97,115
# (Battery charge mode override toggle)