Bugzilla – Attachment 155695 Details for
Bug 34804
Translation fixes - ERM
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34804: Fix translations
Bug-34804-Fix-translations.patch (text/plain), 4.32 KB, created by
Matt Blenkinsop
on 2023-09-15 15:53:40 UTC
(
hide
)
Description:
Bug 34804: Fix translations
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2023-09-15 15:53:40 UTC
Size:
4.32 KB
patch
obsolete
>From bad7c65e1a7d420a80bf48e6e35ed49beebc45fe Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Fri, 15 Sep 2023 15:51:34 +0000 >Subject: [PATCH] Bug 34804: Fix translations > >This patch fixes some translations in the ERM module > >Translations should be wrapped in this.$__() >--- > .../prog/js/vue/components/ERM/AgreementsList.vue | 8 +++++--- > .../js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue | 4 ++-- > .../js/vue/components/ERM/EHoldingsLocalTitlesList.vue | 4 ++-- > 3 files changed, 9 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue >index 20b9b9a82d..6775c4c5fb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue >@@ -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 ? this.$__("Yes") : this.$__("No") >+ ) > }, > }, > { >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue >index f988a920b1..7345d1e1cf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue >@@ -270,14 +270,14 @@ export default { > return ( > (print_identifier > ? escape_str( >- _("ISBN (Print): %s").format( >+ this.$__("ISBN (Print): %s").format( > print_identifier > ) > ) > : "") + > (online_identifier > ? escape_str( >- _("ISBN (Online): %s").format( >+ this.$__("ISBN (Online): %s").format( > online_identifier > ) > ) >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesList.vue >index 75211d3569..bdfa048dd0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesList.vue >@@ -221,14 +221,14 @@ export default { > return ( > (print_identifier > ? escape_str( >- _("ISBN (Print): %s").format( >+ this.$__("ISBN (Print): %s").format( > print_identifier > ) > ) > : "") + > (online_identifier > ? escape_str( >- _("ISBN (Online): %s").format( >+ this.$__("ISBN (Online): %s").format( > online_identifier > ) > ) >-- >2.37.1 (Apple Git-137.1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34804
:
155695
|
155888
|
155893
|
155894
|
155908