annotate vendor/symfony/translation/CHANGELOG.md @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 1fec387a4317
children
rev   line source
Chris@0 1 CHANGELOG
Chris@0 2 =========
Chris@0 3
Chris@14 4 3.4.0
Chris@14 5 -----
Chris@14 6
Chris@14 7 * Added `TranslationDumperPass`
Chris@14 8 * Added `TranslationExtractorPass`
Chris@14 9 * Added `TranslatorPass`
Chris@14 10 * Added `TranslationReader` and `TranslationReaderInterface`
Chris@14 11 * Added `<notes>` section to the Xliff 2.0 dumper.
Chris@14 12 * Improved Xliff 2.0 loader to load `<notes>` section.
Chris@14 13 * Added `TranslationWriterInterface`
Chris@14 14 * Deprecated `TranslationWriter::writeTranslations` in favor of `TranslationWriter::write`
Chris@14 15 * added support for adding custom message formatter and decoupling the default one.
Chris@14 16 * Added `PhpExtractor`
Chris@14 17 * Added `PhpStringTokenParser`
Chris@14 18
Chris@0 19 3.2.0
Chris@0 20 -----
Chris@0 21
Chris@0 22 * Added support for escaping `|` in plural translations with double pipe.
Chris@0 23
Chris@0 24 3.1.0
Chris@0 25 -----
Chris@0 26
Chris@0 27 * Deprecated the backup feature of the file dumper classes.
Chris@0 28
Chris@0 29 3.0.0
Chris@0 30 -----
Chris@0 31
Chris@0 32 * removed `FileDumper::format()` method.
Chris@0 33 * Changed the visibility of the locale property in `Translator` from protected to private.
Chris@0 34
Chris@0 35 2.8.0
Chris@0 36 -----
Chris@0 37
Chris@0 38 * deprecated FileDumper::format(), overwrite FileDumper::formatCatalogue() instead.
Chris@0 39 * deprecated Translator::getMessages(), rely on TranslatorBagInterface::getCatalogue() instead.
Chris@0 40 * added `FileDumper::formatCatalogue` which allows format the catalogue without dumping it into file.
Chris@0 41 * added option `json_encoding` to JsonFileDumper
Chris@0 42 * added options `as_tree`, `inline` to YamlFileDumper
Chris@0 43 * added support for XLIFF 2.0.
Chris@0 44 * added support for XLIFF target and tool attributes.
Chris@0 45 * added message parameters to DataCollectorTranslator.
Chris@0 46 * [DEPRECATION] The `DiffOperation` class has been deprecated and
Chris@0 47 will be removed in Symfony 3.0, since its operation has nothing to do with 'diff',
Chris@0 48 so the class name is misleading. The `TargetOperation` class should be used for
Chris@0 49 this use-case instead.
Chris@0 50
Chris@0 51 2.7.0
Chris@0 52 -----
Chris@0 53
Chris@0 54 * added DataCollectorTranslator for collecting the translated messages.
Chris@0 55
Chris@0 56 2.6.0
Chris@0 57 -----
Chris@0 58
Chris@0 59 * added possibility to cache catalogues
Chris@0 60 * added TranslatorBagInterface
Chris@0 61 * added LoggingTranslator
Chris@0 62 * added Translator::getMessages() for retrieving the message catalogue as an array
Chris@0 63
Chris@0 64 2.5.0
Chris@0 65 -----
Chris@0 66
Chris@0 67 * added relative file path template to the file dumpers
Chris@0 68 * added optional backup to the file dumpers
Chris@0 69 * changed IcuResFileDumper to extend FileDumper
Chris@0 70
Chris@0 71 2.3.0
Chris@0 72 -----
Chris@0 73
Chris@0 74 * added classes to make operations on catalogues (like making a diff or a merge on 2 catalogues)
Chris@0 75 * added Translator::getFallbackLocales()
Chris@0 76 * deprecated Translator::setFallbackLocale() in favor of the new Translator::setFallbackLocales() method
Chris@0 77
Chris@0 78 2.2.0
Chris@0 79 -----
Chris@0 80
Chris@0 81 * QtTranslationsLoader class renamed to QtFileLoader. QtTranslationsLoader is deprecated and will be removed in 2.3.
Chris@0 82 * [BC BREAK] uniformized the exception thrown by the load() method when an error occurs. The load() method now
Chris@0 83 throws Symfony\Component\Translation\Exception\NotFoundResourceException when a resource cannot be found
Chris@0 84 and Symfony\Component\Translation\Exception\InvalidResourceException when a resource is invalid.
Chris@0 85 * changed the exception class thrown by some load() methods from \RuntimeException to \InvalidArgumentException
Chris@0 86 (IcuDatFileLoader, IcuResFileLoader and QtFileLoader)
Chris@0 87
Chris@0 88 2.1.0
Chris@0 89 -----
Chris@0 90
Chris@0 91 * added support for more than one fallback locale
Chris@0 92 * added support for extracting translation messages from templates (Twig and PHP)
Chris@0 93 * added dumpers for translation catalogs
Chris@0 94 * added support for QT, gettext, and ResourceBundles