Skip to content

Releases: webfactory/WebfactoryIcuTranslationBundle

Adds a return type hint (#32)

31 May 13:34
5001336
Compare
Choose a tag to compare
Add a return type (#32)

... to address a deprecation notice issued by Symfony 5.x.

Allow usage with Symfony 5.x components

08 Apr 06:39
b47c316
Compare
Choose a tag to compare

On the other hand, requirements have been raised to Symfony 4.4 and PHP 7.4 (#31).

Resolve a deprecation notice

05 Apr 11:05
a9908bc
Compare
Choose a tag to compare

... by not using a deprecated service name (#30).

Drop deprecated `\Symfony\Component\Translation\TranslatorInterface`

01 Feb 09:07
5a7abb0
Compare
Choose a tag to compare

This release removes support for the deprecated interfaces as per #28.

Implement interfaces from `symfony/translation-contracts`

01 Feb 09:00
f910c37
Compare
Choose a tag to compare

This is to ease addressing Symfony ^4.2 deprecation notices and to eventually migrate to Symfony 5.

Adds the `icu_format` filter

31 Jan 11:17
45c7266
Compare
Choose a tag to compare
Add `icu_format` Twig filter (#27)

This adds a new `icu_format` Twig filter that can be used to apply ICU-based formatting to given messages.

Examples:

* `{{ '{name} will arrive shortly.' | icu_format({name: 'Peter'}) }}`
* `{{ '{gender, select, male {{name} invited you to his party!} female {{name} invited you to her party!}}' | icu_format({ gender: 'female', name: 'Jane' }) }}`

This closes #24.

Add .gitattributes

03 Jul 14:48
ad1074e
Compare
Choose a tag to compare
Merge pull request #18 from thePanz/patch-1

Add .gitattributes