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
|
LC_TIME
|
||||||
date_fmt="%a %b %e %H:%M:%S %Z %Y"
|
date_fmt="%a %b %e %H:%M:%S %Z %Y"
|
||||||
|
|
||||||
$ \fBlocale LC_MESSAGES\fP
|
$ \fBlocale LC_TELEPHONE\fP
|
||||||
^[yY].*
|
+%c (%a) %l
|
||||||
^[nN].*
|
(%a) %l
|
||||||
Yes
|
11
|
||||||
No
|
1
|
||||||
UTF\-8
|
UTF\-8
|
||||||
|
|
||||||
$ \fBlocale \-k LC_MESSAGES\fP
|
$ \fBlocale \-k LC_TELEPHONE\fP
|
||||||
yesexpr="^[yY].*"
|
tel_int_fmt="+%c (%a) %l"
|
||||||
noexpr="^[nN].*"
|
tel_dom_fmt="(%a) %l"
|
||||||
yesstr="Yes"
|
int_select="11"
|
||||||
nostr="No"
|
int_prefix="1"
|
||||||
messages\-codeset="UTF\-8"
|
telephone\-codeset="UTF\-8"
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
The following example compiles a custom locale from the
|
The following example compiles a custom locale from the
|
||||||
|
|
Loading…
Reference in New Issue