Skip to content

Commit

Permalink
i18n: correct namspace key name
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Hinchley committed Jul 10, 2018
1 parent d335ea1 commit a6610a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/docs/localization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { i18n } from "@sajari/sdk-react"
i18n.addResource("fr", "summary", {
page: "Page {{pageNumber}} de",
resultsFor: "résultats pour",
searchInstead: "Essayez avec l'orthographe",
searchInsteadFor: "Essayez avec l'orthographe",
})

```
Expand All @@ -46,6 +46,6 @@ errors: {
summary: {
page: "Page {{pageNumber}} of",
resultsFor: "results for",
searchInstead: "search instead for"
searchInsteadFor: "search instead for"
}
```
2 changes: 1 addition & 1 deletion src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const i18n = i18next.use(LngDetector).init({
summary: {
page: "Page {{pageNumber}} of",
resultsFor: "results for",
searchInstead: "search instead for"
searchInsteadFor: "search instead for"
}
}
},
Expand Down

0 comments on commit a6610a7

Please sign in to comment.