Skip to content

Commit

Permalink
chore: update package.json version
Browse files Browse the repository at this point in the history
  • Loading branch information
aralroca committed Jan 12, 2024
1 parent fc0ad7a commit 8c77ecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ Or using `components` prop as a object:
- `fallback` - string | string[] - Optional. Fallback i18nKey if the i18nKey doesn't match.
- `defaultTrans` - string - Default translation for the key. If fallback keys are used, it will be used only after exhausting all the fallbacks.
- `ns` - Namespace to use when none is embedded in `i18nKey`
- `returnObjects` - boolean - Get part of the JSON with all the translations. [See more](#7-nested-translations).

In cases where we require the functionality of the `Trans` component, but need a **string** to be interpolated, rather than the output of the `t(props.i18nKey)` function, there is also a `TransText` component, which takes a `text` prop instead of `i18nKey`.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-translate",
"version": "2.6.2",
"version": "2.7.0-canary.1",
"description": "Tiny and powerful i18n tools (Next plugin + API) to translate your Next.js pages.",
"license": "MIT",
"keywords": [
Expand Down

0 comments on commit 8c77ecd

Please sign in to comment.