diff options
Diffstat (limited to 'pogen/example/test2.tsx')
-rw-r--r-- | pogen/example/test2.tsx | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/pogen/example/test2.tsx b/pogen/example/test2.tsx index 08a1deacc..4133f86fb 100644 --- a/pogen/example/test2.tsx +++ b/pogen/example/test2.tsx @@ -1 +1,15 @@ -let y = <div>a{b}c</div> +let x = <i18n.Translate>foo +{bar} {" foo "} baz</i18n.Translate> + + +let y = ( + <i18n.TranslateSwitch> + <i18n.TranslateSingular> + singular form + second line + </i18n.TranslateSingular> + <i18n.TranslatePlural> + plural form + </i18n.TranslatePlural> + </i18n.TranslateSwitch> +); |