diff options
| author | shipmints <shipmints@gmail.com> | 2025-02-02 11:39:55 -0500 |
|---|---|---|
| committer | Stefan Kangas <stefankangas@gmail.com> | 2025-02-11 08:49:59 +0100 |
| commit | b2d2ad58ea45bbbcde772152b240f1c2c5a7c2fa (patch) | |
| tree | 98091eb91a94cf824392b26842914cdd92774949 | |
| parent | 788380cf6a2529ee7477aaadaa430e889c76dacd (diff) | |
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)
| -rw-r--r-- | lisp/progmodes/project.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index f2a27ff91dd..5dd10071a1c 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -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)) |
