]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
tempfix 'Anonymous player' -> '???' until it's translatable
authorDr. Jaska <drjaska83@gmail.com>
Fri, 9 Jun 2023 00:04:48 +0000 (00:04 +0000)
committerz411 <z411@omaera.org>
Fri, 9 Jun 2023 00:04:48 +0000 (00:04 +0000)
qcsrc/server/damage.qc

index 429d3e262568b56b77cab4cd76d86c73ea8de5d2..44bce18a823533eeaf494f6b0dc654d5903bec68 100644 (file)
@@ -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(