Do not share configs

This commit is contained in:
dominik-zeglen 2020-02-13 12:58:45 +01:00
parent 8302a2c933
commit 5c98d870a9
2 changed files with 2 additions and 3 deletions

View file

@ -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";

View file

@ -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> {