Update Ultroid v0.7.1

Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
Co-authored-by: Aditya <me@xditya.me>
Co-authored-by: ᴀɴᴏɴʏᴍᴏᴜs <rahulking25102006@gmail.com>
This commit is contained in:
Devesh Pal
2022-10-02 17:06:12 +05:30
committed by GitHub
parent adcb304aee
commit 0671f371d3
19 changed files with 160 additions and 421 deletions

View File

@@ -53,7 +53,7 @@ def get_string(key: str, _res: bool = True) -> Any:
return languages["en"].get(key) or f"Failed to load language string '{key}'"
def get_help(key):
doc = get_string(key, _res=False)
doc = get_string(f"help_{key}", _res=False)
if doc:
return get_string("cmda") + doc