simplify language mapping to always use english card type tags - we never show them in the generated pdf anyway
This commit is contained in:
1 parent
7db06e2e13
commit
b200c9da9d
5 files changed
+291
-336
No files matched your search
@@ -1,17 +1,2 @@
|
||||
{
|
||||
"Action": "Action",
|
||||
"Victory": "Victory",
|
||||
"Attack": "Attack",
|
||||
"Treasure": "Treasure",
|
||||
"Reaction": "Reaction",
|
||||
"Duration": "Duration",
|
||||
"Prize": "Prize",
|
||||
"Shelter": "Shelter",
|
||||
"Ruins": "Ruins",
|
||||
"Looter": "Looter",
|
||||
"Curse": "Curse",
|
||||
"Blank": "Blank",
|
||||
"Reserve": "Reserve",
|
||||
"Traveller": "Traveller",
|
||||
"Event": "Event"
|
||||
}
|
||||
@@ -1,17 +1,2 @@
|
||||
{
|
||||
"Action": "Action",
|
||||
"Victory": "Victory",
|
||||
"Attack": "Attack",
|
||||
"Treasure": "Treasure",
|
||||
"Reaction": "Reaction",
|
||||
"Duration": "Duration",
|
||||
"Prize": "Prize",
|
||||
"Shelter": "Shelter",
|
||||
"Ruins": "Ruins",
|
||||
"Looter": "Looter",
|
||||
"Curse": "Curse",
|
||||
"Blank": "Blank",
|
||||
"Reserve": "Reserve",
|
||||
"Traveller": "Traveller",
|
||||
"Event": "Event"
|
||||
}
|
||||
+290
-290
File diff suppressed because it is too large.
Load diff
@@ -1,15 +1,4 @@
|
||||
{
|
||||
"Azione": "Action",
|
||||
"Vittoria": "Victory",
|
||||
"Attacco": "Attack",
|
||||
"Tesoro": "Treasure",
|
||||
"Reazione": "Reaction",
|
||||
"Durata": "Duration",
|
||||
"Premio": "Prize",
|
||||
"Looter": "Looter",
|
||||
"Shelter": "Shelter",
|
||||
"Ruins": "Ruins",
|
||||
"Maledizione": "Curse",
|
||||
"alchimia": "alchemy",
|
||||
"intrigo": "intrigue",
|
||||
"nuovi orizzonti": "hinterlands",
|
||||
|
||||
+1
-5
@@ -162,11 +162,7 @@ class DominionTabs:
|
||||
|
||||
@classmethod
|
||||
def getType(cls, typespec):
|
||||
# Expansion is a custom tag inserted by code below
|
||||
if typespec == ('Expansion',):
|
||||
return cls.cardTypes[typespec]
|
||||
mapped_spec = tuple([cls.language_mapping[t] for t in typespec])
|
||||
return cls.cardTypes[mapped_spec]
|
||||
return cls.cardTypes[tuple(typespec)]
|
||||
|
||||
setImages = {
|
||||
'dominion': 'base_set.png',
|
||||
|
||||
Reference in new issue
Block a user