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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/actions
From:       Frederik Gladhorn <frederik.gladhorn () gmx ! de>
Date:       2008-08-16 23:29:21
Message-ID: 1218929361.097019.2770.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 848107 by gladhorn:

add missing i18n for actions that are created by buildAutomaticAction

 M  +2 -2      kstandardaction.cpp  


--- trunk/KDE/kdelibs/kdeui/actions/kstandardaction.cpp #848106:848107
@@ -467,13 +467,13 @@
 
   AutomaticAction *action = new AutomaticAction(
       KIcon( p->psIconName ),
-      p->psLabel,
+      i18n(p->psLabel),
       KStandardShortcut::shortcut( p->idAccel ),
       slot,
       parent);
 
   action->setObjectName(p->psName);
-  action->setWhatsThis( p->psWhatsThis );
+  action->setWhatsThis( i18n(p->psWhatsThis) );
 
   KActionCollection *collection = qobject_cast<KActionCollection *>(parent);
   if (collection)
[prev in list] [next in list] [prev in thread] [next in thread] 

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