← Back to team overview

touch-packages team mailing list archive

[Bug 1417031] Re: i18n.tag function for tagging strings for gettext extraction

 

Perhaps we could name it i18n.noop() to follow the gettext convention?
It seems N_ is generally an alias to the gettext_noop macro [1]:

#define N_(String) gettext_noop (String)

[1] http://www.gnu.org/software/gettext/manual/gettext.html

-- 
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/1417031

Title:
  i18n.tag function for tagging strings for gettext extraction

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  It would be extremely useful for apps providing infographics if a pass
  through function for tagging existed in i18n.

  e.g. i18n.tag("my string to extract but not translate")

  This would be the equivalent of the N_ / gettext_noop function, but
  for QML.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1417031/+subscriptions


References