X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fgwindowgui.C;fp=cinelerra-5.1%2Fcinelerra%2Fgwindowgui.C;h=1e51d17cc8d92f8a676f1622bf2945af240dc06a;hb=0ce171270662e17398676054050f570228d8f45f;hp=127059e66a5cc1542c6d7b7f8842c100d3e0c817;hpb=318256a48938064b695268d03396977739ef4724;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/gwindowgui.C b/cinelerra-5.1/cinelerra/gwindowgui.C index 127059e6..1e51d17c 100644 --- a/cinelerra-5.1/cinelerra/gwindowgui.C +++ b/cinelerra-5.1/cinelerra/gwindowgui.C @@ -46,26 +46,26 @@ GWindowGUI::GWindowGUI(MWindow *mwindow, int w, int h) static const char *other_text[NON_AUTOMATION_TOTAL] = { - _("Assets"), - _("Titles"), - _("Transitions"), - _("Plugin Autos") + "Assets", + "Titles", + "Transitions", + "Plugin Autos" }; static const char *auto_text[AUTOMATION_TOTAL] = { - _("Mute"), - _("Camera X"), - _("Camera Y"), - _("Camera Z"), - _("Projector X"), - _("Projector Y"), - _("Projector Z"), - _("Fade"), - _("Pan"), - _("Mode"), - _("Mask"), - _("Speed") + "Mute", + "Camera X", + "Camera Y", + "Camera Z", + "Projector X", + "Projector Y", + "Projector Z", + "Fade", + "Pan", + "Mode", + "Mask", + "Speed" }; @@ -102,9 +102,9 @@ void GWindowGUI::calculate_extents(BC_WindowBase *gui, int *w, int *h) BC_WindowBase::get_resources()->checkbox_images, 0, &temp1, ¤t_w, ¤t_h, &temp2, &temp3, &temp4, &temp5, &temp6, &temp7, - toggle_order[i].isauto ? + _(toggle_order[i].isauto ? auto_text[toggle_order[i].ref] : - other_text[toggle_order[i].ref], MEDIUMFONT); + other_text[toggle_order[i].ref]), MEDIUMFONT); *w = MAX(current_w, *w); *h += current_h + 5; } @@ -198,7 +198,7 @@ int GWindowGUI::keypress_event() GWindowToggle::GWindowToggle(MWindow *mwindow, GWindowGUI *gui, int x, int y, toggleinfo toggleinf) : BC_CheckBox(x, y, *get_main_value(mwindow, toggleinf), - toggleinf.isauto ? auto_text[toggleinf.ref] : other_text[toggleinf.ref]) + _((toggleinf.isauto ? auto_text[toggleinf.ref] : other_text[toggleinf.ref]))) { this->mwindow = mwindow; this->gui = gui;