[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Mar 30 03:39:46 CEST 2004


CVS commit by arwalker: 

Add internationalisation


  M +9 -0      kstviewvectorsdialog_i.cpp   1.6
  M +2 -1      kstviewvectorsdialog_i.h   1.3


--- kdeextragear-2/kst/kst/kstviewvectorsdialog_i.cpp  #1.5:1.6
@@ -115,4 +115,13 @@ void KstViewVectorsDialogI::vectorChange
 }
 
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void KstViewVectorsDialogI::languageChange()
+{
+  setCaption( i18n( "View Vector Values" ) );
+  Cancel->setText( tr("Close") );
+}
 
 void KstViewVectorsDialogI::updateDefaults(int index) {

--- kdeextragear-2/kst/kst/kstviewvectorsdialog_i.h  #1.2:1.3
@@ -43,4 +43,5 @@ class KstViewVectorsDialogI : public Kst
   
   protected slots:
+    virtual void languageChange();  
     virtual void vectorChanged(const QString& str);
   





More information about the Kst mailing list