View Revisions: Issue #4789

Summary 0004789: i18n missing for JSX literals
Revision 2016-11-17 02:08 by Florian Dold
Description JSX literals like this

  <i18n.Translate>
    Hello <span>{userName}</span>!
  </i18n.Translate>

  <i18n.TranslateSwitch target={number}>
    <i18n.TranslateSingular>You have <span>number</span> apple!</i18n.TranslateSingular>
    <i18n.TranslatePlural>You have <span>{number}</span> apples!</i18n.TranslatePlural>
  </i18n.TranslateSwitch>

should be picked up by pogen.
Revision 2016-11-15 13:59 by Florian Dold
Description JSX literals like this

  <i18n.Element>
    Hello {userName}!
  </i18n.Element>

  <i18n.PluralElement target={number}>
    <i18n.Singular>You have {number} apple!</i18n.Singular>
    <i18n.Plural>You have {number} apples!</i18n.Plural>
  </i18n.PluralElement>

should be picked up by pogen.