Skip to content

Commit

Permalink
feat: 添加TR_Res翻译
Browse files Browse the repository at this point in the history
  • Loading branch information
boxsnake committed Apr 13, 2024
1 parent c108f65 commit 43f1dcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Excel2Json.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ global.__dirname = UtilFile.getCurrentDirName(import.meta.url);
await ProcDownloadExcel(__dirname, ConfDownload.DocKey, './resource/excel.xlsx')

// 解析Excel
const tlTabs = ['TR_Main', 'TR_Map', 'TR_Item']
const tlConfs = []
for (const tlTab of tlTabs) {
for (const tlTab of ConfMapper.Tabs) {
const tlConf = ProcRenderExcel(__dirname, './resource/excel.xlsx', tlTab, ConfMapper)
tlConfs.push(tlConf)
}
Expand Down
3 changes: 3 additions & 0 deletions config/mapper.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const Tabs = ['TR_Main', 'TR_Map', 'TR_Item', 'TR_Res']

const SkipRows = 1

const SubGroupCol = 'C'
Expand Down Expand Up @@ -44,6 +46,7 @@ const KeyMapper = {
}

export default {
Tabs,
SkipRows,
SubGroupCol,
KeyCol,
Expand Down

0 comments on commit 43f1dcd

Please sign in to comment.