From 068e8087146820d5e168597ff95811efe028e405 Mon Sep 17 00:00:00 2001 From: Samual Date: Thu, 19 Jan 2012 14:47:22 -0500 Subject: [PATCH] More ZCTX stuff --- ...dialog_multiplayer_playersetup_crosshair.c | 6 +++--- ...ialog_multiplayer_playersetup_hudconfirm.c | 4 ++-- .../dialog_multiplayer_playersetup_view.c | 20 +++++++++---------- .../dialog_multiplayer_playersetup_weapons.c | 2 +- qcsrc/menu/xonotic/dialog_singleplayer.c | 6 +++--- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_crosshair.c b/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_crosshair.c index 56aedcab8..a18fec1c4 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_crosshair.c +++ b/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_crosshair.c @@ -66,9 +66,9 @@ void XonoticCrosshairDialog_fill(entity me) me.TDempty(me, 0.2); me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Hit testing:"))); me.TD(me, 1, 2, e = makeXonoticTextSlider("crosshair_hittest")); - e.addValue(e, "Disabled", "0"); - e.addValue(e, "TrueAim", "1"); - e.addValue(e, "Enemies", "1.25"); + e.addValue(e, ZCTX(_("HTTST^Disabled")), "0"); + e.addValue(e, ZCTX(_("HTTST^TrueAim")), "1"); + e.addValue(e, ZCTX(_("HTTST^Enemies")), "1.25"); e.configureXonoticTextSliderValues(e); setDependent(e, "crosshair_enabled", 1, 2); me.TR(me); diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_hudconfirm.c b/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_hudconfirm.c index 433c99bad..b06dc9207 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_hudconfirm.c +++ b/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_hudconfirm.c @@ -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; } diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_view.c b/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_view.c index a331f3b80..bfa52ec45 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_view.c +++ b/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_view.c @@ -30,16 +30,16 @@ void XonoticViewDialog_fill(entity me) me.TR(me); me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Zoom:"))); me.TD(me, 1, 2, e = makeXonoticTextSlider("cl_reticle")); - e.addValue(e, _("Fullscreen"), "0"); - e.addValue(e, _("With reticle"), "1"); + e.addValue(e, ZCTX(_("RETICLE^Fullscreen")), "0"); + e.addValue(e, ZCTX(_("RETICLE^With reticle")), "1"); e.configureXonoticTextSliderValues(e); me.TR(me); me.TDempty(me, 0.2); - me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Factor:"))); + me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, ZCTX(_("ZOOM^Factor:")))); me.TD(me, 1, 2, e = makeXonoticSlider(2, 16, 0.5, "cl_zoomfactor")); me.TR(me); me.TDempty(me, 0.2); - me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Speed:"))); + me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, ZCTX(_("ZOOM^Speed:")))); me.TD(me, 1, 2, e = makeXonoticTextSlider("cl_zoomspeed")); e.addValue(e, "1", "1"); // Samual: for() loop doesn't work here, even though it would make sense. e.addValue(e, "2", "2"); @@ -49,22 +49,22 @@ void XonoticViewDialog_fill(entity me) e.addValue(e, "6", "6"); e.addValue(e, "7", "7"); e.addValue(e, "8", "8"); - e.addValue(e, _("Instant"), "-1"); + e.addValue(e, ZCTX(_("ZOOM^Instant")), "-1"); e.configureXonoticTextSliderValues(e); me.TR(me); me.TDempty(me, 0.2); - me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Sensitivity:"))); + me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, ZCTX(_("ZOOM^Sensitivity:")))); me.TD(me, 1, 2, e = makeXonoticSlider(0, 1, 0.1, "cl_zoomsensitivity")); me.TR(me); me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Velocity zoom:"))); me.TD(me, 1, 2, e = makeXonoticTextSlider("cl_velocityzoom_type")); - e.addValue(e, _("Disabled"), "0"); - e.addValue(e, _("Forward only"), "3"); - e.addValue(e, _("All directions"), "1"); + e.addValue(e, ZCTX(_("VZOOM^Disabled")), "0"); + e.addValue(e, ZCTX(_("VZOOM^Forward only")), "3"); + e.addValue(e, ZCTX(_("VZOOM^All directions")), "1"); e.configureXonoticTextSliderValues(e); me.TR(me); me.TDempty(me, 0.2); - me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Speed"))); + me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, ZCTX(_("VZOOM^Speed")))); me.TD(me, 1, 2, e = makeXonoticSlider(-1, 1, 0.2, "cl_velocityzoom")); setDependent(e, "cl_velocityzoom_type", 1, 3); me.TR(me); diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_weapons.c b/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_weapons.c index 8edb1e074..418d41c34 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_weapons.c +++ b/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_weapons.c @@ -65,7 +65,7 @@ void XonoticWeaponsDialog_fill(entity me) me.TR(me); me.TR(me); me.TDempty(me, 0.2); - me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Scale"))); + me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, ZCTX(_("VWMDL^Scale")))); setDependent(e, "r_drawviewmodel", 1, 1); me.TD(me, 1, 2, e = makeXonoticSlider(0.1, 2, 0.1, "cl_viewmodel_scale")); setDependent(e, "r_drawviewmodel", 1, 1); diff --git a/qcsrc/menu/xonotic/dialog_singleplayer.c b/qcsrc/menu/xonotic/dialog_singleplayer.c index 351e3ac81..c37cb7e40 100644 --- a/qcsrc/menu/xonotic/dialog_singleplayer.c +++ b/qcsrc/menu/xonotic/dialog_singleplayer.c @@ -135,9 +135,9 @@ void XonoticSingleplayerDialog_fill(entity me) me.gotoRC(me, me.rows - 2, 0); me.TD(me, 1, 2, e = makeXonoticTextLabel(0.5, _("Campaign Difficulty:"))); - me.TD(me, 1, 1, e = makeXonoticRadioButton(1, "g_campaign_skill", "-2", _("Easy"))); - me.TD(me, 1, 1, e = makeXonoticRadioButton(1, "g_campaign_skill", "-1", _("Medium"))); - me.TD(me, 1, 1, e = makeXonoticRadioButton(1, "g_campaign_skill", "0", _("Hard"))); + me.TD(me, 1, 1, e = makeXonoticRadioButton(1, "g_campaign_skill", "-2", ZCTX(_("CSKL^Easy")))); + me.TD(me, 1, 1, e = makeXonoticRadioButton(1, "g_campaign_skill", "-1", ZCTX(_("CSKL^Medium")))); + me.TD(me, 1, 1, e = makeXonoticRadioButton(1, "g_campaign_skill", "0", ZCTX(_("CSKL^Hard")))); me.TR(me); me.TD(me, 1, me.columns, e = makeXonoticButton(_("Start Singleplayer!"), '0 0 0')); e.onClick = CampaignList_LoadMap; -- 2.39.2