← Back to team overview

touch-packages team mailing list archive

[Bug 1417680] Re: Add context to i18n.tr(), deprecate ctr()

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Christian Dywan (kalikiana)

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => Medium

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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


References