[vlc-commits] commit: i18n: Mark SD categories for inclusion in vlc.pot ( Christophe Mutricy )

git at videolan.org git at videolan.org
Fri Nov 5 20:10:13 CET 2010


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Fri Nov  5 19:06:49 2010 +0000| [50c38afe8c07db8737d8e10be937708a04c0e5e4] | committer: Christophe Mutricy 

i18n: Mark SD categories for inclusion in vlc.pot

Fix #4305

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=50c38afe8c07db8737d8e10be937708a04c0e5e4
---

 modules/gui/qt4/components/playlist/selector.cpp |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/selector.cpp b/modules/gui/qt4/components/playlist/selector.cpp
index 30e2e99..66321a0 100644
--- a/modules/gui/qt4/components/playlist/selector.cpp
+++ b/modules/gui/qt4/components/playlist/selector.cpp
@@ -173,20 +173,20 @@ PLSelItem * putPLData( PLSelItem* item, playlist_item_t* plItem )
 void PLSelector::createItems()
 {
     /* PL */
-    PLSelItem *pl = putPLData( addItem( PL_ITEM_TYPE, "Playlist", true ),
+    PLSelItem *pl = putPLData( addItem( PL_ITEM_TYPE, N_("Playlist"), true ),
                               THEPL->p_playing );
     pl->treeItem()->setData( 0, SPECIAL_ROLE, QVariant( IS_PL ) );
 
     /* ML */
-    PLSelItem *ml = putPLData( addItem( PL_ITEM_TYPE, "Media Library", true ),
+    PLSelItem *ml = putPLData( addItem( PL_ITEM_TYPE, N_("Media Library"), true ),
                               THEPL->p_media_library );
     ml->treeItem()->setData( 0, SPECIAL_ROLE, QVariant( IS_ML ) );
 
     /* SD nodes */
-    QTreeWidgetItem *mycomp = addItem( CATEGORY_TYPE, "My Computer" )->treeItem();
-    QTreeWidgetItem *devices = addItem( CATEGORY_TYPE, "Devices" )->treeItem();
-    QTreeWidgetItem *lan = addItem( CATEGORY_TYPE, "Local Network" )->treeItem();
-    QTreeWidgetItem *internet = addItem( CATEGORY_TYPE, "Internet" )->treeItem();
+    QTreeWidgetItem *mycomp = addItem( CATEGORY_TYPE, N_("My Computer") )->treeItem();
+    QTreeWidgetItem *devices = addItem( CATEGORY_TYPE, N_("Devices") )->treeItem();
+    QTreeWidgetItem *lan = addItem( CATEGORY_TYPE, N_("Local Network") )->treeItem();
+    QTreeWidgetItem *internet = addItem( CATEGORY_TYPE, N_("Internet") )->treeItem();
 
     /* SD subnodes */
     char **ppsz_longnames;



More information about the vlc-commits mailing list