X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Frecordgui.C;h=bd45c32346f2fef2e6a7c0a9d499c191d7d41b68;hb=f9d0d999e813ae19965e07ae2f7da690b4e6fe45;hp=c91be42480677d87a16a61e3ee441c9c2ff4fad9;hpb=2d99bb8ce591f05a31464b517d85dc2bc35b2abe;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/recordgui.C b/cinelerra-5.0/cinelerra/recordgui.C index c91be424..bd45c323 100644 --- a/cinelerra-5.0/cinelerra/recordgui.C +++ b/cinelerra-5.0/cinelerra/recordgui.C @@ -31,7 +31,6 @@ #include "edl.h" #include "edlsession.h" #include "file.h" -#include "filemov.h" #include "filesystem.h" #include "keys.h" #include "language.h" @@ -60,7 +59,7 @@ RecordGUI::RecordGUI(MWindow *mwindow, Record *record) - : BC_Window(PROGRAM_NAME ": Recording", + : BC_Window(_(PROGRAM_NAME ": Recording"), mwindow->session->rwindow_x, mwindow->session->rwindow_y, mwindow->session->rwindow_w, mwindow->session->rwindow_h, 10, 10, 1, 0, 1) @@ -187,7 +186,7 @@ void RecordGUI::create_objects() batch_path->get_x() + batch_path->get_w(), y, asset->path, - PROGRAM_NAME ": Record path", + _(PROGRAM_NAME ": Record path"), _("Select a file to record to:"), 0)); x2 = max(x2, batch_path->get_w() + batch_browse->get_w()); @@ -292,9 +291,8 @@ void RecordGUI::create_objects() if(asset->video_data) { add_subwindow(new BC_Title(x, y, - asset->format != FILE_MPEG ? - FileMOV::compressiontostr(asset->vcodec) : - "File Capture", + asset->format == FILE_MPEG ? _("File Capture") : + File::compressiontostr(asset->vcodec), MEDIUMFONT, mwindow->theme->recordgui_fixed_color)); @@ -968,7 +966,7 @@ int RecordGUIStopBatches::handle_event() { Record *record = gui->record; unlock_window(); - record->stop_cron_thread("Stopped"); + record->stop_cron_thread(_("Stopped")); lock_window(); return RecordBatchesGUI::StopBatches::handle_event(); } @@ -983,7 +981,7 @@ RecordGUIActivateBatch::RecordGUIActivateBatch(RecordGUI *gui, int x, int y) int RecordGUIActivateBatch::handle_event() { gui->record->activate_batch(gui->record->editing_batch()); - gui->update_cron_status("Idle"); + gui->update_cron_status(_("Idle")); return RecordBatchesGUI::ActivateBatch::handle_event(); }