Skip to content

Releases: webfactory/WebfactoryIcuTranslationBundle

Adds a return type hint (#32)

Choose a tag to compare

@mpdude mpdude released this 31 May 13:34
5001336
Add a return type (#32)

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

Allow usage with Symfony 5.x components

Choose a tag to compare

@mpdude mpdude released this 08 Apr 06:39
b47c316

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

Resolve a deprecation notice

Choose a tag to compare

@mpdude mpdude released this 05 Apr 11:05
a9908bc

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

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

Choose a tag to compare

@mpdude mpdude released this 01 Feb 09:07
5a7abb0

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

Implement interfaces from `symfony/translation-contracts`

Choose a tag to compare

@mpdude mpdude released this 01 Feb 09:00
f910c37

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

Adds the `icu_format` filter

Choose a tag to compare

@mpdude mpdude released this 31 Jan 11:17
45c7266
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

Choose a tag to compare

@MalteWunsch MalteWunsch released this 03 Jul 14:48
ad1074e
Merge pull request #18 from thePanz/patch-1

Add .gitattributes