File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -269,10 +269,9 @@ def processMarketGroups():
269
269
def processMetaGroups ():
270
270
print ('processing metagroups' )
271
271
data = _readData ('fsd_binary' , 'metagroups' , keyIdName = 'metaGroupID' )
272
- _addRows (data , eos .gamedata .MetaGroup , fieldMap = {
273
- 'name_en-us' : 'metaGroupName' ,
274
- 'name_zh' : 'metaGroupName_zh'
275
- })
272
+ map = {'name_en-us' : 'metaGroupName' }
273
+ map .update ({'name' + v : 'metaGroupName' + v for (k , v ) in eos .config .translation_mapping .items () if k != 'en_US' })
274
+ _addRows (data , eos .gamedata .MetaGroup , fieldMap = map )
276
275
277
276
def processCloneGrades ():
278
277
print ('processing clonegrades' )
@@ -344,7 +343,7 @@ def convertSection(sectionData):
344
343
newRow ['traitText{}' .format (v )] = traitLine
345
344
346
345
newData .append (newRow )
347
- _addRows (newData , eos .gamedata .Traits , fieldMap = {'traitText_en-us' : 'displayName ' })
346
+ _addRows (newData , eos .gamedata .Traits , fieldMap = {'traitText_en-us' : 'display ' })
348
347
349
348
def processMetadata ():
350
349
print ('processing metadata' )
You can’t perform that action at this time.
0 commit comments