From 3a6b60d5091732a2cf96b2e7e45c40d7e8411958 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 Signed-off-by: Jake Deery --- 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" - > Help + {{ $__("Help") }} -- 2.39.3 (Apple Git-146)