mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 21:37:34 +00:00
Use ngettext in vc-dir-clean-files
* lisp/vc/vc-dir.el (vc-dir-clean-files): Use ngettext to separate pluralization from format string.
This commit is contained in:
parent
8ebcc7b9d4
commit
150aec0af3
1 changed files with 3 additions and 2 deletions
|
|
@ -780,8 +780,9 @@ system; see `vc-dir-delete-file'."
|
|||
'unregistered)))
|
||||
files)))
|
||||
(when tracked
|
||||
(user-error "Trying to clean tracked file%s: %s"
|
||||
(if (= (length tracked) 1) "" "s")
|
||||
(user-error (ngettext "Trying to clean tracked file: %s"
|
||||
"Trying to clean tracked files: %s"
|
||||
(length tracked))
|
||||
(mapconcat #'file-name-nondirectory tracked ", ")))
|
||||
(map-y-or-n-p "Delete %s? " #'delete-file files)
|
||||
(revert-buffer)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue