Projekt

Obecné

Profil

Stáhnout (2.49 KB) Statistiky
| Větev: | Revize:
1 cb15593b Cajova-Houba
CHANGELOG
2
=========
3
4
3.0.0
5
-----
6
7
 * removed `FileDumper::format()` method.
8
 * Changed the visibility of the locale property in `Translator` from protected to private.
9
10
2.8.0
11
-----
12
13
 * deprecated FileDumper::format(), overwrite FileDumper::formatCatalogue() instead.
14
 * deprecated Translator::getMessages(), rely on TranslatorBagInterface::getCatalogue() instead.
15
 * added `FileDumper::formatCatalogue` which allows format the catalogue without dumping it into file.
16
 * added option `json_encoding` to JsonFileDumper
17
 * added options `as_tree`, `inline` to YamlFileDumper
18
 * added support for XLIFF 2.0.
19
 * added support for XLIFF target and tool attributes.
20
 * added message parameters to DataCollectorTranslator.
21
 * [DEPRECATION] The `DiffOperation` class has been deprecated and
22
   will be removed in Symfony 3.0, since its operation has nothing to do with 'diff',
23
   so the class name is misleading. The `TargetOperation` class should be used for
24
   this use-case instead.
25
26
2.7.0
27
-----
28
29
 * added DataCollectorTranslator for collecting the translated messages.
30
31
2.6.0
32
-----
33
34
 * added possibility to cache catalogues
35
 * added TranslatorBagInterface
36
 * added LoggingTranslator
37
 * added Translator::getMessages() for retrieving the message catalogue as an array
38
39
2.5.0
40
-----
41
42
 * added relative file path template to the file dumpers
43
 * added optional backup to the file dumpers
44
 * changed IcuResFileDumper to extend FileDumper
45
46
2.3.0
47
-----
48
49
 * added classes to make operations on catalogues (like making a diff or a merge on 2 catalogues)
50
 * added Translator::getFallbackLocales()
51
 * deprecated Translator::setFallbackLocale() in favor of the new Translator::setFallbackLocales() method
52
53
2.2.0
54
-----
55
56
 * QtTranslationsLoader class renamed to QtFileLoader. QtTranslationsLoader is deprecated and will be removed in 2.3.
57
 * [BC BREAK] uniformized the exception thrown by the load() method when an error occurs. The load() method now
58
   throws Symfony\Component\Translation\Exception\NotFoundResourceException when a resource cannot be found
59
   and Symfony\Component\Translation\Exception\InvalidResourceException when a resource is invalid.
60
 * changed the exception class thrown by some load() methods from \RuntimeException to \InvalidArgumentException
61
   (IcuDatFileLoader, IcuResFileLoader and QtFileLoader)
62
63
2.1.0
64
-----
65
66
 * added support for more than one fallback locale
67
 * added support for extracting translation messages from templates (Twig and PHP)
68
 * added dumpers for translation catalogs
69
 * added support for QT, gettext, and ResourceBundles