Commit 83fb3351 authored by Ilkka Ollakka's avatar Ilkka Ollakka

Show utf-8 as utf-8, eg translations in playlistpanel.

also add _("ID") instead of empty label on first label (seems that it's id)
parent 3431b0a8
......@@ -116,7 +116,7 @@ void PLItem::updateColumnHeaders()
for( uint32_t i_index=1; i_index < COLUMN_END; i_index <<= 1 )
{
if( i_showflags & i_index )
item_col_strings.append( psz_column_title( i_index ) );
item_col_strings.append( qfu( psz_column_title( i_index ) ) );
}
}
......@@ -187,7 +187,7 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
if( parentItem->i_showflags & i_index )
{
char *psz = psz_column_meta( p_item->p_input, i_index );
item_col_strings.append( psz );
item_col_strings.append( qfu( psz ) );
free( psz );
}
}
......
......@@ -43,7 +43,7 @@ static const char * psz_column_title( uint32_t i_column )
{
switch( i_column )
{
case COLUMN_NUMBER: return "";
case COLUMN_NUMBER: return _("ID");
case COLUMN_TITLE: return VLC_META_TITLE;
case COLUMN_DURATION: return _("Duration");
case COLUMN_ARTIST: return VLC_META_ARTIST;
......
......@@ -267,9 +267,8 @@ void StandardPLPanel::popupSelectColumn( QPoint pos )
QMenu selectColMenu;
char *psz_title;
#define ADD_META_ACTION( meta ) { \
QAction* option = selectColMenu.addAction( psz_column_title( meta ) ); \
QAction* option = selectColMenu.addAction( qfu( psz_column_title( meta ) ) ); \
option->setCheckable( true ); \
option->setChecked( model->shownFlags() & meta ); \
ContextUpdateMapper->setMapping( option, meta ); \
......
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