stable

Clone or download

Read-only

request #12271 Translate Cross-tracker widget with vue-gettext

This lets us get rid of weird workarounds such as adding parentheses around <script> and <template> tags and having to one-line v-bind:class. We also get rid of lots of computed properties and can simply use v-translate attributes and <translate> tags. How to test: - Switch to French language - The Cross-tracker search widget should be fully translated Change-Id: Ib2d533572ae672416ea2212bda6ebcd9c8c611e9

Modified Files

Name
M package-lock.json +90 −17 Go to diff View file
M package.json +1 −1 Go to diff View file
M plugins/crosstracker/build-manifest.json +2 −2 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Widget/ProjectCrossTrackerSearchPresenter.php +1 −3 Go to diff View file
M plugins/crosstracker/templates/widgets/project-cross-tracker-search.mustache +0 −1 Go to diff View file
D plugins/crosstracker/www/scripts/.gitignore +0 −2 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/po/template.pot +7 −0 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/ArtifactTable.vue +31 −42 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/ArtifactTableRow.vue +20 −20 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/CrossTrackerWidget.vue +31 −32 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/ListBindUser.vue +20 −20 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/app.spec.js +8 −0 Go to diff View file
D plugins/crosstracker/www/scripts/cross-tracker/src/app/gettext-provider.js +0 −27 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/index.js +11 −4 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/reading-mode/ReadingMode.vue +32 −36 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/reading-mode/TrackerListReadingMode.vue +28 −10 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/writing-mode/QueryEditor.vue +54 −40 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/writing-mode/TrackerListWritingMode.vue +22 −22 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/writing-mode/TrackerSelection.vue +33 −37 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/writing-mode/WritingMode.vue +30 −36 Go to diff View file
M plugins/crosstracker/www/scripts/package-lock.json +5 −13 Go to diff View file
M plugins/crosstracker/www/scripts/package.json +4 −3 Go to diff View file
M plugins/crosstracker/www/scripts/webpack.config.js +5 −2 Go to diff View file