ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #02854
[Bug 1417680] [NEW] Add context to i18n.tr(), deprecate ctr()
Public bug reported:
i18n.ctr() functions were added two months ago, but they are not in sync
with our proposed API at
https://docs.google.com/a/canonical.com/document/d/1qDcfbu9aAj7uU9qzjXCOJn8zGexBnXwZCgO8pLDsO5M/edit#
We decided to overload tr() and dtr() instead of adding ctr() and dctr()
to have shorter function names. I propose to add the context-variations
of tr() and dtr() and to mark ctr() and dctr() as deprecated.
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Medium
Assignee: Christian Dywan (kalikiana)
Status: Confirmed
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1417680
Title:
Add context to i18n.tr(), deprecate ctr()
Status in ubuntu-ui-toolkit package in Ubuntu:
Confirmed
Bug description:
i18n.ctr() functions were added two months ago, but they are not in
sync with our proposed API at
https://docs.google.com/a/canonical.com/document/d/1qDcfbu9aAj7uU9qzjXCOJn8zGexBnXwZCgO8pLDsO5M/edit#
We decided to overload tr() and dtr() instead of adding ctr() and
dctr() to have shorter function names. I propose to add the context-
variations of tr() and dtr() and to mark ctr() and dctr() as
deprecated.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1417680/+subscriptions
Follow ups
References