Skip to content

Conversation

Stadly
Copy link
Contributor

@Stadly Stadly commented Jan 23, 2019

Support for concatenated translation labels.

Fixes #125.

@Stadly
Copy link
Contributor Author

Stadly commented Jan 23, 2019

The failing tests are deprecation notices, and are not due to this PR.

Copy link
Member

@bocharsky-bw bocharsky-bw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

IMO it's a bad practice to split the translation key with a few concatenated parts... but as we see from the issue I created it may happen if you use a long real message instead of key and want to avoid a really long line. Thank you for fixing this edge case!

@bocharsky-bw
Copy link
Member

Thank you for this feature, @Stadly ! And sorry for the delay!

@bocharsky-bw bocharsky-bw merged commit 0c86fd2 into php-translation:master Feb 7, 2022
@Stadly Stadly deleted the label-concat branch February 8, 2022 09:01
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.

Concatenation in translatable string
3 participants