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.
wilder-5.24
Nate Graham 5 years ago
parent 22ff0818cd
commit 0d66913bb4
  1. 6
      applets/clipboard/contents/ui/BarcodePage.qml
  2. 2
      applets/clipboard/contents/ui/DelegateToolButtons.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
}

@ -30,7 +30,7 @@ RowLayout {
onClicked: menuItem.barcode(DisplayRole)
PlasmaComponents3.ToolTip {
text: i18n("Show barcode")
text: i18n("Show QR code")
}
}
PlasmaComponents3.ToolButton {

Loading…
Cancel
Save