[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/plugins/otr
From:       Nickolai Shaforostoff <shafff () ukr ! net>
Date:       2009-02-06 2:56:58
Message-ID: 1233889018.620300.13500.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 921977 by shaforo:

add contexts



 M  +9 -9      authenticationwizard.cpp  


--- trunk/KDE/kdenetwork/kopete/plugins/otr/authenticationwizard.cpp #921976:921977
@@ -85,7 +85,7 @@
 QWizardPage *AuthenticationWizard::createIntroPage(){
 
 	QWizardPage *page = new QWizardPage();
-	page->setTitle(i18nc("@info", "Select authentication method"));
+	page->setTitle(i18nc("@title", "Select authentication method"));
 
 	rbQA = new QRadioButton(i18n("Question and Answer"));
 	rbSS = new QRadioButton(i18n("Shared Secret"));
@@ -118,7 +118,7 @@
 	QGridLayout *layout = new QGridLayout();
 
 	if(initiate){
-		page->setTitle(i18nc("@info", "Question and Answer"));
+		page->setTitle(i18nc("@title", "Question and Answer"));
 
 		lQuestion = new QLabel(i18nc("@info", "Enter a question that only %1 is able to \
answer:", session->members().first()->contactId()));  layout->addWidget(lQuestion);
@@ -149,11 +149,11 @@
 	QGridLayout *layout = new QGridLayout();
 
 	if(initiate){
-		page->setTitle(i18nc("@info", "Shared Secret"));
+		page->setTitle(i18nc("@title", "Shared Secret"));
 
 		layout->addWidget(new QLabel(i18nc("@info", "Enter a secret passphrase known only \
to you and %1:", session->members().first()->contactId())));  } else {
-		page->setTitle(i18nc("@info", "Authentication with %1", \
session->members().first()->contactId())); +		page->setTitle(i18nc("@title", \
"Authentication with %1", session->members().first()->contactId()));  \
layout->addWidget(new QLabel(i18nc("@info", "Enter the secret passphrase known only \
to you and %1:", session->members().first()->contactId())));  }
 	leSecret = new QLineEdit();
@@ -165,7 +165,7 @@
 
 QWizardPage *AuthenticationWizard::createMVPage(){
 	QWizardPage *page = new QWizardPage();
-	page->setTitle(i18nc("@info", "Manual Verification"));
+	page->setTitle(i18nc("@title", "Manual Verification"));
 
 	QGridLayout *layout = new QGridLayout();
 
@@ -175,8 +175,8 @@
 	layout->addWidget(new \
QLabel(OtrlChatInterface::self()->findActiveFingerprint(session)));  
 	cbManualAuth = new QComboBox();
-	cbManualAuth->addItem(i18n("I have not"));
-	cbManualAuth->addItem(i18n("I have"));
+	cbManualAuth->addItem(i18nc("@item:inlistbox ...verified that", "I have not"));
+	cbManualAuth->addItem(i18nc("@item:inlistbox ...verified that", "I have"));
 	cbManualAuth->setSizeAdjustPolicy(QComboBox::AdjustToContents);
 
 	if( OtrlChatInterface::self()->isVerified(session)){
@@ -185,7 +185,7 @@
 		cbManualAuth->setCurrentIndex(0);
 	}
 
-	QLabel *lMessage2 = new QLabel(i18nc("@info", "verified that this is in fact the \
correct fingerprint for %1", session->members().first()->contactId())); +	QLabel \
*lMessage2 = new QLabel(i18nc("@info:label I have...", "verified that this is in fact \
the correct fingerprint for %1", session->members().first()->contactId()));  \
lMessage2->setWordWrap(true);  
 	QHBoxLayout *verifyLayout = new QHBoxLayout();
@@ -324,7 +324,7 @@
 
 WaitPage::WaitPage(const QString &text){
 	canContinue = false;
-	setTitle(i18n("Authenticating contact..."));
+	setTitle(i18nc("@title","Authenticating contact..."));
 	QVBoxLayout *layout = new QVBoxLayout();
 	layout->addWidget(new QLabel(text));
 	layout->addStretch();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic