Move i18n setup to TypeScript

This commit is contained in:
Josh Perez
2021-09-17 20:30:08 -04:00
committed by GitHub
parent 4dcbb7352f
commit 829e42ca6e
155 changed files with 182 additions and 182 deletions
@@ -6,7 +6,7 @@ import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { boolean } from '@storybook/addon-knobs';
import { setup as setupI18n } from '../../../js/modules/i18n';
import { setupI18n } from '../../util/setupI18n';
import enMessages from '../../../_locales/en/messages.json';
import { Props, StickerButton } from './StickerButton';
import {
@@ -5,7 +5,7 @@ import * as React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { setup as setupI18n } from '../../../js/modules/i18n';
import { setupI18n } from '../../util/setupI18n';
import enMessages from '../../../_locales/en/messages.json';
import { Props, StickerManager } from './StickerManager';
import { createPack, sticker1, sticker2 } from './StickerPicker.stories';
@@ -7,7 +7,7 @@ import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { boolean } from '@storybook/addon-knobs';
import { setup as setupI18n } from '../../../js/modules/i18n';
import { setupI18n } from '../../util/setupI18n';
import enMessages from '../../../_locales/en/messages.json';
import { Props, StickerPicker } from './StickerPicker';
import { StickerPackType, StickerType } from '../../state/ducks/stickers';
@@ -7,7 +7,7 @@ import { text } from '@storybook/addon-knobs';
import { action } from '@storybook/addon-actions';
import { StickerPreviewModal } from './StickerPreviewModal';
import { setup as setupI18n } from '../../../js/modules/i18n';
import { setupI18n } from '../../util/setupI18n';
import enMessages from '../../../_locales/en/messages.json';
import {
landscapeGreenUrl,