Changeset 327779e67afccb53ba47f1d76bb15fd92f99c69d

Show
Ignore:
Timestamp:
05/09/06 09:16:17 (2 years ago)
Author:
Clément Stenac <zorglub@videolan.org>
git-committer:
Clément Stenac <zorglub@videolan.org> 1157440577 +0000
git-parent:

[315069b3b158b8d71668b5295e4fd0ea8957a3f2]

git-author:
Clément Stenac <zorglub@videolan.org> 1157440577 +0000
Message:

Convert items in the preferences tree to locale

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/qt4/components/preferences.cpp

    r4717c1a r327779e  
    105105                if( p_item->i_value == -1 ) break; 
    106106                data = new PrefsItemData(); 
    107                 data->name = QString( config_CategoryNameGet 
    108                                                ( p_item->i_value ) )
     107                data->name = QString( qfu( config_CategoryNameGet 
     108                                               ( p_item->i_value ) ) )
    109109                psz_help = config_CategoryHelpGet( p_item->i_value ); 
    110110                if( psz_help ) 
    111                     data->help = QString( psz_help ); 
     111                    data->help = QString( qfu(psz_help) ); 
    112112                else 
    113113                    data->help.clear(); 
     
    149149                    data->i_type = TYPE_CATSUBCAT; 
    150150                    data->i_subcat_id = p_item->i_value; 
    151                     data->name = QString( config_CategoryNameGet( 
    152                                                 p_item->i_value ) ); 
     151                    data->name = QString( qfu( config_CategoryNameGet( 
     152                                                p_item->i_value )) ); 
    153153                    psz_help = config_CategoryHelpGet( p_item->i_value ); 
    154154                    if( psz_help ) 
    155                         data->help = QString( psz_help ); 
     155                        data->help = QString( qfu(psz_help) ); 
    156156                    else 
    157157                        data->help.clear(); 
     
    161161                } 
    162162                data = new PrefsItemData(); 
    163                 data->name = QString( config_CategoryNameGet( p_item->i_value)); 
     163                data->name = QString( qfu( config_CategoryNameGet(  
     164                                                            p_item->i_value)) ); 
    164165                psz_help = config_CategoryHelpGet( p_item->i_value ); 
    165166                if( psz_help ) 
    166                     data->help = QString( psz_help ); 
     167                    data->help = QString( qfu(psz_help) ); 
    167168                else 
    168169                    data->help.clear();