summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-15 21:37:10 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-15 21:37:10 +0000
commit328750fe2d0ba27d4f6ffd219bcf961fc58e8d87 (patch)
treea83347640c35c71a27883b66a797901a7206a791 /mplayer.c
parent1d0e65d9740047ba92ea3d2e25e37cd495fae7ba (diff)
downloadmpv-328750fe2d0ba27d4f6ffd219bcf961fc58e8d87.tar.bz2
mpv-328750fe2d0ba27d4f6ffd219bcf961fc58e8d87.tar.xz
using mp_gettext
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5107 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/mplayer.c b/mplayer.c
index 55673f9348..fbce88fbdc 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -362,7 +362,7 @@ void exit_player(char* how){
current_module="exit_player";
- if(how) mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_Exiting,how);
+ if(how) mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_Exiting,mp_gettext(how));
mp_msg(MSGT_CPLAYER,MSGL_DBG2,"max framesize was %d bytes\n",max_framesize);
exit(1);
@@ -377,7 +377,7 @@ void exit_sighandler(int x){
kill(getpid(),SIGKILL);
}
mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_IntBySignal,x,
- current_module?current_module:"unknown"
+ current_module?current_module:mp_gettext("unknown")
);
exit_player(NULL);
}
@@ -502,7 +502,7 @@ int gui_no_filename=0;
mp_msg_init(MSGL_STATUS);
- mp_msg(MSGT_CPLAYER,MSGL_INFO,"%s",banner_text);
+ mp_msg(MSGT_CPLAYER,MSGL_INFO,banner_text);
// memset(&vtune,0,sizeof(vo_tune_info_t));
/* Test for cpu capabilities (and corresponding OS support) for optimizing */
#ifdef ARCH_X86
@@ -1186,7 +1186,8 @@ if(sh_audio){
}
if(audio_codec && strcmp(sh_audio->codec->name,audio_codec)) continue;
else if(audio_family!=-1 && sh_audio->codec->driver!=audio_family) continue;
- mp_msg(MSGT_CPLAYER,MSGL_INFO,"%s audio codec: [%s] drv:%d (%s)\n",audio_codec?"Forcing":"Detected",sh_audio->codec->name,sh_audio->codec->driver,sh_audio->codec->info);
+ mp_msg(MSGT_CPLAYER,MSGL_INFO,"%s audio codec: [%s] drv:%d (%s)\n",
+ audio_codec?mp_gettext("Forcing"):mp_gettext("Detected"),sh_audio->codec->name,sh_audio->codec->driver,sh_audio->codec->info);
break;
}
}
@@ -1252,7 +1253,8 @@ if(bestprio!=-1) {
} /* end local vars */
-mp_msg(MSGT_CPLAYER,MSGL_INFO,"%s video codec: [%s] drv:%d prio:%d (%s)\n",video_codec?"Forcing":"Detected",sh_video->codec->name,sh_video->codec->driver,sh_video->codec->priority!=-1?sh_video->codec->priority:0,sh_video->codec->info);
+mp_msg(MSGT_CPLAYER,MSGL_INFO,"%s video codec: [%s] drv:%d prio:%d (%s)\n",
+ video_codec?mp_gettext("Forcing"):mp_gettext("Detected"),sh_video->codec->name,sh_video->codec->driver,sh_video->codec->priority!=-1?sh_video->codec->priority:0,sh_video->codec->info);
sh_video->video_out=video_out;