From 0d66913bb4d543958c58fa4fc7764f3feb4d0118 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Sun, 19 Sep 2021 09:44:39 -0600 Subject: [PATCH] applets/clipboard: Use the phrase "QR code" in the QR code action This action generates a QR code, but refers to it as a barcode in the UI strings. In English at least, this is confusing; barcodes and QR codes are different things, rather than one being a subset of the other. So let's change the base English text to call the generated image a QR code rather than a barcode. Any other language where the translation for "barcode" is appropriate can substitute that in the translated text. --- applets/clipboard/contents/ui/BarcodePage.qml | 6 +++--- applets/clipboard/contents/ui/DelegateToolButtons.qml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/applets/clipboard/contents/ui/BarcodePage.qml b/applets/clipboard/contents/ui/BarcodePage.qml index c23df92af..ded518aa3 100644 --- a/applets/clipboard/contents/ui/BarcodePage.qml +++ b/applets/clipboard/contents/ui/BarcodePage.qml @@ -74,7 +74,7 @@ ColumnLayout { onClicked: menu.openRelative() PlasmaComponents3.ToolTip { - text: i18n("Change the barcode type") + text: i18n("Change the QR code type") } } } @@ -98,7 +98,7 @@ ColumnLayout { anchors.fill: parent horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter - text: i18n("Creating barcode failed") + text: i18n("Creating QR code failed") wrapMode: Text.WordWrap visible: barcodeItem.implicitWidth === 0 && barcodeItem.implicitHeight === 0 } @@ -107,7 +107,7 @@ ColumnLayout { anchors.fill: parent horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter - text: i18n("The barcode is too large to be displayed") + text: i18n("The QR code is too large to be displayed") wrapMode: Text.WordWrap visible: barcodeItem.implicitWidth > barcodeItem.width || barcodeItem.implicitHeight > barcodeItem.height } diff --git a/applets/clipboard/contents/ui/DelegateToolButtons.qml b/applets/clipboard/contents/ui/DelegateToolButtons.qml index 179e3723c..bf977639f 100644 --- a/applets/clipboard/contents/ui/DelegateToolButtons.qml +++ b/applets/clipboard/contents/ui/DelegateToolButtons.qml @@ -30,7 +30,7 @@ RowLayout { onClicked: menuItem.barcode(DisplayRole) PlasmaComponents3.ToolTip { - text: i18n("Show barcode") + text: i18n("Show QR code") } } PlasmaComponents3.ToolButton {