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

List:       kde-i18n-doc
Subject:    Buttons in tip dialog not translated
From:       Stefan =?iso-8859-1?q?Asserh=E4ll?= <stefan.asserhall () telia ! com>
Date:       2002-07-07 16:51:08
[Download RAW message or body]

Hello,

Continuing my quest for untranslated strings. Here is 
a patch for the tip dialog buttons "Previous" and "Next", 
which did not have i18n.

Should I commit to CVS?

Is it OK if I commit similar patches directly in the future,
without first sending them to the list (to speed things up)?

/ Stefan Asserhäll

["kdelibs-kdeui.diff" (text/x-diff)]

Index: ktip.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdeui/ktip.cpp,v
retrieving revision 1.23
diff -u -3 -p -r1.23 ktip.cpp
--- ktip.cpp	23 May 2002 06:21:44 -0000	1.23
+++ ktip.cpp	7 Jul 2002 16:37:19 -0000
@@ -203,12 +203,12 @@ KTipDialog::KTipDialog(KTipDatabase *db,
 
     KPushButton *prev = new KPushButton( KStdGuiItem::back( 
             KStdGuiItem::UseRTL ), this );
-    prev->setText( "&Previous" );
+    prev->setText( i18n("&Previous") );
     hbox2->addWidget(prev);
 
     KPushButton *next = new KPushButton( KStdGuiItem::forward( 
             KStdGuiItem::UseRTL ), this );
-    next->setText( "&Next" );
+    next->setText( i18n("&Next") );
     hbox2->addWidget(next);
 
     KPushButton *ok = new KPushButton(KStdGuiItem::close(), this);


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

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