Browse Source

Correct false positives translation warnings

Fixes #2053
pull/2057/head
Anders Jenbo 5 years ago
parent
commit
68249d07e3
  1. 4
      Source/items.cpp
  2. 2
      Source/textdat.cpp

4
Source/items.cpp

@ -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"));

2
Source/textdat.cpp

@ -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."),

Loading…
Cancel
Save