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.
32 lines
661 B
JavaScript
32 lines
661 B
JavaScript
import fromPairs from 'lodash/fromPairs';
|
|
|
|
import cs from './cs/embed';
|
|
import da from './da/embed';
|
|
import de from './de/embed';
|
|
import en from './en/embed';
|
|
import es from './es/embed';
|
|
import fr from './fr/embed';
|
|
import ja from './ja/embed';
|
|
import pl from './pl/embed';
|
|
import ru from './ru/embed';
|
|
import uz from './uz/embed';
|
|
import zh from './zh/embed';
|
|
|
|
const localePairs = [
|
|
['cs', cs],
|
|
['da', da],
|
|
['de', de],
|
|
['en', en],
|
|
['es', es],
|
|
['fr', fr],
|
|
['ja', ja],
|
|
['pl', pl],
|
|
['ru', ru],
|
|
['uz', uz],
|
|
['zh', zh],
|
|
];
|
|
|
|
export const languages = localePairs.map((locale) => locale[0]);
|
|
|
|
export const embedLocales = fromPairs(localePairs);
|