From 2542732b621e43db1f80e6e4c9cd3a67b91803c7 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Tue, 7 Apr 2026 16:12:02 +0200 Subject: [PATCH] [skip ci] Fail on lingui compile error --- src/i18n/locales/pl.po | 2 +- vite.config.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/i18n/locales/pl.po b/src/i18n/locales/pl.po index c9161f0e..b61e02e3 100644 --- a/src/i18n/locales/pl.po +++ b/src/i18n/locales/pl.po @@ -3123,7 +3123,7 @@ msgstr "" #: src/features/chapter/components/actions/ChaptersDownloadActionMenuItems.tsx msgid "{count, plural, one {Next chapter} other {Next # chapters}}" msgstr "" -"{count, plural, one {Następny rozdział} fews {Następne # rozdziały} other " +"{count, plural, one {Następny rozdział} few {Następne # rozdziały} other " "{Następne # rozdziałów}}" #: src/features/manga/Manga.constants.ts diff --git a/vite.config.ts b/vite.config.ts index 9348d87c..a79ec1f7 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -37,7 +37,9 @@ export default defineConfig(({ command }) => ({ react({ plugins: [['@lingui/swc-plugin', {}]], }), - lingui(), + lingui({ + failOnCompileError: true, + }), viteTsconfigPaths(), legacy({ modernPolyfills: [