scratch-l10n

This commit is contained in:
chengyu 2021-09-17 18:51:54 +08:00
parent 2035b0a620
commit 33b566008b
7 changed files with 8 additions and 8 deletions

View File

@ -109,7 +109,7 @@
"rimraf": "^2.6.1",
"scratch-audio": "0.1.0-prerelease.20200528195344",
"scratch-blocks": "0.1.0-prerelease.20210829081240",
"easy-scratch-l10n":"github:open-scratch/easy-scratch-l10n#simplify",
"scratch-l10n":"github:open-scratch/easy-scratch-l10n#simplify",
"scratch-paint": "0.2.0-prerelease.20210907080144",
"scratch-render": "0.1.0-prerelease.20210819221425",
"scratch-render-fonts": "1.0.0-prerelease.20210401210003",

View File

@ -1,7 +1,7 @@
import PropTypes from 'prop-types';
import React from 'react';
import locales from 'easy-scratch-l10n';
import locales from 'scratch-l10n';
import styles from './language-selector.css';
// supported languages to exclude from the menu, but allow as a URL option

View File

@ -7,7 +7,7 @@ import SpriteInfo from '../../containers/sprite-info.jsx';
import SpriteList from './sprite-list.jsx';
import ActionMenu from '../action-menu/action-menu.jsx';
import {STAGE_DISPLAY_SIZES} from '../../lib/layout-constants';
import {isRtl} from 'easy-scratch-l10n';
import {isRtl} from 'scratch-l10n';
import styles from './sprite-selector.css';

View File

@ -6,7 +6,7 @@ import {defineMessages, intlShape, injectIntl, FormattedMessage} from 'react-int
import Box from '../box/box.jsx';
import ActionMenu from '../action-menu/action-menu.jsx';
import styles from './stage-selector.css';
import {isRtl} from 'easy-scratch-l10n';
import {isRtl} from 'scratch-l10n';
import backdropIcon from '../action-menu/icon--backdrop.svg';
import fileUploadIcon from '../action-menu/icon--file-upload.svg';

View File

@ -8,7 +8,7 @@ import localesReducer, {initLocale, localesInitialState} from '../reducers/local
import {setPlayer, setFullScreen} from '../reducers/mode.js';
import locales from 'easy-scratch-l10n';
import locales from 'scratch-l10n';
import {detectLocale} from './detect-locale';
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;

View File

@ -1,7 +1,7 @@
import {addLocaleData} from 'react-intl';
import {localeData, isRtl} from 'easy-scratch-l10n';
import editorMessages from 'easy-scratch-l10n/locales/editor-msgs';
import {localeData, isRtl} from 'scratch-l10n';
import editorMessages from 'scratch-l10n/locales/editor-msgs';
addLocaleData(localeData);

View File

@ -3269,7 +3269,7 @@ duplexify@^3.4.2, duplexify@^3.6.0:
readable-stream "^2.0.0"
stream-shift "^1.0.0"
"easy-scratch-l10n@github:open-scratch/easy-scratch-l10n#simplify":
"scratch-l10n@github:open-scratch/easy-scratch-l10n#simplify":
version "3.14.0"
resolved "https://codeload.github.com/open-scratch/easy-scratch-l10n/tar.gz/7f4c97e8ac32122f17ee9a0e6a70b246d2b9f4eb"
dependencies: