summaryrefslogtreecommitdiffstats
path: root/Gui/skin/skin.c
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/skin/skin.c')
-rw-r--r--Gui/skin/skin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Gui/skin/skin.c b/Gui/skin/skin.c
index 3fa2cfe966..3b619ed1a3 100644
--- a/Gui/skin/skin.c
+++ b/Gui/skin/skin.c
@@ -121,7 +121,7 @@ int cmd_window( char * in )
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 @@ int skinRead( char * dname )
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;
}
}