mirror of
https://github.com/vector-im/element-call.git
synced 2026-01-18 02:32:27 +00:00
Fixes https://github.com/element-hq/element-call/issues/2865 If we want to have GB and US specific terms later on we can then add then in as `en-GB` and `en-US`.
29 lines
655 B
TypeScript
29 lines
655 B
TypeScript
export default {
|
|
keySeparator: ".",
|
|
namespaceSeparator: false,
|
|
contextSeparator: "|",
|
|
pluralSeparator: "_",
|
|
createOldCatalogs: false,
|
|
defaultNamespace: "app",
|
|
lexers: {
|
|
ts: [
|
|
{
|
|
lexer: "JavascriptLexer",
|
|
functions: ["t", "translatedError"],
|
|
namespaceFunctions: ["useTranslation", "withTranslation"],
|
|
},
|
|
],
|
|
tsx: [
|
|
{
|
|
lexer: "JsxLexer",
|
|
functions: ["t", "translatedError"],
|
|
namespaceFunctions: ["useTranslation", "withTranslation"],
|
|
},
|
|
],
|
|
},
|
|
locales: ["en"],
|
|
output: "locales/$LOCALE/$NAMESPACE.json",
|
|
input: ["src/**/*.{ts,tsx}"],
|
|
sort: true,
|
|
};
|