Uploaded image for project: 'Atlassian Internationalization'
  1. Atlassian Internationalization
  2. I18N-437

TAC Import check of arguments in the translated message is a bit too strict

This issue is archived. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • 0.8 Sprint 16
    • 0.8 Sprint 8
    • None
    • None

    Description

      At the moment it seems that the check on placeholders is too restrictive, as it seems that it demands that for a given argument you use it the same number of times in the original message.

      For example:

      Say the original message defines an argument

      {1}
      and it uses it as

      original.message=Something {0} else {1}

      refer to

      {1}

      TAC demands that your translation uses {1}

      two times.

      It should be enough to validate that no unexisting arguments are used in the translated message and that each argument defined in the original message is used at least one time.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              Archiver:
              mandreacchio Michael Andreacchio

              Dates

                Created:
                Updated:
                Resolved:
                Archived: