[Pkg-privacy-commits] [tails-installer] 23/27: Change the wording of a message in the RestoreDialog
Intrigeri
intrigeri at moszumanska.debian.org
Wed May 24 15:27:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to tag 3.91.0
in repository tails-installer.
commit cd08a9a555a5f27048e2c52af733bb557f2521d3
Author: Martin Briza <mbriza at redhat.com>
Date: Tue Mar 15 17:30:52 2016 +0100
Change the wording of a message in the RestoreDialog
---
liveusb/components/RestoreDialog.qml | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/liveusb/components/RestoreDialog.qml b/liveusb/components/RestoreDialog.qml
index 239ba53..771b608 100644
--- a/liveusb/components/RestoreDialog.qml
+++ b/liveusb/components/RestoreDialog.qml
@@ -32,7 +32,7 @@ Dialog {
id: textItem
spacing: $(36)
x: root.state == 0 ? 0 : root.state == 1 ? - (parent.width + $(36)) : - (2 * parent.width + $(72))
- height: progress.height > warningText.height ? progress.height : warningText.height
+ height: warningText.height
Behavior on x {
NumberAnimation {
duration: 300
@@ -42,13 +42,23 @@ Dialog {
Text {
id: warningText
width: wrapper.width
- text: qsTranslate("", "<p align=\"justify\">To reclaim all space available on the drive, it has to be restored to factory settings. The live system and all saved data will be deleted.</p><p>Do you want to continue?</p>")
+ text: qsTranslate("", "<p align=\"justify\">
+ To reclaim all space available on the drive, it has to be restored to its factory settings.
+ The live system and all saved data will be deleted.
+ </p>
+ <p align=\"justify\">
+ You don't need to restore the drive if you want to write another live system to it.
+ </p>
+ <p align=\"justify\">
+ Do you want to continue?
+ </p>")
textFormat: Text.RichText
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
}
ColumnLayout {
id: progress
width: wrapper.width
+ anchors.verticalCenter: parent.verticalCenter
spacing: $(12)
Item {
width: 1; height: 1
@@ -64,11 +74,12 @@ Dialog {
Layout.alignment: Qt.AlignHCenter
Layout.fillWidth: true
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
- text: qsTranslate("", "<p justify=\"align\">Please wait while Fedora Media Writer restores your portable drive.</p>")
+ text: qsTranslate("", "<p align=\"justify\">Please wait while Fedora Media Writer restores your portable drive.</p>")
}
}
ColumnLayout {
width: wrapper.width
+ anchors.verticalCenter: parent.verticalCenter
CheckMark {
Layout.alignment: Qt.AlignHCenter
}
--
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