It is not currently possible to add translation context clues in vue files.
Created attachment 177600 [details] [review] Bug 39061: Allow translation context in vue files This patch adds the possibility to add translation context clues in vue files. Syntax is $__p("context","term") To test, see bug 39045.
I think we should provide all the functions defined in i18n.js here.
Created attachment 177693 [details] [review] Bug 39061: Export all functions from i18n.js
Created attachment 180236 [details] [review] Bug 39061: Allow translation context in vue files This patch adds the possibility to add translation context clues in vue files. Syntax is $__p("context","term") To test, see bug 39045. Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Created attachment 180237 [details] [review] Bug 39061: Export all functions from i18n.js Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Important, but clear and trivial, improvement. Going straight for a QA here.. I'd love to see some basic unit tests, but we're well covered on the imported functions and this is just bringing them into the Vue space so I think we're OK without. Passing QA
Pushed for 25.05! Well done everyone, thank you!