mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-23 13:15:45 +00:00
Adds starting for localization
This commit is contained in:
@@ -131,6 +131,8 @@ dist
|
||||
|
||||
__pycache__
|
||||
|
||||
__pycache__
|
||||
|
||||
vendor/json-api/*.json
|
||||
vendor/json-api/en/*.json
|
||||
vendor/json-api/ru/*.json
|
||||
@@ -141,18 +143,17 @@ vendor/client/descriptions/*
|
||||
!vendor/client/descriptions/.gitkeep
|
||||
|
||||
vendor/client/tables/*
|
||||
!vendor/client/tables/.gitkeep
|
||||
!vendor/client/tables/index.ts
|
||||
!vendor/client/tables/ArmourTypesOverride.json
|
||||
!vendor/client/tables/en/.gitkeep
|
||||
!vendor/client/tables/ru/.gitkeep
|
||||
!vendor/client/tables/ko/.gitkeep
|
||||
!vendor/client/tables/cmn-Hant/.gitkeep
|
||||
|
||||
!vendor/client/tables/en/ArmourTypesOverride.json
|
||||
!vendor/client/tables/ru/ArmourTypesOverride.json
|
||||
!vendor/client/tables/ko/ArmourTypesOverride.json
|
||||
!vendor/client/tables/cmn-Hant/ArmourTypesOverride.json
|
||||
|
||||
!vendor/client/tables/en/.gitkeep
|
||||
!vendor/client/tables/ru/.gitkeep
|
||||
!vendor/client/tables/ko/.gitkeep
|
||||
!vendor/client/tables/cmn-Hant/.gitkeep
|
||||
|
||||
|
||||
!vendor/json-api/.gitkeep
|
||||
@@ -162,8 +163,11 @@ vendor/client/tables/*
|
||||
!vendor/json-api/cmn-Hant/.gitkeep
|
||||
|
||||
|
||||
EXPORT/tables/English/*.json
|
||||
EXPORT/tables/Korean/*.json
|
||||
EXPORT/tables/Russian/*.json
|
||||
EXPORT/tables/Traditional Chinese/*.json
|
||||
|
||||
EXPORT/tables/**/*.json
|
||||
vendor/client/tables/*.json
|
||||
!vendor/client/tables/ArmourTypesOverride.json
|
||||
vendor/json-api/*.json
|
||||
vendor/json-api/en/*.json
|
||||
vendor/json-api/ru/*.json
|
||||
vendor/json-api/ko/*.json
|
||||
vendor/json-api/cmn-Hant/*.json
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -488,22 +488,6 @@ class Parser:
|
||||
) as f:
|
||||
f.write(json.dumps(self.mods, indent=4))
|
||||
|
||||
with open(
|
||||
f"{self.get_script_dir()}/pyDumps/{self.lang+'-out'}/matchers_no_trade_ids.json",
|
||||
"w",
|
||||
encoding="utf-8",
|
||||
) as f:
|
||||
f.write(json.dumps(self.matchers_no_trade_ids, indent=4))
|
||||
|
||||
def run(self):
|
||||
self.parse_trade_ids()
|
||||
self.parse_mods()
|
||||
self.parse_categories()
|
||||
self.parse_items()
|
||||
self.resolve_item_classes()
|
||||
self.parse_trade_exchange_items()
|
||||
self.write_to_file()
|
||||
|
||||
with open(
|
||||
f"{get_script_dir()}/pyDumps/matchers_no_trade_ids.json", "w", encoding="utf-8"
|
||||
) as f:
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user