uniswap-interface-uncensored/lingui.config.ts

65 lines
1.1 KiB
TypeScript
Raw Permalink Normal View History

/* eslint-env node */
const linguiConfig = {
catalogs: [
{
path: '<rootDir>/src/locales/{locale}',
include: ['<rootDir>/src/**/*.ts', '<rootDir>/src/**/*.tsx'],
exclude: [
'<rootDir>/src/**/*.d.ts',
'<rootDir>/src/**/*.test.*',
'<rootDir>/src/types/v3/**',
'<rootDir>/src/abis/types/**',
'<rootDir>/src/graphql/**/__generated__/**',
],
},
],
compileNamespace: 'cjs',
fallbackLocales: {
2021-05-29 07:15:07 +03:00
default: 'en-US',
},
format: 'po',
formatOptions: {
lineNumbers: false,
},
2021-05-29 07:25:32 +03:00
locales: [
'af-ZA',
'ar-SA',
'ca-ES',
'cs-CZ',
'da-DK',
'el-GR',
'en-US',
'es-ES',
'fi-FI',
'fr-FR',
'he-IL',
'hu-HU',
2021-05-31 17:55:01 +03:00
'id-ID',
2021-05-29 07:25:32 +03:00
'it-IT',
'ja-JP',
'ko-KR',
'nl-NL',
'no-NO',
'pl-PL',
'pt-BR',
'pt-PT',
'ro-RO',
'ru-RU',
'sr-SP',
'sv-SE',
'sw-TZ',
2021-05-29 07:25:32 +03:00
'tr-TR',
'uk-UA',
'vi-VN',
'zh-CN',
'zh-TW',
],
orderBy: 'messageId',
rootDir: '.',
runtimeConfigModule: ['@lingui/core', 'i18n'],
2021-05-29 07:15:07 +03:00
sourceLocale: 'en-US',
}
export default linguiConfig