Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7949

I18N Add support feedback when badly formed I18N strings are added "%s" "%\d.\df"

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Coremunity
    • Story Points:
      1
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      No Action

      Description

      We should add something to check the contents of the POT file to ensure that people aren't adding string values which make it hard to translate our strings.

      • %s
      • %\d.\df
      • # {value + 1}
      • etc

      Possible options are to:

      • add a Rubocop entry to check for these to the puppetlabs/rubocop-i18n
      • add a test to puppet or puppet-agent that would check the contents of the po file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              eric.delaney Eric Delaney
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support