no_translations
Decorator that forces a command to run with translations deactivated.
def no_translations(
handle_func: callable
) - > function
Decorator that forces a command to run with translations deactivated.
Parameters
| Name | Type | Description |
|---|---|---|
| handle_func | callable | The function or command handler to be executed with translations disabled. |
Returns
| Type | Description |
|---|---|
function | A wrapped version of the original function that manages the global translation state during execution. |