Do not share configs
This commit is contained in:
parent
8302a2c933
commit
5c98d870a9
2 changed files with 2 additions and 3 deletions
|
@ -4,8 +4,7 @@ const {
|
|||
default: manageTranslations
|
||||
} = require("react-intl-translations-manager");
|
||||
|
||||
const { dotSeparator } = require("../src/components/Locale/Locale.tsx");
|
||||
|
||||
const dotSeparator = "_dot_";
|
||||
const sortKeys = true;
|
||||
const translationsDirectory = "locale";
|
||||
|
||||
|
|
|
@ -185,7 +185,7 @@ export const localeNames: Record<Locale, string> = {
|
|||
[Locale.ZH_HANT]: "繁體中文"
|
||||
};
|
||||
|
||||
export const dotSeparator = "_dot_";
|
||||
const dotSeparator = "_dot_";
|
||||
const sepRegExp = new RegExp(dotSeparator, "g");
|
||||
|
||||
function getKeyValueJson(messages: LocaleMessages): Record<string, string> {
|
||||
|
|
Loading…
Reference in a new issue