2019-08-31 04:07:25 +05:00
|
|
|
import fromPairs from 'lodash/fromPairs';
|
|
|
|
|
2021-03-26 11:19:43 +05:00
|
|
|
import cs from './cs/embed';
|
2020-11-30 21:04:03 +05:00
|
|
|
import de from './de/embed';
|
2021-03-26 11:19:43 +05:00
|
|
|
import en from './en/embed';
|
2021-04-28 00:01:35 +05:00
|
|
|
import es from './es/embed';
|
2021-03-26 11:19:43 +05:00
|
|
|
import fr from './fr/embed';
|
2020-12-20 14:37:55 +01:00
|
|
|
import pl from './pl/embed';
|
2020-12-20 18:45:33 +05:00
|
|
|
import ru from './ru/embed';
|
2019-08-31 04:07:25 +05:00
|
|
|
|
2020-02-03 18:42:31 +05:00
|
|
|
const localePairs = [
|
2021-03-26 11:19:43 +05:00
|
|
|
['cs', cs],
|
2020-11-30 21:04:03 +05:00
|
|
|
['de', de],
|
2021-03-26 11:19:43 +05:00
|
|
|
['en', en],
|
2021-04-28 00:01:35 +05:00
|
|
|
['es', es],
|
2021-03-19 22:30:45 +01:00
|
|
|
['fr', fr],
|
2021-03-26 11:19:43 +05:00
|
|
|
['pl', pl],
|
|
|
|
['ru', ru],
|
2020-02-03 18:42:31 +05:00
|
|
|
];
|
2019-08-31 04:07:25 +05:00
|
|
|
|
2020-03-25 00:15:47 +05:00
|
|
|
export const languages = localePairs.map((locale) => locale[0]);
|
2019-08-31 04:07:25 +05:00
|
|
|
|
|
|
|
export const embedLocales = fromPairs(localePairs);
|