You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
360 B
JavaScript
18 lines
360 B
JavaScript
import fromPairs from 'lodash/fromPairs';
|
|
|
|
import en from './en/embed';
|
|
import de from './de/embed';
|
|
import pl from './pl/embed';
|
|
import ru from './ru/embed';
|
|
|
|
const localePairs = [
|
|
['en', en],
|
|
['de', de],
|
|
['ru', ru],
|
|
['pl', pl],
|
|
];
|
|
|
|
export const languages = localePairs.map((locale) => locale[0]);
|
|
|
|
export const embedLocales = fromPairs(localePairs);
|