Commit Graph

3 Commits

Author SHA1 Message Date
Kamil Tekiela
1e66018a6e
DataProvider types
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2025-10-12 20:06:00 -03:00
Kamil Tekiela
0797f9c44b Rector: small improvements
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2025-06-11 14:43:20 +01:00
Maurício Meneghini Fauth
b920681947
Add t function to Twig\I18nExtension
For translations, a Twig function is more versatile than a Twig tag and
has the benefit of auto escaping.

As the phpmyadmin/twig-i18n-extension package is a fork of the Twig's
I18nExtension, the custom function was added to the phpMyAdmin main
repository, this way the cases not used by phpMyAdmin don't need to be
implemented. For example, only the default domain is used and
MoTranslator is always available.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-04-23 16:34:14 -03:00