CustomButton stream: i18n + autofmt

This commit is contained in:
ItsLemmy
2025-10-22 10:18:28 -04:00
parent 4da0b353dc
commit 3eef346319
7 changed files with 45 additions and 22 deletions
@@ -104,9 +104,7 @@ ColumnLayout {
id: textCommandInput
Layout.fillWidth: true
label: I18n.tr("bar.widget-settings.custom-button.display-command-output.label")
description: valueTextStream ?
I18n.tr("bar.widget-settings.custom-button.display-command-output.stream-description") :
I18n.tr("bar.widget-settings.custom-button.display-command-output.description")
description: valueTextStream ? I18n.tr("bar.widget-settings.custom-button.display-command-output.stream-description") : I18n.tr("bar.widget-settings.custom-button.display-command-output.description")
placeholderText: I18n.tr("placeholders.command-example")
text: widgetData?.textCommand || widgetMetadata.textCommand
}