aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2019-03-24 23:55:07 +0200
committerJuri Linkov2019-03-24 23:55:07 +0200
commit5fdf4fc07df7dd897931efb5dbf5f26dfaff9274 (patch)
tree807fd09f411bd670cb0f7bc7834469366e514036 /etc
parent36535caf9621f984f7f95d4def09bdb0ae2f1d2a (diff)
downloademacs-5fdf4fc07df7dd897931efb5dbf5f26dfaff9274.tar.gz
emacs-5fdf4fc07df7dd897931efb5dbf5f26dfaff9274.zip
i18n: Add function ngettext for pluralization.
* lisp/international/mule-cmds.el (ngettext): New function. https://lists.gnu.org/archive/html/emacs-devel/2019-03/msg00586.html * lisp/replace.el (flush-lines, how-many, occur-1, occur-engine) (perform-replace): Use ngettext. * lisp/progmodes/grep.el (grep-exit-message): Use ngettext. (grep-mode-font-lock-keywords): Match both singular and plural form of "matches".
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index cb485992b8d..bbba59c5490 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1364,6 +1364,11 @@ Now, such rx expressions generate an error.
1364 1364
1365* Lisp Changes in Emacs 27.1 1365* Lisp Changes in Emacs 27.1
1366 1366
1367** i18n (internationalization)
1368
1369*** ngettext can be used now to return the right plural form
1370according to the given numeric value.
1371
1367+++ 1372+++
1368** inhibit-null-byte-detection is renamed to inhibit-nul-byte-detection 1373** inhibit-null-byte-detection is renamed to inhibit-nul-byte-detection
1369 1374