From f4b0ab8b2a12ad2b1bf6e5ccb8377795213771ba Mon Sep 17 00:00:00 2001 From: Marko Myllynen Date: Mon, 26 May 2014 17:24:32 +0300 Subject: [PATCH] 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 --- man1/locale.1 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/man1/locale.1 b/man1/locale.1 index 1bed28ddcd..12a55f2255 100644 --- a/man1/locale.1 +++ b/man1/locale.1 @@ -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 -- 2.39.2