From 9cfa274d6ffa5978584215b3f01bd9c801e9a6f6 Mon Sep 17 00:00:00 2001 From: "jean.chalard" Date: Wed, 16 Dec 2009 15:41:27 +0000 Subject: [PATCH] J : * Fix a bug where the little card names would be displayed untranslated. * This addresses issue 255. --- projects/mtg/src/CardGui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/CardGui.cpp b/projects/mtg/src/CardGui.cpp index 095994203..831d0183e 100644 --- a/projects/mtg/src/CardGui.cpp +++ b/projects/mtg/src/CardGui.cpp @@ -74,7 +74,7 @@ void CardGui::Render() if (alternate) { mFont->SetColor(ARGB(static_cast(actA), 0, 0, 0)); mFont->SetScale(DEFAULT_MAIN_FONT_SCALE * 0.5 * actZ); - mFont->DrawString(card->getName().c_str(), actX - actZ * Width / 2 + 1, actY - actZ * Height / 2 + 1); + mFont->DrawString(_(card->getName().c_str()), actX - actZ * Width / 2 + 1, actY - actZ * Height / 2 + 1); mFont->SetScale(DEFAULT_MAIN_FONT_SCALE); JQuad * icon = NULL;