Changeset 83fb33511475ce86a30d565e8f925830784d54b3
- Timestamp:
- 05/12/08 13:29:42
(2 months ago)
- Author:
- Ilkka Ollakka <ileoo@videolan.org>
- git-committer:
- Ilkka Ollakka <ileoo@videolan.org> 1210591782 +0300
- git-parent:
[3431b0a84f27a5653429de3b1b74c2fd44716bfe]
- git-author:
- Ilkka Ollakka <ileoo@videolan.org> 1210591782 +0300
- Message:
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)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r7bc28ee |
r83fb335 |
|
| 117 | 117 | { |
|---|
| 118 | 118 | if( i_showflags & i_index ) |
|---|
| 119 | | item_col_strings.append( psz_column_title( i_index ) ); |
|---|
| | 119 | item_col_strings.append( qfu( psz_column_title( i_index ) ) ); |
|---|
| 120 | 120 | } |
|---|
| 121 | 121 | } |
|---|
| … | … | |
| 188 | 188 | { |
|---|
| 189 | 189 | char *psz = psz_column_meta( p_item->p_input, i_index ); |
|---|
| 190 | | item_col_strings.append( psz ); |
|---|
| | 190 | item_col_strings.append( qfu( psz ) ); |
|---|
| 191 | 191 | free( psz ); |
|---|
| 192 | 192 | } |
|---|
| ra82a9bc |
r83fb335 |
|
| 44 | 44 | switch( i_column ) |
|---|
| 45 | 45 | { |
|---|
| 46 | | case COLUMN_NUMBER: return ""; |
|---|
| | 46 | case COLUMN_NUMBER: return _("ID"); |
|---|
| 47 | 47 | case COLUMN_TITLE: return VLC_META_TITLE; |
|---|
| 48 | 48 | case COLUMN_DURATION: return _("Duration"); |
|---|
| r7bc28ee |
r83fb335 |
|
| 268 | 268 | QMenu selectColMenu; |
|---|
| 269 | 269 | |
|---|
| 270 | | char *psz_title; |
|---|
| 271 | 270 | #define ADD_META_ACTION( meta ) { \ |
|---|
| 272 | | QAction* option = selectColMenu.addAction( psz_column_title( meta ) ); \ |
|---|
| | 271 | QAction* option = selectColMenu.addAction( qfu( psz_column_title( meta ) ) ); \ |
|---|
| 273 | 272 | option->setCheckable( true ); \ |
|---|
| 274 | 273 | option->setChecked( model->shownFlags() & meta ); \ |
|---|