mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-23 03:31:56 +00:00
Convert i18next-parser configuration to TypeScript.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
const config = {
|
||||
import type {UserConfig} from "i18next-parser";
|
||||
|
||||
const config: UserConfig = {
|
||||
createOldCatalogs: false,
|
||||
defaultValue: (locale, namespace, key, value) =>
|
||||
locale === "en" ? key : value,
|
||||
indentation: "\t",
|
||||
locale === "en" ? key! : value!,
|
||||
indentation: "\t" as unknown as number,
|
||||
input: ["app/**/*.ts"],
|
||||
keySeparator: false,
|
||||
lexers: {
|
Reference in New Issue
Block a user