Correct false positives translation warnings

Fixes #2053
This commit is contained in:
Anders Jenbo 2021-05-25 01:28:07 +02:00
commit 68249d07e3
2 changed files with 3 additions and 3 deletions

View file

@ -3529,10 +3529,10 @@ void PrintItemPower(char plidx, ItemStruct *x)
strcpy(tempstr, _("indestructible"));
break;
case IPL_LIGHT:
strcpy(tempstr, fmt::format(_("+{:d}% light radius"), 10 * x->_iPLLight).c_str());
/*xgettext:no-c-format*/ strcpy(tempstr, fmt::format(_("+{:d}% light radius"), 10 * x->_iPLLight).c_str());
break;
case IPL_LIGHT_CURSE:
strcpy(tempstr, fmt::format(_("-{:d}% light radius"), -10 * x->_iPLLight).c_str());
/*xgettext:no-c-format*/ strcpy(tempstr, fmt::format(_("-{:d}% light radius"), -10 * x->_iPLLight).c_str());
break;
case IPL_MULT_ARROWS:
strcpy(tempstr, _("multiple arrows per shot"));

View file

@ -606,7 +606,7 @@ const TextDataStruct alltext[] = {
true, TSFX_COWSUT8 },
{ N_(/* TRANSLATORS: Quest text spoken by Complete Nut */ "Look. I'm a cow. And you, you're monster bait. Get some experience under your belt! We'll talk..."),
true, TSFX_COWSUT9 },
{ N_(""), true, TSFX_TRADER1 },
{ "", true, TSFX_TRADER1 },
{ N_(/* TRANSLATORS: Quest text spoken by Farmer */ "It must truly be a fearsome task I've set before you. If there was just some way that I could... would a flagon of some nice, fresh milk help?"),
true, TSFX_FARMER2A },
{ N_(/* TRANSLATORS: Quest text spoken by Farmer */ "Oh, I could use your help, but perhaps after you've saved the catacombs from the desecration of those beasts."),