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

List:       kde-commits
Subject:    KDE/kdevplatform/language/codegen
From:       Laurent Montel <montel () kde ! org>
Date:       2009-08-11 7:22:42
Message-ID: 1249975362.804314.447.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1009899 by mlaurent:

Add missing i18n


 M  +3 -3      applychangeswidget.cpp  
 M  +1 -1      createclass.cpp  


--- trunk/KDE/kdevplatform/language/codegen/applychangeswidget.cpp #1009898:1009899
@@ -80,7 +80,7 @@
     
     KDialog::setButtons(KDialog::Ok | KDialog::Cancel | KDialog::User1);
     KPushButton * switchButton(KDialog::button(KDialog::User1));
-    switchButton->setText("Edit Document");
+    switchButton->setText(i18n("Edit Document"));
     switchButton->setEnabled(d->m_kompare.enabled);
     
     connect(switchButton, SIGNAL(released()),
@@ -177,9 +177,9 @@
     KPushButton * switchButton(parent->button(KDialog::User1));
     
     if(m_kompare.widgetActive(m_index))
-        switchButton->setText("Edit Document");
+        switchButton->setText(i18n("Edit Document"));
     else
-        switchButton->setText("View Differences");
+        switchButton->setText(i18n("View Differences"));
 }
 
 void ApplyChangesWidgetPrivate::createEditPart(const IndexedString & file, const QString & info)
--- trunk/KDE/kdevplatform/language/codegen/createclass.cpp #1009898:1009899
@@ -590,7 +590,7 @@
     }
     
     if(selectedLicense < 0 || selectedLicense >= d->availableLicenses.size())
-        d->license->licenseTextEdit->setText("Could not load previous license");
+        d->license->licenseTextEdit->setText(i18n("Could not load previous license"));
     else
         d->license->licenseTextEdit->setText(readLicense(selectedLicense));
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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