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

Regex not matching some i18n translation strings #1

Open
byalextran opened this issue Feb 15, 2012 · 1 comment
Open

Regex not matching some i18n translation strings #1

byalextran opened this issue Feb 15, 2012 · 1 comment

Comments

@byalextran
Copy link

Running into the situation where translation strings that have dynamic text are not being recognized by this module.

Specifically, strings that are in this format.

$event_name = 'Concert in the Park';

echo __('The event :event_name was successfully updated.', array(':event_name' => $event_name));

It appears as if the regex doesn't not match translation strings using the second parameter of Kohana's __() function.

@panbanda
Copy link
Owner

Ty I will take a look.

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

No branches or pull requests

2 participants