Commit 50c38afe authored by Christophe Mutricy's avatar Christophe Mutricy

i18n: Mark SD categories for inclusion in vlc.pot

Fix #4305
parent 86c91b1f
...@@ -173,20 +173,20 @@ PLSelItem * putPLData( PLSelItem* item, playlist_item_t* plItem ) ...@@ -173,20 +173,20 @@ PLSelItem * putPLData( PLSelItem* item, playlist_item_t* plItem )
void PLSelector::createItems() void PLSelector::createItems()
{ {
/* PL */ /* PL */
PLSelItem *pl = putPLData( addItem( PL_ITEM_TYPE, "Playlist", true ), PLSelItem *pl = putPLData( addItem( PL_ITEM_TYPE, N_("Playlist"), true ),
THEPL->p_playing ); THEPL->p_playing );
pl->treeItem()->setData( 0, SPECIAL_ROLE, QVariant( IS_PL ) ); pl->treeItem()->setData( 0, SPECIAL_ROLE, QVariant( IS_PL ) );
/* ML */ /* 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 ); THEPL->p_media_library );
ml->treeItem()->setData( 0, SPECIAL_ROLE, QVariant( IS_ML ) ); ml->treeItem()->setData( 0, SPECIAL_ROLE, QVariant( IS_ML ) );
/* SD nodes */ /* SD nodes */
QTreeWidgetItem *mycomp = addItem( CATEGORY_TYPE, "My Computer" )->treeItem(); QTreeWidgetItem *mycomp = addItem( CATEGORY_TYPE, N_("My Computer") )->treeItem();
QTreeWidgetItem *devices = addItem( CATEGORY_TYPE, "Devices" )->treeItem(); QTreeWidgetItem *devices = addItem( CATEGORY_TYPE, N_("Devices") )->treeItem();
QTreeWidgetItem *lan = addItem( CATEGORY_TYPE, "Local Network" )->treeItem(); QTreeWidgetItem *lan = addItem( CATEGORY_TYPE, N_("Local Network") )->treeItem();
QTreeWidgetItem *internet = addItem( CATEGORY_TYPE, "Internet" )->treeItem(); QTreeWidgetItem *internet = addItem( CATEGORY_TYPE, N_("Internet") )->treeItem();
/* SD subnodes */ /* SD subnodes */
char **ppsz_longnames; char **ppsz_longnames;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment