SetFormat::SetFormat(MWindow *mwindow)
- : BC_MenuItem(_("Format..."), "Shift-F", 'F')
+ : BC_MenuItem(_("Format..."), _("Shift-F"), 'F')
{
set_shift(1);
this->mwindow = mwindow;
SetFormatThread::~SetFormatThread()
{
if( running() ) {
+ window->set_done(1);
cancel();
join();
}
SetFormatThread *thread,
int x,
int y)
- : BC_Window(PROGRAM_NAME ": Set Format",
+ : BC_Window(_(PROGRAM_NAME ": Set Format"),
x,
y,
mwindow->theme->setformat_w,
this->mwindow = mwindow;
this->thread = thread;
this->gui = gui;
- set_tooltip("Swap dimensions");
+ set_tooltip(_("Swap dimensions"));
}
int FormatSwapExtents::handle_event()