Correct project-remember/forget-projects-under message grammar
* lisp/progmodes/project.el: (project-remember-projects-under): Correct grammar for the singular case. Rather than "1 projects were found", say "1 project was found". (project-forget-projects-under): Ditto. (Bug#76016)
This commit is contained in:
parent
788380cf6a
commit
b2d2ad58ea
1 changed files with 6 additions and 4 deletions
|
@ -2054,8 +2054,9 @@ projects."
|
|||
(if (zerop count)
|
||||
(message "No projects were found")
|
||||
(project--write-project-list)
|
||||
(message "%d project%s were found"
|
||||
count (if (= count 1) "" "s")))
|
||||
(message (ngettext "%d project was found"
|
||||
"%d projects were found"
|
||||
count) count))
|
||||
count))
|
||||
|
||||
(defun project-forget-zombie-projects ()
|
||||
|
@ -2085,8 +2086,9 @@ forgotten projects."
|
|||
(if (zerop count)
|
||||
(message "No projects were forgotten")
|
||||
(project--write-project-list)
|
||||
(message "%d project%s were forgotten"
|
||||
count (if (= count 1) "" "s")))
|
||||
(message (ngettext "%d project was forgotten"
|
||||
"%d projects were forgotten"
|
||||
count) count))
|
||||
count))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue