Skip to content

Commit f7eec0e

Browse files
committed
[Translation]Just translated the "select" into Chinese
1 parent 715450f commit f7eec0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CONVERSION SCRIPTS/Currency Converter/Currency.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@
5353
]
5454

5555
clicked1 = StringVar()
56-
clicked1.set("Select")
56+
clicked1.set("请选择币种")
5757
listbox1 = OptionMenu(frame, clicked1, *options)
5858
listbox1.config(bg="#fc034e", fg="black", activeforeground="#fc034e",activebackground="black", font=FONT)
5959
listbox1.place(relx=0.07,rely=0.03,relheight=0.28,relwidth=0.38)
6060

6161
clicked2 = StringVar()
62-
clicked2.set("Select")
62+
clicked2.set("请选择币种")
6363
listbox2 = OptionMenu(frame,clicked2,*options)
6464
listbox2.config(bg="#fc034e", fg="black", activeforeground="#fc034e",activebackground="black", font=FONT)
6565
listbox2.place(relx=0.56,rely=0.3,relheight=0.28,relwidth=0.38)
@@ -100,7 +100,7 @@ def convert(c1,c2,amount):
100100
try:
101101
if amount == "":
102102
messagebox.showerror("Error", "Amount not specified")
103-
elif c1 == "Select" or c2 == "Select":
103+
elif c1 == "请选择币种" or c2 == "请选择币种":
104104
messagebox.showinfo("Error", "Currency not selected")
105105
else:
106106
try:

0 commit comments

Comments
 (0)