Skip to content

Commit

Permalink
[#3352] Add translation support for .jsx files
Browse files Browse the repository at this point in the history
  • Loading branch information
iperdomo committed Dec 12, 2019
1 parent 0d738b7 commit 56d0a4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GAE/src/services/TranslationGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ public class TranslationGenerator {
PATTERNS.put("placeholderBinding=\"Ember.STRINGS.", "\"");
PATTERNS.put("String.loc('", "'");
PATTERNS.put("(t> ", ")");
PATTERNS.put("Ember.String.loc('", "'");
}

private static final String[] EXTS = {
"handlebars", "js", "cljs"
"handlebars", "js", "cljs", "jsx"
};

public static void main(String[] args) throws Exception {
Expand Down

0 comments on commit 56d0a4b

Please sign in to comment.