Open maniacx opened 1 year ago
Few more string added. Please assist.
@Valeria
@ViBE-HU
@Vistaus
@sabriunal
@viksok
@dalz
@Valeria @ViBE-HU @Vistaus @sabriunal @viksok @dalz @ludrol
Hello everybody. Thank you for the contribution in translation. I think I may have covered support for most laptops and features available, probably finalize with the extension. Some common translation have been updated by me using a script for translation that is already existing in repos like gnome-shell, libadwaita and some other project. Some complex translation are still missing. I would appreciate if you can contribute once again translation.
Some explanation to the complex strings for context
This is for charging LED / light on apple laptop When button enabled: Indicator light glows green when charger on hold. (battery level reaches charging threshold). Indicator light glows amber while charging. When button disabled (system default behavior): Indicator light glows green only when battery is fully charged (battery level 100%) Indicator light glows amber when charger on hold. (battery level reaches charging threshold). Indicator light glows amber while charging. Below are string for title of switch that enables this settings
msgid "Change the behavior of charging indicator light"
Some dell laptop when using library Dell command configure require bios password to change bios configuration and charging threshold / mode. Below are string displayed in settings
# Title of group of settings that as related to bios password required by Dell command configure
msgid "Bios Authentication"
# Title for switch dell command center requires Bios password to change charging threshold
msgid "Requires Bios password validation to change mode/threshold"
# Description of switch informing to enable switch if Dell command configure required bios password to change settings
msgid "Enable if Dell command configure uses Bios (system) password to change mode/threshold"
#Title for Gtk Entry box informing to enter bios password
msgid "Enter Bios Password"
# Small description Note provided on the Gtk entry box informing that this password will store in gnome keyring
msgid "Note: Bios password will be stored in Gnome Keyring"
# Notification informing the password needs to be correct to change charging threshold
msgid "Apply correct Bios Password to set threshold."
These are settings enabled a force discharge feature in Thinkpad laptop. In normal case when laptop battery level is higher than charging threshold it will disconnect, the charger from the battery and power the laptop and the battery will discharge slowly (floating charge) until the battery level reaches the charging threshold level and may take days to discharging to charging threshold level. Enabling "Force discharge" will disconnect the charger from the battery and laptop, forcing the laptop to discharge faster (few minutes or hours) and when the battery level reaches charging threshold the charger connects and powers the laptop whilst still disconnected to the battery. This feature is provided by enable force discharge in settings
#A title for switch to enable force discharge button feature. Enabling this will add a button named "Force discharge" in quick settings to turn Force Discharge ON or OFF
msgid "Enable force discharge battery feature (Experimental)"
#Small description for the above GTK button
msgid "Enable option to force discharge battery when battery level higher than current threshold"
# A button in quick settings to turn ON/OFF force discharge
msgid "Force Discharge"
Thank you all
Tranalation > Translation
@maniacx i'm done with both builds.
Great, Thanks @sabriunal @ViBE-HU
@maniacx Done! 🙂
Hello @sabriunal I use the below command to generate pot file.
xgettext \
--add-comments="TRANSLATORS:" \
--from-code=UTF-8 \
--copyright-holder="maniacx@github.com" \
--package-name="Battery Health Charging" \
--output="po/Battery-Health-Charging.pot" \
lib/*.js \
preferences/*.js \
ui/*.ui
However it get the following 7 warning, and after test it seem the warning shows up for each ui files
xgettext: warning: a fallback ITS rule file '/usr/share/gettext-0.22/its/gtkbuilder.its' is used; it may not be in sync with the upstream
Although nothing serious as all, as al strings in UI get added to pot file, i was just curious , how i can I fix this warning. Do you have any idea about this?
Gnome 46. Translation. I think only one string.
@Valeria @ViBE-HU @Vistaus @yakushabb @viksok @dalz @ludrol
@maniacx does this only shows up when the limit changed or it also shows up when changing the charging mode?
It shows while Changing mode and limit as well. It will show when custom limits are changed or change to adaptive or express mode. Same text for both
Tranalation Updates