Skip to content

FormatJS i18n argument parsing#1046

Merged
justin808 merged 2 commits intoshakacode:masterfrom
sepehr500:master
Mar 23, 2018
Merged

FormatJS i18n argument parsing#1046
justin808 merged 2 commits intoshakacode:masterfrom
sepehr500:master

Conversation

@sepehr500
Copy link
Copy Markdown
Contributor

@sepehr500 sepehr500 commented Mar 14, 2018

Changed i18n parsing to convert ruby i18n argument syntax into FormatJS argument syntax to fix #1021


This change is Reviewable

@coveralls
Copy link
Copy Markdown

coveralls commented Mar 14, 2018

Coverage Status

Coverage remained the same at ?% when pulling 1f2cb07 on sepehr500:master into a6fc8d8 on shakacode:master.

@sepehr500
Copy link
Copy Markdown
Contributor Author

@justin808 Have you had a chance to look at this yet?

@justin808
Copy link
Copy Markdown
Member

@sepehr500, Did we need to do anything about:

@justin808 The only edge case I can think of is if somebody actually wants to have %{ in their yml. I am trying to see if https://github.com/svenfuchs/rails-i18n handles this with an escape char or something like that, but I do not think they do.

CC: @kkak10.

@sepehr500
Copy link
Copy Markdown
Contributor Author

@justin808 I don't think so. @kkak10 said it was not an issue and I could not find anything about escape chars in rails documentation.

@justin808 justin808 merged commit a7ca9b3 into shakacode:master Mar 23, 2018
@sepehr500
Copy link
Copy Markdown
Contributor Author

sepehr500 commented Aug 8, 2018 via email

@vcarel
Copy link
Copy Markdown
Contributor

vcarel commented Aug 8, 2018

My apologizes, I moved my comment into a new issue: #1126

It would be great to have a fix today, really !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I18n with react-Intl message in variable expression is different

4 participants