Opened 4 years ago

Closed 4 years ago

Last modified 19 months ago

#30165 closed Cleanup/optimization (fixed)

Deprecate ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy()

Reported by: Jon Dufresne Owned by: nobody
Component: Internationalization Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Along the lines of #27753 (Cleanups when no supported version of Django supports Python 2 anymore), the legacy functions in django.utils.translation -- ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy() -- are simple aliases that remain for Python 2 Unicode backwards compatibility. As other compatibility layers have been cleaned up, these shims can be deprecated for removal.

Change History (9)

comment:1 Changed 4 years ago by Jon Dufresne

Has patch: set

comment:2 Changed 4 years ago by Tim Graham

Component: UtilitiesInternationalization
Triage Stage: UnreviewedReady for checkin

comment:3 Changed 4 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 6eb49966:

Fixed #30165 -- Deprecated ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy().

comment:4 Changed 2 years ago by GitHub <noreply@…>

In fb216252:

Refs #30165 -- Removed obsolete doc references to deprecated ugettext() & co.

The u-prefixed variants were removed from the documentation in
6eb4996672ca5ccaba20e468d91a83d1cd019801.

comment:5 Changed 2 years ago by Mariusz Felisiak <felisiak.mariusz@…>

In c335f168:

[3.0.x] Refs #30165 -- Removed obsolete doc references to deprecated ugettext() & co.

The u-prefixed variants were removed from the documentation in
6eb4996672ca5ccaba20e468d91a83d1cd019801.
Backport of fb21625270ab169fd436c36dd51acb642a97ee50 from master

comment:6 Changed 2 years ago by Claude Paroz <claude@…>

In bac5777:

Refs #30165 -- Removed leftover 'u' prefix.

comment:7 Changed 2 years ago by Carlton Gibson <carlton.gibson@…>

In 06474e9:

[3.1.x] Refs #30165 -- Removed leftover 'u' prefix.

Backport of bac5777bff8e8d8189193438b5af52f158a3f2a4 from master

comment:8 Changed 2 years ago by Carlton Gibson <carlton.gibson@…>

In e0397e1:

[3.0.x] Refs #30165 -- Removed leftover 'u' prefix.

Backport of bac5777bff8e8d8189193438b5af52f158a3f2a4 from master

comment:9 Changed 19 months ago by Mariusz Felisiak <felisiak.mariusz@…>

In 52a238dd:

Refs #30165 -- Removed ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy() per deprecation timeline.

Note: See TracTickets for help on using tickets.
Back to Top