Skip to content

Commit b505e76

Browse files
authored
Merge pull request #235 from harry0703/dev
optimize i18n
2 parents af84c42 + 0928595 commit b505e76

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

app/config/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def save_config():
5353
project_name = _cfg.get("project_name", "MoneyPrinterTurbo")
5454
project_description = _cfg.get("project_description",
5555
"<a href='https://github.com/harry0703/MoneyPrinterTurbo'>https://github.com/harry0703/MoneyPrinterTurbo</a>")
56-
project_version = _cfg.get("project_version", "1.0.1")
56+
project_version = _cfg.get("project_version", "1.1.0")
5757
reload_debug = False
5858

5959
imagemagick_path = app.get("imagemagick_path", "")

webui/Main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<style>#root > div:nth-child(1) > div > div > div > div > section > div {padding-top: 0rem;}</style>
3939
"""
4040
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
41-
st.title("MoneyPrinterTurbo")
41+
st.title(f"MoneyPrinterTurbo v{config.project_version}")
4242

4343
font_dir = os.path.join(root_dir, "resource", "fonts")
4444
song_dir = os.path.join(root_dir, "resource", "songs")

webui/i18n/de.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@
5858
"Model Name": "Model Name",
5959
"Please Enter the LLM API Key": "Please Enter the **LLM API Key**",
6060
"Please Enter the Pexels API Key": "Please Enter the **Pexels API Key**",
61-
"Get Help": "If you need help, or have any questions, you can join discord for help: https://harryai.cc/moneyprinterturbo"
61+
"Get Help": "If you need help, or have any questions, you can join discord for help: https://harryai.cc"
6262
}
6363
}

webui/i18n/en.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@
5858
"Model Name": "Model Name",
5959
"Please Enter the LLM API Key": "Please Enter the **LLM API Key**",
6060
"Please Enter the Pexels API Key": "Please Enter the **Pexels API Key**",
61-
"Get Help": "If you need help, or have any questions, you can join discord for help: https://harryai.cc/moneyprinterturbo"
61+
"Get Help": "If you need help, or have any questions, you can join discord for help: https://harryai.cc"
6262
}
6363
}

webui/i18n/zh.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@
5858
"Model Name": "模型名称 (:blue[需要到大模型提供商的后台确认被授权的模型名称])",
5959
"Please Enter the LLM API Key": "请先填写大模型 **API Key**",
6060
"Please Enter the Pexels API Key": "请先填写 **Pexels API Key**",
61-
"Get Help": "有任何问题或建议,可以加入 **微信群** 求助或讨论:https://harryai.cc/moneyprinterturbo"
61+
"Get Help": "有任何问题或建议,可以加入 **微信群** 求助或讨论:https://harryai.cc"
6262
}
6363
}

0 commit comments

Comments
 (0)