Bug 34804: Fix translations
This patch fixes some translations in the ERM module Translations should be wrapped in this.$__() Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
b07ee89b54
commit
7c736793cb
3 changed files with 9 additions and 7 deletions
|
@ -119,8 +119,8 @@ export default {
|
|||
4: () =>
|
||||
this.map_av_dt_filter("av_agreement_closure_reasons"),
|
||||
5: [
|
||||
{ _id: 0, _str: _("No") },
|
||||
{ _id: 1, _str: _("Yes") },
|
||||
{ _id: 0, _str: this.$__("No") },
|
||||
{ _id: 1, _str: this.$__("Yes") },
|
||||
],
|
||||
6: () =>
|
||||
this.map_av_dt_filter(
|
||||
|
@ -317,7 +317,9 @@ export default {
|
|||
searchable: true,
|
||||
orderable: true,
|
||||
render: function (data, type, row, meta) {
|
||||
return escape_str(row.is_perpetual ? _("Yes") : _("No"))
|
||||
return escape_str(
|
||||
row.is_perpetual ? __("Yes") : __("No")
|
||||
)
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -270,14 +270,14 @@ export default {
|
|||
return (
|
||||
(print_identifier
|
||||
? escape_str(
|
||||
_("ISBN (Print): %s").format(
|
||||
__("ISBN (Print): %s").format(
|
||||
print_identifier
|
||||
)
|
||||
)
|
||||
: "") +
|
||||
(online_identifier
|
||||
? escape_str(
|
||||
_("ISBN (Online): %s").format(
|
||||
__("ISBN (Online): %s").format(
|
||||
online_identifier
|
||||
)
|
||||
)
|
||||
|
|
|
@ -221,14 +221,14 @@ export default {
|
|||
return (
|
||||
(print_identifier
|
||||
? escape_str(
|
||||
_("ISBN (Print): %s").format(
|
||||
__("ISBN (Print): %s").format(
|
||||
print_identifier
|
||||
)
|
||||
)
|
||||
: "") +
|
||||
(online_identifier
|
||||
? escape_str(
|
||||
_("ISBN (Online): %s").format(
|
||||
__("ISBN (Online): %s").format(
|
||||
online_identifier
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue