From f5bbc47a2d2f70c36e5767c4be399b763f8895b9 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 10 Oct 2021 15:12:34 +0200 Subject: [PATCH] Fix / Improve translation context of some strings --- qcsrc/menu/xonotic/slider_particles.qc | 12 ++++++------ qcsrc/menu/xonotic/slider_sbfadetime.qc | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/qcsrc/menu/xonotic/slider_particles.qc b/qcsrc/menu/xonotic/slider_particles.qc index 5e2b1bf81..27a723689 100644 --- a/qcsrc/menu/xonotic/slider_particles.qc +++ b/qcsrc/menu/xonotic/slider_particles.qc @@ -12,12 +12,12 @@ void XonoticParticlesSlider_configureXonoticParticlesSlider(entity me) me.configureXonoticTextSlider(me, "cl_particles_quality", _("Multiplier for amount of particles. Less means less particles, which in turn gives for better performance")); if(cvar("developer") > 0) { me.addValue(me, ZCTX(_("PART^OMG")), "0.25 250 0"); } - me.addValue(me, ZCTX(_("PART^Low")), "0.5 500 0"); - me.addValue(me, ZCTX(_("PART^Medium")), "0.75 750 0"); - me.addValue(me, ZCTX(_("PART^Normal")), "1.0 1000 1"); - me.addValue(me, ZCTX(_("PART^High")), "1.5 1500 1"); - me.addValue(me, ZCTX(_("PART^Ultra")), "2.0 2000 2"); - if(cvar("developer") > 0) { me.addValue(me, ZCTX(_("PART^Ultimate")), "3.0 3000 2"); } + me.addValue(me, ZCTX(_("PARTQUAL^Low")), "0.5 500 0"); + me.addValue(me, ZCTX(_("PARTQUAL^Medium")), "0.75 750 0"); + me.addValue(me, ZCTX(_("PARTQUAL^Normal")), "1.0 1000 1"); + me.addValue(me, ZCTX(_("PARTQUAL^High")), "1.5 1500 1"); + me.addValue(me, ZCTX(_("PARTQUAL^Ultra")), "2.0 2000 2"); + if(cvar("developer") > 0) { me.addValue(me, ZCTX(_("PARTQUAL^Ultimate")), "3.0 3000 2"); } me.configureXonoticTextSliderValues(me); } void XonoticParticlesSlider_loadCvars(entity me) diff --git a/qcsrc/menu/xonotic/slider_sbfadetime.qc b/qcsrc/menu/xonotic/slider_sbfadetime.qc index 048a42184..a07f6d7ad 100644 --- a/qcsrc/menu/xonotic/slider_sbfadetime.qc +++ b/qcsrc/menu/xonotic/slider_sbfadetime.qc @@ -10,10 +10,10 @@ entity makeXonoticScoreboardFadeTimeSlider() void XonoticScoreboardFadeTimeSlider_configureXonoticScoreboardFadeTimeSlider(entity me) { me.configureXonoticTextSlider(me, "hud_panel_scoreboard_fadeinspeed", string_null); - me.addValue(me, ZCTX(_("PART^Slow")), "5 2.5"); - me.addValue(me, ZCTX(_("PART^Normal")), "10 5"); - me.addValue(me, ZCTX(_("PART^Fast")), "15 7.5"); - me.addValue(me, ZCTX(_("PART^Instant")), "0 0"); + me.addValue(me, ZCTX(_("FADESPEED^Slow")), "5 2.5"); + me.addValue(me, ZCTX(_("FADESPEED^Normal")), "10 5"); + me.addValue(me, ZCTX(_("FADESPEED^Fast")), "15 7.5"); + me.addValue(me, ZCTX(_("FADESPEED^Instant")), "0 0"); me.configureXonoticTextSliderValues(me); } void XonoticScoreboardFadeTimeSlider_loadCvars(entity me) -- 2.39.2