refactor: Improve channel status update logic and clean up code

- Simplified conditional checks in UpdateChannelStatusById function in channel.go to enhance readability.
- Commented out unused image number check in relay-gemini.go for clarity.
- Updated JSON field in en.json for currency consistency, changing "元" from "RMB/CNY" to "CNY" and added a space in "实付金额:" for formatting.
This commit is contained in:
CalciumIon
2024-12-17 15:33:16 +08:00
parent 70e7860838
commit 2d865eb735
3 changed files with 14 additions and 13 deletions

View File

@@ -797,7 +797,7 @@
"管理员未开启Stripe在线充值": "The administrator has not enabled Stripe online recharge!",
"当前充值1美金=": "Current recharge = 1 USD =",
"请选择充值方式!": "Please choose a recharge method!",
"元": "RMB/CNY",
"元": "CNY",
"充值记录": "Recharge record",
"返利记录": "Rebate record",
"确定要充值 $": "Confirm to top up $",
@@ -963,7 +963,7 @@
"请输入星火大模型版本注意是接口地址中的版本号例如v2[1]": "Please enter the Spark model version, note that it is the version number in the interface address, for example: v2.1",
"等待中": "Waiting",
"所有各厂聊天模型请统一使用OpenAI方式请求支持OpenAI官方库": "Please use the OpenAI method to request all chat models from each factory, and support the OpenAI official library.",
"实付金额:": "Actual payment amount:",
"实付金额:": "Actual payment amount: ",
"金额": "Amount",
"充值金额": "Recharge amount",
"易支付 实付金额:": "Easy Pay Actual payment amount:",