1. Alexander Schremmer
  2. domination

Commits

David ‘Bombe’ Roden  committed 7ed8d84

Use the original non-translated names as internal values.

  • Participants
  • Parent commits 98735af
  • Branches i18n

Comments (0)

Files changed (1)

File domination/main.py

View file
     def transform_sets(sets):
         result = []
         for set in sets:
-            result.append((set, [c.name.__str__() for c in sorted(set.card_classes, key = lambda x: x.name.__str__())]))
+            result.append((set, [c.name.string for c in sorted(set.card_classes, key = lambda x: x.name.string)]))
         return result
     name = _("Game of %s", [session["username"]])
     newname = name