mirror of https://github.com/mkerrisk/man-pages
locale.1: Use LC_TELEPHONE instead of LC_MESSAGES in the example
yesstr/nostr in LC_MESSAGES are planned to be changed at some point [1], so it's better to provide an example which won't be obsoleted by that change. [1] https://sourceware.org/bugzilla/show_bug.cgi?id=16975 Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0cc4caa91e
commit
f4b0ab8b2a
|
@ -153,19 +153,19 @@ $ \fBlocale \-ck date_fmt\fP
|
|||
LC_TIME
|
||||
date_fmt="%a %b %e %H:%M:%S %Z %Y"
|
||||
|
||||
$ \fBlocale LC_MESSAGES\fP
|
||||
^[yY].*
|
||||
^[nN].*
|
||||
Yes
|
||||
No
|
||||
$ \fBlocale LC_TELEPHONE\fP
|
||||
+%c (%a) %l
|
||||
(%a) %l
|
||||
11
|
||||
1
|
||||
UTF\-8
|
||||
|
||||
$ \fBlocale \-k LC_MESSAGES\fP
|
||||
yesexpr="^[yY].*"
|
||||
noexpr="^[nN].*"
|
||||
yesstr="Yes"
|
||||
nostr="No"
|
||||
messages\-codeset="UTF\-8"
|
||||
$ \fBlocale \-k LC_TELEPHONE\fP
|
||||
tel_int_fmt="+%c (%a) %l"
|
||||
tel_dom_fmt="(%a) %l"
|
||||
int_select="11"
|
||||
int_prefix="1"
|
||||
telephone\-codeset="UTF\-8"
|
||||
.fi
|
||||
|
||||
The following example compiles a custom locale from the
|
||||
|
|
Loading…
Reference in New Issue