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] Use XLIFF source rather than resname when there's no target#29308

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:2.8fromthewilkybarkid:xliff-resname-source
Nov 26, 2018

Conversation

@thewilkybarkid
Copy link
Contributor

QA
Branch?2.8
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

Relates to#20076 (comment). If there's no<target> in an XLIFF but there is a@resname then that's used rather than the<source>.

If I'm using translation keys and my source locale isen, then it's a bit redundant to duplicate the<source> in the<target> in theen file (since there is no translation).

This isn't changing the behaviour when<target> is present but empty.

(Caveat: I'm definitely not an expert on XLIFF.)

@thewilkybarkidthewilkybarkid changed the titleUse XLIFF source rather than resname when there's no target[Translation] Use XLIFF source rather than resname when there's no targetNov 24, 2018
@nicolas-grekasnicolas-grekas added this to the2.8 milestoneNov 25, 2018
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

makes sense

@fabpot
Copy link
Member

Thank you@thewilkybarkid.

@fabpotfabpot merged commit8633ebb intosymfony:2.8Nov 26, 2018
fabpot added a commit that referenced this pull requestNov 26, 2018
…ere's no target (thewilkybarkid)This PR was merged into the 2.8 branch.Discussion----------[Translation] Use XLIFF source rather than resname when there's no target| Q             | A| ------------- | ---| Branch?       | 2.8| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |Relates to#20076 (comment). If there's no `<target>` in an XLIFF but there is a `@resname` then that's used rather than the `<source>`.If I'm using translation keys and my source locale is `en`, then it's a bit redundant to duplicate the `<source>` in the `<target>` in the `en` file (since there is no translation).This isn't changing the behaviour when `<target>` is present but empty.(Caveat: I'm definitely not an expert on XLIFF.)Commits-------8633ebb Use XLIFF source rather than resname when there's no target
@thewilkybarkidthewilkybarkid deleted the xliff-resname-source branchNovember 26, 2018 08:22
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

2.8

Development

Successfully merging this pull request may close these issues.

4 participants

@thewilkybarkid@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp