]
James Perkins closed LOGTOOL-122.
---------------------------------
Resolution: Out of Date
Add option to always add positional parameters to generated
translation files
-----------------------------------------------------------------------------
Key: LOGTOOL-122
URL:
https://issues.jboss.org/browse/LOGTOOL-122
Project: Log Tool
Issue Type: Enhancement
Reporter: James Perkins
Priority: Minor
Translated languages may reorder text resulting in parameters requiring to be in a
different order. If the translator does not know the positional format, i.e. {{%1$s}}, the
message parameters may be inserted in the incorrect order.
There should be an option to allow parameters to be generated with the positional
properties. A message such as {{Parameter %s has an invalid value %s}} should be printed
to the properties file as {{Parameter %1$s has an invalid value %2$s}}.