Major
Detail
Detail
A tl:ResKey can be filled with values, which are then included in the actual translation. Here is currently undefined how many parameters the ResKey expects, i.e. it must be looked into the translation file, how many "free places" are filled.
Improvement
There should be different tl:ResKey factory implementations ResKey1,. ResKey5 with 1,...,5 parameters which can also check that the correct number of arguments are present. Furthermore there is ResKeyN which allows an arbitrary number of parameters. This is for the rare case that there are translations that require more than 5 parameters.
Code migration
The method ResKey#fill(...) has been dropped. In the I18NConstants the type of this constant must be changed from ResKey to ResKey1, ResKey2, ResKey3, ResKey4, ResKey5 or ResKeyN depending on how many arguments are used. If the ResKey does not come from the I18NConstants one must be defined (otherwise the Reskey also provides deprecated methods with asResKeyX() to create a ResKeyX ).
Test
No test. Refactoring.