Skip to content

Commit

Permalink
don't need to change en_xx.lua's name
Browse files Browse the repository at this point in the history
  • Loading branch information
bssthu committed Nov 22, 2016
1 parent 2a949f6 commit b6bf947
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion AddOns/EsoZH/EsoZH.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Title: EsoZH
## Description: Chinese translation
## Version: 0.4.8
## Version: 0.4.8.1
## APIVersion: 100017
## SavedVariables: EsoZH_Variables

Expand Down
4 changes: 2 additions & 2 deletions scripts/convert_lua_to_txt.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def main():
translation_path = os.path.join(cd, '../translation')

# load lua
pregame_file = os.path.join(translation_path, '%s_pregame.lua' % lang)
client_file = os.path.join(translation_path, '%s_client.lua' % lang)
pregame_file = os.path.join(translation_path, 'en_pregame.lua')
client_file = os.path.join(translation_path, 'en_client.lua')

ui_mgr = UiMgr()
ui_mgr.load_lua_file(pregame_file)
Expand Down
4 changes: 2 additions & 2 deletions scripts/convert_txt_to_str.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ def main():
ui_mgr_client = UiMgr()

# load lua
pregame_src = os.path.join(translation_path, '%s_pregame.lua' % lang)
pregame_src = os.path.join(translation_path, 'en_pregame.lua')
ui_mgr_pregame.load_lua_file(pregame_src)

client_src = os.path.join(translation_path, '%s_client.lua' % lang)
client_src = os.path.join(translation_path, 'en_client.lua')
ui_mgr_client.load_lua_file(client_src)

# load translation
Expand Down

0 comments on commit b6bf947

Please sign in to comment.