Add context to i18n.tr(), deprecate ctr()

Bug #1417680 reported by Tim Peeters on 2015-02-03
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Medium
Christian Dywan

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.

Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Christian Dywan (kalikiana)
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers