Skip to content

Commit

Permalink
Merge pull request #235 from harry0703/dev
Browse files Browse the repository at this point in the history
optimize i18n
  • Loading branch information
harry0703 authored Apr 11, 2024
2 parents af84c42 + 0928595 commit b505e76
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def save_config():
project_name = _cfg.get("project_name", "MoneyPrinterTurbo")
project_description = _cfg.get("project_description",
"<a href='https://github.com/harry0703/MoneyPrinterTurbo'>https://github.com/harry0703/MoneyPrinterTurbo</a>")
project_version = _cfg.get("project_version", "1.0.1")
project_version = _cfg.get("project_version", "1.1.0")
reload_debug = False

imagemagick_path = app.get("imagemagick_path", "")
Expand Down
2 changes: 1 addition & 1 deletion webui/Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<style>#root > div:nth-child(1) > div > div > div > div > section > div {padding-top: 0rem;}</style>
"""
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
st.title("MoneyPrinterTurbo")
st.title(f"MoneyPrinterTurbo v{config.project_version}")

font_dir = os.path.join(root_dir, "resource", "fonts")
song_dir = os.path.join(root_dir, "resource", "songs")
Expand Down
2 changes: 1 addition & 1 deletion webui/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@
"Model Name": "Model Name",
"Please Enter the LLM API Key": "Please Enter the **LLM API Key**",
"Please Enter the Pexels API Key": "Please Enter the **Pexels API Key**",
"Get Help": "If you need help, or have any questions, you can join discord for help: https://harryai.cc/moneyprinterturbo"
"Get Help": "If you need help, or have any questions, you can join discord for help: https://harryai.cc"
}
}
2 changes: 1 addition & 1 deletion webui/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@
"Model Name": "Model Name",
"Please Enter the LLM API Key": "Please Enter the **LLM API Key**",
"Please Enter the Pexels API Key": "Please Enter the **Pexels API Key**",
"Get Help": "If you need help, or have any questions, you can join discord for help: https://harryai.cc/moneyprinterturbo"
"Get Help": "If you need help, or have any questions, you can join discord for help: https://harryai.cc"
}
}
2 changes: 1 addition & 1 deletion webui/i18n/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@
"Model Name": "模型名称 (:blue[需要到大模型提供商的后台确认被授权的模型名称])",
"Please Enter the LLM API Key": "请先填写大模型 **API Key**",
"Please Enter the Pexels API Key": "请先填写 **Pexels API Key**",
"Get Help": "有任何问题或建议,可以加入 **微信群** 求助或讨论:https://harryai.cc/moneyprinterturbo"
"Get Help": "有任何问题或建议,可以加入 **微信群** 求助或讨论:https://harryai.cc"
}
}

0 comments on commit b505e76

Please sign in to comment.