Merge branch 'plural' into 'master'

Correct plurals

See merge request fdroid/fdroidserver!334
This commit is contained in:
Hans-Christoph Steiner 2017-09-16 08:11:06 +00:00
commit c7d45b9515
2 changed files with 13 additions and 6 deletions

View file

@ -25,6 +25,7 @@ import glob
import hashlib
from argparse import ArgumentParser
import logging
from gettext import ngettext
from . import _
from . import common
@ -99,8 +100,8 @@ def main():
logging.error(_("There is a keyalias collision - publishing halted"))
sys.exit(1)
allaliases.append(keyalias)
logging.info("{0} apps, {0} key aliases".format(len(allapps),
len(allaliases)))
logging.info(ngettext('{0} app, {1} key aliases',
'{0} apps, {1} key aliases', len(allapps)).format(len(allapps), len(allaliases)))
# Process any APKs or ZIPs that are waiting to be signed...
for apkfile in sorted(glob.glob(os.path.join(unsigned_dir, '*.apk'))