def __init__(self, title, min_points, max_points=-1): if max_points == -1: title = ("%s (%s+ points)" % (title, thousands_separated_number(min_points))) else: title = ("%s (%s - %s points)" % (title, thousands_separated_number(min_points), thousands_separated_number(max_points))) super(AvatarPointsCategory, self).__init__(title) self.min_points = min_points self.max_points = max_points
def extended_description(self): return u"צבור %s נקודות אנרגיה" % util.thousands_separated_number( self.required_points)
def extended_description(self): return ("Verdien %s energie punten" % util.thousands_separated_number(self.required_points))
def __init__(self, title, min_points): if min_points > 0: title = ("%s (%s+ points)" % (title, thousands_separated_number(min_points))) super(AvatarPointsCategory, self).__init__(title) self.min_points = min_points
def extended_description(self): return ("Earn %s energy points" % util.thousands_separated_number(self.required_points))
def extended_description(self): return "Earn %s energy points" % util.thousands_separated_number(self.required_points)
def thousands_separated(content): return util.thousands_separated_number(content)
def need_points_desc(points, verb): return "You need at least %s energy points to %s." % (util.thousands_separated_number(points), verb)
def need_points_desc(points, verb): return ("You need at least %s energy points to %s." % (util.thousands_separated_number(points), verb))
def extended_description(self): return u"צבור %s נקודות אנרגיה" % util.thousands_separated_number(self.required_points)