mirror of
https://github.com/k1tbyte/Wand-Enhancer.git
synced 2026-08-28 22:01:17 +00:00
4ce47dc6d2
- Add 6 locales (en-US source + ru-RU, de-DE, fr-FR, es-ES, zh-CN) matching the patcher's WPF UI; full .po catalogs incl. plural forms. - Language selector in the left settings drawer; persist choice and auto-detect from navigator language on first load. - Load .po directly via @lingui/vite-plugin (drop the compile step); gitignore generated catalog .js as build artifacts.
15 lines
374 B
TypeScript
Vendored
15 lines
374 B
TypeScript
Vendored
import { defineConfig } from '@lingui/cli';
|
|
import { formatter } from '@lingui/format-po';
|
|
|
|
export default defineConfig({
|
|
sourceLocale: 'en-US',
|
|
locales: ['en-US', 'ru-RU', 'de-DE', 'fr-FR', 'es-ES', 'zh-CN'],
|
|
catalogs: [
|
|
{
|
|
path: '<rootDir>/src/locales/{locale}/messages',
|
|
include: ['src'],
|
|
},
|
|
],
|
|
format: formatter({ lineNumbers: false }),
|
|
});
|