Files
suwayomi-material-you-webui/lingui.config.ts
T

26 lines
950 B
TypeScript
Raw Normal View History

2026-01-10 19:45:02 +01:00
/*
* Copyright (C) Contributors to the Suwayomi project
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
import { defineConfig } from '@lingui/cli';
2026-03-10 10:59:38 +01:00
// eslint-disable-next-line import-x/no-extraneous-dependencies
2026-01-10 19:45:02 +01:00
import { formatter } from '@lingui/format-po';
2026-03-10 10:59:38 +01:00
// eslint-disable-next-line import-x/no-default-export
2026-01-10 19:45:02 +01:00
export default defineConfig({
2026-01-30 21:29:43 +01:00
sourceLocale: 'en',
2026-01-30 21:46:20 +01:00
// !!!IMPORTANT!!!: 'locales' is auto-generated by tools/scripts/weblate/generatei18nResources.ts. Do not edit manually.
2026-07-21 22:34:06 +00:00
locales: ['ar', 'de', 'el', 'en', 'es', 'fr', 'he', 'hu', 'id', 'ko', 'pl', 'pt', 'ru', 'vi', 'zh-Hans'],
2026-01-10 19:45:02 +01:00
catalogs: [
{
path: '<rootDir>/src/i18n/locales/{locale}',
include: ['src'],
},
],
format: formatter({ lineNumbers: false }),
});