]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Improve a few strings
authorterencehill <piuntn@gmail.com>
Sat, 26 Mar 2022 10:44:40 +0000 (11:44 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 26 Mar 2022 10:44:40 +0000 (11:44 +0100)
qcsrc/client/main.qc

index d1f6e1b8d102d67570dd1b2e09a37ed93c94bacf..13b68aa837147099956f180ac41274ff483915d4 100644 (file)
@@ -1298,11 +1298,11 @@ NET_HANDLE(TE_CSQC_SERVERINFO, bool isNew)
 
        string msg = "";
        msg = strcat(msg, ver);
-       msg = strcat(msg, "^8\n\n", _("match type is "), " ^1", MapInfo_Type_ToText(gametype), "^8\n");
+       msg = strcat(msg, "^8\n\n", sprintf(_("Game type: ^1%s"), MapInfo_Type_ToText(gametype)), "^8\n");
        if(modifications != "")
-               msg = strcat(msg, "^8\n", _("active modifications:"), " ^3", modifications, "^8\n");
+               msg = strcat(msg, "^8\n", _("Active modifications:"), " ^3", modifications, "^8\n");
        if (cache_mutatormsg != "")
-               msg = strcat(msg, "\n\n^8", _("special gameplay tips:"), " ^7", cache_mutatormsg);
+               msg = strcat(msg, "\n\n^8", _("Special gameplay tips:"), " ^7", cache_mutatormsg);
        msg = strcat(msg, mutator_msg); // trust that the mutator will do proper formatting
        if (motd != "")
                msg = strcat(msg, "\n\n^8", _("MOTD:"), " ^7", motd);