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

[TwigBridge] do not translate null placeholders or titles#38595

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:3.4fromxabbuh:issue-37573
Oct 21, 2020

Conversation

@xabbuh
Copy link
Member

QA
Branch?3.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#37573
LicenseMIT
Doc PR

apfelbox reacted with thumbs up emoji
@Nyholm
Copy link
Member

Thank you.

Im thinking of the label. Currently, if the label attribute is null, we are trying to create/invent a label looking at the ID. It feels weird that the behavior forplaceholder andtitle is not the same.

But I also agree that we should translate null values, because that will cause an error =)

I am 👍 but I want to hear your thoughts on this ^^

@xabbuh
Copy link
MemberAuthor

Most of the time we can derive useful labels from the field names if it isn't configured. For placeholders and titles that not really possible. I mainly think that usingnull for both of them does not make much sense but I can also see the use case described in#37573 and I agree with the reasoning made there that we should not fail hard over it.

@fabpot
Copy link
Member

Thank you@xabbuh.

@fabpotfabpot merged commit1eead3f intosymfony:3.4Oct 21, 2020
@xabbuhxabbuh deleted the issue-37573 branchOctober 21, 2020 10:44
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

5 participants

@xabbuh@Nyholm@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp