Commit dc12c9b3 authored by Christophe Mutricy's avatar Christophe Mutricy

i18n: Fix in the popup menu

Pointed-By: Eric Lassauge
(cherry picked from commit 55bd6c18)
Signed-off-by: default avatarChristophe Mutricy <xtophe@videolan.org>
parent 44b504fe
......@@ -806,21 +806,21 @@ void PLModel::popup( QModelIndex & index, QPoint &point, QModelIndexList list )
PL_UNLOCK;
current_selection = list;
QMenu *menu = new QMenu;
menu->addAction( qfu(I_POP_PLAY), this, SLOT( popupPlay() ) );
menu->addAction( qfu(I_POP_DEL), this, SLOT( popupDel() ) );
menu->addAction( qtr(I_POP_PLAY), this, SLOT( popupPlay() ) );
menu->addAction( qtr(I_POP_DEL), this, SLOT( popupDel() ) );
menu->addSeparator();
menu->addAction( qfu(I_POP_STREAM), this, SLOT( popupStream() ) );
menu->addAction( qfu(I_POP_SAVE), this, SLOT( popupSave() ) );
menu->addAction( qtr(I_POP_STREAM), this, SLOT( popupStream() ) );
menu->addAction( qtr(I_POP_SAVE), this, SLOT( popupSave() ) );
menu->addSeparator();
menu->addAction( qfu(I_POP_INFO), this, SLOT( popupInfo() ) );
menu->addAction( qtr(I_POP_INFO), this, SLOT( popupInfo() ) );
if( p_item->i_children > -1 )
{
menu->addSeparator();
menu->addAction( qfu(I_POP_SORT), this, SLOT( popupSort() ) );
menu->addAction( qfu(I_POP_ADD), this, SLOT( popupAdd() ) );
menu->addAction( qtr(I_POP_SORT), this, SLOT( popupSort() ) );
menu->addAction( qtr(I_POP_ADD), this, SLOT( popupAdd() ) );
}
menu->addSeparator();
menu->addAction( qfu( I_POP_EXPLORE ), this, SLOT( popupExplore() ) );
menu->addAction( qtr( I_POP_EXPLORE ), this, SLOT( popupExplore() ) );
menu->popup( point );
}
else
......
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