commit 22499258465e4606e234f8aad99e56338b3e0722
Author: Ben Nemec <email address hidden>
Date: Thu Aug 29 19:10:42 2019 +0000
Deprecate Message.translate in favor of Message.translation
It shadows the unicode function of the same name, and there's no
way to entirely disambiguate the two based on the parameter passed
in. This change deprecates Message.translate and makes it a wrapper
around the new function, Message.translation.
Note that we never documented calling Message.translate directly.
The documented way to get the translated form of a Message is to call
the _translate.translate function in this project, so chances are
that this public API change will have little actual impact on users.
Reviewed: https:/ /review. opendev. org/679321 /git.openstack. org/cgit/ openstack/ oslo.i18n/ commit/ ?id=22499258465 e4606e234f8aad9 9e56338b3e0722
Committed: https:/
Submitter: Zuul
Branch: master
commit 22499258465e460 6e234f8aad99e56 338b3e0722
Author: Ben Nemec <email address hidden>
Date: Thu Aug 29 19:10:42 2019 +0000
Deprecate Message.translate in favor of Message.translation
It shadows the unicode function of the same name, and there's no translation.
way to entirely disambiguate the two based on the parameter passed
in. This change deprecates Message.translate and makes it a wrapper
around the new function, Message.
Note that we never documented calling Message.translate directly. translate function in this project, so chances are
The documented way to get the translated form of a Message is to call
the _translate.
that this public API change will have little actual impact on users.
Change-Id: I0c617937f5af74 67d1454f72acd04 74ae2ce0293
Closes-Bug: 1841796