~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/lp_directory.py

  • Committer: Patch Queue Manager
  • Date: 2011-09-20 14:38:17 UTC
  • mfrom: (6150.3.12 i18n-more-gettext)
  • Revision ID: pqm@pqm.ubuntu.com-20110920143817-505fvpundix8tqv8
(jr) adding gettext() to more strings
 (Jonathan Riddell)

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    trace,
27
27
    transport,
28
28
    )
 
29
from bzrlib.i18n import gettext
29
30
 
30
31
from bzrlib.plugins.launchpad.lp_registration import (
31
32
    LaunchpadService, ResolveLaunchpadPathRequest)
164
165
            if 'launchpad' in debug.debug_flags:
165
166
                local_res = result
166
167
                result = self._resolve_via_xmlrpc(path, url, _request_factory)
167
 
                trace.note('resolution for %s\n  local: %s\n remote: %s'
168
 
                           % (url, local_res['urls'], result['urls']))
 
168
                trace.note(gettext(
 
169
                    'resolution for {0}\n  local: {1}\n remote: {2}').format(
 
170
                           url, local_res['urls'], result['urls']))
169
171
        else:
170
172
            result = self._resolve_via_xmlrpc(path, url, _request_factory)
171
173