Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] Allow dots in translation domains #31451

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

Merged
merged 1 commit into from
Jun 11, 2019

Conversation

jschaedl
Copy link
Contributor

@jschaedl jschaedl commented May 9, 2019

Q A
Branch? 4.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #31400
License MIT
Doc PR tbd.

Description

With this fix it is now possible to have . in translation domains like app.security.en.yaml.

Todo

  • add a test case

@jschaedl jschaedl closed this May 9, 2019
@jschaedl jschaedl reopened this May 9, 2019
@jschaedl jschaedl changed the base branch from master to 3.4 May 9, 2019 20:48
@nicolas-grekas nicolas-grekas added this to the 3.4 milestone May 11, 2019
@nicolas-grekas
Copy link
Member

That's a new feature to me, it should target master.
Also please add some test cases.

@nicolas-grekas nicolas-grekas modified the milestones: 3.4, next May 11, 2019
Copy link
Contributor

@Simperfit Simperfit left a comment

Choose a reason for hiding this comment

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

I think this needs a test case too

@jschaedl jschaedl changed the base branch from 3.4 to master May 12, 2019 08:27
@jschaedl
Copy link
Contributor Author

jschaedl commented May 12, 2019

Changed target branch to master and added unit tests.

@stof
Copy link
Member

stof commented May 16, 2019

this should indeed target master, as it will require the same kind of changes in any other code dealing with the same convention for translation resources (this will affect https://github.com/willdurand/BazingaJsTranslationBundle for instance). So we should not merge this as a bugfix.

@jschaedl jschaedl force-pushed the issue-31400_34 branch 3 times, most recently from 1693d99 to 1efd287 Compare June 1, 2019 09:14
@jschaedl jschaedl changed the base branch from master to 4.4 June 1, 2019 09:14
@jschaedl
Copy link
Contributor Author

jschaedl commented Jun 9, 2019

Is there anything else I need to do in order to get this PR merged? :-)

@fabpot
Copy link
Member

fabpot commented Jun 11, 2019

Thank you @jschaedl.

@fabpot fabpot merged commit 4b593b0 into symfony:4.4 Jun 11, 2019
fabpot added a commit that referenced this pull request Jun 11, 2019
…schaedl)

This PR was merged into the 4.4 branch.

Discussion
----------

[FrameworkBundle] Allow dots in translation domains

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #31400  <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | tbd. <!-- required for new features -->

### Description

With this fix it is now possible to have `.` in translation domains like `app.security.en.yaml`.

### Todo

- [x] add a test case

Commits
-------

4b593b0 [FrameworkBundle] Allow dots in translation domains
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
This was referenced Nov 12, 2019
@jschaedl jschaedl deleted the issue-31400_34 branch February 23, 2020 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants