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

List:       kde-commits
Subject:    KDE/kdesdk/kate/plugins/filebrowser
From:       Chusslove Illich <caslav.ilic () gmx ! net>
Date:       2008-05-29 20:23:51
Message-ID: 1212092631.832418.6798.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 814279 by ilic:

i18n fixes.

 M  +10 -1     katefileselector.cpp  


--- trunk/KDE/kdesdk/kate/plugins/filebrowser/katefileselector.cpp #814278:814279
@@ -829,7 +829,16 @@
     else
       ac = fileSelector->dirOperator()->actionCollection()->action( (*it).toLatin1().constData() );
     if ( ac )
-      new ActionLBItem( lb, ac->icon(), ac->text().replace( re, "" ), *it );
+    {
+      QString text = ac->text().replace( re, "" );
+      // CJK languages need a filtering message for action texts in lists,
+      // to remove special accelerators that they use.
+      // The exact same filtering message exists in kdelibs; hence,
+      // avoid extraction here and let it be sourced from kdelibs.
+      #define i18ncX i18nc
+      text = i18ncX( "@item:intable Action name in toolbar editor", "%1", text );
+      new ActionLBItem( lb, ac->icon(), text, *it );
+    }
   }
 
   // sync
[prev in list] [next in list] [prev in thread] [next in thread] 

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