Uploaded image for project: 'Log Tool'
  1. Log Tool
  2. LOGTOOL-143

Add positional index to the generated skeleton files for all messages

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.2.1.Final
    • Labels:
      None

      Description

      Translated languages may reorder text resulting in parameters requiring to be in a different order. If the translator does not know the index format, i.e. %1$s, the message parameters may be inserted in the incorrect order.

      We should add this index to messages generated in the skeleton file that is generally sent to translators. This should fallback to the default message if an error occurs determining the index. There should also be a way to disable this in cases where this may not be wanted or is causing issues. 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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jamezp James Perkins
                  Reporter:
                  jamezp James Perkins
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: