Uploaded image for project: 'Internationalization'
  1. Internationalization
  2. INTL-45

refactor Puppet::Parameter.format so that we can avoid using %s in strings

    Details

    • Type: Task
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      • Refactor the use of "%s" style formatting with the calls to Puppet::Parameter.format()
      • Update affected i18n strings so they can be re-translated
    • QA Risk Assessment:
      Needs Assessment

      Description

      the Puppet::Parameter.format() method uses sprintf style semantics and %s formatting. We need to refactor this so that we can avoid the %s style formatting which is too hard to translate.

      For example:

      event.message = param.format(_("change from %s to %s failed: "),
      param.is_to_s(current_value),
      param.should_to_s(param.should)) + detail.to_s

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erwin.hom Erwin Hom
                Reporter:
                eric.delaney Eric Delaney
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Zendesk Support