From 8c77ecd51b1c3887f7cd9a514442a90a601b2ce1 Mon Sep 17 00:00:00 2001 From: Aral Roca Date: Fri, 12 Jan 2024 14:50:23 +0100 Subject: [PATCH] chore: update package.json version --- README.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd64845..a43c55a 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/package.json b/package.json index 5f59b64..72a58f0 100644 --- a/package.json +++ b/package.json @@ -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": [