From 8c94b34645f6185ca39bf0a6b6b2a69d256cfa10 Mon Sep 17 00:00:00 2001 From: Katrin Fischer 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 --- 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..8e16347b4df 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" - > Help + {{ $__("Helps") }} -- 2.39.2