verbb/hyper

Some texts aren't translated

FrDH opened this issue · 2 comments

FrDH commented

Describe the bug

I was trying to add some translations but found the following phrases aren't being translated:

  • Custom
  • Email
  • Settings
  • Delete
  • e.g. Read more

Steps to reproduce

  1. Add a new translation file for the current language, in my case translations/nl/hyper.php
  2. Add a translation for "e.g. Read more", in Dutch this would be "b.v. Lees meer"
  3. Edit a Hyper field on a page, the link text field will show "e.g. Read more", not "b.v. Lees meer".

Just FYI, I had a look at the code and it looks like this should have worked:

return Craft::t('hyper', 'e.g. Read more');

Any idea's on why it isn't tranlated?

Craft CMS version

4.5

Plugin version

1.1.12

Multi-site?

No response

Additional context

No response

Fixed for the next release. To get this early run composer require verbb/hyper:"dev-craft-4 as 1.1.12"

Fixed in 1.1.13