diff --git a/docs/src/howto/translate.md b/docs/src/howto/translate.md index 9a2660a..b7e7e87 100644 --- a/docs/src/howto/translate.md +++ b/docs/src/howto/translate.md @@ -3,9 +3,7 @@ ## 范例 ```python -from Difficult_Rocket.utils.translate import Tr +from Difficult_Rocket.utils.translate import tr -Tr.lang - -print(Tr.window.setup.done) +print(tr().window.setup.done()) ```