[Django] #33913: Django 4.1 class-based view, Chinese translation

4 views
Skip to first unread message

Django

unread,
Aug 11, 2022, 5:20:23 AM8/11/22
to django-...@googlegroups.com
#33913: Django 4.1 class-based view, Chinese translation
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
BeHappy0o0o0o0 |
Type: | Status: new
Cleanup/optimization |
Component: | Version: 4.1
Documentation |
Severity: Normal | Keywords: Document error
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
Document link address: https://docs.djangoproject.com/zh-hans/4.1/topics
/class-based-views/intro/#decorating-the-class

Error content:
类上的方法与独立函数完全不同,因此你不能应用函数装饰器到方法上——你需要先将
它转换为方法装饰器。method_decorator 装饰器转换函数装饰器为**防范**装饰器
,这样它就被用在实例方法上。举例:

Suggest modification:
类上的方法与独立函数完全不同,因此你不能应用函数装饰器到方法上——你需要先将
它转换为方法装饰器。method_decorator 装饰器转换函数装饰器为**方法**装饰器
,这样它就被用在实例方法上。举例:

end.

--
Ticket URL: <https://code.djangoproject.com/ticket/33913>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 11, 2022, 5:25:38 AM8/11/22
to django-...@googlegroups.com
#33913: Django 4.1 class-based view, Chinese translation
-------------------------------------+-------------------------------------
Reporter: yuyuyu | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 4.1
Severity: Normal | Resolution: invalid

Keywords: Document error | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => invalid


Comment:

Thanks for the report, however, translations are handled at
[https://docs.djangoproject.com/en/dev/internals/contributing/localizing/#translations.
Transifex] and not in this tracker.

--
Ticket URL: <https://code.djangoproject.com/ticket/33913#comment:1>

Reply all
Reply to author
Forward
0 new messages