From 003b43714be96630328bd1316196faa8557c0b79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sun, 19 Feb 2012 14:20:21 +0000 Subject: [PATCH] use 'ngettext' svn: r18929 --- src/plugins/tool/MergeCitations.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/tool/MergeCitations.py b/src/plugins/tool/MergeCitations.py index a30608677..71783669a 100644 --- a/src/plugins/tool/MergeCitations.py +++ b/src/plugins/tool/MergeCitations.py @@ -54,6 +54,7 @@ import GrampsDisplay import DateHandler import ManagedWindow from gen.ggettext import sgettext as _ +from gen.ggettext import ngettext from glade import Glade from gen.db import DbTxn from gen.lib import (Person, Family, Event, Place, MediaObject, Citation, @@ -222,7 +223,8 @@ class MergeCitations(tool.BatchTool,ManagedWindow.ManagedWindow): self.progress.close() OkDialog( _("Number of merges done"), - _("%d citations merges") % num_merges) + ngettext("%(num)d citation merges", + "%(num)d citations merges", num_merges) % {'num': num_merges}) self.close(obj) def Merge (self, db, citation1, citation2, trans):