Skip to content

Commit

Permalink
fix: Chinese typo [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
itsHenry35 committed Jul 14, 2023
1 parent 38e0306 commit b63ea70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions gui/login1.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ def nextpage(username, password, root):
def login1(username_default=""):
global exitbool
exitbool = True
root = ttk.Window(title='乐读视频下载器-登陆', themename="morph")
root = ttk.Window(title='乐读视频下载器-登录', themename="morph")
root.geometry("")
title = ttk.Label(text='登陆', font=('等线 (Body Asian)', 20))
title = ttk.Label(text='登录', font=('等线 (Body Asian)', 20))
title.grid(row=0, column=0)
text1 = ttk.Label(text='用户名(手机号或学员编号等):')
text1.grid(row=1)
username = ttk.Entry(bootstyle="primary")
username.grid(row=1, column=1)
username.insert(0, username_default)
smsswitch = ttk.Button(text='短信验证码登陆', bootstyle="default-outline",
smsswitch = ttk.Button(text='短信验证码登录', bootstyle="default-outline",
command=lambda: switch_to_sms_login(username, root))
smsswitch.grid(row=1, column=2)
text2 = ttk.Label(text='密码:')
Expand Down
6 changes: 3 additions & 3 deletions gui/login1_sms.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ def login1_sms(phonenum):
exitbool = True
phonenum = str(phonenum)
thread_ = 0
root = ttk.Window(title='乐读视频下载器-登陆', themename="morph")
root = ttk.Window(title='乐读视频下载器-登录', themename="morph")
root.geometry("")
title = ttk.Label(text='登陆', font=('等线 (Body Asian)', 20))
title = ttk.Label(text='登录', font=('等线 (Body Asian)', 20))
title.grid(row=0, column=0)
text1 = ttk.Label(text='手机号:')
text1.grid(row=1)
Expand All @@ -114,7 +114,7 @@ def login1_sms(phonenum):
zonevar.set("请选择区号")
zone = ttk.OptionMenu(root, zonevar, *zonelist)
zone.grid(row=1, column=1)
smsswitch = ttk.Button(text='返回账号密码登陆', bootstyle="default-outline",
smsswitch = ttk.Button(text='返回账号密码登录', bootstyle="default-outline",
command=lambda: switch_to_pwd(username, root))
smsswitch.grid(row=1, column=3)
text2 = ttk.Label(text='验证码:')
Expand Down

0 comments on commit b63ea70

Please sign in to comment.