X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_quit.qc;h=89bfae806495085842fce9d19fc6d4573e28966f;hp=3f5b18712ea8263b277e72a4624a2ae0af65dd21;hb=3ecb4f377794080b3b216d6be9f131c227e76210;hpb=7b1c7d6a2f8f423b2642a4d2f5f07be9cd5890d0 diff --git a/qcsrc/menu/xonotic/dialog_quit.qc b/qcsrc/menu/xonotic/dialog_quit.qc index 3f5b18712..89bfae806 100644 --- a/qcsrc/menu/xonotic/dialog_quit.qc +++ b/qcsrc/menu/xonotic/dialog_quit.qc @@ -2,19 +2,19 @@ #include "textlabel.qh" #include "commandbutton.qh" +#include "leavematchbutton.qh" #include "button.qh" void XonoticQuitDialog_fill(entity me) { entity e; me.TR(me); - me.TD(me, 1, 2, makeXonoticTextLabel(0.5, _("Are you sure you want to quit?"))); + me.TDempty(me, 0.5); + me.TD(me, 1, 1, e = makeXonoticLeaveMatchButton('0 0 0', COMMANDBUTTON_CLOSE)); me.TR(me); me.TR(me); - me.TD(me, 1, 1, e = makeXonoticCommandButton_T(_("Yes"), '1 0 0', "echo ]quit; quit", 0, - _("Back to work..."))); - me.TD(me, 1, 1, e = makeXonoticButton_T(_("No"), '0 1 0', - _("I got some more fragging to do!"))); + me.TD(me, 1, 1, e = makeXonoticCommandButton(_("Quit Xonotic"), '1 0 0', "echo ]quit; quit", 0)); + me.TD(me, 1, 1, e = makeXonoticButton(_("Cancel"), '0 1 0')); e.onClick = Dialog_Close; e.onClickEntity = me; }