@@ -416,6 +416,8 @@ mkdir({name} [, {flags} [, {prot}]])
416
416
mode([{expr} ]) String current editing mode
417
417
mzeval({expr} ) any evaluate | MzScheme | expression
418
418
nextnonblank({lnum} ) Number line nr of non-blank line >= {lnum}
419
+ ngettext({single} , {plural} , {number} [, {domain} ])
420
+ String translate text based on {number}
419
421
nr2char({expr} [, {utf8} ]) String single char with ASCII/UTF-8 value {expr}
420
422
or({expr} , {expr} ) Number bitwise OR
421
423
pathshorten({expr} [, {len} ]) String shorten directory names in a path
@@ -7687,6 +7689,20 @@ nextnonblank({lnum}) *nextnonblank()*
7687
7689
Return type: | Number |
7688
7690
7689
7691
7692
+ ngettext({single} , {plural} , {number} [, {domain} ) *ngettext()*
7693
+ Return a string that contains the correct value for a
7694
+ message based on the rules for plural form(s) in
7695
+ a language. Examples: >
7696
+ ngettext("File", "Files", 2) # returns "Files"
7697
+ <
7698
+ Can be used as a | method | : >
7699
+ 1->ngettext("File", "Files") # returns "File"
7700
+ <
7701
+ See | gettext() | for information on the domain parameter.
7702
+
7703
+ Return type: | String |
7704
+
7705
+
7690
7706
nr2char({expr} [, {utf8} ]) *nr2char()*
7691
7707
Return a string with a single character, which has the number
7692
7708
value {expr} . Examples: >
0 commit comments