mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-06 21:34:28 -05:00
* Add to nav * Allow nav items on front page to take full width * Initial+ * Fix vods page title * Add page title * Common art type * ArtGrid to a different component * User arts page initial * Add art tab to user page * Preview initial * Fix art counting * Fix link and onclick overlapping * Link to user art page to arts they made * Artist role initial * Show description * Make toggle in art page saved in search params * Add white-space pre-wrap to plus comments Not sure why it was removed in the first place? * Commission open / text and edit those * Add simple pagination * New art link display logic * New art initial * Upload art * Hide art from side nav too * Show banner when waiting for approval * Edit art * Fix art sub nav link not showing active * Relocate unvalidated art text * Delete art * Extract ImagePreview component * Eliminate some layout shift * BigImageDialog extract component + prevent layout shift * i18n * Fix unused var * Fix tests
41 lines
1.5 KiB
TypeScript
41 lines
1.5 KiB
TypeScript
import "react-i18next";
|
|
|
|
import type common from "../public/locales/en/common.json";
|
|
import type faq from "../public/locales/en/faq.json";
|
|
import type contributions from "../public/locales/en/contributions.json";
|
|
import type user from "../public/locales/en/user.json";
|
|
import type badges from "../public/locales/en/badges.json";
|
|
import type calendar from "../public/locales/en/calendar.json";
|
|
import type weapons from "../public/locales/en/weapons.json";
|
|
import type gear from "../public/locales/en/gear.json";
|
|
import type builds from "../public/locales/en/builds.json";
|
|
import type analyzer from "../public/locales/en/analyzer.json";
|
|
import type gameMisc from "../public/locales/en/game-misc.json";
|
|
import type tournament from "../public/locales/en/tournament.json";
|
|
import type team from "../public/locales/en/team.json";
|
|
import type vods from "../public/locales/en/vods.json";
|
|
import type art from "../public/locales/en/art.json";
|
|
|
|
declare module "react-i18next" {
|
|
interface CustomTypeOptions {
|
|
defaultNS: "common";
|
|
resources: {
|
|
common: typeof common;
|
|
faq: typeof faq;
|
|
contributions: typeof contributions;
|
|
user: typeof user;
|
|
badges: typeof badges;
|
|
calendar: typeof calendar;
|
|
weapons: typeof weapons;
|
|
gear: typeof gear;
|
|
builds: typeof builds;
|
|
analyzer: typeof analyzer;
|
|
"game-misc": typeof gameMisc;
|
|
tournament: typeof tournament;
|
|
team: typeof team;
|
|
vods: typeof vods;
|
|
art: typeof art;
|
|
};
|
|
}
|
|
}
|