Skip to content

Commit

Permalink
fix translation
Browse files Browse the repository at this point in the history
  • Loading branch information
RibosomeK committed Oct 13, 2022
1 parent d47f5c4 commit 82908cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __init__(self, parameters: Parameters):

def to_cn(self):
"""change language to cn"""
self.trans.load("./scr_gui/translations/cn/CN")
self.trans.load("./scr_gui/translations/cn/zh-CN")
if inst := QApplication.instance():
inst.installTranslator(self.trans)
self.retranslateUi(self)
Expand Down

0 comments on commit 82908cc

Please sign in to comment.