stable

Clone or download

Read-only

Setup i18n in the document export modal

This is a bit cumbersome because it is the first Vue 3 app we try to internationalize. Some adjustments have been made to the @tuleap/vue3-gettext-init internal lib and our code dealing with the gettext extraction has been updated to support Vue 3. Part of story #23469: export reports with linked artifact in xlsx format Change-Id: I3ace46a0daa20ad3d17d5f531ece4b1c5ce1b74f

Modified Files

Name
M package.json +0 −1 Go to diff View file
M plugins/document_generation/build-manifest.json +6 −0 Go to diff View file
M plugins/document_generation/package.json +2 −0 Go to diff View file
M plugins/document_generation/pnpm-lock.yaml +349 −0 Go to diff View file
A plugins/document_generation/scripts/tracker-cross-report-action/po/fr_FR.po +23 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Components/Main.test.ts +2 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Components/Main.vue +4 −4 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/index.ts +1 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/init-modal.test.ts +1 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/init-modal.ts +11 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/shims.d.ts +12 −0 Go to diff View file
M pnpm-lock.yaml +0 −2 Go to diff View file
M src/scripts/lib/vue3-gettext-init/README.md +3 −31 Go to diff View file
M src/scripts/lib/vue3-gettext-init/package.json +2 −4 Go to diff View file
M src/scripts/lib/vue3-gettext-init/pnpm-lock.yaml +65 −67 Go to diff View file
M src/scripts/lib/vue3-gettext-init/src/main.test.ts +16 −15 Go to diff View file
M src/scripts/lib/vue3-gettext-init/src/main.ts +30 −9 Go to diff View file
M tools/utils/generate-po.php +31 −1 Go to diff View file
A tools/utils/scripts/gettext/common-cli.js +57 −0 Go to diff View file
M tools/utils/scripts/gettext/file-extractor.js +16 −27 Go to diff View file
M tools/utils/scripts/vue-typescript-gettext-extractor-cli.js +17 −32 Go to diff View file
A tools/utils/scripts/vue3-typescript-gettext-extractor-cli.js +35 −0 Go to diff View file