#3182 Add an used singular form, avoid empty string on translation dict

svn: r13188
This commit is contained in:
Jérôme Rapinat 2009-09-10 13:49:58 +00:00
parent 2c9441eae1
commit e8033040bb

View File

@ -229,7 +229,7 @@ class NotRelated(Tool.ActivePersonTool, ManagedWindow.ManagedWindow) :
if rows > 1: if rows > 1:
progress = ProgressMeter(self.title,_('Starting')) progress = ProgressMeter(self.title,_('Starting'))
#TRANS: no singular form needed, as rows is always > 1 #TRANS: no singular form needed, as rows is always > 1
progress.set_pass(ngettext("", 'Setting marker for %d people', \ progress.set_pass(ngettext("Setting marker for %d person", 'Setting marker for %d people', \
rows) % rows, rows) rows) % rows, rows)
# start the db transaction # start the db transaction
@ -263,7 +263,7 @@ class NotRelated(Tool.ActivePersonTool, ManagedWindow.ManagedWindow) :
def findRelatedPeople(self) : def findRelatedPeople(self) :
#TRANS: No singular form is needed. #TRANS: No singular form is needed.
self.progress.set_pass(ngettext("", "Finding relationships between %d people",\ self.progress.set_pass(ngettext("Finding relationships between %d person", "Finding relationships between %d people",\
self.numberOfPeopleInDatabase) \ self.numberOfPeopleInDatabase) \
% self.numberOfPeopleInDatabase, \ % self.numberOfPeopleInDatabase, \
self.numberOfPeopleInDatabase) self.numberOfPeopleInDatabase)