rework android-rmt display, add a few buttons
[goodguy/history.git] / cinelerra-5.0 / cinelerra / formatcheck.C
index 5685cf5b8c9f1ee10fecfcde49bc0ecb8ebb15d6..d3469623093352317fb18ac76f49e15d0dae2131 100644 (file)
@@ -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();