Feat/battery threshold (#7)
* feat(battery-threshold): add translations and rule file * feat(battery-threshold): add setup script * feat(battery-threshold): add plugin manifest * feat(battery-threshold): implement battery-threshold service * feat(battery-threshold): implement battery-threshold widget * feat(battery-threshold): implement battery-threshold panel * feat(battery-threshold): add readme * chore(battery-threshold): add dependencies field * chore(battery-threshold): add thumbnail * docs(battery-threshold): add thumbnail to readme * fix(battery-threshold): add thumbnail from generator * chore(battery-threshold): add license and icon fields to plugin.toml * style(battery-threshold): replace tabs with spaces * style(battery-threshold): unflatten translation files * refactor(battery-threshold): use translations for widget tooltip * chore(battery-threshold): replace raw strings with translations * chore(battery-threshold): remove panel ipc event * chore(battery-threshold): check error on file read * chore(battery-threshold): remove `setUpdateInterval` calls * style(battery-threshold): fix formatting * chore(battery-threshold): remove tags capital letters * Update plugin.toml * chore(battery-threshold): remove de fr and tr translations * chore(battery-threshold): update thumbnail * fix(battery-threshold): add shell quoting for runAsync * chore(battery-threshold): embed rule file content in setup script * chore(battery-threshold): update manifest * refactor(battery-threshold): use noctalia.pluginDataDir, log read/write errors * docs(battery-threshold): update README to match template * chore(battery-threshold): add missing dependencies to manifest --------- Co-authored-by: Lemmy <studio@quadbyte.net>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"settings": {
|
||||
"battery-device": "Battery Device",
|
||||
"battery-device-desc": "Battery to configure threshold for",
|
||||
"charge-threshold": "Charge Threshold",
|
||||
"charge-threshold-desc": "The percentage at which the battery should stop charging",
|
||||
"no-battery-device": "No configurable batteries are available on this system"
|
||||
},
|
||||
"notification": {
|
||||
"error-title": "Battery Threshold Error",
|
||||
"error-msg": "Failed to write battery threshold to {file}",
|
||||
"setup-title": "Battery Threshold Setup",
|
||||
"setup-fail": "Failed to configure permissions.",
|
||||
"setup-success": "Permissions configured. Please log out and back in for group changes to take effect."
|
||||
},
|
||||
"actions": {
|
||||
"widget-settings": "Widget Settings"
|
||||
},
|
||||
"panel": {
|
||||
"title": "Battery Threshold",
|
||||
"not-available": "Not available on this system",
|
||||
"adjust-limit": "Drag slider to adjust limit",
|
||||
"read-only": "Read-only: Install udev rule for write access",
|
||||
"button": "Configure Permissions"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user