Use plural/singular form of them/it for patches

This commit is contained in:
mpeterv 2016-04-15 23:00:14 +03:00
parent 15119a19b0
commit 1745496a07

View File

@ -914,8 +914,9 @@ class RioLua(Lua):
return
if not opts.patch:
print("Skipping {} patch{}, use --patch to apply them".format(
len(patches), "" if len(patches) == 1 else "es"))
print("Skipping {} patch{}, use --patch to apply {}".format(
len(patches), "" if len(patches) == 1 else "es",
"it" if len(patches) == 1 else "them"))
return
applied = sum(map(self.apply_patch, patches))