[utilities/kdebugsettings] src/quickapps/qml: Add i18nc

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 62addcc614ef23d1acb7cd2ca9fe6e3f37e393df by Laurent Montel.
Committed on 23/07/2026 at 06:50.
Pushed by mlaurent into branch 'master'.

Add i18nc

M  +4    -4    src/quickapps/qml/EditCustomRuleDialog.qml

https://invent.kde.org/utilities/kdebugsettings/-/commit/62addcc614ef23d1acb7cd2ca9fe6e3f37e393df

diff --git a/src/quickapps/qml/EditCustomRuleDialog.qml b/src/quickapps/qml/EditCustomRuleDialog.qml
index c5090040..cfcec2e8 100644
--- a/src/quickapps/qml/EditCustomRuleDialog.qml
+++ b/src/quickapps/qml/EditCustomRuleDialog.qml
@@ -8,7 +8,7 @@ import org.kde.kdebugsettings
 
 Kirigami.Dialog {
     id: dialog
-    title: i18n("Edit Custom Rule")
+    title: i18nc("@title:window", "Edit Custom Rule")
     clip: true
     showCloseButton: false
     property alias categoryName: categoryNameField.text
@@ -39,7 +39,7 @@ Kirigami.Dialog {
             Layout.leftMargin: 4
             Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
             verticalAlignment: Text.AlignVCenter
-            text: i18n("Category:")
+            text: i18nc("@label:textbox", "Category:")
         }
         QQC2.TextField {
             id: categoryNameField
@@ -48,7 +48,7 @@ Kirigami.Dialog {
             Layout.leftMargin: 4
             Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
             verticalAlignment: Text.AlignVCenter
-            text: i18n("Type:")
+            text: i18nc("@label:textbox", "Type:")
         }
         CategoryComboBox {
             id: categoryType
@@ -58,7 +58,7 @@ Kirigami.Dialog {
         QQC2.CheckBox {
             id: categoryEnabled
             Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
-            text: i18n("Enabled")
+            text: i18nc("@label:textbox", "Enabled")
         }
     }
     onAccepted: {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.