Files
Open-Assistant/website/types/i18next.d.ts
T
rjmacarthy 54cc7827b6 Add localisation to tasks and dashboard
Fix i18n merge issues

Add blank line dashboard.json

Remove console.log

Alphabeticalise

Pre-commit

Fix i18n key warnings add util function

Fix Task.storties.tsx

Revert pass duplicate prop
2023-01-24 10:41:12 +00:00

20 lines
563 B
TypeScript

import "i18next";
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 tasks from "public/locales/en/tasks.json";
declare module "i18next" {
interface CustomTypeOptions {
resources: {
common: typeof common;
dashboard: typeof dashboard;
index: typeof index;
leaderboard: typeof leaderboard;
tasks: typeof tasks;
};
}
}