Skip to content

Commit

Permalink
Merge 4.x into master
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI committed Sep 28, 2019
2 parents 86c1ebc + 3b3289a commit f1c52ea
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.5.0](https://github.com/sonata-project/SonataUserBundle/compare/4.4.0...4.5.0) - 2019-09-27
### Fixed
- Missing Spanish translations.

### Changed
- Replaced usages of deprecated "templating" service with "twig" where possible.

### Removed
- Dependency conflict against "jms/serializer:^3.0".

### Changed
- Add missing dependency against "twig/twig"
- Changed usages of `{% spaceless %}` tag, which is deprecated as of Twig 1.38
with `{% apply spaceless %}` filter

## [4.4.0](https://github.com/sonata-project/SonataUserBundle/compare/4.3.0...4.4.0) - 2019-06-13

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/GoogleAuthenticator/RequestListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function __construct(Helper $helper, TokenStorageInterface $tokenStorage,
$this->templating = $templating;

@trigger_error(sprintf(
'Passing an instance of %s as argument 3 to "%s()" is deprecated since 4.x and will only accept an instance of %s in version 5.0.',
'Passing an instance of %s as argument 3 to "%s()" is deprecated since sonata-project/user-bundle 4.5 and will only accept an instance of %s in version 5.0.',
EngineInterface::class,
__METHOD__,
Environment::class
Expand Down
14 changes: 14 additions & 0 deletions src/Resources/translations/SonataAdminBundle.de.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" target-language="de" datatype="plaintext" original="file.ext">
<header>
<tool tool-id="symfony" tool-name="Symfony"/>
</header>
<body>
<trans-unit id="sonata_user">
<source>sonata_user</source>
<target>Benutzer</target>
</trans-unit>
</body>
</file>
</xliff>
14 changes: 14 additions & 0 deletions src/Resources/translations/SonataAdminBundle.en.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" datatype="plaintext" original="file.ext">
<header>
<tool tool-id="symfony" tool-name="Symfony"/>
</header>
<body>
<trans-unit id="sonata_user">
<source>sonata_user</source>
<target>Users</target>
</trans-unit>
</body>
</file>
</xliff>

0 comments on commit f1c52ea

Please sign in to comment.