stable

Clone or download

Read-only

Fix display in French of the TestPlan app

The issue was introduced by the switch to vue3-gettext in 98430abdf46f0842743d8e0111df367e0438c11f. The @tuleap/vue3-gettext-init library expects to have a file transformed with gettext-parser instead of easygettext to make the cohabition with our other gettext usages easier (same transformation can now be done everywhere). To do that we now provide a plugin that can be used either with Vite or Webpack to replace our easygettext rules and transformations. Part of request #25365: Migrate the TestPlan plugin to Vue 3 Change-Id: Ib96557bd447c96a11d7b1a78e44fc51cafbdc527

Modified Files

Name
M package.json +0 −3 Go to diff View file
M plugins/document_generation/package.json +1 −0 Go to diff View file
M plugins/document_generation/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/document_generation/vite.config.ts +3 −5 Go to diff View file
M plugins/label/package.json +1 −0 Go to diff View file
M plugins/label/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/label/vite.config.ts +3 −5 Go to diff View file
M plugins/testplan/package.json +1 −0 Go to diff View file
M plugins/testplan/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/testplan/webpack.common.js +1 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-ckeditor-image-upload/package.json +1 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-ckeditor-image-upload/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-ckeditor-image-upload/vite.config.ts +3 −5 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/package.json +1 −0 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/vite.config.ts +3 −5 Go to diff View file
M pnpm-lock.yaml +0 −27 Go to diff View file
M src/scripts/lib/list-picker/package.json +3 −0 Go to diff View file
M src/scripts/lib/list-picker/pnpm-lock.yaml +4 −0 Go to diff View file
M src/scripts/lib/list-picker/vite.config.ts +3 −5 Go to diff View file
A src/scripts/lib/po-gettext-plugin/.gitignore +1 −0 Go to diff View file
A src/scripts/lib/po-gettext-plugin/README.md +30 −0 Go to diff View file
A src/scripts/lib/po-gettext-plugin/jest.config.js +26 −0 Go to diff View file
A src/scripts/lib/po-gettext-plugin/package.json +23 −0 Go to diff View file
A src/scripts/lib/po-gettext-plugin/pnpm-lock.yaml +233 −0 Go to diff View file
A src/scripts/lib/po-gettext-plugin/src/__snapshots__/po-gettext-plugin.test.ts.snap +24 −0 Go to diff View file
A src/scripts/lib/po-gettext-plugin/src/po-gettext-plugin.test.ts +50 −0 Go to diff View file
R tools/utils/scripts/rollup-plugin-po-gettext.ts Go to diff View file
A src/scripts/lib/po-gettext-plugin/tsconfig-build.json +10 −0 Go to diff View file
A src/scripts/lib/po-gettext-plugin/tsconfig.json +7 −0 Go to diff View file
M tools/utils/scripts/vite-configurator.ts +0 −1 Go to diff View file