]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/statslist.qc
Improve and add context to some translatable messages
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / statslist.qc
index 7d19516cf01673cfd38f150a63ab4678de6612ca..d1edd5948e8a91ecce5dbf522a3bfb30eff27641 100644 (file)
@@ -41,6 +41,8 @@ string XonoticStatsList_convertDate(string input)
                default: return input; // failed, why?
        }
 
+       // without no-c-format this string looks messed up in Transifex since only %d is a valid c placeholder
+       /* xgettext:no-c-format */
        string date = ZCTX(_("DATE^%m %d, %Y"));
        date = strreplace("%Y", substring(input, 0, 4), date);
        date = strreplace("%d", ftos(stof(substring(input, 8, 2))), date); // ftos-stof removes leading 0