Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
jamuhl committed May 23, 2019
1 parent 65913ae commit c39b30f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.0.4

- Fix using i18next's fallback language support [3](https://github.com/i18next/i18next-fluent/pull/3)

### 0.0.3

- check if bundle exists before getMessage call
Expand Down
2 changes: 1 addition & 1 deletion i18nextFluent.js
Original file line number Diff line number Diff line change
Expand Up @@ -2124,7 +2124,7 @@
}

createBundle(lng, ns, json) {
const ftlStr = js2ftl_1(json);
const ftlStr = json ? js2ftl_1(json) : "";
const bundle = new FluentBundle(lng, this.options.fluentBundleOptions);
const errors = bundle.addMessages(ftl$1(ftlStr));
setPath(this.bundles, [lng, ns], bundle);
Expand Down
2 changes: 1 addition & 1 deletion i18nextFluent.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"dependencies": {
"fluent": "^0.8.0",
"fluent_conv": "^1.0.2"
"fluent_conv": "^1.1.1"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
Expand Down

0 comments on commit c39b30f

Please sign in to comment.