Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate conditional expressions #46

Open
katilius opened this issue Mar 5, 2019 · 0 comments
Open

Translate conditional expressions #46

katilius opened this issue Mar 5, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@katilius
Copy link
Collaborator

katilius commented Mar 5, 2019

Expanded current test case ExpressionContainer:

import React from "react";

const Simple = ({ enabled }) => (
  <>
    <span>{"My simple text"}</span>
    <span>{enabled ? "OK" : "Not OK"}</span>
    <span>{enabled && enabled}</span>
  </>
);

export default Simple;

The first case works fine, but other 2 are not translated.

@katilius katilius added the bug Something isn't working label Mar 5, 2019
@katilius katilius changed the title Convert conditional expressions Translate conditional expressions Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant