changeset 13122:fcce0023bf55

printf -> mp_msg conversion, first steps patch by The Wanderer <inverseparadox@comcast.net>
author diego
date Tue, 24 Aug 2004 19:36:17 +0000
parents 93774d4a0c1d
children 34df725814e8
files help/help_mp-bg.h help/help_mp-cs.h help/help_mp-de.h help/help_mp-dk.h help/help_mp-el.h help/help_mp-en.h help/help_mp-es.h help/help_mp-fr.h help/help_mp-hu.h help/help_mp-it.h help/help_mp-ja.h help/help_mp-ko.h help/help_mp-mk.h help/help_mp-nl.h help/help_mp-no.h help/help_mp-pl.h help/help_mp-pt_BR.h help/help_mp-ro.h help/help_mp-ru.h help/help_mp-sk.h help/help_mp-tr.h help/help_mp-uk.h help/help_mp-zh_CN.h help/help_mp-zh_TW.h mencoder.c mp_msg.h mplayer.c
diffstat 27 files changed, 239 insertions(+), 185 deletions(-) [+]
line wrap: on
line diff
--- a/help/help_mp-bg.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-bg.h	Tue Aug 24 19:36:17 2004 +0000
@@ -58,7 +58,8 @@
 
 // mplayer.c: 
 
-#define MSGTR_Exiting "\n... (%s)\n"
+#define MSGTR_Exiting "\n...\n"
+#define MSGTR_ExitingHow "\n... (%s)\n"
 #define MSGTR_Exit_quit ""
 #define MSGTR_Exit_eof "  "
 #define MSGTR_Exit_error " "
--- a/help/help_mp-cs.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-cs.h	Tue Aug 24 19:36:17 2004 +0000
@@ -49,7 +49,8 @@
 
 // mplayer.c:
 
-#define MSGTR_Exiting "\nKonm... (%s)\n"
+#define MSGTR_Exiting "\nKonm...\n"
+#define MSGTR_ExitingHow "\nKonm... (%s)\n"
 #define MSGTR_Exit_quit "Konec"
 #define MSGTR_Exit_eof "Konec souboru"
 #define MSGTR_Exit_error "Zvan chyba"
--- a/help/help_mp-de.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-de.h	Tue Aug 24 19:36:17 2004 +0000
@@ -54,7 +54,8 @@
 // ========================= MPlayer Ausgaben ===========================
 
 // mplayer.c: 
-#define MSGTR_Exiting "\nBeenden... (%s)\n"
+#define MSGTR_Exiting "\nBeenden...\n"
+#define MSGTR_ExitingHow "\nBeenden... (%s)\n"
 #define MSGTR_Exit_quit "Ende"
 #define MSGTR_Exit_eof "Dateiende erreicht."
 #define MSGTR_Exit_error "Fataler Fehler"
--- a/help/help_mp-dk.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-dk.h	Tue Aug 24 19:36:17 2004 +0000
@@ -52,7 +52,8 @@
 
 // mplayer.c: 
 
-#define MSGTR_Exiting "\n Afslutter... (%s)\n"
+#define MSGTR_Exiting "\n Afslutter...\n"
+#define MSGTR_ExitingHow "\n Afslutter... (%s)\n"
 #define MSGTR_Exit_quit "Afslut"
 #define MSGTR_Exit_eof "Slut p filen"
 #define MSGTR_Exit_error "Fatal fejl"
--- a/help/help_mp-el.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-el.h	Tue Aug 24 19:36:17 2004 +0000
@@ -50,7 +50,8 @@
 
 // mplayer.c:
 
-#define MSGTR_Exiting "\n ... (%s)\n"
+#define MSGTR_Exiting "\n ...\n"
+#define MSGTR_ExitingHow "\n ... (%s)\n"
 #define MSGTR_Exit_quit ""
 #define MSGTR_Exit_eof "  "
 #define MSGTR_Exit_error " "
--- a/help/help_mp-en.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-en.h	Tue Aug 24 19:36:17 2004 +0000
@@ -57,7 +57,8 @@
 
 // mplayer.c:
 
-#define MSGTR_Exiting "\nExiting... (%s)\n"
+#define MSGTR_Exiting "\nExiting...\n"
+#define MSGTR_ExitingHow "\nExiting... (%s)\n"
 #define MSGTR_Exit_quit "Quit"
 #define MSGTR_Exit_eof "End of file"
 #define MSGTR_Exit_error "Fatal error"
@@ -182,6 +183,135 @@
 #define MSGTR_RecommendedVideoBitrate "Recommended video bitrate for %s CD: %d\n"
 #define MSGTR_VideoStreamResult "\nVideo stream: %8.3f kbit/s  (%d bps)  size: %d bytes  %5.3f secs  %d frames\n"
 #define MSGTR_AudioStreamResult "\nAudio stream: %8.3f kbit/s  (%d bps)  size: %d bytes  %5.3f secs\n"
+#define MSGTR_OpenedStream "success: format: %d  data: 0x%X - 0x%x\n"
+#define MSGTR_VCodecFramecopy "videocodec: framecopy (%dx%d %dbpp fourcc=%x)\n"
+#define MSGTR_ACodecFramecopy "audiocodec: framecopy (format=%x chans=%d rate=%ld bits=%d bps=%ld sample-%ld)\n"
+#define MSGTR_CBRPCMAudioSelected "CBR PCM audio selected\n"
+#define MSGTR_MP3AudioSelected "MP3 audio selected\n"
+#define MSGTR_CannotAllocateBytes "Couldn't allocate %d bytes\n"
+#define MSGTR_SettingAudioDelay "Setting AUDIO DELAY to %5.3f\n"
+#define MSGTR_SettingAudioInputGain "Setting audio input gain to %f\n"
+#define MSGTR_LamePresetEquals "\npreset=%s\n\n"
+#define MSGTR_LimitingAudioPreload "Limiting audio preload to 0.4s\n"
+#define MSGTR_IncreasingAudioDensity "Increasing audio density to 4\n"
+#define MSGTR_ZeroingAudioPreloadAndMaxPtsCorrection "Forcing audio preload to 0, max pts correction to 0\n"
+#define MSGTR_CBRAudioByterate "\n\nCBR audio: %ld bytes/sec, %d bytes/block\n"
+#define MSGTR_LameVersion "LAME version %s (%s)\n\n"
+#define MSGTR_InvalidBitrateForLamePreset "Error: The bitrate specified is out of the valid range for this preset\n"\
+"\n"\
+"When using this mode you must enter a value between \"8\" and \"320\"\n"\
+"\n"\
+"For further information try: \"-lameopts preset=help\"\n"
+#define MSGTR_InvalidLamePresetOptions "Error: You did not enter a valid profile and/or options with preset\n"\
+"\n"\
+"Available profiles are:\n"\
+"\n"\
+"   <fast>        standard\n"\
+"   <fast>        extreme\n"\
+"                 insane\n"\
+"   <cbr> (ABR Mode) - The ABR Mode is implied. To use it,\n"\
+"                      simply specify a bitrate. For example:\n"\
+"                      \"preset=185\" activates this\n"\
+"                      preset and uses 185 as an average kbps.\n"\
+"\n"\
+"    Some examples:\n"\
+"\n"\
+"    \"-lameopts fast:preset=standard  \"\n"\
+" or \"-lameopts  cbr:preset=192       \"\n"\
+" or \"-lameopts      preset=172       \"\n"\
+" or \"-lameopts      preset=extreme   \"\n"\
+"\n"\
+"For further information try: \"-lameopts preset=help\"\n"
+#define MSGTR_LamePresetsLongInfo "\n"\
+"The preset switches are designed to provide the highest possible quality.\n"\
+"\n"\
+"They have for the most part been subject to and tuned via rigorous double blind\n"\
+"listening tests to verify and achieve this objective.\n"\
+"\n"\
+"These are continually updated to coincide with the latest developments that\n"\
+"occur and as a result should provide you with nearly the best quality\n"\
+"currently possible from LAME.\n"\
+"\n"\
+"To activate these presets:\n"\
+"\n"\
+"   For VBR modes (generally highest quality):\n"\
+"\n"\
+"     \"preset=standard\" This preset should generally be transparent\n"\
+"                             to most people on most music and is already\n"\
+"                             quite high in quality.\n"\
+"\n"\
+"     \"preset=extreme\" If you have extremely good hearing and similar\n"\
+"                             equipment, this preset will generally provide\n"\
+"                             slightly higher quality than the \"standard\"\n"\
+"                             mode.\n"\
+"\n"\
+"   For CBR 320kbps (highest quality possible from the preset switches):\n"\
+"\n"\
+"     \"preset=insane\"  This preset will usually be overkill for most\n"\
+"                             people and most situations, but if you must\n"\
+"                             have the absolute highest quality with no\n"\
+"                             regard to filesize, this is the way to go.\n"\
+"\n"\
+"   For ABR modes (high quality per given bitrate but not as high as VBR):\n"\
+"\n"\
+"     \"preset=<kbps>\"  Using this preset will usually give you good\n"\
+"                             quality at a specified bitrate. Depending on the\n"\
+"                             bitrate entered, this preset will determine the\n"\
+"                             optimal settings for that particular situation.\n"\
+"                             While this approach works, it is not nearly as\n"\
+"                             flexible as VBR, and usually will not attain the\n"\
+"                             same level of quality as VBR at higher bitrates.\n"\
+"\n"\
+"The following options are also available for the corresponding profiles:\n"\
+"\n"\
+"   <fast>        standard\n"\
+"   <fast>        extreme\n"\
+"                 insane\n"\
+"   <cbr> (ABR Mode) - The ABR Mode is implied. To use it,\n"\
+"                      simply specify a bitrate. For example:\n"\
+"                      \"preset=185\" activates this\n"\
+"                      preset and uses 185 as an average kbps.\n"\
+"\n"\
+"   \"fast\" - Enables the new fast VBR for a particular profile. The\n"\
+"            disadvantage to the speed switch is that often times the\n"\
+"            bitrate will be slightly higher than with the normal mode\n"\
+"            and quality may be slightly lower also.\n"\
+"   Warning: with the current version fast presets might result in too\n"\
+"            high bitrate compared to regular presets.\n"\
+"\n"\
+"   \"cbr\"  - If you use the ABR mode (read above) with a significant\n"\
+"            bitrate such as 80, 96, 112, 128, 160, 192, 224, 256, 320,\n"\
+"            you can use the \"cbr\" option to force CBR mode encoding\n"\
+"            instead of the standard abr mode. ABR does provide higher\n"\
+"            quality but CBR may be useful in situations such as when\n"\
+"            streaming an mp3 over the internet may be important.\n"\
+"\n"\
+"    For example:\n"\
+"\n"\
+"    \"-lameopts fast:preset=standard  \"\n"\
+" or \"-lameopts  cbr:preset=192       \"\n"\
+" or \"-lameopts      preset=172       \"\n"\
+" or \"-lameopts      preset=extreme   \"\n"\
+"\n"\
+"\n"\
+"A few aliases are available for ABR mode:\n"\
+"phone => 16kbps/mono        phon+/lw/mw-eu/sw => 24kbps/mono\n"\
+"mw-us => 40kbps/mono        voice => 56kbps/mono\n"\
+"fm/radio/tape => 112kbps    hifi => 160kbps\n"\
+"cd => 192kbps               studio => 256kbps"
+#define MSGTR_ConfigfileError "configfile error"
+#define MSGTR_ErrorParsingCommandLine "error parsing cmdline"
+#define MSGTR_VideoStreamRequired "Video stream is mandatory!\n"
+#define MSGTR_ForcingInputFPS "input fps will be interpreted as %5.2f instead\n"
+#define MSGTR_RawvideoDoesNotSupportAudio "Output file format RAWVIDEO does not support audio - disabling audio\n"
+#define MSGTR_DemuxerDoesntSupportNosound "This demuxer doesn't support -nosound yet.\n"
+#define MSGTR_MemAllocFailed "memory allocation failed"
+#define MSGTR_NoMatchingFilter "Couldn't find matching filter/ao format!\n"
+#define MSGTR_MP3WaveFormatSizeNot30 "sizeof(MPEGLAYER3WAVEFORMAT)==%d!=30, maybe broken C compiler?\n"
+#define MSGTR_NoLavcAudioCodecName "Audio LAVC, Missing codec name!\n"
+#define MSGTR_LavcAudioCodecNotFound "Audio LAVC, couldn't find encoder for codec %s\n"
+#define MSGTR_CouldntAllocateLavcContext "Audio LAVC, couldn't allocate context!\n"
+#define MSGTR_CouldntOpenCodec "Couldn't open codec %s, br=%d\n"
 
 // cfg-mencoder.h:
 
--- a/help/help_mp-es.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-es.h	Tue Aug 24 19:36:17 2004 +0000
@@ -56,7 +56,8 @@
 
 // mplayer.c: 
 
-#define MSGTR_Exiting "\nSaliendo... (%s)\n"
+#define MSGTR_Exiting "\nSaliendo...\n"
+#define MSGTR_ExitingHow "\nSaliendo... (%s)\n"
 #define MSGTR_Exit_quit "Salida."
 #define MSGTR_Exit_eof "Fin del archivo."
 #define MSGTR_Exit_error "Error fatal."
--- a/help/help_mp-fr.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-fr.h	Tue Aug 24 19:36:17 2004 +0000
@@ -50,7 +50,8 @@
 
 // mplayer.c: 
 
-#define MSGTR_Exiting "\nSortie... (%s)\n"
+#define MSGTR_Exiting "\nSortie...\n"
+#define MSGTR_ExitingHow "\nSortie... (%s)\n"
 #define MSGTR_Exit_quit "Fin"
 #define MSGTR_Exit_eof "Fin du fichier"
 #define MSGTR_Exit_error "Erreur fatale"
--- a/help/help_mp-hu.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-hu.h	Tue Aug 24 19:36:17 2004 +0000
@@ -51,7 +51,8 @@
 
 // mplayer.c: 
 
-#define MSGTR_Exiting "\nKilpek... (%s)\n"
+#define MSGTR_Exiting "\nKilpek...\n"
+#define MSGTR_ExitingHow "\nKilpek... (%s)\n"
 #define MSGTR_Exit_quit "Kilps"
 #define MSGTR_Exit_eof "Vge a file-nak"
 #define MSGTR_Exit_error "Vgzetes hiba"
--- a/help/help_mp-it.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-it.h	Tue Aug 24 19:36:17 2004 +0000
@@ -51,7 +51,8 @@
 
 // mplayer.c:
 
-#define MSGTR_Exiting "\nIn uscita... (%s)\n"
+#define MSGTR_Exiting "\nIn uscita...\n"
+#define MSGTR_ExitingHow "\nIn uscita... (%s)\n"
 #define MSGTR_Exit_quit "Uscita"
 #define MSGTR_Exit_eof "Fine del file"
 #define MSGTR_Exit_error "Errore fatale"
--- a/help/help_mp-ja.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-ja.h	Tue Aug 24 19:36:17 2004 +0000
@@ -51,7 +51,8 @@
 
 // mplayer.c:
 
-#define MSGTR_Exiting "\nλƤޤ... (%s)\n"
+#define MSGTR_Exiting "\nλƤޤ\n"
+#define MSGTR_ExitingHow "\nλƤޤ... (%s)\n"
 #define MSGTR_Exit_quit "λ"
 #define MSGTR_Exit_eof "եüǤ"
 #define MSGTR_Exit_error "̿Ū顼"
--- a/help/help_mp-ko.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-ko.h	Tue Aug 24 19:36:17 2004 +0000
@@ -49,7 +49,8 @@
 
 // mplayer.c: 
 
-#define MSGTR_Exiting "\n종료합니다... (%s)\n"
+#define MSGTR_Exiting "\n종료합니다.\n"
+#define MSGTR_ExitingHow "\n종료합니다... (%s)\n"
 #define MSGTR_Exit_quit "종료"
 #define MSGTR_Exit_eof "파일의 끝"
 #define MSGTR_Exit_error "치명적 오류"
--- a/help/help_mp-mk.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-mk.h	Tue Aug 24 19:36:17 2004 +0000
@@ -50,7 +50,8 @@
 
 // mplayer.c:
 
-#define MSGTR_Exiting "\nИзлегува... (%s)\n"
+#define MSGTR_Exiting "\nИзлегу\n"
+#define MSGTR_ExitingHow "\nИзлегува... (%s)\n"
 #define MSGTR_Exit_quit "Откажи"
 #define MSGTR_Exit_eof "Крај на датотеката"
 #define MSGTR_Exit_error "Фатална грешка"
--- a/help/help_mp-nl.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-nl.h	Tue Aug 24 19:36:17 2004 +0000
@@ -48,7 +48,8 @@
 
 // mplayer.c:
 
-#define MSGTR_Exiting "\nBezig met afsluiten... (%s)\n"
+#define MSGTR_Exiting "\nBezig met afsluiten...\n"
+#define MSGTR_ExitingHow "\nBezig met afsluiten... (%s)\n"
 #define MSGTR_Exit_quit "Stop"
 #define MSGTR_Exit_eof "Einde van bestand"
 #define MSGTR_Exit_error "Fatale fout"
--- a/help/help_mp-no.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-no.h	Tue Aug 24 19:36:17 2004 +0000
@@ -49,7 +49,8 @@
 
 // mplayer.c:
 
-#define MSGTR_Exiting "\nAvslutter... (%s)\n"
+#define MSGTR_Exiting "\nAvslutter...\n"
+#define MSGTR_ExitingHow "\nAvslutter... (%s)\n"
 #define MSGTR_Exit_quit "Avslutt"
 #define MSGTR_Exit_eof "Slutt p filen"
 #define MSGTR_Exit_error "Fatal feil"
--- a/help/help_mp-pl.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-pl.h	Tue Aug 24 19:36:17 2004 +0000
@@ -51,7 +51,8 @@
 
 // MPlayer.c:
 
-#define MSGTR_Exiting "\nWychodz...(%s)\n"
+#define MSGTR_Exiting "\nWychodz...\n"
+#define MSGTR_ExitingHow "\nWychodz...(%s)\n"
 #define MSGTR_Exit_quit "Wyjcie"
 #define MSGTR_Exit_eof "Koniec pliku"
 #define MSGTR_Exit_error "Krytyczny bd"
--- a/help/help_mp-pt_BR.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-pt_BR.h	Tue Aug 24 19:36:17 2004 +0000
@@ -58,7 +58,8 @@
 
 // mplayer.c:
 
-#define MSGTR_Exiting "\nSaindo... (%s)\n"
+#define MSGTR_Exiting "\nSaindo...\n"
+#define MSGTR_ExitingHow "\nSaindo... (%s)\n"
 #define MSGTR_Exit_quit "Sair"
 #define MSGTR_Exit_eof "Fim do arquivo"
 #define MSGTR_Exit_error "Erro fatal"
--- a/help/help_mp-ro.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-ro.h	Tue Aug 24 19:36:17 2004 +0000
@@ -59,7 +59,8 @@
 // ========================= MPlayer messages ===========================
 
 // mplayer.c:
-#define MSGTR_Exiting "\nIeire... (%s)\n"
+#define MSGTR_Exiting "\nIeire...\n"
+#define MSGTR_ExitingHow "\nIeire... (%s)\n"
 #define MSGTR_Exit_quit "Ieire"
 #define MSGTR_Exit_eof "Sfrit fiier"
 #define MSGTR_Exit_error "Eroare fatal"
--- a/help/help_mp-ru.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-ru.h	Tue Aug 24 19:36:17 2004 +0000
@@ -49,7 +49,8 @@
 
 // mplayer.c: 
 
-#define MSGTR_Exiting "\n... (%s)\n"
+#define MSGTR_Exiting "\n...\n"
+#define MSGTR_ExitingHow "\n... (%s)\n"
 #define MSGTR_Exit_quit ""
 #define MSGTR_Exit_eof " "
 #define MSGTR_Exit_error " "
--- a/help/help_mp-sk.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-sk.h	Tue Aug 24 19:36:17 2004 +0000
@@ -50,7 +50,8 @@
 // ========================= MPlayer messages ===========================
 // mplayer.c:
 
-#define MSGTR_Exiting "\nKonm... (%s)\n"
+#define MSGTR_Exiting "\nKonm...\n"
+#define MSGTR_ExitingHow "\nKonm... (%s)\n"
 #define MSGTR_Exit_quit "Koniec"
 #define MSGTR_Exit_eof "Koniec sboru"
 #define MSGTR_Exit_error "Zvan chyba"
--- a/help/help_mp-tr.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-tr.h	Tue Aug 24 19:36:17 2004 +0000
@@ -49,7 +49,8 @@
 
 // mplayer.c:
 
-#define MSGTR_Exiting "\nklyor... (%s)\n"
+#define MSGTR_Exiting "\nklyor...\n"
+#define MSGTR_ExitingHow "\nklyor... (%s)\n"
 #define MSGTR_Exit_quit "k"
 #define MSGTR_Exit_eof "Dosyann Sonu"
 #define MSGTR_Exit_error "lmcl Hata"
--- a/help/help_mp-uk.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-uk.h	Tue Aug 24 19:36:17 2004 +0000
@@ -53,7 +53,8 @@
 
 // mplayer.c: 
 
-#define MSGTR_Exiting "\n... (%s)\n"
+#define MSGTR_Exiting "\n...\n"
+#define MSGTR_ExitingHow "\n... (%s)\n"
 #define MSGTR_Exit_quit "Ȧ"
 #define MSGTR_Exit_eof " "
 #define MSGTR_Exit_error " "
--- a/help/help_mp-zh_CN.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-zh_CN.h	Tue Aug 24 19:36:17 2004 +0000
@@ -49,7 +49,8 @@
 
 // mplayer.c:
 
-#define MSGTR_Exiting "\n˳... (%s)\n"
+#define MSGTR_Exiting "\n˳..\n"
+#define MSGTR_ExitingHow "\n˳... (%s)\n"
 #define MSGTR_Exit_quit "˳"
 #define MSGTR_Exit_eof "ļ"
 #define MSGTR_Exit_error ""
--- a/help/help_mp-zh_TW.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/help/help_mp-zh_TW.h	Tue Aug 24 19:36:17 2004 +0000
@@ -51,7 +51,8 @@
 
 // mplayer.c:
 
-#define MSGTR_Exiting "\nbhX... (%s)\n"
+#define MSGTR_Exiting "\nbhX...\n"
+#define MSGTR_ExitingHow "\nbhX... (%s)\n"
 #define MSGTR_Exit_quit "}"
 #define MSGTR_Exit_eof "ɮץ"
 #define MSGTR_Exit_error "PR~"
--- a/mencoder.c	Tue Aug 24 19:29:17 2004 +0000
+++ b/mencoder.c	Tue Aug 24 19:36:17 2004 +0000
@@ -273,9 +273,9 @@
 static void mencoder_exit(int level, char *how)
 {
     if (how)
-	printf("Exiting... (%s)\n", how);
+	mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_ExitingHow, mp_gettext(how));
     else
-	printf("Exiting...\n");
+	mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_Exiting);
 
     exit(level);
 }
@@ -287,7 +287,7 @@
     mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_GetpathProblem);
   } else {
     if (m_config_parse_config_file(conf, conffile) < 0)
-      mencoder_exit(1,"configfile error");
+      mencoder_exit(1,MSGTR_ConfigfileError);
     free(conffile);
   }
 }
@@ -437,7 +437,7 @@
   stream2=open_stream(frameno_filename,0,&i);
   if(stream2){
     demuxer2=demux_open(stream2,DEMUXER_TYPE_AVI,-1,-1,-2,NULL);
-    if(demuxer2) printf(MSGTR_UsingPass3ControllFile,frameno_filename);
+    if(demuxer2) mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_UsingPass3ControllFile, frameno_filename);
     else mp_msg(MSGT_DEMUXER,MSGL_ERR,MSGTR_FormatNotRecognized);
   }
 
@@ -445,12 +445,12 @@
  m_config_register_options(mconfig,mencoder_opts);
  parse_cfgfiles(mconfig);
  filelist = m_config_parse_me_command_line(mconfig, argc, argv);
- if(!filelist) mencoder_exit(1, "error parsing cmdline");
+ if(!filelist) mencoder_exit(1, MSGTR_ErrorParsingCommandLine);
  m_entry_set_options(mconfig,&filelist[0]);
  filename = filelist[0].name;
 
   if(!filename){
-	printf(MSGTR_MissingFilename);
+	mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_MissingFilename);
 	mencoder_exit(1,NULL);
   }
 
@@ -484,11 +484,11 @@
   stream=open_stream(filename,0,&file_format);
 
   if(!stream){
-	printf(MSGTR_CannotOpenFile_Device);
+	mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_CannotOpenFile_Device);
 	mencoder_exit(1,NULL);
   }
 
-  printf("success: format: %d  data: 0x%X - 0x%X\n",file_format, (int)(stream->start_pos),(int)(stream->end_pos));
+  mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_OpenedStream, file_format, (int)(stream->start_pos), (int)(stream->end_pos));
 
 #ifdef USE_DVDREAD
 if(stream->type==STREAMTYPE_DVD){
@@ -507,7 +507,7 @@
   demuxer=demux_open(stream,file_format,audio_id,video_id,dvdsub_id,filename);
   if(!demuxer){
         mp_msg(MSGT_DEMUXER,MSGL_ERR,MSGTR_FormatNotRecognized);
-	printf(MSGTR_CannotOpenDemuxer);
+	mp_msg(MSGT_DEMUXER, MSGL_ERR, MSGTR_CannotOpenDemuxer); //correct target/level? FIXME?
 	mencoder_exit(1,NULL);
   }
 
@@ -519,12 +519,12 @@
 
   if(!sh_video)
   {
-	mp_msg(MSGT_CPLAYER,MSGL_FATAL,"Video stream is mandatory!\n"); 
+	mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_VideoStreamRequired); 
 	mencoder_exit(1,NULL);
   }
 
   if(!video_read_properties(sh_video)){
-      printf(MSGTR_CannotReadVideoProperties);
+      mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_CannotReadVideoProperties);
       mencoder_exit(1,NULL);
   }
 
@@ -536,16 +536,16 @@
   if(force_fps){
     sh_video->fps=force_fps;
     sh_video->frametime=1.0f/sh_video->fps;
-    mp_msg(MSGT_MENCODER,MSGL_INFO,"input fps will be interpreted as %5.2f instead\n", sh_video->fps);
+    mp_msg(MSGT_MENCODER,MSGL_INFO,MSGTR_ForcingInputFPS, sh_video->fps);
   }
 
   if(sh_audio && out_file_format==MUXER_TYPE_RAWVIDEO){
-      mp_msg(MSGT_MENCODER,MSGL_ERR,"Output file format RAWVIDEO does not support audio - disabling audio\n");
+      mp_msg(MSGT_MENCODER,MSGL_ERR,MSGTR_RawvideoDoesNotSupportAudio);
       sh_audio=NULL;
   }
   if(sh_audio && out_audio_codec<0){
     if(audio_id==-2)
-	mp_msg(MSGT_MENCODER,MSGL_ERR,"This demuxer doesn't support -nosound yet.\n");
+	mp_msg(MSGT_MENCODER,MSGL_ERR,MSGTR_DemuxerDoesntSupportNosound);
     mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_NoAudioEncoderSelected);
     mencoder_exit(1,NULL);
   }
@@ -626,7 +626,7 @@
 // set up output file:
 muxer_f=fopen(out_filename,"wb");
 if(!muxer_f) {
-  printf(MSGTR_CannotOpenOutputFile, out_filename);
+  mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_CannotOpenOutputFile, out_filename);
   mencoder_exit(1,NULL);
 }
 
@@ -675,7 +675,7 @@
 	mux_v->bih->biBitCount=24; // FIXME!!!
 	mux_v->bih->biSizeImage=mux_v->bih->biWidth*mux_v->bih->biHeight*(mux_v->bih->biBitCount/8);
     }
-    printf("videocodec: framecopy (%dx%d %dbpp fourcc=%x)\n",
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_VCodecFramecopy,
 	mux_v->bih->biWidth, mux_v->bih->biHeight,
 	mux_v->bih->biBitCount, mux_v->bih->biCompression);
     break;
@@ -733,7 +733,7 @@
 {
     mux_v->bih->biCompression = mmioFOURCC(force_fourcc[0], force_fourcc[1],
 					    force_fourcc[2], force_fourcc[3]);
-    printf(MSGTR_ForcingOutputFourcc,
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_ForcingOutputFourcc,
 	mux_v->bih->biCompression, (char *)&mux_v->bih->biCompression);
 }
 
@@ -747,7 +747,7 @@
 mux_a->buffer_size=0x100000; //16384;
 mux_a->buffer=malloc(mux_a->buffer_size);
 if (!mux_a->buffer)
-    mencoder_exit(1,"memory allocation failed");
+    mencoder_exit(1,MSGTR_MemAllocFailed);
 
 mux_a->source=sh_audio;
 
@@ -778,12 +778,12 @@
 	mux_a->h.dwScale=mux_a->h.dwSampleSize;
 	mux_a->h.dwRate=mux_a->wf->nAvgBytesPerSec;
     }
-    printf("audiocodec: framecopy (format=%x chans=%d rate=%ld bits=%d bps=%ld sample=%ld)\n",
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_ACodecFramecopy,
 	mux_a->wf->wFormatTag, mux_a->wf->nChannels, mux_a->wf->nSamplesPerSec,
 	mux_a->wf->wBitsPerSample, mux_a->wf->nAvgBytesPerSec, mux_a->h.dwSampleSize);
     break;
 case ACODEC_PCM:
-    printf("CBR PCM audio selected\n");
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_CBRPCMAudioSelected);
     mux_a->h.dwScale=1;
     mux_a->h.dwRate=force_srate?force_srate:sh_audio->samplerate;
     mux_a->wf=malloc(sizeof(WAVEFORMATEX));
@@ -803,16 +803,16 @@
 	(mux_a->wf->wBitsPerSample==8)?	AFMT_U8:AFMT_S16_LE,
 	mux_a->wf->wBitsPerSample/8,
 	16384, mux_a->wf->nAvgBytesPerSec)){
-      mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format!\n");
+      mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_NoMatchingFilter);
     }
     break;
 #ifdef HAVE_MP3LAME
 case ACODEC_VBRMP3:
-    printf("MP3 audio selected\n");
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_MP3AudioSelected);
     mux_a->h.dwSampleSize=0; // VBR
     mux_a->h.dwRate=force_srate?force_srate:sh_audio->samplerate;
     mux_a->h.dwScale=(mux_a->h.dwRate<32000)?576:1152; // samples/frame
-    if(sizeof(MPEGLAYER3WAVEFORMAT)!=30) mp_msg(MSGT_MENCODER,MSGL_WARN,"sizeof(MPEGLAYER3WAVEFORMAT)==%d!=30, maybe broken C compiler?\n",sizeof(MPEGLAYER3WAVEFORMAT));
+    if(sizeof(MPEGLAYER3WAVEFORMAT)!=30) mp_msg(MSGT_MENCODER,MSGL_WARN,MSGTR_MP3WaveFormatSizeNot30,sizeof(MPEGLAYER3WAVEFORMAT));
     mux_a->wf=malloc(sizeof(MPEGLAYER3WAVEFORMAT)); // should be 30
     mux_a->wf->wFormatTag=0x55; // MP3
     mux_a->wf->nChannels= (lame_param_mode<0) ? sh_audio->channels :
@@ -839,7 +839,7 @@
 	AFMT_S16_LE, 2,
 #endif
 	4608, mux_a->h.dwRate*mux_a->wf->nChannels*2)){
-      mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format!\n");
+      mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_NoMatchingFilter);
     }
     break;
 #endif
@@ -847,7 +847,7 @@
 case ACODEC_LAVC:
     if(!lavc_param_acodec)
     {
-	mp_msg(MSGT_MENCODER, MSGL_FATAL, "Audio LAVC, Missing codec name!\n");
+	mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_NoLavcAudioCodecName);
 	exit(1);
     }
 
@@ -860,14 +860,14 @@
     lavc_acodec = avcodec_find_encoder_by_name(lavc_param_acodec);
     if (!lavc_acodec)
     {
-	mp_msg(MSGT_MENCODER, MSGL_FATAL, "Audio LAVC, couldn't find encoder for codec %s\n", lavc_param_acodec);
+	mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_LavcAudioCodecNotFound, lavc_param_acodec);
 	exit(1);
     }
 
     lavc_actx = avcodec_alloc_context();
     if(lavc_actx == NULL)
     {
-	mp_msg(MSGT_MENCODER, MSGL_FATAL, "Audio LAVC, couldn't allocate context!\n");
+	mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_CouldntAllocateLavcContext);
 	exit(1);
     }
 
@@ -896,7 +896,7 @@
 
     if(avcodec_open(lavc_actx, lavc_acodec) < 0)
     {
-	mp_msg(MSGT_MENCODER, MSGL_FATAL, "Couldn't open codec %s, br=%d\n", lavc_param_acodec, lavc_param_abitrate);
+	mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_CouldntOpenCodec, lavc_param_acodec, lavc_param_abitrate);
 	exit(1);
     }
 
@@ -908,7 +908,7 @@
     lavc_abuf = malloc(lavc_actx->frame_size * 2 * lavc_actx->channels);
     if(lavc_abuf == NULL)
     {
-	fprintf(stderr, "Couldn't allocate %d bytes\n", lavc_actx->frame_size * 2 * lavc_actx->channels);
+	mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_CannotAllocateBytes, lavc_actx->frame_size * 2 * lavc_actx->channels); // Converted from fprintf(stderr, ...);
 	exit(1);
     }
 
@@ -977,11 +977,11 @@
 	AFMT_S16_NE, 2,
 	mux_a->h.dwSuggestedBufferSize,
 	mux_a->h.dwSuggestedBufferSize*2)) {
-	mp_msg(MSGT_CPLAYER, MSGL_ERR, "Couldn't find matching filter / ao format!\n");
+	mp_msg(MSGT_CPLAYER, MSGL_ERR, MSGTR_NoMatchingFilter);
 	exit(1);
     }
 
-    mp_msg(MSGT_MENCODER, MSGL_V, "FRAME_SIZE: %d, BUFFER_SIZE: %d, TAG: 0x%x\n", lavc_actx->frame_size, lavc_actx->frame_size * 2 * lavc_actx->channels, mux_a->wf->wFormatTag);
+    mp_msg(MSGT_MENCODER, MSGL_V, MSGTR_FramesizeBufsizeTag, lavc_actx->frame_size, lavc_actx->frame_size * 2 * lavc_actx->channels, mux_a->wf->wFormatTag);
 
     break;
 #endif
@@ -991,12 +991,12 @@
 
 if(audio_delay!=0.0){
     mux_a->h.dwStart=audio_delay*mux_a->h.dwRate/mux_a->h.dwScale;
-    printf("Setting AUDIO DELAY to %5.3f\n",mux_a->h.dwStart*mux_a->h.dwScale/(float)mux_a->h.dwRate);
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_SettingAudioDelay,mux_a->h.dwStart*mux_a->h.dwScale/(float)mux_a->h.dwRate);
 }
 
 } // if(sh_audio)
 
-printf(MSGTR_WritingAVIHeader);
+mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_WritingAVIHeader);
 if (muxer->cont_write_header) muxer_write_header(muxer);
 
 decoded_frameno=0;
@@ -1026,14 +1026,14 @@
 if(lame_param_mode>=0) lame_set_mode(lame,lame_param_mode); // j-st
 if(lame_param_ratio>0) lame_set_compression_ratio(lame,lame_param_ratio);
 if(lame_param_scale>0) {
-    printf("Setting audio input gain to %f\n", lame_param_scale);
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_SettingAudioInputGain, lame_param_scale);
     lame_set_scale(lame,lame_param_scale);
 }
 if(lame_param_lowpassfreq>=-1) lame_set_lowpassfreq(lame,lame_param_lowpassfreq);
 if(lame_param_highpassfreq>=-1) lame_set_highpassfreq(lame,lame_param_highpassfreq);
 #if HAVE_MP3LAME >= 392
 if(lame_param_preset != NULL){
-  printf ("\npreset=%s\n\n",lame_param_preset);
+  mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_LamePresetEquals,lame_param_preset);
   lame_presets_set(lame,lame_param_fast, (lame_param_vbr==0), lame_param_preset);
 }
 #endif
@@ -1073,18 +1073,18 @@
 if (out_file_format == MUXER_TYPE_MPEG)
 	{
 	if (audio_preload > 0.4) {
-	  fprintf(stderr,"Limiting audio preload to 0.4s\n");
+	  mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_LimitingAudioPreload);
 	  audio_preload = 0.4;
 	}
 	if (audio_density < 4) {
-	  fprintf(stderr,"Increasing audio density to 4\n");
+	  mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_IncreasingAudioDensity);
 	  audio_density = 4;
 	}
 	}
 
 if(file_format == DEMUXER_TYPE_TV) 
 	{
-	fprintf(stderr,"Forcing audio preload to 0, max pts correction to 0\n");
+	mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_ZeroingAudioPreloadAndMaxPtsCorrection);
 	audio_preload = 0.0;
 	default_max_pts_correction = 0;
 	}
@@ -1326,7 +1326,7 @@
 
 if(skip_flag<0){
     // duplicate frame
-	if(file_format != DEMUXER_TYPE_TV && !verbose) printf(MSGTR_DuplicateFrames,-skip_flag);
+	if(file_format != DEMUXER_TYPE_TV && !verbose) mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_DuplicateFrames,-skip_flag);
     while(skip_flag<0){
 	duplicatedframes++;
 	if (!encode_duplicates || !sh_video->vfilter || ((vf_instance_t *)sh_video->vfilter)->control(sh_video->vfilter, VFCTRL_DUPLICATE_FRAME, 0) != CONTROL_TRUE)
@@ -1336,7 +1336,7 @@
 } else
 if(skip_flag>0){
     // skip frame
-	if(file_format != DEMUXER_TYPE_TV && !verbose) printf(MSGTR_SkipFrame);
+	if(file_format != DEMUXER_TYPE_TV && !verbose) mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_SkipFrame);
 	skippedframes++;
     --skip_flag;
 }
@@ -1487,15 +1487,15 @@
     mux_a->h.dwRate=mux_a->wf->nAvgBytesPerSec;
     mux_a->h.dwScale=1;
     mux_a->wf->nBlockAlign=1;
-    printf("\n\nCBR audio: %ld bytes/sec, %d bytes/block\n",
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_CBRAudioByterate,
 	    mux_a->h.dwRate,((MPEGLAYER3WAVEFORMAT*)(mux_a->wf))->nBlockSize);
 }
 #endif
 
-printf(MSGTR_WritingAVIIndex);
+mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_WritingAVIIndex);
 if (muxer->cont_write_index) muxer_write_index(muxer);
 muxer_f_size=ftello(muxer_f);
-printf(MSGTR_FixupAVIHeader);
+mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_FixupAVIHeader);
 fseek(muxer_f,0,SEEK_SET);
 if (muxer->cont_write_header) muxer_write_header(muxer); // update header
 if(ferror(muxer_f) || fclose(muxer_f) != 0) {
@@ -1506,18 +1506,18 @@
     vobsub_out_close(vobsub_writer);
 
 if(out_video_codec==VCODEC_FRAMENO && mux_v->timer>100){
-    printf(MSGTR_RecommendedVideoBitrate,"650MB",(int)((650*1024*1024-muxer_f_size)/mux_v->timer/125));
-    printf(MSGTR_RecommendedVideoBitrate,"700MB",(int)((700*1024*1024-muxer_f_size)/mux_v->timer/125));
-    printf(MSGTR_RecommendedVideoBitrate,"800MB",(int)((800*1024*1024-muxer_f_size)/mux_v->timer/125));
-    printf(MSGTR_RecommendedVideoBitrate,"2 x 650MB",(int)((2*650*1024*1024-muxer_f_size)/mux_v->timer/125));
-    printf(MSGTR_RecommendedVideoBitrate,"2 x 700MB",(int)((2*700*1024*1024-muxer_f_size)/mux_v->timer/125));
-    printf(MSGTR_RecommendedVideoBitrate,"2 x 800MB",(int)((2*800*1024*1024-muxer_f_size)/mux_v->timer/125));
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_RecommendedVideoBitrate,"650MB",(int)((650*1024*1024-muxer_f_size)/mux_v->timer/125));
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_RecommendedVideoBitrate,"700MB",(int)((700*1024*1024-muxer_f_size)/mux_v->timer/125));
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_RecommendedVideoBitrate,"800MB",(int)((800*1024*1024-muxer_f_size)/mux_v->timer/125));
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_RecommendedVideoBitrate,"2 x 650MB",(int)((2*650*1024*1024-muxer_f_size)/mux_v->timer/125));
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_RecommendedVideoBitrate,"2 x 700MB",(int)((2*700*1024*1024-muxer_f_size)/mux_v->timer/125));
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_RecommendedVideoBitrate,"2 x 800MB",(int)((2*800*1024*1024-muxer_f_size)/mux_v->timer/125));
 }
 
-printf(MSGTR_VideoStreamResult,
+mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_VideoStreamResult,
     (float)(mux_v->size/mux_v->timer*8.0f/1000.0f), (int)(mux_v->size/mux_v->timer), (int)mux_v->size, (float)mux_v->timer, decoded_frameno);
 if(sh_audio)
-printf(MSGTR_AudioStreamResult,
+mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_AudioStreamResult,
     (float)(mux_a->size/mux_a->timer*8.0f/1000.0f), (int)(mux_a->size/mux_a->timer), (int)mux_a->size, (float)mux_a->timer);
 
 if(sh_video){ uninit_video(sh_video);sh_video=NULL; }
@@ -1609,7 +1609,7 @@
     int mono = 0;
 
     if (strcmp(preset_name, "help") == 0) {
-        fprintf(stdout, "LAME version %s (%s)\n\n", get_lame_version(), get_lame_url());
+        mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_LameVersion, get_lame_version(), get_lame_url());
         lame_presets_longinfo_dm( stdout );
         return -1;
     }
@@ -1710,42 +1710,17 @@
 
         }
         else {
-            fprintf(stderr, "LAME version %s (%s)\n\n", get_lame_version(), get_lame_url());
-            fprintf(stderr,"Error: The bitrate specified is out of the valid range for this preset\n"
-                           "\n"
-                           "When using this mode you must enter a value between \"8\" and \"320\"\n"
-                           "\n"
-                           "For further information try: \"-lameopts preset=help\"\n"                  
-                   );
+            mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_LameVersion, get_lame_version(), get_lame_url());
+            mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_InvalidBitrateForLamePreset);
             return -1;
         }
     }
 
 
 
-    fprintf(stderr, "LAME version %s (%s)\n\n", get_lame_version(), get_lame_url());
-    fprintf(stderr,"Error: You did not enter a valid profile and/or options with preset\n"
-                   "\n"
-                   "Available profiles are:\n"
-                   "\n"
-                   "   <fast>        standard\n"
-                   "   <fast>        extreme\n"
-                   "                 insane\n"
-                   "   <cbr> (ABR Mode) - The ABR Mode is implied. To use it,\n"
-                   "                      simply specify a bitrate. For example:\n"
-                   "                      \"preset=185\" activates this\n"
-                   "                      preset and uses 185 as an average kbps.\n" 
-                   "\n"
-                   "    Some examples:\n"
-                   "\n"
-   		   "    \"-lameopts fast:preset=standard  \"\n"
-   		   " or \"-lameopts  cbr:preset=192       \"\n"
-   		   " or \"-lameopts      preset=172       \"\n"
-   		   " or \"-lameopts      preset=extreme   \"\n"
-                   "\n"
-                   "For further information try: \"-lameopts preset=help\"\n"                  
-           );
-    mencoder_exit(1, "error parsing cmdline");
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_LameVersion, get_lame_version(), get_lame_url());
+    mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_InvalidLamePresetOptions);
+    mencoder_exit(1, MSGTR_ErrorParsingCommandLine);
 }
 #endif
 
@@ -1754,84 +1729,7 @@
    taken out of presets_longinfo_dm in lame-3.93.1/frontend/parse.c and modified */
 static void  lame_presets_longinfo_dm ( FILE* msgfp )
 {
-        fprintf ( msgfp,
-        "\n" 
-        "The preset switches are designed to provide the highest possible quality.\n"
-        "\n"
-        "They have for the most part been subject to and tuned via rigorous double blind\n"
-        "listening tests to verify and achieve this objective.\n"
-        "\n"
-        "These are continually updated to coincide with the latest developments that\n"
-        "occur and as a result should provide you with nearly the best quality\n"
-        "currently possible from LAME.\n"
-        "\n"
-        "To activate these presets:\n"
-        "\n"
-        "   For VBR modes (generally highest quality):\n"
-        "\n"
-        "     \"preset=standard\" This preset should generally be transparent\n"
-        "                             to most people on most music and is already\n"
-        "                             quite high in quality.\n"
-        "\n"
-        "     \"preset=extreme\" If you have extremely good hearing and similar\n"
-        "                             equipment, this preset will generally provide\n"
-        "                             slightly higher quality than the \"standard\"\n"
-        "                             mode.\n"
-        "\n"
-        "   For CBR 320kbps (highest quality possible from the preset switches):\n"
-        "\n"
-        "     \"preset=insane\"  This preset will usually be overkill for most\n"
-        "                             people and most situations, but if you must\n"
-        "                             have the absolute highest quality with no\n"
-        "                             regard to filesize, this is the way to go.\n"
-        "\n"
-        "   For ABR modes (high quality per given bitrate but not as high as VBR):\n"
-        "\n"
-        "     \"preset=<kbps>\"  Using this preset will usually give you good\n"
-        "                             quality at a specified bitrate. Depending on the\n"
-        "                             bitrate entered, this preset will determine the\n"
-        "                             optimal settings for that particular situation.\n"
-        "                             While this approach works, it is not nearly as\n"
-        "                             flexible as VBR, and usually will not attain the\n"
-        "                             same level of quality as VBR at higher bitrates.\n"  
-        "\n"
-        "The following options are also available for the corresponding profiles:\n"
-        "\n"
-        "   <fast>        standard\n"
-        "   <fast>        extreme\n"
-        "                 insane\n"
-        "   <cbr> (ABR Mode) - The ABR Mode is implied. To use it,\n"
-        "                      simply specify a bitrate. For example:\n"
-        "                      \"preset=185\" activates this\n"
-        "                      preset and uses 185 as an average kbps.\n" 
-        "\n"
-        "   \"fast\" - Enables the new fast VBR for a particular profile. The\n"
-        "            disadvantage to the speed switch is that often times the\n"
-        "            bitrate will be slightly higher than with the normal mode\n"
-        "            and quality may be slightly lower also.\n"
-	"   Warning: with the current version fast presets might result in too\n"
-	"            high bitrate compared to regular presets.\n"
-        "\n"
-        "   \"cbr\"  - If you use the ABR mode (read above) with a significant\n"
-        "            bitrate such as 80, 96, 112, 128, 160, 192, 224, 256, 320,\n"
-        "            you can use the \"cbr\" option to force CBR mode encoding\n"
-        "            instead of the standard abr mode. ABR does provide higher\n"
-        "            quality but CBR may be useful in situations such as when\n"
-        "            streaming an mp3 over the internet may be important.\n"
-        "\n"
-        "    For example:\n"
-        "\n"
-        "    \"-lameopts fast:preset=standard  \"\n"
-        " or \"-lameopts  cbr:preset=192       \"\n"
-        " or \"-lameopts      preset=172       \"\n"
-        " or \"-lameopts      preset=extreme   \"\n"
-        "\n"
-        "\n"
-        "A few aliases are available for ABR mode:\n"
-        "phone => 16kbps/mono        phon+/lw/mw-eu/sw => 24kbps/mono\n"
-        "mw-us => 40kbps/mono        voice => 56kbps/mono\n"
-        "fm/radio/tape => 112kbps    hifi => 160kbps\n"
-        "cd => 192kbps               studio => 256kbps");
+        mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_LamePresetsLongInfo);
 	mencoder_exit(0, NULL);
 }
 #endif
--- a/mp_msg.h	Tue Aug 24 19:29:17 2004 +0000
+++ b/mp_msg.h	Tue Aug 24 19:36:17 2004 +0000
@@ -19,6 +19,9 @@
 #define MSGL_DBG3 8   // v=3
 #define MSGL_DBG4 9   // v=4
 
+#define MSGL_FIXME 1  // for conversions from printf where the appropriate MSGL is not known; set equal to ERR for obtrusiveness
+#define MSGT_FIXME 0  // for conversions from printf where the appropriate MSGT is not known; set equal to GLOBAL for obtrusiveness
+
 // code/module:
 
 #define MSGT_GLOBAL 0        // common player stuff errors
--- a/mplayer.c	Tue Aug 24 19:29:17 2004 +0000
+++ b/mplayer.c	Tue Aug 24 19:36:17 2004 +0000
@@ -478,7 +478,7 @@
 
   current_module="exit_player";
 
-  if(how) mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_Exiting,mp_gettext(how));
+  if(how) mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_ExitingHow,mp_gettext(how));
   mp_msg(MSGT_CPLAYER,MSGL_DBG2,"max framesize was %d bytes\n",max_framesize);
 
   exit(rc);