https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36836 --- Comment #5 from Jonathan Druart <jonathan.druart@gmail.com> --- (In reply to Katrin Fischer from comment #4)
(In reply to Jonathan Druart from comment #3)
(In reply to Katrin Fischer from comment #2)
There are some more issues I found but failed to fix.
Maybe someone more knowledgeable about vue can help with these?
1) koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/ UsageStatisticsReportBuilder.vue
All 4 alert(...) messages
Try this.$__("your string"))
I already tried that I think and it didn't pick up the translations. I am a bit confused as to when to use what and mostly looked at other spots "similar" to what I was trying to do. Some notes on the wiki would be quite helpful.
<template> part {{ $__("This way") }} <script> part this.$__("This way") The only exception is when we are trying to translate a string that will be displayed in a DataTable (as we are not using a proper Vue component for that), we need to access the global __() function (see js/vue/i18n/index.js) and so use the regular way: __("This way") -- You are receiving this mail because: You are watching all bug changes.