Skip to content

Latest commit

 

History

History
73 lines (46 loc) · 2.94 KB

CHANGELOG.md

File metadata and controls

73 lines (46 loc) · 2.94 KB

Change Log

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

Fixed

  • 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

Fixed

  • Handle NULL arguments on extract entries in php. For example dn__(null, 'singular', 'plural').
  • Fixed the PhpCode and JsCode extractors that didn't extract dn__ and dngettext entries #155.
  • Fixed the PhpCode and JsCode extractors that didn't extract dnpgettext correctly.

4.4.2 - 2017-07-27

Fixed

  • 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

  • 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 use eval() instead

4.4.0 - 2017-05-10

Added

  • New option noLocation to po generator, to omit the references #143
  • New options delimiter, enclosure and escape_char to Csv and CsvDictionary extractors and generators #145
  • Added the missing dn__() function #146

Fixed

  • Improved the code style including php_codesniffer in development

4.3.0 - 2017-03-04

Added

  • 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

  • Fixed a bug related with the javascript source extraction with single quotes

Previous releases are documented in github releases