Skip to content

Commit 9d6e44e

Browse files
authored
Update SPLIT_MARKER constant to make it more robust
1 parent 4930c17 commit 9d6e44e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ra-core/src/i18n/Translate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { isValidElement, ReactElement, ReactNode } from 'react';
22
import { useTranslate } from './useTranslate';
33

4-
const SPLIT_MARKER = '#SPLIT#';
4+
const SPLIT_MARKER = '#@RA_CORE_INTERNAL_SPLIT@#';
55

66
export const Translate = ({ i18nKey, options, children }: TranslateProps) => {
77
const translate = useTranslate();

0 commit comments

Comments
 (0)