[Pkg-privacy-commits] [tails-installer] 76/210: Some more string fixes

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:26:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to tag 3.90.0
in repository tails-installer.

commit 3d2bf2953f4ffc5275486d760d0ee36aa5d92fb9
Author: Martin Briza <mbriza at redhat.com>
Date:   Tue Apr 14 12:41:59 2015 +0200

    Some more string fixes
---
 liveusb/components/ImageDetails.qml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/liveusb/components/ImageDetails.qml b/liveusb/components/ImageDetails.qml
index 02b30a8..79eb29a 100644
--- a/liveusb/components/ImageDetails.qml
+++ b/liveusb/components/ImageDetails.qml
@@ -131,7 +131,7 @@ Item {
                         }
                         Text {
                             // I'm sorry, everyone, I can't find a better way to determine if the date is valid
-                            text: liveUSBData.currentImage.releaseDate.toLocaleDateString().length > 0 ? ("Released on " + liveUSBData.currentImage.releaseDate.toLocaleDateString()) : ""
+                            text: liveUSBData.currentImage.releaseDate.toLocaleDateString().length > 0 ? (qsTr("Released on %s").arg(liveUSBData.currentImage.releaseDate.toLocaleDateString())) : ""
                             font.pointSize: 8
                             color: "gray"
                         }
@@ -142,7 +142,7 @@ Item {
                     width: Layout.width
                     wrapMode: Text.WordWrap
                     text: liveUSBData.currentImage.isLocal ?
-                              (qsTr("Selected image: ") + (liveUSBData.currentImage.path ? (((String)(liveUSBData.currentImage.path)).split("/").slice(-1)[0]) : qsTr("None")))
+                              (qsTr("Selected image: %s").arg(liveUSBData.currentImage.path ? (((String)(liveUSBData.currentImage.path)).split("/").slice(-1)[0]) : qsTr("None")))
                               : liveUSBData.currentImage.fullDescription
                     font.pointSize: 9
                 }
@@ -189,7 +189,7 @@ Item {
     }
     FileDialog {
         id: fileDialog
-        nameFilters: [ qsTr("Image files (*.iso)"), "All files (*)"]
+        nameFilters: [ qsTr("Image files (*.iso)"), qsTr("All files (*)")]
         onAccepted: {
             liveUSBData.currentImage.path = fileUrl
         }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list