diff --git a/packages/react/src/Trans.test.tsx b/packages/react/src/Trans.test.tsx
index a1e8a8171..ab0dbd11f 100644
--- a/packages/react/src/Trans.test.tsx
+++ b/packages/react/src/Trans.test.tsx
@@ -305,7 +305,6 @@ describe("Trans component", () => {
message: "Default",
translation: "Translation",
children: "Translation",
- isTranslated: true,
})
})
@@ -369,7 +368,6 @@ describe("Trans component", () => {
expect(element).toEqual(`
value
`)
expect(propsSpy).toHaveBeenCalledWith({
id: "Headline",
- isTranslated: false,
message: undefined,
translation: "Headline",
children: "Headline",
@@ -388,8 +386,6 @@ describe("Trans component", () => {
{props.translation && (
{props.translation}
)}
-
- {String(props.isTranslated)}
>
)
@@ -405,21 +401,6 @@ describe("Trans component", () => {
expect(markup.queryByTestId("translation")?.innerHTML).toEqual(
"Translation"
)
- expect(markup.queryByTestId("is-translated")?.innerHTML).toEqual("true")
- })
-
- it("should pass isTranslated: false if no translation", () => {
- const markup = render(
-
-
-
- )
-
- expect(markup.queryByTestId("id")?.innerHTML).toEqual("NO_ID")
- expect(markup.queryByTestId("translation")?.innerHTML).toEqual(
- "Some message"
- )
- expect(markup.queryByTestId("is-translated")?.innerHTML).toEqual("false")
})
describe("TransNoContext", () => {
diff --git a/packages/react/src/TransNoContext.tsx b/packages/react/src/TransNoContext.tsx
index 4eed28db9..ea39f6cab 100644
--- a/packages/react/src/TransNoContext.tsx
+++ b/packages/react/src/TransNoContext.tsx
@@ -9,10 +9,6 @@ export type TransRenderProps = {
translation: React.ReactNode
children: React.ReactNode
message?: string | null
- /**
- * @deprecated isTranslated prop is undocumented and buggy. It'll be removed in v5 release.
- * */
- isTranslated: boolean
}
export type TransRenderCallbackOrComponent =
@@ -110,8 +106,6 @@ export function TransNoContext(
id,
message,
translation,
- // TODO vonovak - remove isTranslated prop in v5 release
- isTranslated: id !== translation && message !== translation,
children: translation, // for type-compatibility with `component` prop
}