quicksettings: replace hardcoded text with i18n, edit label & tooltip,

force hover when recording
This commit is contained in:
lysec
2025-10-09 17:56:49 +02:00
parent bfb57f13c6
commit 075c8f08f6
19 changed files with 754 additions and 53 deletions
@@ -12,12 +12,12 @@ NQuickSetting {
readonly property bool hasPP: PowerProfileService.available
enabled: hasPP
text: PowerProfileService.getName()
text: hasPP ? PowerProfileService.getName() : I18n.tr("quickSettings.powerProfile.label.unavailable")
fontSize: Style.fontSizeS * scaling
fontWeight: Style.fontWeightMedium
icon: PowerProfileService.getIcon()
active: hasPP
tooltipText: hasPP ? "Current: " + PowerProfileService.getName() : "Power profiles not available"
tooltipText: I18n.tr("quickSettings.powerProfile.tooltip.action")
style: Settings.data.controlCenter.quickSettingsStyle || "modern"
onClicked: {