Skip to content

Commit

Permalink
添加语言文件,修改脚本添加local文件夹
Browse files Browse the repository at this point in the history
  • Loading branch information
DancingSnow0517 committed May 13, 2024
1 parent 4ea6f0a commit 0729ed9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def main():

shutil.copytree('config', 'build/overrides/config')
shutil.copytree('kubejs', 'build/overrides/kubejs')
shutil.copytree('local', 'build/overrides/local')

print(f'name={manifest["name"]}-{manifest["version"]}')

Expand Down
1 change: 1 addition & 0 deletions kubejs/assets/kubejs/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"block.monazite.dimension_display.ad_astra.glacio": "Glacio",
"block.monazite.dimension_display.kubejs.ceres": "Ceres",
"block.monazite.dimension_display.kubejs.deimos": "Deimos",
"block.monazite.dimension_display.kubejs.rose_128b": "Rose 128b",

"block.kubejs.deimos_surface": "Deimos Surface",
"block.kubejs.deimos_stone": "Deimos Stone",
Expand Down
1 change: 1 addition & 0 deletions kubejs/assets/kubejs/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"block.monazite.dimension_display.ad_astra.glacio": "霜原星",
"block.monazite.dimension_display.kubejs.ceres": "谷神星",
"block.monazite.dimension_display.kubejs.deimos": "火卫二",
"block.monazite.dimension_display.kubejs.rose_128b": "罗斯128b",

"block.kubejs.deimos_surface": "火卫二地表岩石",
"block.kubejs.deimos_stone": "火卫二地底岩石",
Expand Down

0 comments on commit 0729ed9

Please sign in to comment.