mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
vc-dir-headers: Use ngettext, move the newline out of 'propertize'
* lisp/vc/vc-dir.el (vc-dir-headers): Use ngettext, move the newline out of 'propertize'.
This commit is contained in:
parent
49611cce30
commit
b0a0127880
1 changed files with 6 additions and 2 deletions
|
|
@ -1353,12 +1353,16 @@ specific headers."
|
|||
(_ (plusp count)))
|
||||
(concat (propertize "Outgoing : "
|
||||
'face 'vc-dir-header)
|
||||
(propertize (format "%d unpushed revisions\n" count)
|
||||
(propertize (format (ngettext "%d unpushed revision"
|
||||
"%d unpushed revisions"
|
||||
count)
|
||||
count)
|
||||
'face 'vc-dir-header-urgent-value
|
||||
'mouse-face 'highlight
|
||||
'keymap vc-dir-outgoing-revisions-map
|
||||
'help-echo "\\<vc-dir-outgoing-revisions-map>\
|
||||
\\[vc-log-outgoing]: List outgoing revisions")))))
|
||||
\\[vc-log-outgoing]: List outgoing revisions")
|
||||
"\n"))))
|
||||
|
||||
(defun vc-dir-refresh-files (files)
|
||||
"Refresh some FILES in the *VC-Dir* buffer."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue