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

[Loco] Fix Loco Provider ID and pull & push local messages reading#43967

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

Merged
fabpot merged 1 commit intosymfony:5.4fromwelcoMattic:fix/loco-provider
Nov 8, 2021

Conversation

@welcoMattic
Copy link
Member

@welcoMatticwelcoMattic commentedNov 8, 2021
edited
Loading

QA
Branch?5.3
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#42395 &#43954
LicenseMIT
Doc PR

It fixes Loco push new messages and avoiding Loco auto-generation of ID for each new messages (which use dash notation instead of dot notation IIRC).

And it fixes also the Translation push & pull commands when they read local messages for multiple domains.

@carsonbotcarsonbot added this to the5.4 milestoneNov 8, 2021
@welcoMatticwelcoMattic changed the titleFix Loco Provider[Translation][Loco] Fix Loco Provider ID and pull & push local messages readingNov 8, 2021
@carsonbotcarsonbot changed the title[Translation][Loco] Fix Loco Provider ID and pull & push local messages reading[Loco] Fix Loco Provider ID and pull & push local messages readingNov 8, 2021
@fabpot
Copy link
Member

Thank you@welcoMattic.

welcoMattic reacted with thumbs up emoji

@fabpotfabpot merged commit8a3cc18 intosymfony:5.4Nov 8, 2021
@welcoMatticwelcoMattic deleted the fix/loco-provider branchNovember 8, 2021 18:33
@welcoMattic
Copy link
MemberAuthor

welcoMattic commentedNov 8, 2021
edited
Loading

@fabpot I just realized that I opened this PR on 5.4 instead of 5.3, since it is a bugfix. Sorry

foreach ($keysas$key) {
$responses[$key] =$this->client->request('POST','assets', [
'body' => [
'id' =>$key,
Copy link
Member

Choose a reason for hiding this comment

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

be careful. Translation keys are only unique per domain, not globally. so they might note be suitable as loco ids.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

You are right, so may be we can concatenate the domain as prefix or suffix to the key?

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

Reviewers

@stofstofstof left review comments

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

[Translation] With Loco provider, push command replaces dots with hyphens

4 participants

@welcoMattic@fabpot@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp