knewstuff-5.66-tr.patch

File Metadata

Author
victorr
Created
Jan 18 2020, 12:13 AM

knewstuff-5.66-tr.patch

diff -urN knewstuff-5.66.0/src/qtquick/qml/Button.qml knewstuff-5.66.0-patched/src/qtquick/qml/Button.qml
--- knewstuff-5.66.0/src/qtquick/qml/Button.qml 2020-01-04 13:11:01.000000000 +0300
+++ knewstuff-5.66.0-patched/src/qtquick/qml/Button.qml 2020-01-12 22:26:07.653298000 +0300
@@ -56,7 +56,7 @@
* @note For the sake of consistency, you should NOT override the text propety, just set this one
*/
property string downloadNewWhat: i18nc("Used to contruct the button's label (which will become Download New 'this value')", "Stuff")
- text: i18n("Download New %1", downloadNewWhat)
+ text: i18n("%1", downloadNewWhat)
/**
* The default view mode of the dialog spawned by this button. This should be
diff -urN knewstuff-5.66.0/src/qtquick/qml/Dialog.qml knewstuff-5.66.0-patched/src/qtquick/qml/Dialog.qml
--- knewstuff-5.66.0/src/qtquick/qml/Dialog.qml 2020-01-04 13:11:01.000000000 +0300
+++ knewstuff-5.66.0-patched/src/qtquick/qml/Dialog.qml 2020-01-12 22:26:36.573299492 +0300
@@ -52,7 +52,7 @@
* @note For the sake of consistency, you should NOT override the title property, just set this one
*/
property string downloadNewWhat: engine.name
- title: component.downloadNewWhat.length > 0 ? i18nc("The dialog title when we know which type of stuff is being requested", "Download New %1", component.downloadNewWhat) : i18nc("A placeholder title used in the dialog when there is no better title available", "Download New Stuff")
+ title: component.downloadNewWhat.length > 0 ? i18nc("The dialog title when we know which type of stuff is being requested", "%1", component.downloadNewWhat) : i18nc("A placeholder title used in the dialog when there is no better title available", "Download New Stuff")
/**
* The engine which handles the content in this dialog