]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_multiplayer_playersetup_hudconfirm.c
Merge remote-tracking branch 'origin/samual/serverlist'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_multiplayer_playersetup_hudconfirm.c
index 433c99badce33960a445195c19fee6190186e613..7749a148d96a5a6e77d5bb2c57123c19b106d528 100644 (file)
@@ -12,11 +12,11 @@ ENDCLASS(XonoticHUDConfirmDialog)
 #ifdef IMPLEMENTATION
 void HUDSetup_Start(entity me, entity btn)
 {
-       if not(gamestatus & (GAME_CONNECTED | GAME_ISSERVER))
+       if (!(gamestatus & (GAME_CONNECTED | GAME_ISSERVER)))
                localcmd("map hudsetup/hudsetup", "\n");
        else
                localcmd("togglemenu 0\n");
-               
+
        localcmd("_hud_configure 1", "\n");
 }
 
@@ -30,10 +30,10 @@ void XonoticHUDConfirmDialog_fill(entity me)
                me.TD(me, 1, 2, e = makeXonoticTextLabel(0.5, _("Do you wish to start a local game to set up the HUD?")));
        me.TR(me);
        me.TR(me);
-               me.TD(me, 1, 1, e = makeXonoticButton(_("Yes"), '1 0 0'));
+               me.TD(me, 1, 1, e = makeXonoticButton(ZCTX(_("HDCNFRM^Yes")), '1 0 0'));
                        e.onClick = HUDSetup_Start;
                        e.onClickEntity = me;
-               me.TD(me, 1, 1, e = makeXonoticButton(_("No"), '0 1 0'));
+               me.TD(me, 1, 1, e = makeXonoticButton(ZCTX(_("HDCNFRM^No")), '0 1 0'));
                        e.onClick = Dialog_Close;
                        e.onClickEntity = me;
 }