diff --git a/.editorconfig b/.editorconfig index 78fb6aa33..75fe3b237 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,6 +11,12 @@ insert_final_newline = true # Visual C++ Code Style settings cpp_generate_documentation_comments = doxygen_slash_star +[*.pot] +end_of_line = lf + +[*.po] +end_of_line = lf + [*.yml] indent_style = space end_of_line = lf diff --git a/Source/control.cpp b/Source/control.cpp index 51478373f..6d13e6755 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -434,11 +434,11 @@ void DrawSpellList(const CelOutputBuffer &out) case RSPLTYPE_SPELL: sprintf(infostr, _("%s Spell"), _(spelldata[pSpell].sNameText)); if (pSpell == SPL_HBOLT) { - sprintf(tempstr, _("Damages undead only")); + strcpy(tempstr, _("Damages undead only")); AddPanelString(tempstr, true); } if (s == 0) - sprintf(tempstr, _("Spell Level 0 - Unusable")); + strcpy(tempstr, _("Spell Level 0 - Unusable")); else sprintf(tempstr, _("Spell Level %i"), s); AddPanelString(tempstr, true); @@ -1036,7 +1036,7 @@ void CheckPanelInfo() if (c < 0) c = 0; if (c == 0) - sprintf(tempstr, _("Spell Level 0 - Unusable")); + strcpy(tempstr, _("Spell Level 0 - Unusable")); else sprintf(tempstr, _("Spell Level %i"), c); AddPanelString(tempstr, true); @@ -1440,7 +1440,7 @@ void DrawChr(const CelOutputBuffer &out) sprintf(chrstr, "%i%%", plr[myplr]._pMagResist); } else { col = COL_GOLD; - sprintf(chrstr, _("MAX")); + strcpy(chrstr, _("MAX")); } ADD_PlrStringXY(out, 257, 276, 300, chrstr, col); @@ -1452,7 +1452,7 @@ void DrawChr(const CelOutputBuffer &out) sprintf(chrstr, "%i%%", plr[myplr]._pFireResist); } else { col = COL_GOLD; - sprintf(chrstr, _("MAX")); + strcpy(chrstr, _("MAX")); } ADD_PlrStringXY(out, 257, 304, 300, chrstr, col); @@ -1464,7 +1464,7 @@ void DrawChr(const CelOutputBuffer &out) sprintf(chrstr, "%i%%", plr[myplr]._pLghtResist); } else { col = COL_GOLD; - sprintf(chrstr, _("MAX")); + strcpy(chrstr, _("MAX")); } ADD_PlrStringXY(out, 257, 332, 300, chrstr, col); @@ -1862,7 +1862,7 @@ void DrawSpellBook(const CelOutputBuffer &out) lvl = 0; } if (lvl == 0) { - sprintf(tempstr, _("Spell Level 0 - Unusable")); + strcpy(tempstr, _("Spell Level 0 - Unusable")); } else { sprintf(tempstr, _("Spell Level %i"), lvl); } diff --git a/Source/items.cpp b/Source/items.cpp index 2c76399c1..de86020f9 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -3482,28 +3482,28 @@ void PrintItemPower(char plidx, ItemStruct *x) if (x->_iPLFR < 75) sprintf(tempstr, _("Resist Fire: %+i%%"), x->_iPLFR); else - sprintf(tempstr, _("Resist Fire: 75%% MAX")); + strcpy(tempstr, _("Resist Fire: 75% MAX")); break; case IPL_LIGHTRES: case IPL_LIGHTRES_CURSE: if (x->_iPLLR < 75) sprintf(tempstr, _("Resist Lightning: %+i%%"), x->_iPLLR); else - sprintf(tempstr, _("Resist Lightning: 75%% MAX")); + strcpy(tempstr, _("Resist Lightning: 75% MAX")); break; case IPL_MAGICRES: case IPL_MAGICRES_CURSE: if (x->_iPLMR < 75) sprintf(tempstr, _("Resist Magic: %+i%%"), x->_iPLMR); else - sprintf(tempstr, _("Resist Magic: 75%% MAX")); + strcpy(tempstr, _("Resist Magic: 75% MAX")); break; case IPL_ALLRES: case IPL_ALLRES_CURSE: if (x->_iPLFR < 75) sprintf(tempstr, _("Resist All: %+i%%"), x->_iPLFR); if (x->_iPLFR >= 75) - sprintf(tempstr, _("Resist All: 75%% MAX")); + strcpy(tempstr, _("Resist All: 75% MAX")); break; case IPL_SPLLVLADD: if (x->_iSplLvlAdd == 1) @@ -3583,7 +3583,7 @@ void PrintItemPower(char plidx, ItemStruct *x) sprintf(tempstr, _("-%i%% light radius"), -10 * x->_iPLLight); break; case IPL_MULT_ARROWS: - sprintf(tempstr, _("multiple arrows per shot")); + strcpy(tempstr, _("multiple arrows per shot")); break; case IPL_FIRE_ARROWS: if (x->_iFMinDam == x->_iFMaxDam) @@ -3670,7 +3670,7 @@ void PrintItemPower(char plidx, ItemStruct *x) strcpy(tempstr, _("fires random speed arrows")); break; case IPL_SETDAM: - sprintf(tempstr, _("unusual item damage")); + strcpy(tempstr, _("unusual item damage")); break; case IPL_SETDUR: strcpy(tempstr, _("altered durability")); @@ -3707,7 +3707,7 @@ void PrintItemPower(char plidx, ItemStruct *x) break; case IPL_FIRERESCLVL: if (x->_iPLFR <= 0) - sprintf(tempstr, " "); + strcpy(tempstr, " "); else if (x->_iPLFR >= 1) sprintf(tempstr, _("Resist Fire: %+i%%"), x->_iPLFR); break; @@ -3730,16 +3730,16 @@ void PrintItemPower(char plidx, ItemStruct *x) sprintf(tempstr, _("to hit: %+i%%, %+i%% damage"), x->_iPLToHit, x->_iPLDam); break; case IPL_ACDEMON: - sprintf(tempstr, _("extra AC vs demons")); + strcpy(tempstr, _("extra AC vs demons")); break; case IPL_ACUNDEAD: - sprintf(tempstr, _("extra AC vs undead")); + strcpy(tempstr, _("extra AC vs undead")); break; case IPL_MANATOLIFE: - sprintf(tempstr, _("50%% Mana moved to Health")); + strcpy(tempstr, _("50% Mana moved to Health")); break; case IPL_LIFETOMANA: - sprintf(tempstr, _("40%% Health moved to Mana")); + strcpy(tempstr, _("40% Health moved to Mana")); break; default: strcpy(tempstr, _("Another ability (NW)")); @@ -3869,7 +3869,7 @@ void PrintItemMisc(ItemStruct *x) AddPanelString(tempstr, true); } if (x->_iMiscId == IMISC_AURIC) { - sprintf(tempstr, _("Doubles gold capacity")); + strcpy(tempstr, _("Doubles gold capacity")); AddPanelString(tempstr, true); } } diff --git a/Source/qol/xpbar.cpp b/Source/qol/xpbar.cpp index b73cf38a9..15f072ddb 100644 --- a/Source/qol/xpbar.cpp +++ b/Source/qol/xpbar.cpp @@ -126,7 +126,7 @@ bool CheckXPBarInfo() // Show a maximum level indicator for max level players. infoclr = COL_GOLD; - sprintf(tempstr, _("Experience: ")); + strcpy(tempstr, _("Experience: ")); PrintWithSeparator(tempstr + SDL_arraysize("Experience: ") - 1, ExpLvlsTbl[charLevel - 1]); AddPanelString(tempstr, true); @@ -137,11 +137,11 @@ bool CheckXPBarInfo() infoclr = COL_WHITE; - sprintf(tempstr, _("Experience: ")); + strcpy(tempstr, _("Experience: ")); PrintWithSeparator(tempstr + SDL_arraysize("Experience: ") - 1, player._pExperience); AddPanelString(tempstr, true); - sprintf(tempstr, _("Next Level: ")); + strcpy(tempstr, _("Next Level: ")); PrintWithSeparator(tempstr + SDL_arraysize("Next Level: ") - 1, ExpLvlsTbl[charLevel]); AddPanelString(tempstr, true); diff --git a/Translations/devilutionx.pot b/Translations/devilutionx.pot index bd6519938..cfd530a9d 100644 --- a/Translations/devilutionx.pot +++ b/Translations/devilutionx.pot @@ -853,12 +853,12 @@ msgid "%s Spell" msgstr "" #: Source/control.cpp:440 -#, c-format +#, no-c-format msgid "Damages undead only" msgstr "" #: Source/control.cpp:444 Source/control.cpp:1039 Source/control.cpp:1865 -#, c-format +#, no-c-format msgid "Spell Level 0 - Unusable" msgstr "" @@ -945,7 +945,7 @@ msgid "None" msgstr "" #: Source/control.cpp:1443 Source/control.cpp:1455 Source/control.cpp:1467 -#, c-format +#, no-c-format msgid "MAX" msgstr "" @@ -3449,8 +3449,8 @@ msgid "Resist Fire: %+i%%" msgstr "" #: Source/items.cpp:3482 -#, c-format -msgid "Resist Fire: 75%% MAX" +#, no-c-format +msgid "Resist Fire: 75% MAX" msgstr "" #: Source/items.cpp:3487 @@ -3459,8 +3459,8 @@ msgid "Resist Lightning: %+i%%" msgstr "" #: Source/items.cpp:3489 -#, c-format -msgid "Resist Lightning: 75%% MAX" +#, no-c-format +msgid "Resist Lightning: 75% MAX" msgstr "" #: Source/items.cpp:3494 @@ -3469,8 +3469,8 @@ msgid "Resist Magic: %+i%%" msgstr "" #: Source/items.cpp:3496 -#, c-format -msgid "Resist Magic: 75%% MAX" +#, no-c-format +msgid "Resist Magic: 75% MAX" msgstr "" #: Source/items.cpp:3501 @@ -3479,8 +3479,8 @@ msgid "Resist All: %+i%%" msgstr "" #: Source/items.cpp:3503 -#, c-format -msgid "Resist All: 75%% MAX" +#, no-c-format +msgid "Resist All: 75% MAX" msgstr "" #: Source/items.cpp:3507 @@ -3597,7 +3597,7 @@ msgid "-%i%% light radius" msgstr "" #: Source/items.cpp:3583 -#, c-format +#, no-c-format msgid "multiple arrows per shot" msgstr "" @@ -3730,7 +3730,7 @@ msgid "fires random speed arrows" msgstr "" #: Source/items.cpp:3670 -#, c-format +#, no-c-format msgid "unusual item damage" msgstr "" @@ -3804,23 +3804,23 @@ msgid "low dur, %+i%% damage" msgstr "" #: Source/items.cpp:3730 -#, c-format +#, no-c-format msgid "extra AC vs demons" msgstr "" #: Source/items.cpp:3733 -#, c-format +#, no-c-format msgid "extra AC vs undead" msgstr "" #: Source/items.cpp:3736 -#, c-format -msgid "50%% Mana moved to Health" +#, no-c-format +msgid "50% Mana moved to Health" msgstr "" #: Source/items.cpp:3739 -#, c-format -msgid "40%% Health moved to Mana" +#, no-c-format +msgid "40% Health moved to Mana" msgstr "" #: Source/items.cpp:3742 @@ -3856,7 +3856,7 @@ msgid "Right-click to view" msgstr "" #: Source/items.cpp:3869 -#, c-format +#, no-c-format msgid "Doubles gold capacity" msgstr "" @@ -5311,7 +5311,7 @@ msgid "Level %d" msgstr "" #: Source/qol/xpbar.cpp:129 Source/qol/xpbar.cpp:140 -#, c-format +#, no-c-format msgid "Experience: " msgstr "" @@ -5320,7 +5320,7 @@ msgid "Maximum Level" msgstr "" #: Source/qol/xpbar.cpp:144 -#, c-format +#, no-c-format msgid "Next Level: " msgstr "" diff --git a/Translations/es.po b/Translations/es.po index 70e948c84..a29521249 100644 --- a/Translations/es.po +++ b/Translations/es.po @@ -876,12 +876,12 @@ msgid "%s Spell" msgstr "%s hechizo" #: Source/control.cpp:440 -#, c-format +#, no-c-format msgid "Damages undead only" msgstr "Daña solo a muertos vivientes" #: Source/control.cpp:444 Source/control.cpp:1039 Source/control.cpp:1865 -#, c-format +#, no-c-format msgid "Spell Level 0 - Unusable" msgstr "Nivel de hechizo 0: inutilizable" @@ -968,7 +968,7 @@ msgid "None" msgstr "Ninguno" #: Source/control.cpp:1443 Source/control.cpp:1455 Source/control.cpp:1467 -#, c-format +#, no-c-format msgid "MAX" msgstr "" @@ -3765,9 +3765,9 @@ msgid "Resist Fire: %+i%%" msgstr "Resistencia al fuego: %+i%%" #: Source/items.cpp:3482 -#, c-format -msgid "Resist Fire: 75%% MAX" -msgstr "Resistencia al fuego: 75%% MAX" +#, no-c-format +msgid "Resist Fire: 75% MAX" +msgstr "Resistencia al fuego: 75% MAX" #: Source/items.cpp:3487 #, c-format @@ -3775,9 +3775,9 @@ msgid "Resist Lightning: %+i%%" msgstr "Resistir rayos: %+i%%" #: Source/items.cpp:3489 -#, c-format -msgid "Resist Lightning: 75%% MAX" -msgstr "Resistir rayos: 75%% MAX" +#, no-c-format +msgid "Resist Lightning: 75% MAX" +msgstr "Resistir rayos: 75% MAX" #: Source/items.cpp:3494 #, c-format @@ -3785,9 +3785,9 @@ msgid "Resist Magic: %+i%%" msgstr "Resistencia a la magia: %+i%%" #: Source/items.cpp:3496 -#, c-format -msgid "Resist Magic: 75%% MAX" -msgstr "Resistencia a la magia: 75%% MAX" +#, no-c-format +msgid "Resist Magic: 75% MAX" +msgstr "Resistencia a la magia: 75% MAX" #: Source/items.cpp:3501 #, c-format @@ -3795,9 +3795,9 @@ msgid "Resist All: %+i%%" msgstr "Resistir todo: %+i%%" #: Source/items.cpp:3503 -#, c-format -msgid "Resist All: 75%% MAX" -msgstr "Resistir todo: 75%% MAX" +#, no-c-format +msgid "Resist All: 75% MAX" +msgstr "Resistir todo: 75% MAX" #: Source/items.cpp:3507 msgid "spells are increased 1 level" @@ -3913,7 +3913,7 @@ msgid "-%i%% light radius" msgstr "-%i%% radio de luz" #: Source/items.cpp:3583 -#, c-format +#, no-c-format msgid "multiple arrows per shot" msgstr "" @@ -4046,7 +4046,7 @@ msgid "fires random speed arrows" msgstr "dispara flechas de velocidad aleatoria" #: Source/items.cpp:3670 -#, c-format +#, no-c-format msgid "unusual item damage" msgstr "daño inusual del artículo" @@ -4120,23 +4120,23 @@ msgid "low dur, %+i%% damage" msgstr "" #: Source/items.cpp:3730 -#, c-format +#, no-c-format msgid "extra AC vs demons" msgstr "" #: Source/items.cpp:3733 -#, c-format +#, no-c-format msgid "extra AC vs undead" msgstr "" #: Source/items.cpp:3736 -#, c-format -msgid "50%% Mana moved to Health" +#, no-c-format +msgid "50% Mana moved to Health" msgstr "" #: Source/items.cpp:3739 -#, c-format -msgid "40%% Health moved to Mana" +#, no-c-format +msgid "40% Health moved to Mana" msgstr "" #: Source/items.cpp:3742 @@ -4172,7 +4172,7 @@ msgid "Right-click to view" msgstr "Haga clic derecho para ver" #: Source/items.cpp:3869 -#, c-format +#, no-c-format msgid "Doubles gold capacity" msgstr "" @@ -5628,7 +5628,7 @@ msgid "Level %d" msgstr "Nivel: %d" #: Source/qol/xpbar.cpp:129 Source/qol/xpbar.cpp:140 -#, c-format +#, no-c-format msgid "Experience: " msgstr "" @@ -5637,7 +5637,7 @@ msgid "Maximum Level" msgstr "" #: Source/qol/xpbar.cpp:144 -#, c-format +#, no-c-format msgid "Next Level: " msgstr "" diff --git a/Translations/fr.po b/Translations/fr.po index 69c1240b6..06c1210aa 100644 --- a/Translations/fr.po +++ b/Translations/fr.po @@ -943,12 +943,12 @@ msgid "%s Spell" msgstr "%s Sort" #: Source/control.cpp:440 -#, c-format +#, no-c-format msgid "Damages undead only" msgstr "Dommages aux morts-vivants uniquement" #: Source/control.cpp:444 Source/control.cpp:1039 Source/control.cpp:1865 -#, c-format +#, no-c-format msgid "Spell Level 0 - Unusable" msgstr "Sort Niveau 0 - Inutilisable" @@ -1035,7 +1035,7 @@ msgid "None" msgstr "Rien" #: Source/control.cpp:1443 Source/control.cpp:1455 Source/control.cpp:1467 -#, c-format +#, no-c-format msgid "MAX" msgstr "MAX" @@ -3798,9 +3798,9 @@ msgid "Resist Fire: %+i%%" msgstr "Résistance au Feu: %+i%%" #: Source/items.cpp:3482 -#, c-format -msgid "Resist Fire: 75%% MAX" -msgstr "Résistance au Feu: 75%% MAX" +#, no-c-format +msgid "Resist Fire: 75% MAX" +msgstr "Résistance au Feu: 75% MAX" #: Source/items.cpp:3487 #, c-format @@ -3808,9 +3808,9 @@ msgid "Resist Lightning: %+i%%" msgstr "Résistance à la Foudre: %+i%%" #: Source/items.cpp:3489 -#, c-format -msgid "Resist Lightning: 75%% MAX" -msgstr "Résistance à la Foudre: 75%% MAX" +#, no-c-format +msgid "Resist Lightning: 75% MAX" +msgstr "Résistance à la Foudre: 75% MAX" #: Source/items.cpp:3494 #, c-format @@ -3818,9 +3818,9 @@ msgid "Resist Magic: %+i%%" msgstr "Résistance à la Magie: %+i%%" #: Source/items.cpp:3496 -#, c-format -msgid "Resist Magic: 75%% MAX" -msgstr "Résistance à la Magie: 75%% MAX" +#, no-c-format +msgid "Resist Magic: 75% MAX" +msgstr "Résistance à la Magie: 75% MAX" #: Source/items.cpp:3501 #, c-format @@ -3828,9 +3828,9 @@ msgid "Resist All: %+i%%" msgstr "Résistance à tout: %+i%%" #: Source/items.cpp:3503 -#, c-format -msgid "Resist All: 75%% MAX" -msgstr "Résistance à tout: 75%% MAX" +#, no-c-format +msgid "Resist All: 75% MAX" +msgstr "Résistance à tout: 75% MAX" #: Source/items.cpp:3507 msgid "spells are increased 1 level" @@ -3946,7 +3946,7 @@ msgid "-%i%% light radius" msgstr "" #: Source/items.cpp:3583 -#, c-format +#, no-c-format msgid "multiple arrows per shot" msgstr "plusieurs flèches par tir" @@ -4083,7 +4083,7 @@ msgid "fires random speed arrows" msgstr "tire des flèches de vitesse aléatoires" #: Source/items.cpp:3670 -#, c-format +#, no-c-format msgid "unusual item damage" msgstr "dommages inhabituels aux objets" @@ -4158,24 +4158,24 @@ msgid "low dur, %+i%% damage" msgstr "" #: Source/items.cpp:3730 -#, c-format +#, no-c-format msgid "extra AC vs demons" msgstr "" #: Source/items.cpp:3733 -#, c-format +#, no-c-format msgid "extra AC vs undead" msgstr "" #: Source/items.cpp:3736 -#, c-format -msgid "50%% Mana moved to Health" -msgstr "50%% de mana transféré à la santé" +#, no-c-format +msgid "50% Mana moved to Health" +msgstr "50% de mana transféré à la santé" #: Source/items.cpp:3739 -#, c-format -msgid "40%% Health moved to Mana" -msgstr "40%% de santé transféré au Mana" +#, no-c-format +msgid "40% Health moved to Mana" +msgstr "40% de santé transféré au Mana" #: Source/items.cpp:3742 msgid "Another ability (NW)" @@ -4210,7 +4210,7 @@ msgid "Right-click to view" msgstr "Clic-droit pour voir" #: Source/items.cpp:3869 -#, c-format +#, no-c-format msgid "Doubles gold capacity" msgstr "Double la capacité en Or" @@ -5668,7 +5668,7 @@ msgid "Level %d" msgstr "" #: Source/qol/xpbar.cpp:129 Source/qol/xpbar.cpp:140 -#, c-format +#, no-c-format msgid "Experience: " msgstr "" @@ -5677,7 +5677,7 @@ msgid "Maximum Level" msgstr "" #: Source/qol/xpbar.cpp:144 -#, c-format +#, no-c-format msgid "Next Level: " msgstr "" diff --git a/Translations/it.po b/Translations/it.po index 90588d7b0..43a1ee5d4 100644 --- a/Translations/it.po +++ b/Translations/it.po @@ -912,12 +912,12 @@ msgid "%s Spell" msgstr "%s Magia" #: Source/control.cpp:440 -#, c-format +#, no-c-format msgid "Damages undead only" msgstr "Danneggia Non-Morti" #: Source/control.cpp:444 Source/control.cpp:1039 Source/control.cpp:1865 -#, c-format +#, no-c-format msgid "Spell Level 0 - Unusable" msgstr "Liv. Magico 0 - Inagibile" @@ -1004,7 +1004,7 @@ msgid "None" msgstr "Nessuno" #: Source/control.cpp:1443 Source/control.cpp:1455 Source/control.cpp:1467 -#, c-format +#, no-c-format msgid "MAX" msgstr "" @@ -3793,9 +3793,9 @@ msgid "Resist Fire: %+i%%" msgstr "Res.al Fuoco: %+i%%" #: Source/items.cpp:3482 -#, c-format -msgid "Resist Fire: 75%% MAX" -msgstr "Res.al Fuoco: 75%% MAX" +#, no-c-format +msgid "Resist Fire: 75% MAX" +msgstr "Res.al Fuoco: 75% MAX" #: Source/items.cpp:3487 #, c-format @@ -3803,9 +3803,9 @@ msgid "Resist Lightning: %+i%%" msgstr "Res. al Fulmine : %+i%%" #: Source/items.cpp:3489 -#, c-format -msgid "Resist Lightning: 75%% MAX" -msgstr "Res. al Fulmine : 75%% MAX" +#, no-c-format +msgid "Resist Lightning: 75% MAX" +msgstr "Res. al Fulmine : 75% MAX" #: Source/items.cpp:3494 #, c-format @@ -3813,9 +3813,9 @@ msgid "Resist Magic: %+i%%" msgstr "Res. a Magia : %+i%%" #: Source/items.cpp:3496 -#, c-format -msgid "Resist Magic: 75%% MAX" -msgstr "Res. a Magia : 75%% MAX" +#, no-c-format +msgid "Resist Magic: 75% MAX" +msgstr "Res. a Magia : 75% MAX" #: Source/items.cpp:3501 #, c-format @@ -3823,9 +3823,9 @@ msgid "Resist All: %+i%%" msgstr "Res.a Tutto: %+i%%" #: Source/items.cpp:3503 -#, c-format -msgid "Resist All: 75%% MAX" -msgstr "Res.a Tutto: 75%% MAX" +#, no-c-format +msgid "Resist All: 75% MAX" +msgstr "Res.a Tutto: 75% MAX" #: Source/items.cpp:3507 msgid "spells are increased 1 level" @@ -3941,7 +3941,7 @@ msgid "-%i%% light radius" msgstr "-%i%% RaggioDiLuce" #: Source/items.cpp:3583 -#, c-format +#, no-c-format msgid "multiple arrows per shot" msgstr "" @@ -4074,7 +4074,7 @@ msgid "fires random speed arrows" msgstr "velocita'di gittata casuale" #: Source/items.cpp:3670 -#, c-format +#, no-c-format msgid "unusual item damage" msgstr "provoca forte danno" @@ -4148,23 +4148,23 @@ msgid "low dur, %+i%% damage" msgstr "" #: Source/items.cpp:3730 -#, c-format +#, no-c-format msgid "extra AC vs demons" msgstr "" #: Source/items.cpp:3733 -#, c-format +#, no-c-format msgid "extra AC vs undead" msgstr "" #: Source/items.cpp:3736 -#, c-format -msgid "50%% Mana moved to Health" +#, no-c-format +msgid "50% Mana moved to Health" msgstr "" #: Source/items.cpp:3739 -#, c-format -msgid "40%% Health moved to Mana" +#, no-c-format +msgid "40% Health moved to Mana" msgstr "" #: Source/items.cpp:3742 @@ -4200,7 +4200,7 @@ msgid "Right-click to view" msgstr "Tasto Destro - Vedi" #: Source/items.cpp:3869 -#, c-format +#, no-c-format msgid "Doubles gold capacity" msgstr "" @@ -5658,7 +5658,7 @@ msgid "Level %d" msgstr "Liv. : %d" #: Source/qol/xpbar.cpp:129 Source/qol/xpbar.cpp:140 -#, c-format +#, no-c-format msgid "Experience: " msgstr "" @@ -5667,7 +5667,7 @@ msgid "Maximum Level" msgstr "" #: Source/qol/xpbar.cpp:144 -#, c-format +#, no-c-format msgid "Next Level: " msgstr "" diff --git a/Translations/pt_BR.po b/Translations/pt_BR.po index 3701b2ee4..bbfd34a9f 100644 --- a/Translations/pt_BR.po +++ b/Translations/pt_BR.po @@ -936,12 +936,12 @@ msgid "%s Spell" msgstr "Magia de %s" #: Source/control.cpp:440 -#, c-format +#, no-c-format msgid "Damages undead only" msgstr "Atinge apenas mortos-vivos" #: Source/control.cpp:444 Source/control.cpp:1039 Source/control.cpp:1865 -#, c-format +#, no-c-format msgid "Spell Level 0 - Unusable" msgstr "Nível da magia 0 - Inutilizável" @@ -1028,7 +1028,7 @@ msgid "None" msgstr "Nenhum" #: Source/control.cpp:1443 Source/control.cpp:1455 Source/control.cpp:1467 -#, c-format +#, no-c-format msgid "MAX" msgstr "MÁX" @@ -3783,9 +3783,9 @@ msgid "Resist Fire: %+i%%" msgstr "Resiste a fogo:%+i%%" #: Source/items.cpp:3482 -#, c-format -msgid "Resist Fire: 75%% MAX" -msgstr "Resiste a fogo:75%% MÁX" +#, no-c-format +msgid "Resist Fire: 75% MAX" +msgstr "Resiste a fogo:75% MÁX" #: Source/items.cpp:3487 #, c-format @@ -3793,9 +3793,9 @@ msgid "Resist Lightning: %+i%%" msgstr "Resiste a raios:%+i%%" #: Source/items.cpp:3489 -#, c-format -msgid "Resist Lightning: 75%% MAX" -msgstr "Resiste a raios:75%% MÁX" +#, no-c-format +msgid "Resist Lightning: 75% MAX" +msgstr "Resiste a raios:75% MÁX" #: Source/items.cpp:3494 #, c-format @@ -3803,9 +3803,9 @@ msgid "Resist Magic: %+i%%" msgstr "Resiste a magia:%+i%%" #: Source/items.cpp:3496 -#, c-format -msgid "Resist Magic: 75%% MAX" -msgstr "Resiste a magia:75%% MÁX" +#, no-c-format +msgid "Resist Magic: 75% MAX" +msgstr "Resiste a magia:75% MÁX" #: Source/items.cpp:3501 #, c-format @@ -3813,9 +3813,9 @@ msgid "Resist All: %+i%%" msgstr "Resiste a tudo:%+i%%" #: Source/items.cpp:3503 -#, c-format -msgid "Resist All: 75%% MAX" -msgstr "Resiste a tudo:75%% MÁX" +#, no-c-format +msgid "Resist All: 75% MAX" +msgstr "Resiste a tudo:75% MÁX" #: Source/items.cpp:3507 msgid "spells are increased 1 level" @@ -3931,7 +3931,7 @@ msgid "-%i%% light radius" msgstr "-%i%% de alcance de visão" #: Source/items.cpp:3583 -#, c-format +#, no-c-format msgid "multiple arrows per shot" msgstr "várias flechas por tiro" @@ -4064,7 +4064,7 @@ msgid "fires random speed arrows" msgstr "dá flechas de vel. variada" #: Source/items.cpp:3670 -#, c-format +#, no-c-format msgid "unusual item damage" msgstr "dano de item incomum" @@ -4138,23 +4138,23 @@ msgid "low dur, %+i%% damage" msgstr "" #: Source/items.cpp:3730 -#, c-format +#, no-c-format msgid "extra AC vs demons" msgstr "" #: Source/items.cpp:3733 -#, c-format +#, no-c-format msgid "extra AC vs undead" msgstr "" #: Source/items.cpp:3736 -#, c-format -msgid "50%% Mana moved to Health" +#, no-c-format +msgid "50% Mana moved to Health" msgstr "" #: Source/items.cpp:3739 -#, c-format -msgid "40%% Health moved to Mana" +#, no-c-format +msgid "40% Health moved to Mana" msgstr "" #: Source/items.cpp:3742 @@ -4190,7 +4190,7 @@ msgid "Right-click to view" msgstr "Clique direito para visualizar" #: Source/items.cpp:3869 -#, c-format +#, no-c-format msgid "Doubles gold capacity" msgstr "Duplica a capacidade de ouro" @@ -5646,7 +5646,7 @@ msgid "Level %d" msgstr "Nível %d" #: Source/qol/xpbar.cpp:129 Source/qol/xpbar.cpp:140 -#, c-format +#, no-c-format msgid "Experience: " msgstr "Experiência: " @@ -5655,7 +5655,7 @@ msgid "Maximum Level" msgstr "Nível máximo" #: Source/qol/xpbar.cpp:144 -#, c-format +#, no-c-format msgid "Next Level: " msgstr "Próximo nível: " diff --git a/Translations/ru.po b/Translations/ru.po index 84b59864d..ea26c5b25 100644 --- a/Translations/ru.po +++ b/Translations/ru.po @@ -929,12 +929,12 @@ msgid "%s Spell" msgstr "Заклинание %s" #: Source/control.cpp:440 -#, c-format +#, no-c-format msgid "Damages undead only" msgstr "Наносит урон по нежити" #: Source/control.cpp:444 Source/control.cpp:1039 Source/control.cpp:1865 -#, c-format +#, no-c-format msgid "Spell Level 0 - Unusable" msgstr "Уровень заклинаний 0 - Не используется" @@ -1021,7 +1021,7 @@ msgid "None" msgstr "" #: Source/control.cpp:1443 Source/control.cpp:1455 Source/control.cpp:1467 -#, c-format +#, no-c-format msgid "MAX" msgstr "" @@ -3778,8 +3778,8 @@ msgid "Resist Fire: %+i%%" msgstr "" #: Source/items.cpp:3482 -#, c-format -msgid "Resist Fire: 75%% MAX" +#, no-c-format +msgid "Resist Fire: 75% MAX" msgstr "" #: Source/items.cpp:3487 @@ -3788,8 +3788,8 @@ msgid "Resist Lightning: %+i%%" msgstr "" #: Source/items.cpp:3489 -#, c-format -msgid "Resist Lightning: 75%% MAX" +#, no-c-format +msgid "Resist Lightning: 75% MAX" msgstr "" #: Source/items.cpp:3494 @@ -3798,8 +3798,8 @@ msgid "Resist Magic: %+i%%" msgstr "" #: Source/items.cpp:3496 -#, c-format -msgid "Resist Magic: 75%% MAX" +#, no-c-format +msgid "Resist Magic: 75% MAX" msgstr "" #: Source/items.cpp:3501 @@ -3808,8 +3808,8 @@ msgid "Resist All: %+i%%" msgstr "" #: Source/items.cpp:3503 -#, c-format -msgid "Resist All: 75%% MAX" +#, no-c-format +msgid "Resist All: 75% MAX" msgstr "" #: Source/items.cpp:3507 @@ -3926,7 +3926,7 @@ msgid "-%i%% light radius" msgstr "" #: Source/items.cpp:3583 -#, c-format +#, no-c-format msgid "multiple arrows per shot" msgstr "" @@ -4059,7 +4059,7 @@ msgid "fires random speed arrows" msgstr "" #: Source/items.cpp:3670 -#, c-format +#, no-c-format msgid "unusual item damage" msgstr "" @@ -4133,23 +4133,23 @@ msgid "low dur, %+i%% damage" msgstr "" #: Source/items.cpp:3730 -#, c-format +#, no-c-format msgid "extra AC vs demons" msgstr "" #: Source/items.cpp:3733 -#, c-format +#, no-c-format msgid "extra AC vs undead" msgstr "" #: Source/items.cpp:3736 -#, c-format -msgid "50%% Mana moved to Health" +#, no-c-format +msgid "50% Mana moved to Health" msgstr "" #: Source/items.cpp:3739 -#, c-format -msgid "40%% Health moved to Mana" +#, no-c-format +msgid "40% Health moved to Mana" msgstr "" #: Source/items.cpp:3742 @@ -4185,7 +4185,7 @@ msgid "Right-click to view" msgstr "" #: Source/items.cpp:3869 -#, c-format +#, no-c-format msgid "Doubles gold capacity" msgstr "" @@ -5641,7 +5641,7 @@ msgid "Level %d" msgstr "" #: Source/qol/xpbar.cpp:129 Source/qol/xpbar.cpp:140 -#, c-format +#, no-c-format msgid "Experience: " msgstr "" @@ -5650,7 +5650,7 @@ msgid "Maximum Level" msgstr "" #: Source/qol/xpbar.cpp:144 -#, c-format +#, no-c-format msgid "Next Level: " msgstr "" diff --git a/Translations/zh_CN.po b/Translations/zh_CN.po index 17a9a3903..f7efca0fb 100755 --- a/Translations/zh_CN.po +++ b/Translations/zh_CN.po @@ -884,12 +884,12 @@ msgid "%s Spell" msgstr "%s 魔 法" #: Source/control.cpp:440 -#, c-format +#, no-c-format msgid "Damages undead only" msgstr "只 伤 害 不 死 系 的 生 物" #: Source/control.cpp:444 Source/control.cpp:1039 Source/control.cpp:1865 -#, c-format +#, no-c-format msgid "Spell Level 0 - Unusable" msgstr "0 级 魔 法 -- 不 可 使 用" @@ -976,7 +976,7 @@ msgid "None" msgstr "" #: Source/control.cpp:1443 Source/control.cpp:1455 Source/control.cpp:1467 -#, c-format +#, no-c-format msgid "MAX" msgstr "" @@ -3737,8 +3737,8 @@ msgid "Resist Fire: %+i%%" msgstr "" #: Source/items.cpp:3481 -#, c-format -msgid "Resist Fire: 75%% MAX" +#, no-c-format +msgid "Resist Fire: 75% MAX" msgstr "" #: Source/items.cpp:3486 @@ -3747,8 +3747,8 @@ msgid "Resist Lightning: %+i%%" msgstr "" #: Source/items.cpp:3488 -#, c-format -msgid "Resist Lightning: 75%% MAX" +#, no-c-format +msgid "Resist Lightning: 75% MAX" msgstr "" #: Source/items.cpp:3493 @@ -3757,8 +3757,8 @@ msgid "Resist Magic: %+i%%" msgstr "" #: Source/items.cpp:3495 -#, c-format -msgid "Resist Magic: 75%% MAX" +#, no-c-format +msgid "Resist Magic: 75% MAX" msgstr "" #: Source/items.cpp:3500 @@ -3767,8 +3767,8 @@ msgid "Resist All: %+i%%" msgstr "" #: Source/items.cpp:3502 -#, c-format -msgid "Resist All: 75%% MAX" +#, no-c-format +msgid "Resist All: 75% MAX" msgstr "" #: Source/items.cpp:3506 @@ -3885,7 +3885,7 @@ msgid "-%i%% light radius" msgstr "" #: Source/items.cpp:3582 -#, c-format +#, no-c-format msgid "multiple arrows per shot" msgstr "" @@ -4018,7 +4018,7 @@ msgid "fires random speed arrows" msgstr "" #: Source/items.cpp:3669 -#, c-format +#, no-c-format msgid "unusual item damage" msgstr "" @@ -4092,23 +4092,23 @@ msgid "low dur, %+i%% damage" msgstr "" #: Source/items.cpp:3729 -#, c-format +#, no-c-format msgid "extra AC vs demons" msgstr "" #: Source/items.cpp:3732 -#, c-format +#, no-c-format msgid "extra AC vs undead" msgstr "" #: Source/items.cpp:3735 -#, c-format -msgid "50%% Mana moved to Health" +#, no-c-format +msgid "50% Mana moved to Health" msgstr "" #: Source/items.cpp:3738 -#, c-format -msgid "40%% Health moved to Mana" +#, no-c-format +msgid "40% Health moved to Mana" msgstr "" #: Source/items.cpp:3741 @@ -4144,7 +4144,7 @@ msgid "Right-click to view" msgstr "右 键 点 击 查 看" #: Source/items.cpp:3868 -#, c-format +#, no-c-format msgid "Doubles gold capacity" msgstr "" @@ -5604,7 +5604,7 @@ msgid "Level %d" msgstr "等 级 %i" #: Source/qol/xpbar.cpp:129 Source/qol/xpbar.cpp:140 -#, c-format +#, no-c-format msgid "Experience: " msgstr "" @@ -5613,7 +5613,7 @@ msgid "Maximum Level" msgstr "" #: Source/qol/xpbar.cpp:144 -#, c-format +#, no-c-format msgid "Next Level: " msgstr ""