PageRenderTime 51ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/quizbd-master-main/vendor/symfony/translation/CHANGELOG.md

https://gitlab.com/IR31121994/quizbd-master
Markdown | 176 lines | 134 code | 42 blank | 0 comment | 0 complexity | e05728c20140bba9ebdb878904b4f72c MD5 | raw file
  1. CHANGELOG
  2. =========
  3. 5.4
  4. ---
  5. * Add `github` format & autodetection to render errors as annotations when
  6. running the XLIFF linter command in a Github Actions environment.
  7. * Translation providers are not experimental anymore
  8. 5.3
  9. ---
  10. * Add `translation:pull` and `translation:push` commands to manage translations with third-party providers
  11. * Add `TranslatorBagInterface::getCatalogues` method
  12. * Add support to load XLIFF string in `XliffFileLoader`
  13. 5.2.0
  14. -----
  15. * added support for calling `trans` with ICU formatted messages
  16. * added `PseudoLocalizationTranslator`
  17. * added `TranslatableMessage` objects that represent a message that can be translated
  18. * added the `t()` function to easily create `TranslatableMessage` objects
  19. * Added support for extracting messages from `TranslatableMessage` objects
  20. 5.1.0
  21. -----
  22. * added support for `name` attribute on `unit` element from xliff2 to be used as a translation key instead of always the `source` element
  23. 5.0.0
  24. -----
  25. * removed support for using `null` as the locale in `Translator`
  26. * removed `TranslatorInterface`
  27. * removed `MessageSelector`
  28. * removed `ChoiceMessageFormatterInterface`
  29. * removed `PluralizationRule`
  30. * removed `Interval`
  31. * removed `transChoice()` methods, use the trans() method instead with a %count% parameter
  32. * removed `FileDumper::setBackup()` and `TranslationWriter::disableBackup()`
  33. * removed `MessageFormatter::choiceFormat()`
  34. * added argument `$filename` to `PhpExtractor::parseTokens()`
  35. * removed support for implicit STDIN usage in the `lint:xliff` command, use `lint:xliff -` (append a dash) instead to make it explicit.
  36. 4.4.0
  37. -----
  38. * deprecated support for using `null` as the locale in `Translator`
  39. * deprecated accepting STDIN implicitly when using the `lint:xliff` command, use `lint:xliff -` (append a dash) instead to make it explicit.
  40. * Marked the `TranslationDataCollector` class as `@final`.
  41. 4.3.0
  42. -----
  43. * Improved Xliff 1.2 loader to load the original file's metadata
  44. * Added `TranslatorPathsPass`
  45. 4.2.0
  46. -----
  47. * Started using ICU parent locales as fallback locales.
  48. * allow using the ICU message format using domains with the "+intl-icu" suffix
  49. * deprecated `Translator::transChoice()` in favor of using `Translator::trans()` with a `%count%` parameter
  50. * deprecated `TranslatorInterface` in favor of `Symfony\Contracts\Translation\TranslatorInterface`
  51. * deprecated `MessageSelector`, `Interval` and `PluralizationRules`; use `IdentityTranslator` instead
  52. * Added `IntlFormatter` and `IntlFormatterInterface`
  53. * added support for multiple files and directories in `XliffLintCommand`
  54. * Marked `Translator::getFallbackLocales()` and `TranslationDataCollector::getFallbackLocales()` as internal
  55. 4.1.0
  56. -----
  57. * The `FileDumper::setBackup()` method is deprecated.
  58. * The `TranslationWriter::disableBackup()` method is deprecated.
  59. * The `XliffFileDumper` will write "name" on the "unit" node when dumping XLIFF 2.0.
  60. 4.0.0
  61. -----
  62. * removed the backup feature of the `FileDumper` class
  63. * removed `TranslationWriter::writeTranslations()` method
  64. * removed support for passing `MessageSelector` instances to the constructor of the `Translator` class
  65. 3.4.0
  66. -----
  67. * Added `TranslationDumperPass`
  68. * Added `TranslationExtractorPass`
  69. * Added `TranslatorPass`
  70. * Added `TranslationReader` and `TranslationReaderInterface`
  71. * Added `<notes>` section to the Xliff 2.0 dumper.
  72. * Improved Xliff 2.0 loader to load `<notes>` section.
  73. * Added `TranslationWriterInterface`
  74. * Deprecated `TranslationWriter::writeTranslations` in favor of `TranslationWriter::write`
  75. * added support for adding custom message formatter and decoupling the default one.
  76. * Added `PhpExtractor`
  77. * Added `PhpStringTokenParser`
  78. 3.2.0
  79. -----
  80. * Added support for escaping `|` in plural translations with double pipe.
  81. 3.1.0
  82. -----
  83. * Deprecated the backup feature of the file dumper classes.
  84. 3.0.0
  85. -----
  86. * removed `FileDumper::format()` method.
  87. * Changed the visibility of the locale property in `Translator` from protected to private.
  88. 2.8.0
  89. -----
  90. * deprecated FileDumper::format(), overwrite FileDumper::formatCatalogue() instead.
  91. * deprecated Translator::getMessages(), rely on TranslatorBagInterface::getCatalogue() instead.
  92. * added `FileDumper::formatCatalogue` which allows format the catalogue without dumping it into file.
  93. * added option `json_encoding` to JsonFileDumper
  94. * added options `as_tree`, `inline` to YamlFileDumper
  95. * added support for XLIFF 2.0.
  96. * added support for XLIFF target and tool attributes.
  97. * added message parameters to DataCollectorTranslator.
  98. * [DEPRECATION] The `DiffOperation` class has been deprecated and
  99. will be removed in Symfony 3.0, since its operation has nothing to do with 'diff',
  100. so the class name is misleading. The `TargetOperation` class should be used for
  101. this use-case instead.
  102. 2.7.0
  103. -----
  104. * added DataCollectorTranslator for collecting the translated messages.
  105. 2.6.0
  106. -----
  107. * added possibility to cache catalogues
  108. * added TranslatorBagInterface
  109. * added LoggingTranslator
  110. * added Translator::getMessages() for retrieving the message catalogue as an array
  111. 2.5.0
  112. -----
  113. * added relative file path template to the file dumpers
  114. * added optional backup to the file dumpers
  115. * changed IcuResFileDumper to extend FileDumper
  116. 2.3.0
  117. -----
  118. * added classes to make operations on catalogues (like making a diff or a merge on 2 catalogues)
  119. * added Translator::getFallbackLocales()
  120. * deprecated Translator::setFallbackLocale() in favor of the new Translator::setFallbackLocales() method
  121. 2.2.0
  122. -----
  123. * QtTranslationsLoader class renamed to QtFileLoader. QtTranslationsLoader is deprecated and will be removed in 2.3.
  124. * [BC BREAK] uniformized the exception thrown by the load() method when an error occurs. The load() method now
  125. throws Symfony\Component\Translation\Exception\NotFoundResourceException when a resource cannot be found
  126. and Symfony\Component\Translation\Exception\InvalidResourceException when a resource is invalid.
  127. * changed the exception class thrown by some load() methods from \RuntimeException to \InvalidArgumentException
  128. (IcuDatFileLoader, IcuResFileLoader and QtFileLoader)
  129. 2.1.0
  130. -----
  131. * added support for more than one fallback locale
  132. * added support for extracting translation messages from templates (Twig and PHP)
  133. * added dumpers for translation catalogs
  134. * added support for QT, gettext, and ResourceBundles