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

Made yii2-multilingual-behavior more extensible. #48

Merged
merged 1 commit into from
Feb 12, 2016
Merged

Made yii2-multilingual-behavior more extensible. #48

merged 1 commit into from
Feb 12, 2016

Conversation

ddinchev
Copy link
Contributor

The $langClassSuffix property is now configurable (I use the ML suffix for historical reasons - same as my table suffix).

Also I wanted to set the $currentLanguage property from a subclass and noticed it was private. This actually was by mistake - I see there is a check if (!$this->currentLanguage) but if the property is private, that would never evaluate to false. So I changed it to public instead.

@OmgDef
Copy link
Owner

OmgDef commented Feb 11, 2016

@ddinchev I'll merge your pull request when you repair the tests

@ddinchev
Copy link
Contributor Author

Ah, yes, sorry - I didn't run the tests and hadn't commit the whole thing properly. I've fixed my commit.

@OmgDef
Copy link
Owner

OmgDef commented Feb 12, 2016

@ddinchev thanks!

OmgDef added a commit that referenced this pull request Feb 12, 2016
Made yii2-multilingual-behavior more extensible.
@OmgDef OmgDef merged commit 93c1c3e into OmgDef:master Feb 12, 2016
@ddinchev
Copy link
Contributor Author

@OmgDef given that you merged this into master - could you bump the version (e.g. 2.1.2) so that composer picks up the update?

@OmgDef
Copy link
Owner

OmgDef commented Feb 12, 2016

@ddinchev done

@ddinchev
Copy link
Contributor Author

@OmgDef thank you!

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