diff --git a/apps/demos/Demos/Localization/UsingGlobalize/Angular/app/app.component.ts b/apps/demos/Demos/Localization/UsingGlobalize/Angular/app/app.component.ts index 8e3d25d17e7d..ecce89fabec9 100644 --- a/apps/demos/Demos/Localization/UsingGlobalize/Angular/app/app.component.ts +++ b/apps/demos/Demos/Localization/UsingGlobalize/Angular/app/app.component.ts @@ -8,8 +8,8 @@ import 'devextreme/localization/globalize/date'; import 'devextreme/localization/globalize/currency'; import 'devextreme/localization/globalize/message'; -import deMessages from 'npm:devextreme/common/core/localization/messages/de.json!json'; -import ruMessages from 'npm:devextreme/common/core/localization/messages/ru.json!json'; +import deMessages from 'npm:devextreme/localization/messages/de.json!json'; +import ruMessages from 'npm:devextreme/localization/messages/ru.json!json'; import deCldrData from 'npm:devextreme-cldr-data/de.json!json'; import ruCldrData from 'npm:devextreme-cldr-data/ru.json!json'; diff --git a/apps/demos/Demos/Localization/UsingGlobalize/React/App.tsx b/apps/demos/Demos/Localization/UsingGlobalize/React/App.tsx index 724a2794ad7d..b8c231be96b3 100644 --- a/apps/demos/Demos/Localization/UsingGlobalize/React/App.tsx +++ b/apps/demos/Demos/Localization/UsingGlobalize/React/App.tsx @@ -9,8 +9,8 @@ import 'devextreme/localization/globalize/date'; import 'devextreme/localization/globalize/currency'; import 'devextreme/localization/globalize/message'; -import deMessages from 'devextreme/common/core/localization/messages/de.json'; -import ruMessages from 'devextreme/common/core/localization/messages/ru.json'; +import deMessages from 'devextreme/localization/messages/de.json'; +import ruMessages from 'devextreme/localization/messages/ru.json'; import deCldrData from 'devextreme-cldr-data/de.json'; import ruCldrData from 'devextreme-cldr-data/ru.json'; diff --git a/apps/demos/Demos/Localization/UsingGlobalize/ReactJs/App.js b/apps/demos/Demos/Localization/UsingGlobalize/ReactJs/App.js index 79660350cfd1..2ebd1e15d128 100644 --- a/apps/demos/Demos/Localization/UsingGlobalize/ReactJs/App.js +++ b/apps/demos/Demos/Localization/UsingGlobalize/ReactJs/App.js @@ -7,8 +7,8 @@ import 'devextreme/localization/globalize/number'; import 'devextreme/localization/globalize/date'; import 'devextreme/localization/globalize/currency'; import 'devextreme/localization/globalize/message'; -import deMessages from 'devextreme/common/core/localization/messages/de.json'; -import ruMessages from 'devextreme/common/core/localization/messages/ru.json'; +import deMessages from 'devextreme/localization/messages/de.json'; +import ruMessages from 'devextreme/localization/messages/ru.json'; import deCldrData from 'devextreme-cldr-data/de.json'; import ruCldrData from 'devextreme-cldr-data/ru.json'; import supplementalCldrData from 'devextreme-cldr-data/supplemental.json'; diff --git a/apps/demos/Demos/Localization/UsingGlobalize/Vue/App.vue b/apps/demos/Demos/Localization/UsingGlobalize/Vue/App.vue index 7361909f8c1d..cb5add991431 100644 --- a/apps/demos/Demos/Localization/UsingGlobalize/Vue/App.vue +++ b/apps/demos/Demos/Localization/UsingGlobalize/Vue/App.vue @@ -69,8 +69,8 @@ import 'devextreme/localization/globalize/currency'; import 'devextreme/localization/globalize/message'; /* eslint-disable import/no-unresolved */ /* eslint-disable import/no-webpack-loader-syntax */ -import * as deMessages from 'npm:devextreme/common/core/localization/messages/de.json!json'; -import * as ruMessages from 'npm:devextreme/common/core/localization/messages/ru.json!json'; +import * as deMessages from 'npm:devextreme/localization/messages/de.json!json'; +import * as ruMessages from 'npm:devextreme/localization/messages/ru.json!json'; import * as deCldrData from 'npm:devextreme-cldr-data/de.json!json'; import * as ruCldrData from 'npm:devextreme-cldr-data/ru.json!json'; import * as supplementalCldrData from 'npm:devextreme-cldr-data/supplemental.json!json'; diff --git a/apps/demos/Demos/Localization/UsingIntl/Angular/app/app.component.ts b/apps/demos/Demos/Localization/UsingIntl/Angular/app/app.component.ts index f90ed845c760..cc7aa5448a6d 100644 --- a/apps/demos/Demos/Localization/UsingIntl/Angular/app/app.component.ts +++ b/apps/demos/Demos/Localization/UsingIntl/Angular/app/app.component.ts @@ -5,8 +5,8 @@ import { DxSelectBoxModule, DxDataGridModule } from 'devextreme-angular'; import { locale, loadMessages, formatMessage } from 'devextreme/localization'; -import deMessages from 'npm:devextreme/common/core/localization/messages/de.json!json'; -import ruMessages from 'npm:devextreme/common/core/localization/messages/ru.json!json'; +import deMessages from 'npm:devextreme/localization/messages/de.json!json'; +import ruMessages from 'npm:devextreme/localization/messages/ru.json!json'; import { Locale, Payment, Service } from './app.service'; if (!/localhost/.test(document.location.host)) { diff --git a/apps/demos/Demos/Localization/UsingIntl/React/App.tsx b/apps/demos/Demos/Localization/UsingIntl/React/App.tsx index db018e87c73b..c3033eafd311 100644 --- a/apps/demos/Demos/Localization/UsingIntl/React/App.tsx +++ b/apps/demos/Demos/Localization/UsingIntl/React/App.tsx @@ -4,8 +4,8 @@ import React, { useState } from 'react'; import DataGrid, { Column, Editing, FilterRow } from 'devextreme-react/data-grid'; import SelectBox, { SelectBoxTypes } from 'devextreme-react/select-box'; -import deMessages from 'devextreme/common/core/localization/messages/de.json'; -import ruMessages from 'devextreme/common/core/localization/messages/ru.json'; +import deMessages from 'devextreme/localization/messages/de.json'; +import ruMessages from 'devextreme/localization/messages/ru.json'; import { locale, loadMessages, formatMessage } from 'devextreme/localization'; import service from './data.ts'; diff --git a/apps/demos/Demos/Localization/UsingIntl/ReactJs/App.js b/apps/demos/Demos/Localization/UsingIntl/ReactJs/App.js index 15a5a303cf11..7e8d2f742bce 100644 --- a/apps/demos/Demos/Localization/UsingIntl/ReactJs/App.js +++ b/apps/demos/Demos/Localization/UsingIntl/ReactJs/App.js @@ -3,8 +3,8 @@ import React, { useState } from 'react'; import DataGrid, { Column, Editing, FilterRow } from 'devextreme-react/data-grid'; import SelectBox from 'devextreme-react/select-box'; -import deMessages from 'devextreme/common/core/localization/messages/de.json'; -import ruMessages from 'devextreme/common/core/localization/messages/ru.json'; +import deMessages from 'devextreme/localization/messages/de.json'; +import ruMessages from 'devextreme/localization/messages/ru.json'; import { locale, loadMessages, formatMessage } from 'devextreme/localization'; import service from './data.js'; diff --git a/apps/demos/Demos/Localization/UsingIntl/Vue/App.vue b/apps/demos/Demos/Localization/UsingIntl/Vue/App.vue index dbd7d9b810ed..bb1cfb9efc0a 100644 --- a/apps/demos/Demos/Localization/UsingIntl/Vue/App.vue +++ b/apps/demos/Demos/Localization/UsingIntl/Vue/App.vue @@ -65,8 +65,8 @@ import { import DxSelectBox, { DxSelectBoxTypes } from 'devextreme-vue/select-box'; /* eslint-disable import/no-unresolved */ /* eslint-disable import/no-webpack-loader-syntax */ -import * as deMessages from 'npm:devextreme/common/core/localization/messages/de.json!json'; -import * as ruMessages from 'npm:devextreme/common/core/localization/messages/ru.json!json'; +import * as deMessages from 'npm:devextreme/localization/messages/de.json!json'; +import * as ruMessages from 'npm:devextreme/localization/messages/ru.json!json'; import { locale as dxLocale, loadMessages, formatMessage as dxFormatMessage } from 'devextreme/localization'; import service from './data.ts'; diff --git a/apps/demos/configs/React/config.bundle.js b/apps/demos/configs/React/config.bundle.js index d87d4838bc9f..b603c1619458 100644 --- a/apps/demos/configs/React/config.bundle.js +++ b/apps/demos/configs/React/config.bundle.js @@ -47,7 +47,7 @@ const bundleConfig = { }, map: { 'devextreme.react.systemjs.js': '../../../../bundles/devextreme.react.systemjs.js', - 'devextreme/common/core/localization/messages': 'npm:devextreme/common/core/localization/messages', + 'devextreme/localization/messages': 'npm:devextreme/localization/messages', }, packages: { 'react': { diff --git a/apps/demos/configs/React/config.js b/apps/demos/configs/React/config.js index 2889787b7557..041e2325fe9a 100644 --- a/apps/demos/configs/React/config.js +++ b/apps/demos/configs/React/config.js @@ -161,7 +161,7 @@ window.config = { 'devextreme/events/utils': { main: 'index', }, - 'devextreme/common/core/localization/messages': { + 'devextreme/localization/messages': { format: 'json', defaultExtension: 'json', }, diff --git a/apps/demos/configs/ReactJs/config.bundle.js b/apps/demos/configs/ReactJs/config.bundle.js index 2e66ceb2d215..698ffa4e391c 100644 --- a/apps/demos/configs/ReactJs/config.bundle.js +++ b/apps/demos/configs/ReactJs/config.bundle.js @@ -42,7 +42,7 @@ const bundleConfig = { }, map: { 'devextreme.react.systemjs.js': '../../../../../bundles/devextreme.react.systemjs.js', - 'devextreme/common/core/localization/messages': 'npm:devextreme/common/core/localization/messages', + 'devextreme/localization/messages': 'npm:devextreme/localization/messages', }, packages: { 'react': { diff --git a/apps/demos/configs/ReactJs/config.js b/apps/demos/configs/ReactJs/config.js index 37f69cb7ee00..cd3d318242f9 100644 --- a/apps/demos/configs/ReactJs/config.js +++ b/apps/demos/configs/ReactJs/config.js @@ -162,7 +162,7 @@ window.config = { 'devextreme/events/utils': { main: 'index', }, - 'devextreme/common/core/localization/messages': { + 'devextreme/localization/messages': { format: 'json', defaultExtension: '', }, diff --git a/apps/demos/utils/bundle/index.js b/apps/demos/utils/bundle/index.js index 8bc6eaedc6fb..b1119b401f7f 100644 --- a/apps/demos/utils/bundle/index.js +++ b/apps/demos/utils/bundle/index.js @@ -176,7 +176,7 @@ const prepareConfigs = (framework)=> { }]; additionPaths = { - 'devextreme/common/core/localization/messages/*': 'node_modules/devextreme/common/core/localization/messages/*', + 'devextreme/localization/messages/*': 'node_modules/devextreme/localization/messages/*', }; packages = [ diff --git a/packages/devextreme/build/gulp/localization.js b/packages/devextreme/build/gulp/localization.js index b55f61901c81..b8269002aae1 100644 --- a/packages/devextreme/build/gulp/localization.js +++ b/packages/devextreme/build/gulp/localization.js @@ -84,7 +84,7 @@ const accountingFormats = function() { }; const RESULT_PATH = path.join(context.RESULT_JS_PATH, 'localization'); -const DICTIONARY_SOURCE_FOLDER = 'js/common/core/localization/messages'; +const DICTIONARY_SOURCE_FOLDER = 'js/localization/messages'; const getLocales = function(directory) { return fs.readdirSync(directory).map(file => { @@ -119,8 +119,8 @@ gulp.task('generate-community-locales', () => { return gulp .src([ - 'js/common/core/localization/messages/*.json', - '!js/common/core/localization/messages/en.json' + 'js/localization/messages/*.json', + '!js/localization/messages/en.json' ]) .pipe(through.obj(function(file, encoding, callback) { const parsedFile = JSON.parse(file.contents.toString(encoding)); @@ -169,7 +169,7 @@ gulp.task('localization-messages', gulp.parallel(getLocales(DICTIONARY_SOURCE_FO gulp.task('localization-generated-sources', gulp.parallel([ { - data: require('../../js/common/core/localization/messages/en.json'), + data: require('../../js/localization/messages/en.json'), filename: 'default_messages.js', exportName: 'defaultMessages', destination: 'js/common/core/localization' diff --git a/packages/devextreme/js/common/core/localization/messages/ar.json b/packages/devextreme/js/localization/messages/ar.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/ar.json rename to packages/devextreme/js/localization/messages/ar.json diff --git a/packages/devextreme/js/common/core/localization/messages/ca.json b/packages/devextreme/js/localization/messages/ca.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/ca.json rename to packages/devextreme/js/localization/messages/ca.json diff --git a/packages/devextreme/js/common/core/localization/messages/cs.json b/packages/devextreme/js/localization/messages/cs.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/cs.json rename to packages/devextreme/js/localization/messages/cs.json diff --git a/packages/devextreme/js/common/core/localization/messages/de.json b/packages/devextreme/js/localization/messages/de.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/de.json rename to packages/devextreme/js/localization/messages/de.json diff --git a/packages/devextreme/js/common/core/localization/messages/el.json b/packages/devextreme/js/localization/messages/el.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/el.json rename to packages/devextreme/js/localization/messages/el.json diff --git a/packages/devextreme/js/common/core/localization/messages/en.json b/packages/devextreme/js/localization/messages/en.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/en.json rename to packages/devextreme/js/localization/messages/en.json diff --git a/packages/devextreme/js/common/core/localization/messages/es.json b/packages/devextreme/js/localization/messages/es.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/es.json rename to packages/devextreme/js/localization/messages/es.json diff --git a/packages/devextreme/js/common/core/localization/messages/fa.json b/packages/devextreme/js/localization/messages/fa.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/fa.json rename to packages/devextreme/js/localization/messages/fa.json diff --git a/packages/devextreme/js/common/core/localization/messages/fi.json b/packages/devextreme/js/localization/messages/fi.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/fi.json rename to packages/devextreme/js/localization/messages/fi.json diff --git a/packages/devextreme/js/common/core/localization/messages/fr.json b/packages/devextreme/js/localization/messages/fr.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/fr.json rename to packages/devextreme/js/localization/messages/fr.json diff --git a/packages/devextreme/js/common/core/localization/messages/hu.json b/packages/devextreme/js/localization/messages/hu.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/hu.json rename to packages/devextreme/js/localization/messages/hu.json diff --git a/packages/devextreme/js/common/core/localization/messages/it.json b/packages/devextreme/js/localization/messages/it.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/it.json rename to packages/devextreme/js/localization/messages/it.json diff --git a/packages/devextreme/js/common/core/localization/messages/ja.json b/packages/devextreme/js/localization/messages/ja.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/ja.json rename to packages/devextreme/js/localization/messages/ja.json diff --git a/packages/devextreme/js/common/core/localization/messages/lt.json b/packages/devextreme/js/localization/messages/lt.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/lt.json rename to packages/devextreme/js/localization/messages/lt.json diff --git a/packages/devextreme/js/common/core/localization/messages/lv.json b/packages/devextreme/js/localization/messages/lv.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/lv.json rename to packages/devextreme/js/localization/messages/lv.json diff --git a/packages/devextreme/js/common/core/localization/messages/nb.json b/packages/devextreme/js/localization/messages/nb.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/nb.json rename to packages/devextreme/js/localization/messages/nb.json diff --git a/packages/devextreme/js/common/core/localization/messages/nl.json b/packages/devextreme/js/localization/messages/nl.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/nl.json rename to packages/devextreme/js/localization/messages/nl.json diff --git a/packages/devextreme/js/common/core/localization/messages/pl.json b/packages/devextreme/js/localization/messages/pl.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/pl.json rename to packages/devextreme/js/localization/messages/pl.json diff --git a/packages/devextreme/js/common/core/localization/messages/pt.json b/packages/devextreme/js/localization/messages/pt.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/pt.json rename to packages/devextreme/js/localization/messages/pt.json diff --git a/packages/devextreme/js/common/core/localization/messages/ro.json b/packages/devextreme/js/localization/messages/ro.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/ro.json rename to packages/devextreme/js/localization/messages/ro.json diff --git a/packages/devextreme/js/common/core/localization/messages/ru.json b/packages/devextreme/js/localization/messages/ru.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/ru.json rename to packages/devextreme/js/localization/messages/ru.json diff --git a/packages/devextreme/js/common/core/localization/messages/sl.json b/packages/devextreme/js/localization/messages/sl.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/sl.json rename to packages/devextreme/js/localization/messages/sl.json diff --git a/packages/devextreme/js/common/core/localization/messages/sv.json b/packages/devextreme/js/localization/messages/sv.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/sv.json rename to packages/devextreme/js/localization/messages/sv.json diff --git a/packages/devextreme/js/common/core/localization/messages/tr.json b/packages/devextreme/js/localization/messages/tr.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/tr.json rename to packages/devextreme/js/localization/messages/tr.json diff --git a/packages/devextreme/js/common/core/localization/messages/vi.json b/packages/devextreme/js/localization/messages/vi.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/vi.json rename to packages/devextreme/js/localization/messages/vi.json diff --git a/packages/devextreme/js/common/core/localization/messages/zh-tw.json b/packages/devextreme/js/localization/messages/zh-tw.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/zh-tw.json rename to packages/devextreme/js/localization/messages/zh-tw.json diff --git a/packages/devextreme/js/common/core/localization/messages/zh.json b/packages/devextreme/js/localization/messages/zh.json similarity index 100% rename from packages/devextreme/js/common/core/localization/messages/zh.json rename to packages/devextreme/js/localization/messages/zh.json diff --git a/packages/devextreme/testing/tests/DevExpress.exporter/commonParts/loadPanel.tests.js b/packages/devextreme/testing/tests/DevExpress.exporter/commonParts/loadPanel.tests.js index 84839ffc80ad..c9c852ee0bab 100644 --- a/packages/devextreme/testing/tests/DevExpress.exporter/commonParts/loadPanel.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.exporter/commonParts/loadPanel.tests.js @@ -1,7 +1,7 @@ import { setHeight } from 'core/utils/size'; import $ from 'core/renderer'; import localization from 'localization'; -import ja from 'common/core/localization/messages/ja.json!'; +import ja from 'localization/messages/ja.json!'; import messageLocalization from 'common/core/localization/message'; import { getWindow, setWindow } from 'core/utils/window'; diff --git a/packages/devextreme/testing/tests/DevExpress.localization/locales.tests.js b/packages/devextreme/testing/tests/DevExpress.localization/locales.tests.js index 30e914299833..7148c2d07e2c 100644 --- a/packages/devextreme/testing/tests/DevExpress.localization/locales.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.localization/locales.tests.js @@ -2,32 +2,32 @@ const messageLocalization = require('common/core/localization/message'); const localization = require('localization'); const dictionaries = {}; -dictionaries['ar'] = require('common/core/localization/messages/ar.json!'); -dictionaries['ca'] = require('common/core/localization/messages/ca.json!'); -dictionaries['cs'] = require('common/core/localization/messages/cs.json!'); -dictionaries['de'] = require('common/core/localization/messages/de.json!'); -dictionaries['el'] = require('common/core/localization/messages/el.json!'); -dictionaries['en'] = require('common/core/localization/messages/en.json!'); -dictionaries['es'] = require('common/core/localization/messages/es.json!'); -dictionaries['fi'] = require('common/core/localization/messages/fi.json!'); -dictionaries['fr'] = require('common/core/localization/messages/fr.json!'); -dictionaries['hu'] = require('common/core/localization/messages/hu.json!'); -dictionaries['it'] = require('common/core/localization/messages/it.json!'); -dictionaries['ja'] = require('common/core/localization/messages/ja.json!'); -dictionaries['lt'] = require('common/core/localization/messages/lt.json!'); -dictionaries['lv'] = require('common/core/localization/messages/lv.json!'); -dictionaries['nb'] = require('common/core/localization/messages/nb.json!'); -dictionaries['nl'] = require('common/core/localization/messages/nl.json!'); -dictionaries['pt'] = require('common/core/localization/messages/pt.json!'); -dictionaries['ro'] = require('common/core/localization/messages/ro.json!'); -dictionaries['ru'] = require('common/core/localization/messages/ru.json!'); -dictionaries['sl'] = require('common/core/localization/messages/sl.json!'); -dictionaries['sv'] = require('common/core/localization/messages/sv.json!'); -dictionaries['tr'] = require('common/core/localization/messages/tr.json!'); -dictionaries['vi'] = require('common/core/localization/messages/vi.json!'); -dictionaries['zh-tw'] = require('common/core/localization/messages/zh-tw.json!'); -dictionaries['zh'] = require('common/core/localization/messages/zh.json!'); -dictionaries['fa'] = require('common/core/localization/messages/fa.json!'); +dictionaries['ar'] = require('localization/messages/ar.json!'); +dictionaries['ca'] = require('localization/messages/ca.json!'); +dictionaries['cs'] = require('localization/messages/cs.json!'); +dictionaries['de'] = require('localization/messages/de.json!'); +dictionaries['el'] = require('localization/messages/el.json!'); +dictionaries['en'] = require('localization/messages/en.json!'); +dictionaries['es'] = require('localization/messages/es.json!'); +dictionaries['fi'] = require('localization/messages/fi.json!'); +dictionaries['fr'] = require('localization/messages/fr.json!'); +dictionaries['hu'] = require('localization/messages/hu.json!'); +dictionaries['it'] = require('localization/messages/it.json!'); +dictionaries['ja'] = require('localization/messages/ja.json!'); +dictionaries['lt'] = require('localization/messages/lt.json!'); +dictionaries['lv'] = require('localization/messages/lv.json!'); +dictionaries['nb'] = require('localization/messages/nb.json!'); +dictionaries['nl'] = require('localization/messages/nl.json!'); +dictionaries['pt'] = require('localization/messages/pt.json!'); +dictionaries['ro'] = require('localization/messages/ro.json!'); +dictionaries['ru'] = require('localization/messages/ru.json!'); +dictionaries['sl'] = require('localization/messages/sl.json!'); +dictionaries['sv'] = require('localization/messages/sv.json!'); +dictionaries['tr'] = require('localization/messages/tr.json!'); +dictionaries['vi'] = require('localization/messages/vi.json!'); +dictionaries['zh-tw'] = require('localization/messages/zh-tw.json!'); +dictionaries['zh'] = require('localization/messages/zh.json!'); +dictionaries['fa'] = require('localization/messages/fa.json!'); const LOCALES = [ 'ar', 'ca', 'cs', 'de', 'el', diff --git a/packages/devextreme/testing/tests/DevExpress.localization/localization.messages.test.js b/packages/devextreme/testing/tests/DevExpress.localization/localization.messages.test.js index fb2c4c879ee2..6f4570399b3b 100644 --- a/packages/devextreme/testing/tests/DevExpress.localization/localization.messages.test.js +++ b/packages/devextreme/testing/tests/DevExpress.localization/localization.messages.test.js @@ -1,7 +1,7 @@ const localization = require('localization'); const dictionaries = {}; -dictionaries['zh-tw'] = require('common/core/localization/messages/zh-tw.json!'); +dictionaries['zh-tw'] = require('localization/messages/zh-tw.json!'); QUnit.module('Locale messages of DevExtreme', { }, () => { diff --git a/packages/devextreme/testing/tests/DevExpress.localization/validation.tests.js b/packages/devextreme/testing/tests/DevExpress.localization/validation.tests.js index edf83bb11f69..623796d1dd67 100644 --- a/packages/devextreme/testing/tests/DevExpress.localization/validation.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.localization/validation.tests.js @@ -10,7 +10,7 @@ const cldrData = [ const ValidationEngine = require('ui/validation_engine'); const Globalize = require('globalize'); const localization = require('localization'); -const fr = require('common/core/localization/messages/fr.json!'); +const fr = require('localization/messages/fr.json!'); cldrData.forEach(localeCldrData => { Globalize.load(localeCldrData); diff --git a/packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/datebox.tests.js b/packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/datebox.tests.js index a8a4caa865ca..44d85ada1a0d 100644 --- a/packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/datebox.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/datebox.tests.js @@ -13,7 +13,7 @@ import keyboardMock from '../../helpers/keyboardMock.js'; import { getActiveElement } from '../../helpers/shadowDom.js'; import messageLocalization from 'common/core/localization/message'; import localization from 'localization'; -import ja from 'common/core/localization/messages/ja.json!'; +import ja from 'localization/messages/ja.json!'; import pointerMock from '../../helpers/pointerMock.js'; import support from '__internal/core/utils/m_support'; import typeUtils from 'core/utils/type'; diff --git a/packages/devextreme/testing/tests/DevExpress.ui.widgets/button.tests.js b/packages/devextreme/testing/tests/DevExpress.ui.widgets/button.tests.js index 828f749631c7..812ed5a8a285 100644 --- a/packages/devextreme/testing/tests/DevExpress.ui.widgets/button.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.ui.widgets/button.tests.js @@ -7,7 +7,7 @@ import keyboardMock from '../../helpers/keyboardMock.js'; import pointerMock from '../../helpers/pointerMock.js'; import * as checkStyleHelper from '../../helpers/checkStyleHelper.js'; import localization from 'localization'; -import ja from 'common/core/localization/messages/ja.json!'; +import ja from 'localization/messages/ja.json!'; import { Deferred } from 'core/utils/deferred'; import dxButton from 'ui/button'; import { isRenderer } from 'core/utils/type';