From 739790698c84b2da0b630ccd0c6c260afba74bb6 Mon Sep 17 00:00:00 2001 From: ubbo Date: Sun, 23 Jan 2011 23:08:18 +0000 Subject: format text, filenames in save-as dialog, set version to 0.3 git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@444 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- quitdialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'quitdialog.cpp') diff --git a/quitdialog.cpp b/quitdialog.cpp index baf352a..57574e8 100755 --- a/quitdialog.cpp +++ b/quitdialog.cpp @@ -73,7 +73,7 @@ QuitDialog::QuitDialog(QWidget *parent, QHash unsavedDocs, QString QPixmap *pixmap = new QPixmap(iconPath + "error.png"); QLabel *warnicon = new QLabel(); warnicon->setPixmap(*pixmap); - QLabel *warnlabel = new QLabel(tr("%1 files contain unsaved information.").arg(row)+"\n"+tr("Save the changes before closing?")); + QLabel *warnlabel = new QLabel(tr("

%1 files contain unsaved information.
Save the changes before closing?

").arg(row)); QHBoxLayout *warnBoxLayout = new QHBoxLayout(); warnBoxLayout->addWidget(warnicon); warnBoxLayout->addWidget(warnlabel); @@ -84,8 +84,8 @@ QuitDialog::QuitDialog(QWidget *parent, QHash unsavedDocs, QString /* * Two labels on top and under the filelist */ - QLabel *checkLabel = new QLabel(tr("Check the files you want to save")); - QLabel *notelabel = new QLabel(tr("NOTE: If you don't save these files, all changes are lost.")+"\n"); + QLabel *checkLabel = new QLabel(tr("Check the files you want to save:")); + QLabel *notelabel = new QLabel(tr("Note: If you don't save these files, all changes are lost.
")); /* * Buttonbox -- cgit v1.2.3