severity 35981 minor quit > From 93092aa18ca4348d14c3154a6ffbdfc535536cba Mon Sep 17 00:00:00 2001 > From: Stefan Kangas > Date: Wed, 29 May 2019 11:27:22 +0200 > Subject: [PATCH] Use ngettext in `count-lines-page' > > * textmodes/page.el (count-lines-page): Use ngettext. > --- > lisp/textmodes/page.el | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/lisp/textmodes/page.el b/lisp/textmodes/page.el > index 220ef2d7fd..1379880374 100644 > --- a/lisp/textmodes/page.el > +++ b/lisp/textmodes/page.el > @@ -142,7 +142,10 @@ count-lines-page > (setq total (count-lines beg end) > before (count-lines beg opoint) > after (count-lines opoint end)) > - (message "Page has %d lines (%d + %d)" total before after)))) > + (message "Page has %s (%d + %d)" > + (format-message (ngettext "%d line" "%d lines" total) total) > + before > + after)))) I don't think it's right to split the phrase into two parts "Page has" and "N lines" for i18n purposes. How about the following instead: