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

Fix russian translation #13372

Closed
wants to merge 4 commits into from
Closed

Fix russian translation #13372

wants to merge 4 commits into from

Conversation

jetexe
Copy link
Contributor

@jetexe jetexe commented Jan 11, 2017

Q A
Is bugfix? yes
New feature? no
Breaks BC? no
Tests pass? yes
Fixed issues #13287

jetexe and others added 3 commits December 28, 2016 16:15
{
if (is_null($twoWordsConnector)) {
Copy link
Member

Choose a reason for hiding this comment

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

Better to use $twoWordsConnector === null.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@samdark samdark added this to the 2.0.12 milestone Jan 11, 2017
Signed-off-by:Tetyuev Pavel <jetexe2@gmail.com>
@jetexe
Copy link
Contributor Author

jetexe commented Jan 12, 2017

condition fixed

@samdark samdark modified the milestones: 2.0.11, 2.0.12 Jan 12, 2017
Copy link
Member

@cebe cebe left a comment

Choose a reason for hiding this comment

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

needs a changelog line.

{
if ($twoWordsConnector === null) {
$twoWordsConnector = ' ' . Yii::t('yii', 'and') . ' ';
Copy link
Member

Choose a reason for hiding this comment

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

I'd rather put spaces inside the translation to allow changing using dictionary.

$twoWordsConnector = Yii::t('yii', ' and ');

Copy link
Member

Choose a reason for hiding this comment

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

Yes, I think it is a very good idea.

@samdark samdark assigned samdark and unassigned SilverFire Jan 15, 2017
@samdark samdark closed this Jan 15, 2017
@samdark
Copy link
Member

samdark commented Jan 15, 2017

Merged with adjustment proposed by @SilverFire: 3a1cd7f

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.

None yet

4 participants