X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fstatslist.qc;h=d1edd5948e8a91ecce5dbf522a3bfb30eff27641;hb=abf4b5a430d71fc83abbe90da9b17b457a65e149;hp=7d19516cf01673cfd38f150a63ab4678de6612ca;hpb=8e4957c252f8381e37f2a72e227797bf51e5cc2f;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/statslist.qc b/qcsrc/menu/xonotic/statslist.qc index 7d19516cf0..d1edd5948e 100644 --- a/qcsrc/menu/xonotic/statslist.qc +++ b/qcsrc/menu/xonotic/statslist.qc @@ -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