~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Patch Queue Manager
  • Date: 2011-09-19 12:22:23 UTC
  • mfrom: (6143.1.8 i18n-plurals)
  • Revision ID: pqm@pqm.ubuntu.com-20110919122223-243tgzmfebanxxbi
(jr) Use ngettext instead of "words(s) with brackets" for plurals (Jonathan
 Riddell)

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        ui,
41
41
        urlutils,
42
42
        )
43
 
from bzrlib.i18n import gettext
 
43
from bzrlib.i18n import gettext, ngettext
44
44
""")
45
45
 
46
46
from bzrlib import (
3137
3137
            if self.old_revid != self.new_revid:
3138
3138
                note(gettext('Pushed up to revision %d.') % self.new_revno)
3139
3139
            if tag_updates:
3140
 
                note(gettext('%d tag(s) updated.') % len(tag_updates))
 
3140
                note(ngettext('%d tag updated.', '%d tags updated.', len(tag_updates)) % len(tag_updates))
3141
3141
            if self.old_revid == self.new_revid and not tag_updates:
3142
3142
                if not tag_conflicts:
3143
3143
                    note(gettext('No new revisions or tags to push.'))