fix: i18n_getmsgs.dspy 移到 i18n 目录下
This commit is contained in:
parent
d3befb972d
commit
156767b1e8
@ -3,7 +3,7 @@ import os
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
lang = params.get('lang', 'zh')
|
lang = params.get('lang', 'zh')
|
||||||
i18n_dir = os.path.join(os.path.dirname(__file__), 'i18n', lang)
|
i18n_dir = os.path.join(os.path.dirname(__file__), lang)
|
||||||
i18n_file = os.path.join(i18n_dir, 'i18n.json')
|
i18n_file = os.path.join(i18n_dir, 'i18n.json')
|
||||||
|
|
||||||
if os.path.exists(i18n_file):
|
if os.path.exists(i18n_file):
|
||||||
Loading…
x
Reference in New Issue
Block a user