// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`#1 1`] = ` import { Plural } from "@lingui/react/macro"; A lot of them} />; ↓ ↓ ↓ ↓ ↓ ↓ import { Trans as _Trans } from "@lingui/react"; <_Trans { /*i18n*/ ...{ id: "tYX0sm", message: "{count, plural, offset:1 =0 {Zero items} few {{count} items} other {<0>A lot of them}}", values: { count: count, }, components: { 0: , }, } } />; `; exports[`#4 1`] = ` import { Trans, Plural } from "@lingui/react/macro"; # slot added } other={ # slots added } />; ↓ ↓ ↓ ↓ ↓ ↓ import { Trans as _Trans } from "@lingui/react"; <_Trans { /*i18n*/ ...{ id: "X8eyr1", message: "{count, plural, one {<0># slot added} other {<1># slots added}}", values: { count: count, }, components: { 0: , 1: , }, } } />; `; exports[`#6 1`] = ` import { Plural } from "@lingui/react/macro"; A lot of them} />; ↓ ↓ ↓ ↓ ↓ ↓ import { Trans as _Trans } from "@lingui/react"; <_Trans render="strong" { /*i18n*/ ...{ id: "msg.plural", message: "{count, plural, offset:1 =0 {Zero items} few {{count} items} other {<0>A lot of them}}", values: { count: count, }, components: { 0: , }, } } />; `; exports[`#7 1`] = ` import { Trans, Plural } from "@lingui/react/macro"; Looking for{" "} a lot of them} /> ; ↓ ↓ ↓ ↓ ↓ ↓ import { Trans as _Trans } from "@lingui/react"; <_Trans { /*i18n*/ ...{ id: "inner-id-removed", message: "Looking for {0, plural, offset:1 =0 {zero items} few {{1} items {2}} other {<0>a lot of them}}", values: { 0: items.length, 1: items.length, 2: 42, }, components: { 0: , }, } } />; `; exports[`#8 1`] = ` import { Plural } from "@lingui/react/macro"; A lot of them} />; ↓ ↓ ↓ ↓ ↓ ↓ import { Trans as _Trans } from "@lingui/react"; <_Trans { /*i18n*/ ...{ id: "EQvNfC", message: "{count, plural, =0 {Zero items} one {{oneText}} other {<0>A lot of them}}", values: { count: count, oneText: oneText, }, components: { 0: , }, } } />; `; exports[`Plural macro could be renamed 1`] = ` import { Plural as Plural2 } from "@lingui/react/macro"; ; ↓ ↓ ↓ ↓ ↓ ↓ import { Trans as _Trans } from "@lingui/react"; <_Trans { /*i18n*/ ...{ id: "EMgKyP", message: "{count, plural, one {...} other {...}}", values: { count: count, }, } } />; `; exports[`Should preserve reserved props: \`comment\`, \`context\`, \`render\`, \`id\` 1`] = ` import { Plural } from "@lingui/react/macro"; {}} value={count} offset="1" _0="Zero items" few={\`\${count} items\`} other={A lot of them} />; ↓ ↓ ↓ ↓ ↓ ↓ import { Trans as _Trans } from "@lingui/react"; <_Trans render={() => {}} { /*i18n*/ ...{ id: "custom.id", message: "{count, plural, offset:1 =0 {Zero items} few {{count} items} other {<0>A lot of them}}", comment: "Comment for translator", context: "translation context", values: { count: count, }, components: { 0: , }, } } />; `; exports[`Should return cases without leading or trailing spaces for nested Trans inside Plural 1`] = ` import { Trans, Plural } from "@lingui/react/macro"; One hello} other={Other hello} value={count} />; ↓ ↓ ↓ ↓ ↓ ↓ import { Trans as _Trans } from "@lingui/react"; <_Trans { /*i18n*/ ...{ id: "oukcm6", message: "{count, plural, one {One hello} other {Other hello}}", values: { count: count, }, } } />; `;