diff --git a/kcm/Messages.sh b/kcm/Messages.sh --- a/kcm/Messages.sh +++ b/kcm/Messages.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_displayconfiguration.pot +$XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_kscreen.pot diff --git a/kcm/package/contents/ui/main.qml b/kcm/package/contents/ui/main.qml --- a/kcm/package/contents/ui/main.qml +++ b/kcm/package/contents/ui/main.qml @@ -41,8 +41,8 @@ Layout.fillWidth: true type: Kirigami.MessageType.Warning - text: i18n("Are you sure you want to disable all outputs? " + - "This might render the device unusable.") + text: i18n("Are you sure you want to disable all outputs? ") + + i18n("This might render the device unusable.") showCloseButton: true actions: [ @@ -76,8 +76,8 @@ id: scaleMsg Layout.fillWidth: true type: Kirigami.MessageType.Positive - text: i18n("New global scale applied. " + - "Change will come into effect after restart.") + text: i18n("New global scale applied. ") + + i18n("Change will come into effect after restart.") visible: false showCloseButton: true } @@ -96,11 +96,11 @@ onGlobalScaleWritten: scaleMsg.visible = true; onOutputConnect: { if (connected) { - connectMsg.text = i18n("A new output has been added. " + - " Settings have been reloaded."); + connectMsg.text = i18n("A new output has been added. ") + + i18n("Settings have been reloaded."); } else { - connectMsg.text = i18n("An output has been removed. " + - " Settings have been reloaded."); + connectMsg.text = i18n("An output has been removed. ") + + i18n("Settings have been reloaded."); } connectMsg.visible = true; }