Subversion-Projekte lars-tiefland.laravel_shop

Revision

Zur aktuellen Revision | Details | Letzte Änderung | Log anzeigen | RSS feed

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