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

Bug #1417680 reported by Tim Peeters
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Confirmed
Medium
Cris 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.

Cris Dywan (kalikiana)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.