https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36836

--- Comment #3 from Jonathan Druart <[email protected]> ---
(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"))

> 2)
> koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/
> UsageStatisticsDataProvidersCounterLogs.vue
>                     render: function (data, type, row, meta) {
>                         const importer = row.borrowernumber
>                             ? `<a
> href="/cgi-bin/koha/members/moremember.pl?borrowernumber=${row.
> borrowernumber}">Borrowernumber ${row.borrowernumber}</a>`
>                             : __("Cronjob")
>                         return importer
>                     },
> 
> I also suspect some other things to not translate, but might be easier to
> see in the GUI later and report separately.

"Borrowernumber" won't be translatable I'd say.

Try
  "<a
href="/cgi-bin/koha/members/moremember.pl?borrowernumber=%s">%s</a>".format(${row.borrowernumber},
__("Borrowernumber %s").format(${row.borrowernumber}))

But I am not sure we want to use "Borrowernumber" here...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to