summaryrefslogtreecommitdiff
path: root/libopie2
Unidiff
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiesecurity/multiauthmainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie2/opiesecurity/multiauthmainwindow.cpp b/libopie2/opiesecurity/multiauthmainwindow.cpp
index 17e8705..eaa84ce 100644
--- a/libopie2/opiesecurity/multiauthmainwindow.cpp
+++ b/libopie2/opiesecurity/multiauthmainwindow.cpp
@@ -36,13 +36,13 @@ MultiauthMainWindow::MultiauthMainWindow(bool allowBypass)
36 layout->setAlignment( Qt::AlignTop ); 36 layout->setAlignment( Qt::AlignTop );
37 37
38 // if explanScreens is false, we don't show any text in the QDialog, 38 // if explanScreens is false, we don't show any text in the QDialog,
39 // and we proceed directly 39 // and we proceed directly
40 if ( explanScreens == true ) 40 if ( explanScreens == true )
41 { 41 {
42 title = new QLabel("<center><h1>" + tr("Welcome to Opie Multi-authentication Framework") + "</h1></center>", this); 42 title = new QLabel("<center><h1>" + tr("Welcome to Opie") + "</h1></center>", this);
43 message = new QLabel("<center><h3>" + tr("Launching authentication plugins...") + "</h3></center>", this); 43 message = new QLabel("<center><h3>" + tr("Launching authentication plugins...") + "</h3></center>", this);
44 } else { 44 } else {
45 title = new QLabel("", this); 45 title = new QLabel("", this);
46 message = new QLabel("", this); 46 message = new QLabel("", this);
47 } 47 }
48 48
@@ -57,13 +57,13 @@ MultiauthMainWindow::MultiauthMainWindow(bool allowBypass)
57 { 57 {
58 quit = new QPushButton("Exit", this); 58 quit = new QPushButton("Exit", this);
59 layout->addWidget(quit, 0, Qt::AlignHCenter); 59 layout->addWidget(quit, 0, Qt::AlignHCenter);
60 if ( allowBypass == true ) 60 if ( allowBypass == true )
61 { 61 {
62 // very important: we can close the widget through the quit button, and bypass authentication, only if allowBypass is set! 62 // very important: we can close the widget through the quit button, and bypass authentication, only if allowBypass is set!
63 message2 = new QLabel("<center><i>" + tr("Note: this 'exit' button only appears during <b>simulations</b>, like the one we are in. If you don't succeed an authentication step at some point, it will keep on asking you to authenticate, but remember you can <b>skip</b> it too (and have access to this button again).") + "</i></center>", this); 63 message2 = new QLabel("<center><i>" + tr("Note: this 'exit' button only appears during <b>simulations</b>, like the one we are in. If you don't succeed a step, remember you can <b>skip</b> it.") + "</i></center>", this);
64 layout->addWidget(message2); 64 layout->addWidget(message2);
65 QObject::connect(quit, SIGNAL(clicked()), this, SLOT(close())); 65 QObject::connect(quit, SIGNAL(clicked()), this, SLOT(close()));
66 } 66 }
67 else 67 else
68 { 68 {
69 quit->hide(); 69 quit->hide();