changeset 33872:7827fbbd0b06

templatekw: specify plural form of instability Follows up 40739aef97f7.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 13 Aug 2017 14:12:28 +0900
parents 84a3e04e35b5
children f18b11534274
files mercurial/templatekw.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templatekw.py	Wed Aug 16 13:57:19 2017 +0900
+++ b/mercurial/templatekw.py	Sun Aug 13 14:12:28 2017 +0900
@@ -783,7 +783,8 @@
     (EXPERIMENTAL)
     """
     args = pycompat.byteskwargs(args)
-    return showlist('instability', args['ctx'].instabilities(), args)
+    return showlist('instability', args['ctx'].instabilities(), args,
+                    plural='instabilities')
 
 # tell hggettext to extract docstrings from these functions:
 i18nfunctions = keywords.values()