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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user