X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fformatcheck.C;h=d3469623093352317fb18ac76f49e15d0dae2131;hb=6c0c8bd0e577001d1cc18c6c27d58e62f58a6bff;hp=5685cf5b8c9f1ee10fecfcde49bc0ecb8ebb15d6;hpb=2d99bb8ce591f05a31464b517d85dc2bc35b2abe;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/formatcheck.C b/cinelerra-5.0/cinelerra/formatcheck.C index 5685cf5b..d3469623 100644 --- a/cinelerra-5.0/cinelerra/formatcheck.C +++ b/cinelerra-5.0/cinelerra/formatcheck.C @@ -48,7 +48,7 @@ int FormatCheck::check_format() // Only 1 format can store video. if(!File::supports_video(asset->format)) { - ErrorBox errorbox(PROGRAM_NAME ": Error"); + ErrorBox errorbox(_(PROGRAM_NAME ": Error")); errorbox.create_objects(_("The format you selected doesn't support video.")); errorbox.run_window(); result = 1; @@ -59,25 +59,16 @@ int FormatCheck::check_format() { if(!File::supports_audio(asset->format)) { - ErrorBox errorbox(PROGRAM_NAME ": Error"); + ErrorBox errorbox(_(PROGRAM_NAME ": Error")); errorbox.create_objects(_("The format you selected doesn't support audio.")); errorbox.run_window(); result = 1; } - if(!result && asset->bits == BITSIMA4 && asset->format != FILE_MOV) - { - ErrorBox errorbox(PROGRAM_NAME ": Error"); - errorbox.create_objects(_("IMA4 compression is only available in Quicktime movies.")); - errorbox.run_window(); - result = 1; - } - if(!result && asset->bits == BITSULAW && - asset->format != FILE_MOV && asset->format != FILE_PCM) { - ErrorBox errorbox(PROGRAM_NAME ": Error"); + ErrorBox errorbox(_(PROGRAM_NAME ": Error")); errorbox.create_objects(_("ULAW compression is only available in\n" "Quicktime Movies and PCM files.")); errorbox.run_window();