mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-30 05:49:25 +00:00
9 lines
194 B
Python
9 lines
194 B
Python
from pilot.configs.config import Config
|
|
from pilot.language.lang_content_mapping import get_lang_content
|
|
|
|
CFG = Config()
|
|
|
|
|
|
def get_lang_text(key):
|
|
return get_lang_content(key, CFG.LANGUAGE)
|