mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-18 02:00:22 +01:00
Merge with upstream
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
import i18n from "i18next";
|
||||
import { reactI18nextModule } from "react-i18next";
|
||||
import { initReactI18next } from "react-i18next";
|
||||
import { addDecorator, configure } from "@storybook/react";
|
||||
import { withI18next } from "storybook-addon-i18next";
|
||||
|
||||
import "!style-loader!css-loader!sass-loader!../../ui-styles/src/scm.scss";
|
||||
|
||||
i18n.use(reactI18nextModule).init({
|
||||
i18n.use(initReactI18next).init({
|
||||
whitelist: ["en", "de", "es"],
|
||||
lng: "en",
|
||||
fallbackLng: "en",
|
||||
interpolation: {
|
||||
escapeValue: false
|
||||
},
|
||||
react: {
|
||||
useSuspense: false
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user