simplify language mapping to always use english card type tags - we never show them in the generated pdf anyway
This commit is contained in:
parent
7db06e2e13
commit
b200c9da9d
@ -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"
|
|
||||||
}
|
}
|
||||||
|
|||||||
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",
|
"alchimia": "alchemy",
|
||||||
"intrigo": "intrigue",
|
"intrigo": "intrigue",
|
||||||
"nuovi orizzonti": "hinterlands",
|
"nuovi orizzonti": "hinterlands",
|
||||||
|
|||||||
@ -162,11 +162,7 @@ class DominionTabs:
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def getType(cls, typespec):
|
def getType(cls, typespec):
|
||||||
# Expansion is a custom tag inserted by code below
|
return cls.cardTypes[tuple(typespec)]
|
||||||
if typespec == ('Expansion',):
|
|
||||||
return cls.cardTypes[typespec]
|
|
||||||
mapped_spec = tuple([cls.language_mapping[t] for t in typespec])
|
|
||||||
return cls.cardTypes[mapped_spec]
|
|
||||||
|
|
||||||
setImages = {
|
setImages = {
|
||||||
'dominion': 'base_set.png',
|
'dominion': 'base_set.png',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user