[Mplayer-cvslog] CVS: main/Gui/mplayer menu.h,1.2,1.3 mplayer.c,1.11,1.12 play.c,1.28,1.29 psignal.c,1.11,1.12 widgets.c,1.7,1.8
Zoltan Ponekker
pontscho at mplayer.dev.hu
Wed Sep 12 17:08:55 CEST 2001
- Previous message: [Mplayer-cvslog] CVS: main/Gui/mplayer/gtk about.h,1.2,1.3 fs.h,1.3,1.4 mb.h,1.1,1.2 pl.h,1.1,1.2 sb.h,1.3,1.4
- Next message: [Mplayer-cvslog] CVS: main help_mp-de.h,1.5,1.6 help_mp-en.h,1.3,1.4 help_mp-hu.h,1.6,1.7 help_mp-pl.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mplayer:/var/tmp.root/cvs-serv19523/Gui/mplayer
Modified Files:
menu.h mplayer.c play.c psignal.c widgets.c
Log Message:
add to multi lang support
Index: menu.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/menu.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- menu.h 1 Sep 2001 17:53:07 -0000 1.2
+++ menu.h 12 Sep 2001 15:08:52 -0000 1.3
@@ -121,9 +121,9 @@
if ( ( mplMenuDrawBuffer = calloc( 1,appMPlayer.menuBase.Bitmap.ImageSize ) ) == NULL )
{
#ifdef DEBUG
- dbprintf( 1,langNEMFMR );
+ dbprintf( 1,MSGTR_NEMFMR );
#endif
- gtkMessageBox( langNEMFMR );
+ gtkMessageBox( MSGTR_NEMFMR );
return;
}
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mplayer.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- mplayer.c 7 Sep 2001 21:04:14 -0000 1.11
+++ mplayer.c 12 Sep 2001 15:08:52 -0000 1.12
@@ -13,10 +13,10 @@
#include "../wm/widget.h"
#include "../bitmap/bitmap.h"
#include "../timer.h"
-#include "../language.h"
#include "../error.h"
#include "../../config.h"
+#include "../../help_mp.h"
#include "../../libvo/x11_common.h"
#define mplMouseTimerConst 10
@@ -68,7 +68,7 @@
if ( ( mplDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.main.Bitmap.ImageSize ) ) == NULL )
{
- fprintf( stderr,langNEMDB );
+ fprintf( stderr,MSGTR_NEMDB );
exit( 0 );
}
Index: play.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/play.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- play.c 7 Sep 2001 21:04:14 -0000 1.28
+++ play.c 12 Sep 2001 15:08:52 -0000 1.29
@@ -16,6 +16,7 @@
#include "../wm/widget.h"
#include "../../config.h"
+#include "../../help_mp.h"
#include "../../libvo/x11_common.h"
#include "widgets.h"
@@ -25,7 +26,6 @@
#include "../skin/skin.h"
#include "../error.h"
-#include "../language.h"
mplCommStruct * mplShMem;
char * Filename = NULL;
@@ -157,7 +157,7 @@
{
if ( mplMenuDrawBuffer ) free( mplMenuDrawBuffer );
if ( ( mplMenuDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.menuBase.Bitmap.ImageSize ) ) == NULL )
- { message( False,langNEMDB ); return; }
+ { message( False,MSGTR_NEMDB ); return; }
wsResizeWindow( &appMPlayer.menuWindow,appMPlayer.menuBase.width,appMPlayer.menuBase.height );
wsResizeImage( &appMPlayer.menuWindow,appMPlayer.menuBase.width,appMPlayer.menuBase.height );
}
@@ -179,7 +179,7 @@
if ( mplDrawBuffer ) free( mplDrawBuffer );
if ( ( mplDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.main.Bitmap.ImageSize ) ) == NULL )
- { message( False,langNEMDB ); return; }
+ { message( False,MSGTR_NEMDB ); return; }
wsVisibleWindow( &appMPlayer.mainWindow,wsHideWindow );
wsResizeWindow( &appMPlayer.mainWindow,appMPlayer.main.width,appMPlayer.main.height );
wsMoveWindow( &appMPlayer.mainWindow,appMPlayer.main.x,appMPlayer.main.y );
Index: psignal.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/psignal.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- psignal.c 7 Sep 2001 21:04:14 -0000 1.11
+++ psignal.c 12 Sep 2001 15:08:52 -0000 1.12
@@ -13,7 +13,6 @@
#include "../skin/skin.h"
#include "../wm/ws.h"
#include "../error.h"
-#include "../language.h"
#include "../../config.h"
#include "../../libvo/x11_common.h"
Index: widgets.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/widgets.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- widgets.c 12 Sep 2001 09:59:16 -0000 1.7
+++ widgets.c 12 Sep 2001 15:08:52 -0000 1.8
@@ -19,6 +19,7 @@
#include "../events.h"
#include "../../config.h"
+#include "../../help_mp.h"
#include "../error.h"
#include "pixmaps/up.xpm"
- Previous message: [Mplayer-cvslog] CVS: main/Gui/mplayer/gtk about.h,1.2,1.3 fs.h,1.3,1.4 mb.h,1.1,1.2 pl.h,1.1,1.2 sb.h,1.3,1.4
- Next message: [Mplayer-cvslog] CVS: main help_mp-de.h,1.5,1.6 help_mp-en.h,1.3,1.4 help_mp-hu.h,1.6,1.7 help_mp-pl.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list