Files
element-call/src/@types/i18next.d.ts
Hugh Nimmo-Smith 27620b9148 Rename en-GB language to en (#2866)
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`.
2024-12-04 14:51:29 +00:00

21 lines
423 B
TypeScript

/*
Copyright 2023, 2024 New Vector Ltd.
SPDX-License-Identifier: AGPL-3.0-only
Please see LICENSE in the repository root for full details.
*/
import "i18next";
// import all namespaces (for the default language, only)
import app from "../../locales/en/app.json";
declare module "i18next" {
interface CustomTypeOptions {
defaultNS: "app";
keySeparator: ".";
resources: {
app: typeof app;
};
}
}