Shouldn't this be gs->T(type.c_str()) so that the types can be translated? Don't know if anyone cares to translate the types though and I guess "xBRZ" is a bit hard to translate anyway....