mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
1) Downgrade numpy to avoid dependency conflict with numba 2) Move all non ldm/invoke files into `invokeai`. This includes assets, backend, frontend, and configs. 3) Fix up way that the backend finds the frontend and the generator finds the NSFW caution.png icon.
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
import 'i18next';
|
|
|
|
// Import All Namespaces (for the default language only)
|
|
import common from '../public/locales/common/en.json';
|
|
import unifiedcanvas from '../public/locales/unifiedcanvas/en.json';
|
|
import options from '../public/locales/options/en.json';
|
|
import gallery from '../public/locales/gallery/en.json';
|
|
import toast from '../public/locales/toast/en.json';
|
|
import hotkeys from '../public/locales/hotkeys/en.json';
|
|
import settings from '../public/locales/settings/en.json';
|
|
import tooltip from '../public/locales/tooltip/en.json';
|
|
import modelmanager from '../public/locales/modelmanager/en.json';
|
|
|
|
declare module 'i18next' {
|
|
// Extend CustomTypeOptions
|
|
interface CustomTypeOptions {
|
|
// Setting Default Namespace As English
|
|
defaultNS: 'en';
|
|
// Custom Types For Resources
|
|
resources: {
|
|
common: typeof common;
|
|
unifiedcanvas: typeof unifiedcanvas;
|
|
options: typeof options;
|
|
gallery: typeof gallery;
|
|
toast: typeof toast;
|
|
hotkeys: typeof hotkeys;
|
|
settings: typeof settings;
|
|
tooltip: typeof tooltip;
|
|
modelmanager: typeof modelmanager;
|
|
};
|
|
// Never Return Null
|
|
returnNull: false;
|
|
}
|
|
}
|