diff options
| author | shipmints | 2025-02-02 11:39:55 -0500 |
|---|---|---|
| committer | Stefan Kangas | 2025-02-11 08:49:59 +0100 |
| commit | b2d2ad58ea45bbbcde772152b240f1c2c5a7c2fa (patch) | |
| tree | 98091eb91a94cf824392b26842914cdd92774949 | |
| parent | 788380cf6a2529ee7477aaadaa430e889c76dacd (diff) | |
| download | emacs-b2d2ad58ea45bbbcde772152b240f1c2c5a7c2fa.tar.gz emacs-b2d2ad58ea45bbbcde772152b240f1c2c5a7c2fa.zip | |
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." | |||
| 2054 | (if (zerop count) | 2054 | (if (zerop count) |
| 2055 | (message "No projects were found") | 2055 | (message "No projects were found") |
| 2056 | (project--write-project-list) | 2056 | (project--write-project-list) |
| 2057 | (message "%d project%s were found" | 2057 | (message (ngettext "%d project was found" |
| 2058 | count (if (= count 1) "" "s"))) | 2058 | "%d projects were found" |
| 2059 | count) count)) | ||
| 2059 | count)) | 2060 | count)) |
| 2060 | 2061 | ||
| 2061 | (defun project-forget-zombie-projects () | 2062 | (defun project-forget-zombie-projects () |
| @@ -2085,8 +2086,9 @@ forgotten projects." | |||
| 2085 | (if (zerop count) | 2086 | (if (zerop count) |
| 2086 | (message "No projects were forgotten") | 2087 | (message "No projects were forgotten") |
| 2087 | (project--write-project-list) | 2088 | (project--write-project-list) |
| 2088 | (message "%d project%s were forgotten" | 2089 | (message (ngettext "%d project was forgotten" |
| 2089 | count (if (= count 1) "" "s"))) | 2090 | "%d projects were forgotten" |
| 2091 | count) count)) | ||
| 2090 | count)) | 2092 | count)) |
| 2091 | 2093 | ||
| 2092 | 2094 | ||