]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_sniperrifle.qc
Merge branch 'master' into mirceakitsune/universal_reload_system
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_sniperrifle.qc
index 3320ae792a133ac2b360b1788a471e902917154c..3e2d3a665e0cd93c33425198c3625c9ed9228f26 100644 (file)
@@ -300,32 +300,32 @@ float w_sniperrifle(float req)
        else if (req == WR_SUICIDEMESSAGE)
        {
                if(w_deathtype & HITTYPE_SECONDARY)
-                       w_deathtypestring = "%s shot themself automatically";
+                       w_deathtypestring = _("%s shot themself automatically");
                else
-                       w_deathtypestring = "%s sniped themself somehow";
+                       w_deathtypestring = _("%s sniped themself somehow");
        }
        else if (req == WR_KILLMESSAGE)
        {
                if(w_deathtype & HITTYPE_SECONDARY)
                {
                        if(w_deathtype & HITTYPE_BOUNCE)
-                               w_deathtypestring = "%s failed to hide from %s's bullet hail";
+                               w_deathtypestring = _("%s failed to hide from %s's bullet hail");
                        else
-                               w_deathtypestring = "%s died in %s's bullet hail";
+                               w_deathtypestring = _("%s died in %s's bullet hail");
                }
                else
                {
                        if(w_deathtype & HITTYPE_BOUNCE)
                        {
                                // TODO special headshot message here too?
-                               w_deathtypestring = "%s failed to hide from %s's rifle";
+                               w_deathtypestring = _("%s failed to hide from %s's rifle");
                        }
                        else
                        {
                                if(w_deathtype & HITTYPE_HEADSHOT)
-                                       w_deathtypestring = "%s got hit in the head by %s";
+                                       w_deathtypestring = _("%s got hit in the head by %s");
                                else
-                                       w_deathtypestring = "%s was sniped by %s";
+                                       w_deathtypestring = _("%s was sniped by %s");
                        }
                }
        }