From 9f6a7281508241b9ca40323e170cb8375a6a2c82 Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Thu, 9 May 2013 01:53:01 +0000 Subject: [PATCH] i run the set names through translation now when filtering by sets. what this means is that if a player so choose, they can list the sets 3 letter code in the en.txt as follows BOK=betrayers of kamikawa it will now list the names either as the 3 letter code if thier is no entry, or as whatever you call it in the lang->en.txt file. --- projects/mtg/src/WFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/WFilter.cpp b/projects/mtg/src/WFilter.cpp index 0b3d96e4e..9d84fa7a1 100644 --- a/projects/mtg/src/WFilter.cpp +++ b/projects/mtg/src/WFilter.cpp @@ -203,7 +203,7 @@ WCFilterSet::WCFilterSet(string arg) string WCFilterSet::getCode() { char buf[256]; - sprintf(buf, "set:%s;", setlist[setid].c_str()); + sprintf(buf, "set:%s;", _(setlist[setid].c_str())); return buf; } ;