Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Translation] Get domains from provider if them are not specified explicitly#45999

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

@ossinkine
Copy link
Contributor

QA
Branch?5.4
Bug fix?no
New feature?no
Deprecations?no
LicenseMIT

The commandtranslation:pull gets domains from provider configuration if them are not specified in options buttranslation:push gets domans from local catalog. I find that the same behavior is more predictable in this case.

if (!$domains) {
$domains =$provider->getDomains();
}

@ossinkineossinkineforce-pushed thetranslation-default-domains branch from247d038 toabd0805CompareApril 11, 2022 15:25

if (!$domains) {
$domains =$this->getDomainsFromTranslatorBag($localTranslations);
$domains =$provider->getDomains();
Copy link
Member

Choose a reason for hiding this comment

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

@welcoMattic
Copy link
Member

@ossinkine Thank you for the contribution. Can you add a test to cover this change please?

@ossinkine
Copy link
ContributorAuthor

Looks like it's already fixed in#45171, closing

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@welcoMatticwelcoMatticwelcoMattic left review comments

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

3 participants

@ossinkine@welcoMattic@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp