e.onChangeEntity = slist;
slist.screenshotViewerDialog = main.screenshotViewerDialog;
main.screenshotViewerDialog.scrList = slist;
- me.TD(me, 1, 0.5, e = makeXonoticButton("Refresh", '0 0 0'));
+ me.TD(me, 1, 1, e = makeXonoticButton(_("Refresh"), '0 0 0'));
e.onClick = ScreenshotList_Refresh_Click;
e.onClickEntity = slist;
me.TR(me);
me.TD(me, slist_height, me.columns, slist);
me.gotoRC(me, slist_height + 1, 0);
- me.TD(me, 1, me.columns, e = makeXonoticButton("Open in the viewer", '0 0 0'));
+ me.TD(me, 1, me.columns, e = makeXonoticButton(_("Open in the viewer"), '0 0 0'));
e.onClick = StartScreenshot_Click;
e.onClickEntity = slist;
/*
me.TD(me, 1, 1/20 * me.columns, e = makeXonoticButton("+", '0 0 0'));
e.onClick = increaseZoom_Click;
e.onClickEntity = me;
- me.TD(me, 1, 2/20 * me.columns, e = makeXonoticButton("reset", '0 0 0'));
+ me.TD(me, 1, 2/20 * me.columns, e = makeXonoticButton(_("Reset"), '0 0 0'));
e.onClick = resetZoom_Click;
e.onClickEntity = me;
me.TDempty(me, 2/20 * me.columns);
- me.TD(me, 1, 3/20 * me.columns, e = makeXonoticButton("Previous", '0 0 0'));
+ me.TD(me, 1, 3/20 * me.columns, e = makeXonoticButton(_("Previous"), '0 0 0'));
e.onClick = prevScreenshot_Click;
e.onClickEntity = me;
- me.TD(me, 1, 3/20 * me.columns, e = makeXonoticButton("Next", '0 0 0'));
+ me.TD(me, 1, 3/20 * me.columns, e = makeXonoticButton(_("Next"), '0 0 0'));
e.onClick = nextScreenshot_Click;
e.onClickEntity = me;
me.TDempty(me, 2/20 * me.columns);
- me.TD(me, 1, 4/20 * me.columns, e = makeXonoticButton("Slide show", '0 0 0'));
+ me.TD(me, 1, 4/20 * me.columns, e = makeXonoticButton(_("Slide show"), '0 0 0'));
e.onClick = toggleSlideShow_Click;
e.onClickEntity = me;
me.slideShowButton = e;