Bugzilla – Attachment 159662 Details for
Bug 35476
Submit button for adding new processings is not translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35476: Make 'Submit' buttons translatable in vue components
Bug-35476-Make-Submit-buttons-translatable-in-vue-.patch (text/plain), 7.35 KB, created by
David Nind
on 2023-12-07 18:29:49 UTC
(
hide
)
Description:
Bug 35476: Make 'Submit' buttons translatable in vue components
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-12-07 18:29:49 UTC
Size:
7.35 KB
patch
obsolete
>From d8460cfe3ba4d6a59a331e977a5c32fe47b6c7de Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 4 Dec 2023 15:22:11 +0100 >Subject: [PATCH] Bug 35476: Make 'Submit' buttons translatable in vue > components > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../js/vue/components/ERM/EHoldingsLocalPackagesFormAdd.vue | 2 +- > .../js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue | 2 +- > .../prog/js/vue/components/Preservation/Settings.vue | 2 +- > .../components/Preservation/SettingsProcessingsFormAdd.vue | 2 +- > .../prog/js/vue/components/Preservation/TrainsFormAdd.vue | 2 +- > .../prog/js/vue/components/Preservation/TrainsFormAddItem.vue | 2 +- > .../js/vue/components/Preservation/TrainsFormAddItems.vue | 2 +- > .../prog/js/vue/components/Preservation/WaitingList.vue | 4 ++-- > 8 files changed, 9 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesFormAdd.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesFormAdd.vue >index 75da1c2a68..9e41abc479 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesFormAdd.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesFormAdd.vue >@@ -67,7 +67,7 @@ > :package_agreements="erm_package.package_agreements" > /> > <fieldset class="action"> >- <input type="submit" value="Submit" /> >+ <input type="submit" :value="$__('Submit')" /> > <router-link > :to="{ name: 'EHoldingsLocalPackagesList' }" > role="button" >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue >index f12109ecf3..30f9bbb8df 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue >@@ -368,7 +368,7 @@ > </fieldset> > <EHoldingsTitlesFormAddResources :resources="title.resources" /> > <fieldset class="action"> >- <input type="submit" value="Submit" /> >+ <input type="submit" :value="$__('Submit')" /> > <router-link > :to="{ name: 'EHoldingsLocalTitlesList' }" > role="button" >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/Settings.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/Settings.vue >index 6c8db0d2ee..c3d8b01123 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/Settings.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/Settings.vue >@@ -66,7 +66,7 @@ > </ol> > </fieldset> > <fieldset class="action"> >- <input type="submit" value="Submit" /> >+ <input type="submit" :value="$__('Submit')" /> > <router-link > :to="{ name: 'Home' }" > role="button" >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/SettingsProcessingsFormAdd.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/SettingsProcessingsFormAdd.vue >index 73c1def65f..4043bb1e1a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/SettingsProcessingsFormAdd.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/SettingsProcessingsFormAdd.vue >@@ -180,7 +180,7 @@ > </fieldset> > > <fieldset class="action"> >- <input type="submit" value="Submit" /> >+ <input type="submit" :value="$__('Submit')" /> > <router-link > :to="{ name: 'Settings' }" > role="button" >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAdd.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAdd.vue >index 2df8a634ad..064ff274d7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAdd.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAdd.vue >@@ -77,7 +77,7 @@ > </ol> > </fieldset> > <fieldset class="action"> >- <input type="submit" value="Submit" /> >+ <input type="submit" :value="$__('Submit')" /> > <router-link > :to="{ name: 'TrainsList' }" > role="button" >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItem.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItem.vue >index 85395d02f3..14bf7f2814 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItem.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItem.vue >@@ -94,7 +94,7 @@ > </ol> > </fieldset> > <fieldset class="action"> >- <input type="submit" value="Submit" /> >+ <input type="submit" :value="$__('Submit')" /> > <router-link > :to="{ name: 'TrainsList' }" > role="button" >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItems.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItems.vue >index 4ebc6df266..7a35d71334 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItems.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItems.vue >@@ -88,7 +88,7 @@ > </ol> > </fieldset> > <fieldset class="action"> >- <input type="submit" value="Submit" /> >+ <input type="submit" :value="$__('Submit')" /> > <router-link > :to="{ name: 'TrainsList' }" > role="button" >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/WaitingList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/WaitingList.vue >index 273f2f2de6..6a7c43e4b8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/WaitingList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/WaitingList.vue >@@ -22,7 +22,7 @@ > </ol> > </fieldset> > <fieldset class="action"> >- <input type="submit" value="Submit" /> >+ <input type="submit" :value="$__('Submit')" /> > <input > type="button" > @click="show_modal_add_to_waiting_list = false" >@@ -69,7 +69,7 @@ > </ol> > </fieldset> > <fieldset class="action"> >- <input type="submit" value="Submit" /> >+ <input type="submit" :value="$__('Submit')" /> > <input > type="button" > @click="show_modal_add_to_train = false" >-- >2.30.2
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 35476
:
159527
|
159662
|
159919
|
159920