~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/hooks.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:
30
30
    errors,
31
31
    pyutils,
32
32
    )
 
33
from bzrlib.i18n import gettext
33
34
""")
34
35
 
35
36
 
310
311
            introduced_string = _format_version_tuple(self.introduced)
311
312
        else:
312
313
            introduced_string = 'unknown'
313
 
        strings.append('Introduced in: %s' % introduced_string)
 
314
        strings.append(gettext('Introduced in: %s') % introduced_string)
314
315
        if self.deprecated:
315
316
            deprecated_string = _format_version_tuple(self.deprecated)
316
 
            strings.append('Deprecated in: %s' % deprecated_string)
 
317
            strings.append(gettext('Deprecated in: %s') % deprecated_string)
317
318
        strings.append('')
318
319
        strings.extend(textwrap.wrap(self.__doc__,
319
320
            break_long_words=False))