- Update French translation

- Added call to translation function for some parts where it was missing
This commit is contained in:
wagic.the.homebrew@gmail.com
2011-04-09 10:41:36 +00:00
parent 693f7e156c
commit 1343852bc1
4 changed files with 109 additions and 16 deletions

View File

@@ -4,6 +4,7 @@
#include "DeckStats.h"
#include "MTGDeck.h"
#include "utils.h"
#include "Translate.h"
//Possible improvements:
//Merge this with DeckStats
@@ -174,9 +175,9 @@ string DeckMetaData::getStatsSummary()
LoadStats();
ostringstream statsSummary;
statsSummary << "Difficulty: " << getDifficultyString() << endl
<< "Victory %: " << getVictoryPercentage() << endl
<< "Games Played: " << getGamesPlayed() << endl;
statsSummary << _("Difficulty: ") << _(getDifficultyString()) << endl
<< _("Victory %: ") << getVictoryPercentage() << endl
<< _("Games Played: ") << getGamesPlayed() << endl;
return statsSummary.str();
}