Bugzilla – Attachment 152247 Details for
Bug 33417
Create one standard Toolbar component
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33417: Fix translation in toolbar
Bug-33417-Fix-translation-in-toolbar.patch (text/plain), 4.27 KB, created by
Jonathan Druart
on 2023-06-09 13:12:55 UTC
(
hide
)
Description:
Bug 33417: Fix translation in toolbar
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-06-09 13:12:55 UTC
Size:
4.27 KB
patch
obsolete
>From 9a112a5a733cc45f1a809946826cc168eb6eb418 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Wed, 5 Apr 2023 14:02:39 +0000 >Subject: [PATCH] Bug 33417: Fix translation in toolbar > >This commit allows the string to be translated - tested using fr-FR and a dummy string in the .po file > >Test plan as above > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../prog/js/vue/components/ERM/AgreementsList.vue | 2 +- > .../prog/js/vue/components/ERM/EHoldingsLocalPackagesList.vue | 2 +- > .../prog/js/vue/components/ERM/EHoldingsLocalTitlesList.vue | 4 ++-- > .../intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue | 2 +- > koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue | 2 +- > 5 files changed, 6 insertions(+), 6 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 3a7b5d3251d..7b523be0fe2 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 >@@ -153,7 +153,7 @@ export default { > toolbar_options: [ > { > to: "AgreementsFormAdd", >- button_title: "New agreement", >+ button_title: this.$__("New agreement"), > }, > ], > } >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesList.vue >index e9c805ecff4..1999556b0b4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesList.vue >@@ -101,7 +101,7 @@ export default { > toolbar_options: [ > { > to: "EHoldingsLocalPackagesFormAdd", >- button_title: "New package", >+ button_title: this.$__("New package"), > }, > ], > } >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 13fba1793d0..026ea0434e8 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 >@@ -93,11 +93,11 @@ export default { > toolbar_options: [ > { > to: "EHoldingsLocalTitlesFormAdd", >- button_title: "New title", >+ button_title: this.$__("New title"), > }, > { > to: "EHoldingsLocalTitlesFormImport", >- button_title: "Import from list", >+ button_title: this.$__("Import from list"), > }, > ], > } >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue >index bce7a1e3c70..dfdb7676125 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue >@@ -53,7 +53,7 @@ export default { > toolbar_options: [ > { > to: "LicensesFormAdd", >- button_title: "New license", >+ button_title: this.$__("New license"), > }, > ], > tableOptions: { >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue >index 7a68ab68092..ea6a79e9046 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue >@@ -6,7 +6,7 @@ > :to="{ name: option.to }" > class="btn btn-default" > ><font-awesome-icon icon="plus" /> >- {{ $__(`${option.button_title}`) }}</router-link >+ {{ option.button_title }}</router-link > > > </div> > </template> >-- >2.25.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 33417
:
149193
|
149194
|
149195
|
149212
|
149215
|
149217
|
149229
|
149936
|
149937
|
149938
|
149939
|
149964
|
149965
|
149966
|
149967
|
152244
|
152245
|
152246
| 152247