adding more strings to translation

This commit is contained in:
omegablast2002@yahoo.com
2013-01-05 00:38:12 +00:00
parent 1049f90aa2
commit 2fa626b80e
5 changed files with 32 additions and 32 deletions

View File

@@ -166,14 +166,14 @@ int DeckMetaData::getDifficulty()
string DeckMetaData::getDifficultyString()
{
string difficultyString = "Normal";
string difficultyString = _("Normal").c_str();
switch (mDifficulty)
{
case HARD:
difficultyString = "Hard";
difficultyString = _("Hard").c_str();
break;
case EASY:
difficultyString = "Easy";
difficultyString = _("Easy").c_str();
break;
}
@@ -190,9 +190,9 @@ string DeckMetaData::getStatsSummary()
LoadStats();
ostringstream statsSummary;
statsSummary << _("Difficulty: ") << _(getDifficultyString()) << endl
<< _("Victory %: ") << getVictoryPercentage() << endl
<< _("Games Played: ") << getGamesPlayed() << endl;
statsSummary << _("Difficulty: ").c_str() << _(getDifficultyString()) << endl
<< _("Victory %: ").c_str() << getVictoryPercentage() << endl
<< _("Games Played: ").c_str() << getGamesPlayed() << endl;
return statsSummary.str();
}