Bugzilla – Attachment 168321 Details for
Bug 37008
"Help" link on ERM pages is not translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37008: Make "Help" link in vue modules translatable
Bug-37008-Make-Help-link-in-vue-modules-translatab.patch (text/plain), 1.65 KB, created by
Jake Deery
on 2024-07-01 14:38:45 UTC
(
hide
)
Description:
Bug 37008: Make "Help" link in vue modules translatable
Filename:
MIME Type:
Creator:
Jake Deery
Created:
2024-07-01 14:38:45 UTC
Size:
1.65 KB
patch
obsolete
>From 3a6b60d5091732a2cf96b2e7e45c40d7e8411958 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Thu, 27 Jun 2024 16:41:46 +0000 >Subject: [PATCH] Bug 37008: Make "Help" link in vue modules translatable > >The "Help" link in the upper right corner was not translatable >in the newer vue modules like ERM and Preservation. > >To test in koha-testing-docker: > >* Install any language: > sudo koha-translate --install de-DE --dev kohadev >* Activate the language in the language system preference >* Activate the ERMModule system preference >* Go to the ERM module, verify translation works in general, but Help > remains in English >* Apply patch >* Run: yarn build >* Run: gulp po:update >* Verify the string "Help" now appears in > misc/translator/po/de-DE-messages-js.po >* Translate it >* Run: > sudo koha-translate --update de-DE --dev kohadev >* Verify "Help" is now translated > >Signed-off-by: Jake Deery <jake.deery@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/js/vue/components/Help.vue | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Help.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Help.vue >index 5845593328b..e136fd31437 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Help.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Help.vue >@@ -5,7 +5,8 @@ > class="toplinks" > id="helper" > target="_blank" >- ><i class="fa fa-question-circle"></i> <span>Help</span></a >+ ><i class="fa fa-question-circle"></i> >+ <span>{{ $__("Help") }}</span></a > > > </nav> > </template> >-- >2.39.3 (Apple Git-146)
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 37008
:
168207
|
168208
| 168321