From: Dr. Jaska Date: Fri, 9 Jun 2023 00:04:48 +0000 (+0000) Subject: tempfix 'Anonymous player' -> '???' until it's translatable X-Git-Tag: xonotic-v0.8.6~24^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8b88009eadfd63bf47efe83cf36be86cf636f389;p=xonotic%2Fxonotic-data.pk3dir.git tempfix 'Anonymous player' -> '???' until it's translatable --- 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(