Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
jamuhl committed Sep 3, 2018
1 parent 1cba999 commit d899be4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
### 7.11.1

- fix related to issue #504: also report default Namespace with translate() [506](https://github.com/i18next/react-i18next/pull/506)

### 7.11.0

- Added reportNS function to I18NextProvider to report used namespaces [500](https://github.com/i18next/react-i18next/pull/500)
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "react-i18next",
"version": "7.11.0",
"version": "7.11.1",
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
"main": "dist/commonjs/index.js",
"jsnext:main": "dist/es/index.js",
Expand Down
2 changes: 1 addition & 1 deletion react-i18next.js
Expand Up @@ -623,7 +623,7 @@ function translate(namespaceArg) {
_this.options = _extends({}, getDefaults(), i18nOptions, options);

if (context.reportNS) {
var namespaces = Array.isArray(namespaceArg) ? namespaceArg : [namespaceArg];
var namespaces = _this.namespaces || [undefined];
namespaces.forEach(context.reportNS);
}

Expand Down
2 changes: 1 addition & 1 deletion react-i18next.min.js

Large diffs are not rendered by default.

0 comments on commit d899be4

Please sign in to comment.