diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-11-10 21:33:12 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-11-10 21:33:12 +0000 |
commit | 8318fcd06b7e2e94a2ef309f0ae3ed8890adc01d (patch) | |
tree | b9bf14e369b00ff68fc2825b60a09c540a08f586 /libmpdemux/cdda.c | |
parent | 09ed4549ebf56596a637586b5c5e99c1d361caa8 (diff) | |
download | mpv-8318fcd06b7e2e94a2ef309f0ae3ed8890adc01d.tar.bz2 mpv-8318fcd06b7e2e94a2ef309f0ae3ed8890adc01d.tar.xz |
[TRIVIAL] More translatables to help_mp and printfs to mp_msg on libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16968 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/cdda.c')
-rw-r--r-- | libmpdemux/cdda.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libmpdemux/cdda.c b/libmpdemux/cdda.c index d7628817f9..81950f5940 100644 --- a/libmpdemux/cdda.c +++ b/libmpdemux/cdda.c @@ -13,6 +13,9 @@ #include "cdd.h" +#include "mp_msg.h" +#include "help_mp.h" + #ifndef CD_FRAMESIZE_RAW #define CD_FRAMESIZE_RAW CDIO_CD_FRAMESIZE_RAW #endif @@ -146,7 +149,7 @@ static int open_cdda(stream_t *st,int m, void* opts, int* file_format) { #endif if(!cdd) { - mp_msg(MSGT_OPEN,MSGL_ERR,"Can't open cdda device\n"); + mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_MPDEMUX_CDDA_CantOpenCDDADevice); m_struct_free(&stream_opts,opts); return STREAM_ERROR; } @@ -161,14 +164,14 @@ static int open_cdda(stream_t *st,int m, void* opts, int* file_format) { } if(cdda_open(cdd) != 0) { - mp_msg(MSGT_OPEN,MSGL_ERR,"Can't open disc\n"); + mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_MPDEMUX_CDDA_CantOpenDisc); cdda_close(cdd); m_struct_free(&stream_opts,opts); return STREAM_ERROR; } cd_info = cd_info_new(); - mp_msg(MSGT_OPEN,MSGL_INFO,"Found Audio CD with %d tracks\n",cdda_tracks(cdd)); + mp_msg(MSGT_OPEN,MSGL_INFO,MSGTR_MPDEMUX_CDDA_AudioCDFoundWithNTracks,cdda_tracks(cdd)); for(i=0;i<cdd->tracks;i++) { char track_name[80]; long sec=cdda_track_firstsector(cdd,i+1); |