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

Add translation for issue_reporter.rb error/warning count message

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PUP 5.3.3
    • PUP 5.3.4, PUP 5.4.0
    • None
    • None
    • Hide

      Update the message use when emitting errors and warnings in lib/puppet/pops/issue_reporter.rb to be more translation friendly
      Add translation decorators
      Unit and acceptance tests pass

      Show
      Update the message use when emitting errors and warnings in lib/puppet/pops/issue_reporter.rb to be more translation friendly Add translation decorators Unit and acceptance tests pass
    • Platform Core
    • Platform Core KANBAN
    • Not Needed
    • No Action

    Description

      Update the lib/puppet/pops/issue_reporter.rb to report errors and warnings in a translation friendly way.

            warnings_message = (emit_warnings && warnings.size > 0) ? ", and #{warnings.size} warnings" : ""
            giving_up_message = "Language validation logged #{errors.size} errors#{warnings_message}. Giving up"
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support