mirror of https://github.com/mifi/lossless-cut
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.
12 lines
415 B
TypeScript
12 lines
415 B
TypeScript
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
import { defineConfig } from 'i18next-cli';
|
|
|
|
import type { SupportedLanguage } from './src/common/i18n.js';
|
|
import { langNames, mapLang } from './src/common/i18n.js';
|
|
import configBase from './i18next.config.base.js';
|
|
|
|
export default defineConfig({
|
|
...configBase,
|
|
locales: Object.keys(langNames).map((lng) => mapLang(lng as SupportedLanguage)),
|
|
});
|