From 8b88009eadfd63bf47efe83cf36be86cf636f389 Mon Sep 17 00:00:00 2001 From: "Dr. Jaska" Date: Fri, 9 Jun 2023 00:04:48 +0000 Subject: [PATCH] tempfix 'Anonymous player' -> '???' until it's translatable --- qcsrc/server/damage.qc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qcsrc/server/damage.qc b/qcsrc/server/damage.qc index 429d3e262..44bce18a8 100644 --- a/qcsrc/server/damage.qc +++ b/qcsrc/server/damage.qc @@ -245,8 +245,10 @@ void Obituary(entity attacker, entity inflictor, entity targ, int deathtype, .en if (MUTATOR_CALLHOOK(ClientObituary, inflictor, attacker, targ, deathtype, attacker.(weaponentity))) { CS(targ).killcount = 0; return; } notif_anonymous = M_ARGV(5, bool); + // TODO: Replace "???" with a translatable "Anonymous player" string + // https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/2839 if(notif_anonymous) - attacker_name = "Anonymous player"; + attacker_name = "???"; #ifdef NOTIFICATIONS_DEBUG Debug_Notification( -- 2.39.2