Mercurial > mplayer.hg
diff Gui/skin/skin.c @ 14156:c30e193ac112
printf --> mp_msg conversion, less verbosity
author | diego |
---|---|
date | Wed, 15 Dec 2004 01:22:24 +0000 |
parents | 9a495bdc3a1e |
children | e93d0faac02b |
line wrap: on
line diff
--- a/Gui/skin/skin.c Tue Dec 14 22:16:34 2004 +0000 +++ b/Gui/skin/skin.c Wed Dec 15 01:22:24 2004 +0000 @@ -121,7 +121,7 @@ else if ( !strncmp( in,"sub",3 ) ) currSection=&skinAppMPlayer->sub; else if ( !strncmp( in,"playbar",7 ) ) { currSection=&skinAppMPlayer->bar; currSubItem=&skinAppMPlayer->NumberOfBarItems; currSubItems=skinAppMPlayer->barItems; } else if ( !strncmp( in,"menu",4 ) ) { currSection=&skinAppMPlayer->menuBase; currSubItem=&skinAppMPlayer->NumberOfMenuItems; currSubItems=skinAppMPlayer->MenuItems; } - else ERRORMESSAGE( "Unknown window type found ..." ); + else ERRORMESSAGE( MSGTR_UNKNOWNWINDOWTYPE ); mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"\n[skin] window: %s\n",window_name ); return 0; } @@ -676,7 +676,7 @@ setname( skinMPlayerDir,dname ); if ( ( skinFile = fopen( fn,"rt" ) ) == NULL ) { - mp_msg( MSGT_GPLAYER,MSGL_STATUS,"[skin] file ( %s ) not found.\n",fn ); + mp_msg( MSGT_GPLAYER,MSGL_STATUS,MSGTR_SKIN_SkinFileNotFound,fn ); return -1; } }