Files
Open-Assistant/website/types/i18next.d.ts
T
Guillermo Hoardings 602799881a Translate strings that were not using i18n yet
Only English and Spanish translations have been included.
2023-02-03 01:53:04 +01:00

24 lines
830 B
TypeScript

import type common from "public/locales/en/common.json";
import type dashboard from "public/locales/en/dashboard.json";
import type index from "public/locales/en/index.json";
import type leaderboard from "public/locales/en/leaderboard.json";
import type message from "public/locales/en/message.json";
import type labelling from "public/locales/en/labelling.json";
import type tasks from "public/locales/en/tasks.json";
import type side_menu from "public/locales/en/side_menu.json";
declare module "i18next" {
interface CustomTypeOptions {
resources: {
common: typeof common;
dashboard: typeof dashboard;
index: typeof index;
leaderboard: typeof leaderboard;
tasks: typeof tasks;
message: typeof message;
labelling: typeof labelling;
side_menu: typeof side_menu;
};
}
}