Skip to content

Commit

Permalink
fix: prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
ZianTT authored Jun 29, 2024
1 parent 8c892ab commit d2e2100
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self, config, sdk,client,session):
self.ip = self.client.tps_current_ip(sign_type="hmacsha1")
if self.config["mode"] == 'time':
logger.info(i18n_gt()["now_mode_time_on"])
logger.info(i18n_gt()["get_token_15min"])
logger.info(i18n_gt()["wait_get_token"])
while self.get_time() < self.config["time"]-15:
time.sleep(10)
logger.info(i18n_gt()["now_waiting_info"].format((self.config["time"]-self.get_time())))
Expand Down
6 changes: 3 additions & 3 deletions i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"tool_capacha_mode" : "选择验证码模式",
"back" : "返回",
"tool_not_supported": "暂不支持此功能",
"get_token_15min": "等待到达开票时间前15分钟以获取token...",
"wait_get_token": "等待到达开票时间以获取token...",
"get_token_finish": "准备完毕, 获取token中...",
"will_pay_bill": "即将开始下单",
"network_timeout": "网络连接超时",
Expand Down Expand Up @@ -417,7 +417,7 @@
"tool_capacha_mode" : "Select Captcha mode",
"back" : "back",
"tool_not_supported": "Not supported yet",
"get_token_15min": "Wait 15 minutes before the billing time to get the token...",
"wait_get_token": "Wait for the billing time to get the token...",
"get_token_finish": "Ready, getting token...",
"will_pay_bill": "Start order soon",
"network_timeout": "Network timeout",
Expand Down Expand Up @@ -655,7 +655,7 @@
"tool_capacha_mode" : "选择验证码模式喵!",
"back" : "返回",
"tool_not_supported": "暂不支持此功能咩~",
"get_token_15min": "等待到达开票时间前15分钟以获取token喵~...",
"wait_get_token": "等待到达开票时间以获取token喵~...",
"get_token_finish": "准备完毕, 获取token中喵~...",
"will_pay_bill": "即将开始下单喵~",
"network_timeout": "网络连接超时呜!",
Expand Down

0 comments on commit d2e2100

Please sign in to comment.