Skip to content

Commit

Permalink
fix: Fix a typo in function name (#75)
Browse files Browse the repository at this point in the history
将`loadTranslationFlile` 改为正确的 `loadTranslationFile`

Co-authored-by: Yinan Qin <[email protected]>
Co-authored-by: 鱼香ROS <[email protected]>
  • Loading branch information
3 people authored Sep 11, 2024
1 parent b8dd085 commit 1fe47cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/translation/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ def __init__(self):
for lang in _suported_languages:
CmdTask("wget {} -O /tmp/fishinstall/{} --no-check-certificate".format(lang_url.format(lang), lang_url.format(lang).replace(url_prefix, ''))).run()

self.loadTranslationFlile()
self.loadTranslationFile()
tools.base.tr = self

def loadTranslationFlile(self):
def loadTranslationFile(self):
# Load the translation file.
import importlib
try:
Expand Down

0 comments on commit 1fe47cc

Please sign in to comment.