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

i18n need to change "on node #{node}" code to be translation friendly

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Progress
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • QA Risk Assessment:
      Needs Assessment

      Description

      We need to change how we report the node that a message occurs on to be more translation friendly. Currently the common way is to say "on node #{node}". We should be more translation friendly about this.

      09:42 $ grep -r 'on node' lib
      lib/puppet/defaults.rb:        should be used on nodes running `puppet agent` or `puppet apply`.
      lib/puppet/error.rb:      msg = "#{msg} on node #{node}" if node
      lib/puppet/external/dot.rb:    'fixedsize',   # default: false; label text has no affect on node size
      lib/puppet/parser/compiler.rb:    message = "#{detail} on node #{node.name}"
      lib/puppet/util/log.rb:      msg = _("%{msg} on node %{node}") % { msg: msg, node: node } unless node.nil?
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Zendesk Support