Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only translate label if it starts with 'LLL' #3

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

hackerman26
Copy link
Contributor

Translating a label without the LLL prefix throws an error in the widget:

Bildschirmfoto 2024-10-18 um 16 28 21

This happens because the extension tries to translate the content element title which fails if it doesn't start with "LLL"
since it then needs the additional parameter "$extensionName" which isn't being passed:

Bildschirmfoto 2024-10-18 um 16 28 26

Translating a label without the LLL prefix throws an error in the widget.
@jackd248
Copy link
Contributor

Hej @hackerman26,
thanks for the hint. Never tested it with a non translated label.

@jackd248 jackd248 merged commit d698170 into xima-media:main Oct 19, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants