[Refactoring] getCardsNames method replaced by a more generic "translate" method.