web: bump @lingui/cli from 3.17.2 to 4.0.0 in /web (#5387)
* web: bump @lingui/cli from 3.17.2 to 4.0.0 in /web Bumps [@lingui/cli](https://github.com/lingui/js-lingui) from 3.17.2 to 4.0.0. - [Release notes](https://github.com/lingui/js-lingui/releases) - [Changelog](https://github.com/lingui/js-lingui/blob/main/CHANGELOG.md) - [Commits](https://github.com/lingui/js-lingui/compare/v3.17.2...v4.0.0) --- updated-dependencies: - dependency-name: "@lingui/cli" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * update Signed-off-by: Jens Langhammer <jens@goauthentik.io> * also bump typescript Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix logic error Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
31
web/lingui.config.js
Normal file
31
web/lingui.config.js
Normal file
@ -0,0 +1,31 @@
|
||||
import { formatter } from "@lingui/format-po-gettext";
|
||||
|
||||
export default {
|
||||
sourceLocale: "en",
|
||||
locales: [
|
||||
"en",
|
||||
"pseudo-LOCALE",
|
||||
"fr_FR",
|
||||
"tr",
|
||||
"es",
|
||||
"pl",
|
||||
"zh_TW",
|
||||
"zh-Hans",
|
||||
"zh-Hant",
|
||||
"de",
|
||||
],
|
||||
pseudoLocale: "pseudo-LOCALE",
|
||||
fallbackLocales: {
|
||||
"pseudo-LOCALE": "en",
|
||||
"default": "en",
|
||||
},
|
||||
compileNamespace: "ts",
|
||||
catalogs: [
|
||||
{
|
||||
path: "src/locales/{locale}",
|
||||
include: ["src"],
|
||||
exclude: ["**/node_modules/**", "**/dist/**"],
|
||||
},
|
||||
],
|
||||
format: formatter({ lineNumbers: false }),
|
||||
};
|
Reference in New Issue
Block a user