All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
4.4.4 - 2017-08-09
- Changed the comment extraction to be compatible with gettext behaviour: the comment must be placed in the line preceding the function #161.
4.4.3 - 2017-08-09
- Handle
NULL
arguments on extract entries in php. For exampledn__(null, 'singular', 'plural')
. - Fixed the
PhpCode
andJsCode
extractors that didn't extractdn__
anddngettext
entries #155. - Fixed the
PhpCode
andJsCode
extractors that didn't extractdnpgettext
correctly.
4.4.2 - 2017-07-27
- Clone the translations in
Translations::mergeWith
to prevent that the translation is referenced in both places. #152 - Fixed escaped quotes in the javascript extractor #154
4.4.1 - 2017-05-20
- Fixed a bug where the options was not passed correctly to the merging Translations object #147
- Unified the plural behaviours between PHP gettext and Translator when the plural translation is unknown #148
- Removed the deprecated function
create_function()
and useeval()
instead
4.4.0 - 2017-05-10
- New option
noLocation
to po generator, to omit the references #143 - New options
delimiter
,enclosure
andescape_char
to Csv and CsvDictionary extractors and generators #145 - Added the missing
dn__()
function #146
- Improved the code style including php_codesniffer in development
4.3.0 - 2017-03-04
- Added support for named placeholders (using
strtr
). For example:__('Hello :name', [':name' => 'World']);
- Added support for Twig v2
- New function
BaseTranslator::includeFunctions()
to include the functions file without register any translator
- Fixed a bug related with the javascript source extraction with single quotes
Previous releases are documented in github releases