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>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit e76a5ec5cc)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Katrin Fischer 2024-06-27 16:41:46 +00:00 committed by Lucas Gass
parent 332cf2f031
commit 8eabc09609
1 changed files with 2 additions and 1 deletions

View File

@ -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>