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

Add translation for issue_reporter.rb error/warning count message

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 5.3.3
    • Fix Version/s: PUP 5.3.4, PUP 5.4.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      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
    • Sub-team:
    • Team:
      Platform Core
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      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

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

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support