X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=draft%2Fman5%2Flocale.5;h=9b3fcb46c9a17a193bbaf23b5d634180bae4a520;hp=47c94864cf717b38177942e6dc7eb67a5051a029;hb=1d98b26905be2ad5ba08a94d65f57d872bae4f85;hpb=38394e00bdc712dc8637aada383aebb3a95a9cbf diff --git a/draft/man5/locale.5 b/draft/man5/locale.5 index 47c94864..9b3fcb46 100644 --- a/draft/man5/locale.5 +++ b/draft/man5/locale.5 @@ -22,1043 +22,307 @@ .\" 2008-06-17 Petr Baudis .\" LC_TIME: Describe first_weekday and first_workday .\" -.\" Japanese Version Copyright (c) 1997 HANATAKA Shinya -.\" all rights reserved. -.\" Translated 1998-02-11, HANATAKA Shinya -.\" Updated & Modified 2001-10-18, Akihiro MOTOKI -.\" Updated 2008-08-11, Akihiro MOTOKI, LDP v3.05 +.\"******************************************************************* .\" -.TH LOCALE 5 2008-06-17 "Linux" "Linux User Manual" -.\"O .SH NAME -.\"O locale \- Describes a locale definition file +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LOCALE 5 2008\-06\-17 Linux "Linux User Manual" .SH 名前 locale \- ロケール定義ファイル -.\"O .SH DESCRIPTION .SH 説明 -.\"O The -.\"O .B locale -.\"O definition files contains all the information that the -.\"O .BR localedef (1) -.\"O command needs to convert it into the binary locale database. -.B "ロケール (locale)" -定義ファイルは -.BR localedef (1) -コマンドがバイナリのロケール・データベースに変換するのに +\fBロケール (locale)\fP 定義ファイルは \fBlocaledef\fP(1) コマンドがバイナリのロケール・データベースに変換するのに 必要な全ての情報を含んでいる。 -.\"O The definition files consist of sections which each describe a -.\"O locale category in detail. -定義ファイルは、いくつかのセクションから構成されており、各セクション -にはロケールのカテゴリが詳細に記述される。 - -.\"O .SS Syntax +定義ファイルは、いくつかのセクションから構成されており、各セクション にはロケールのカテゴリが詳細に記述される。 .SS 文法 -.\"O The locale definition file starts with a header that may consist -.\"O of the following keywords: ロケール定義ファイルは以下のキーワードから構成されるヘッダーで始まる: -.TP -.I -.\"O is followed by a character that should be used as the -.\"O escape-character for the rest of the file to mark characters that -.\"O should be interpreted in a special way. -.\"O It defaults to the backslash (\\). -ファイルの残りの部分でエスケープ・キャラクターとして使用する文字を -指定する。これは特殊な意味に解釈される文字をエスケープするのに使用する。 -デフォルトはバックスラッシュ (\\) である。 -.TP -.I -.\"O is followed by a character that will be used as the -.\"O comment-character for the rest of the file. -.\"O It defaults to the number sign (#). -ファイルの残りの部分でコメント・キャラクターとして使用する文字 -を指定する。デフォルトではシャープ (#) である。 +.TP +\fI\fP +ファイルの残りの部分でエスケープ・キャラクターとして使用する文字を 指定する。これは特殊な意味に解釈される文字をエスケープするのに使用する。 +デフォルトはバックスラッシュ (\e) である。 +.TP +\fI\fP +ファイルの残りの部分でコメント・キャラクターとして使用する文字 を指定する。デフォルトではシャープ (#) である。 .PP -.\"O The locale definition has one part for each locale category. -.\"O Each part can be copied from another existing locale or -.\"O can be defined from scratch. -.\"O If the category should be copied, -.\"O the only valid keyword in the definition is -.\"O .B copy -.\"O followed by the name of the locale which should be copied. -ロケールの定義はロケールのカテゴリ毎の定義を行う部分から構成される。 -各部分は、定義済みの他のロケールのコピーを元に定義することもできるし、 -最初から定義することもできる。カテゴリをコピーする場合、定義の中に -.B copy -というキーワードに続けてコピーするロケールの名前を書く。 .\" FIXME glibc 2.2.2 added new nonstandard locale categories: .\" LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_NAME, -.\" LC_PAPER, LC_TELEPHONE. -.\"O These need to be documented. -.\"O .SS LC_CTYPE -.\"O The definition for the -.\"O .B LC_CTYPE -.\"O category starts with the string -.\"O .I LC_CTYPE -.\"O in the first column. +.\" LC_PAPER, LC_TELEPHONE. These need to be documented. +ロケールの定義はロケールのカテゴリ毎の定義を行う部分から構成される。 各部分は、定義済みの他のロケールのコピーを元に定義することもできるし、 +最初から定義することもできる。カテゴリをコピーする場合、定義の中に \fBcopy\fP というキーワードに続けてコピーするロケールの名前を書く。 .SS LC_CTYPE -.B LC_CTYPE -カテゴリの定義は最初のカラムに -.I LC_CTYPE -という文字列を置くことで始める。 +\fBLC_CTYPE\fP カテゴリの定義は最初のカラムに \fILC_CTYPE\fP という文字列を置くことで始める。 -.\"O There are the following keywords allowed: ここでは以下のキーワードが使用できる: -.TP -.\"O .I upper -.\"O followed by a list of uppercase letters. -.\"O The letters -.\"O .B A -.\"O through -.\"O .B Z -.\"O are included automatically. -.\"O Characters also specified as -.\"O .BR cntrl , -.\"O .BR digit , -.\"O .BR punct , -.\"O or -.\"O .B space -.\"O are not allowed. -.I upper -大文字 (uppercase letter) のリストを指定する。 -.B A -から -.B Z -までの文字は自動的に含まれる。 -.BR cntrl , -.BR digit , -.BR punct , -.B space -に指定された文字を指定することはできない。 -.TP -.\"O .I lower -.\"O followed by a list of lowercase letters. -.\"O The letters -.\"O .B a -.\"O through -.\"O .B z -.\"O are included automatically. -.\"O Characters also specified as -.\"O .BR cntrl , -.\"O .BR digit , -.\"O .BR punct , -.\"O or -.\"O .B space -.\"O are not allowed. -.I lower -小文字 (lowercase letter) のリストを指定する。 -.B a -から -.B z -までの文字は自動的に含まれる。 -.BR cntrl , -.BR digit , -.BR punct , -.B space -に指定された文字を指定することはできない。 -.TP -.\"O .I alpha -.\"O followed by a list of letters. -.\"O All character specified as either -.\"O .B upper -.\"O or -.\"O .B lower -.\"O are automatically included. -.\"O Characters also specified as -.\"O .BR cntrl , -.\"O .BR digit , -.\"O .BR punct , -.\"O or -.\"O .B space -.\"O are not allowed. -.I alpha -アルファベットの文字を指定する。 -.B upper -と -.B lower -を指定した全ての文字は自動的に含まれる。 -.BR cntrl , -.BR digit , -.BR punct , -.B space -に指定された文字を指定することはできない。 -.TP -.\"O .I digit -.\"O followed by the characters classified as numeric digits. -.\"O Only the -.\"O digits -.\"O .B 0 -.\"O through -.\"O .B 9 -.\"O are allowed. -.\"O They are included by default in this class. -.I digit -数字として使用される文字を指定する。数字としては -.B 0 -から -.B 9 -のみが使用できる。これらはデフォルトで含まれている。 -.TP -.\"O .I space -.\"O followed by a list of characters defined as white-space -.\"O characters. -.\"O Characters also specified as -.\"O .BR upper , -.\"O .BR lower , -.\"O .BR alpha , -.\"O .BR digit , -.\"O .BR graph , -.\"O or -.\"O .B xdigit -.\"O are not allowed. -.\"O The characters -.\"O .BR , -.\"O .BR , -.\"O .BR , -.\"O .BR , -.\"O .BR , -.\"O and -.\"O .B -.\"O are automatically included. -.I space -空白として使用する文字のリストを指定する。 -.BR upper , -.BR lower , -.BR alpha , -.BR digit , -.BR graph , -.B xdigit -に指定された文字を指定することはできない。 -.BR , -.BR , -.BR , -.BR , -.BR , -.B -は自動的に含まれる。 -.TP -.\"O .I cntrl -.\"O followed by a list of control characters. -.\"O Characters also specified as -.\"O .BR upper , -.\"O .BR lower , -.\"O .BR alpha , -.\"O .BR digit , -.\"O .BR punct , -.\"O .BR graph , -.\"O .BR print , -.\"O or -.\"O .B xdigit -.\"O are not allowed. -.I cntrl -コントロール・キャラクターのリストを指定する。 -.BR upper , -.BR lower , -.BR alpha , -.BR digit , -.BR punct , -.BR graph , -.BR print , -.B xdigit -に指定された文字を指定することはできない。 -.TP -.\"O .I punct -.\"O followed by a list of punctuation characters. -.\"O Characters also -.\"O specified as -.\"O .BR upper , -.\"O .BR lower , -.\"O .BR alpha , -.\"O .BR digit , -.\"O .BR cntrl , -.\"O .BR xdigit , -.\"O or the -.\"O .B -.\"O character are not allowed. -.I punct -句読点文字のリストを指定する。 -.BR upper , -.BR lower , -.BR alpha , -.BR digit , -.BR cntrl , -.BR xdigit , -.B +.TP +\fIupper\fP +大文字 (uppercase letter) のリストを指定する。 \fBA\fP から \fBZ\fP までの文字は自動的に含まれる。 \fBcntrl\fP, +\fBdigit\fP, \fBpunct\fP, \fBspace\fP に指定された文字を指定することはできない。 +.TP +\fIlower\fP +小文字 (lowercase letter) のリストを指定する。 \fBa\fP から \fBz\fP までの文字は自動的に含まれる。 \fBcntrl\fP, +\fBdigit\fP, \fBpunct\fP, \fBspace\fP に指定された文字を指定することはできない。 +.TP +\fIalpha\fP +アルファベットの文字を指定する。 \fBupper\fP と \fBlower\fP を指定した全ての文字は自動的に含まれる。 \fBcntrl\fP, +\fBdigit\fP, \fBpunct\fP, \fBspace\fP に指定された文字を指定することはできない。 +.TP +\fIdigit\fP +数字として使用される文字を指定する。数字としては \fB0\fP から \fB9\fP のみが使用できる。これらはデフォルトで含まれている。 +.TP +\fIspace\fP +空白として使用する文字のリストを指定する。 \fBupper\fP, \fBlower\fP, \fBalpha\fP, \fBdigit\fP, \fBgraph\fP, +\fBxdigit\fP に指定された文字を指定することはできない。 \fB\fP, \fB\fP, +\fB\fP, \fB\fP, \fB\fP, +\fB\fP は自動的に含まれる。 +.TP +\fIcntrl\fP +コントロール・キャラクターのリストを指定する。 \fBupper\fP, \fBlower\fP, \fBalpha\fP, \fBdigit\fP, \fBpunct\fP, +\fBgraph\fP, \fBprint\fP, \fBxdigit\fP に指定された文字を指定することはできない。 +.TP +\fIpunct\fP +句読点文字のリストを指定する。 \fBupper\fP, \fBlower\fP, \fBalpha\fP, \fBdigit\fP, \fBcntrl\fP, \fBxdigit\fP, +\fB\fP に指定された文字を指定することはできない。 +.TP +\fIgraph\fP +表示可能文字のリストを指定するが、 \fB\fP 文字は含まない。 \fBupper\fP, \fBlower\fP, \fBalpha\fP, +\fBdigit\fP, \fBxdigit\fP, \fBpunct\fP を指定した文字は自動的に含まれる。 \fBcntrl\fP に指定された文字を指定することはできない。 -.TP -.\"O .I graph -.\"O followed by a list of printable characters, not including the -.\"O .B -.\"O character. -.\"O The characters defined as -.\"O .BR upper , -.\"O .BR lower , -.\"O .BR alpha , -.\"O .BR digit , -.\"O .BR xdigit , -.\"O and -.\"O .B punct -.\"O are automatically included. -.\"O Characters also specified as -.\"O .B cntrl -.\"O are not allowed. -.I graph -表示可能文字のリストを指定するが、 -.B -文字は含まない。 -.BR upper , -.BR lower , -.BR alpha , -.BR digit , -.BR xdigit , -.B punct -を指定した文字は自動的に含まれる。 -.B cntrl +.TP +\fIprint\fP +\fB\fP 文字を含めた表示可能文字のリストを指定する。 \fBupper\fP, \fBlower\fP, \fBalpha\fP, +\fBdigit\fP, \fBxdigit\fP, \fBpunct\fP, \fB\fP に指定した文字は自動的に含まれる。 \fBcntrl\fP に指定された文字を指定することはできない。 -.TP -.\"O .I print -.\"O followed by a list of printable characters, including the -.\"O .B -.\"O character. -.\"O The characters defined as -.\"O .BR upper , -.\"O .BR lower , -.\"O .BR alpha , -.\"O .BR digit , -.\"O .BR xdigit , -.\"O .BR punct , -.\"O and the -.\"O .B -.\"O character are automatically included. -.\"O Characters also specified as -.\"O .B cntrl -.\"O are not allowed. -.I print -.B -文字を含めた表示可能文字のリストを指定する。 -.BR upper , -.BR lower , -.BR alpha , -.BR digit , -.BR xdigit , -.BR punct , -.B -に指定した文字は自動的に含まれる。 -.B cntrl -に指定された文字を指定することはできない。 -.TP -.\"O .I xdigit -.\"O followed by a list of characters classified as hexadecimal -.\"O digits. -.\"O The decimal digits must be included followed by one or -.\"O more set of six characters in ascending order. -.\"O The following -.\"O characters are included by default: -.\"O .B 0 -.\"O through -.\"O .BR 9 , -.\"O .B a -.\"O through -.\"O .BR f , -.\"O .B A -.\"O through -.\"O .BR F . -.I xdigit -16 進数として使用する文字のリストを指定する。10 進の数字に加えて、 -6 文字を昇順で続ける。デフォルトでは以下の文字が含まれている: -.B 0 -から -.BR 9 、 -.B a -から -.BR f 、 -.B A -から -.BR F 。 -.TP -.\"O .I blank -.\"O followed by a list of characters classified as -.\"O .BR blank . -.\"O The characters -.\"O .B -.\"O and -.\"O .B -.\"O are automatically included. -.I blank -.B "無地 (blank)" -に分類される文字のリストを指定する。 -.B -と -.B +.TP +\fIxdigit\fP +16 進数として使用する文字のリストを指定する。10 進の数字に加えて、 6 文字を昇順で続ける。デフォルトでは以下の文字が含まれている: \fB0\fP +から \fB9\fP、 \fBa\fP から \fBf\fP、 \fBA\fP から \fBF\fP。 +.TP +\fIblank\fP +\fB無地 (blank)\fP に分類される文字のリストを指定する。 \fB\fP と \fB\fP は自動的に含まれる。 -.TP -.\"O .I toupper -.\"O followed by a list of mappings from lowercase to uppercase -.\"O letters. -.\"O Each mapping is a pair of a lowercase and an uppercase letter -.\"O separated with a -.\"O .B , -.\"O and enclosed in parentheses. -.\"O The members of the list are separated -.\"O with semicolons. -.I toupper -小文字から大文字への対応リストを指定する。各対応は小文字と大文字のペアを -.B , -で区切って括弧で括って指定する。 +.TP +\fItoupper\fP +小文字から大文字への対応リストを指定する。各対応は小文字と大文字のペアを \fB,\fP で区切って括弧で括って指定する。 リストの各メンバーはセミコロンで区切る。 -.TP -.\"O .I tolower -.\"O followed by a list of mappings from uppercase to lowercase -.\"O letters. -.\"O If the keyword tolower is not present, the reverse of the -.\"O toupper list is used. -.I tolower -大文字から小文字への対応リストを指定する。tolower という -キーワードが無い場合には toupper を逆にしたものが使用される。 +.TP +\fItolower\fP +大文字から小文字への対応リストを指定する。tolower という キーワードが無い場合には toupper を逆にしたものが使用される。 .PP -.\"O The -.\"O .B LC_CTYPE -.\"O definition ends with the string -.\"O .IR "END LC_CYTPE" . -.B LC_CTYPE -の定義は -.I "END LC_CYTPE" -という文字列で終了する。 -.\"O .SS LC_COLLATE -.\"O The -.\"O .B LC_COLLATE -.\"O category defines the rules for collating characters. -.\"O Due to -.\"O limitations of libc not all POSIX-options are implemented. +\fBLC_CTYPE\fP の定義は \fIEND LC_CYTPE\fP という文字列で終了する。 .SS LC_COLLATE -.B LC_COLLATE -カテゴリは整列順序を定義している。libc による制限のため -POSIX オプションの全てが実装されているわけではない。 +\fBLC_COLLATE\fP カテゴリは整列順序を定義している。libc による制限のため POSIX オプションの全てが実装されているわけではない。 -.\"O The definition starts with the string -.\"O .B LC_COLLATE -.\"O in the first column. -このカテゴリの定義は最初のカラムに -.B LC_COLLATE -を置くことで始める。 +このカテゴリの定義は最初のカラムに \fBLC_COLLATE\fP を置くことで始める。 -.\"O There are the following keywords allowed: ここでは以下のキーワードが使用できる: -.TP -.I collating-element -.TP -.I collating-symbol +.TP +\fIcollating\-element\fP +.TP +\fIcollating\-symbol\fP .PP -.\"O The order-definition starts with a line: -.\"O .TP -.\"O .I order_start -.\"O .PP -.\"O followed by a list of keywords out of -.\"O .BR forward , -.\"O .BR backward , -.\"O or -.\"O .BR position . -.\"O The order definition consists of lines that describe the order -.\"O and is terminated with the keyword -.\"O .TP -.\"O .IR order_end . 順序の定義は以下の行で始める: -.TP -.I order_start +.TP +\fIorder_start\fP .PP -これに -.BR forward , -.BR backward , -.B position -のいずれかのキーワードが続く。 +これに \fBforward\fP, \fBbackward\fP, \fBposition\fP のいずれかのキーワードが続く。 順序を記述する行が続き、以下のキーワードで終る: -.TP -.I order_end +.TP +\fIorder_end\fP .PP -.\"O For more details see the sources in -.\"O .I /usr/lib/nls/src -.\"O notably the examples -.\"O .BR POSIX , -.\"O .B Example -.\"O and -.\"O .B Example2 -より詳しくは -.I /usr/lib/nls/src -にあるソース・ファイルを参照のこと。特に -.B POSIX -の例、 -.B Example -と -.B Example2 -を見るとよい。 +より詳しくは \fI/usr/lib/nls/src\fP にあるソース・ファイルを参照のこと。特に \fBPOSIX\fP の例、 \fBExample\fP と +\fBExample2\fP を見るとよい。 .PP -.\"O The -.\"O .B LC_COLLATE -.\"O definition ends with the string -.\"O .IR "END LC_COLLATE" . -.B LC_COLLATE -定義は -.I "END LC_COLLATE" -という文字列で終了する。 -.\"O .SS LC_MONETARY -.\"O The definition starts with the string -.\"O .B LC_MONETARY -.\"O in the first column. +\fBLC_COLLATE\fP 定義は \fIEND LC_COLLATE\fP という文字列で終了する。 .SS LC_MONETARY -.B LC_MONETARY -の定義は最初のカラムに -.B LC_MONETARY -を置くことで始める。 +\fBLC_MONETARY\fP の定義は最初のカラムに \fBLC_MONETARY\fP を置くことで始める。 -.\"O There are the following keywords allowed: -ここでは以下のキーワードを使うことができる: -.TP -.\"O .I int_curr_symbol -.\"O followed by the international currency symbol. -.\"O This must be a -.\"O 4-character string containing the international currency symbol as -.\"O defined by the ISO 4217 standard (three characters) followed by a -.\"O separator. -.I int_curr_symbol -国際通貨記号を指定する。これは ISO 4217 規格に定義された国際通貨 -記号 (3 文字) に区切り文字を続けた 4 文字である必要がある。 -.TP -.\"O .I currency_symbol -.\"O followed by the local currency symbol. -.I currency_symbol +ここでは以下のキーワードが使用できる: +.TP +\fIint_curr_symbol\fP +国際通貨記号を指定する。これは ISO 4217 規格に定義された国際通貨 記号 (3 文字) に区切り文字を続けた 4 文字である必要がある。 +.TP +\fIcurrency_symbol\fP 地域的な通貨記号を指定する。 -.TP -.\"O .I mon_decimal_point -.\"O followed by the string that will be used as the decimal delimiter -.\"O when formatting monetary quantities. -.I mon_decimal_point +.TP +\fImon_decimal_point\fP 金額をフォーマットする際の小数点に使用する文字列を指定する。 -.TP -.\"O .I mon_thousands_sep -.\"O followed by the string that will be used as a group separator -.\"O when formatting monetary quantities. -.I mon_thousands_sep +.TP +\fImon_thousands_sep\fP 金額をフォーマットする際に桁の区切りに使用する文字列を指定する。 -.TP -.\"O .I mon_grouping -.\"O followed by a string that describes the formatting of numeric -.\"O quantities. -.I mon_grouping -数字をフォーマットをする際に何桁ごとに区切るかを指定する。 -.TP -.\"O .I positive_sign -.\"O followed by a string that is used to indicate a positive sign for -.\"O monetary quantities. -.I positive_sign +.TP +\fImon_grouping\fP +数字をフォーマットする際に何桁ごとに区切るかを指定する。 +.TP +\fIpositive_sign\fP 数値において正の符号に使用する文字列を指定する。 -.TP -.\"O .I negative_sign -.\"O followed by a string that is used to indicate a negative sign for -.\"O monetary quantities. -.I negative_sign +.TP +\fInegative_sign\fP 数値において負の符号に使用する文字列を指定する。 -.TP -.\"O .I int_frac_digits -.\"O followed by the number of fractional digits that should be used when -.\"O formatting with the -.\"O .BR int_curr_symbol . -.I int_frac_digits -.B int_curr_symbol -でフォーマットする時に使用すべき端数の桁数を指定する。 -.TP -.\"O .I frac_digits -.\"O followed by the number of fractional digits that should be used when -.\"O formatting with the -.\"O .BR currency_symbol . -.I frac_digits -.B currency_symbol -でフォーマットする際に使用すべき端数の桁数を指定する。 -.TP -.\"O .I p_cs_precedes -.\"O followed by an integer set to -.\"O .B 1 -.\"O if the -.\"O .I currency_symbol -.\"O or -.\"O .I int_curr_symbol -.\"O should precede the formatted monetary quantity or set to -.\"O .B 0 -.\"O if the symbol succeeds the value. -.I p_cs_precedes -.I currency_symbol -または -.I int_curr_symbol -をフォーマットした金額の前に付ける場合には -.B 1 -を、後ろに付ける場合には -.B 0 -を指定する。 -.TP -.\"O .I p_sep_by_space -.\"O followed by an integer. -.\"O .RS -.\"O .TP -.\"O .B 0 -.\"O means that no space should be printed between the symbol and the -.\"O value. -.\"O .TP -.\"O .B 1 -.\"O means that a space should be printed between the symbol and the -.\"O value. -.\"O .TP -.\"O .B 2 -.\"O means that a space should be printed between the symbol and the -.\"O sign string, if adjacent. -.\"O .RE -.I p_sep_by_space +.TP +\fIint_frac_digits\fP +\fBint_curr_symbol\fP でフォーマットする時に使用すべき端数の桁数を指定する。 +.TP +\fIfrac_digits\fP +\fBcurrency_symbol\fP でフォーマットする際に使用すべき端数の桁数を指定する。 +.TP +\fIp_cs_precedes\fP +\fIcurrency_symbol\fP または \fIint_curr_symbol\fP をフォーマットした金額の前に付ける場合には \fB1\fP +を、後ろに付ける場合には \fB0\fP を指定する。 +.TP +\fIp_sep_by_space\fP 以下の整数のいずれかを指定する。 .RS -.TP -.B 0 +.TP +\fB0\fP 記号と数値の間に空白を入れない。 -.TP -.B 1 +.TP +\fB1\fP 記号と数値の間に空白を入れる。 -.TP -.B 2 +.TP +\fB2\fP 記号と数値が隣接していれば間に空白を入れる。 .RE -.TP -.\"O .I n_cs_precedes -.\"O .RS -.\"O .TP -.\"O .B 0 -.\"O - the symbol succeeds the value. -.\"O .TP -.\"O .B 1 -.\"O - the symbol precedes the value. -.\"O .RE -.I n_cs_precedes -.RS -.TP -.B 0 -- 記号は数値の後におく。 -.TP -.B 1 -- 記号は数値の前におく。 -.RE -.TP -.\"O .I n_sep_by_space -.\"O An integer set to -.\"O .B 0 -.\"O if no space separates the -.\"O .I currency_symbol -.\"O or -.\"O .I int_curr_symbol -.\"O from the value for a negative monetary quantity, set to -.\"O .B 1 -.\"O if a space separates the symbol from the value and set to -.\"O .B 2 -.\"O if a space separates the symbol and the sign string, if adjacent. -.I n_sep_by_space -以下の整数のいずれかを指定する。 +.TP +\fIn_cs_precedes\fP .RS -.TP -.B 0 -.I currency_symbol -または -.I int_curr_symbol -と負の金額との間に空白を入れない。 -.TP -.B 1 -負の数値と記号の間に空白を入れる。 -.TP -.B 2 -隣接していた場合にのみ空白を入れる。 +.TP +\fB0\fP +\- 記号は数値の後におく。 +.TP +\fB1\fP +\- 記号は数値の前におく。 .RE -.TP -.I p_sign_posn +.TP +\fIn_sep_by_space\fP +以下の整数のいずれかを指定する。 \fB0\fP は \fIcurrency_symbol\fP または \fIint_curr_symbol\fP +と負の金額との間に空白を入れないことを、 \fB1\fP は負の数値と記号の間に空白を入れることを、 \fB2\fP +は隣接していた場合にのみ空白を入れることを意味する。 +.TP +\fIp_sign_posn\fP .RS -.TP -.\"O .B 0 -.\"O Parentheses enclose the quantity and the -.\"O .I currency_symbol -.\"O or -.\"O .IR int_curr_symbol . -.B 0 -値と -.I currency_symbol -または -.I int_curr_symbol -を括弧で括る。 -.TP -.\"O .B 1 -.\"O The sign string precedes the quantity and the -.\"O .I currency_symbol -.\"O or the -.\"O .IR int_curr_symbol . -.B 1 -符号を値と -.I currency_symbol -または -.I int_curr_symbol -の前に置く。 -.TP -.\"O .B 2 -.\"O The sign string succeeds the quantity and the -.\"O .I currency_symbol -.\"O or the -.\"O .IR int_curr_symbol . -.B 2 -符号を値と -.I currency_symbol -または -.I int_curr_symbol -の後に置く。 -.TP -.\"O .B 3 -.\"O The sign string precedes the -.\"O .I currency_symbol -.\"O or the -.\"O .IR int_curr_symbol . -.B 3 -符号を -.I currency_symbol -または -.I int_curr_symbol -の前に置く。 -.TP -.\"O .B 4 -.\"O The sign string succeeds the -.\"O .I currency_symbol -.\"O or the -.\"O .IR int_curr_symbol . -.B 4 -符号を -.I currency_symbol -または -.I int_curr_symbol -の後に置く。 +.TP +\fB0\fP +値と \fIcurrency_symbol\fP または \fIint_curr_symbol\fP を括弧で括る。 +.TP +\fB1\fP +符号を値と \fIcurrency_symbol\fP または \fIint_curr_symbol\fP の前に置く。 +.TP +\fB2\fP +符号を値と \fIcurrency_symbol\fP または \fIint_curr_symbol\fP の後に置く。 +.TP +\fB3\fP +符号を \fIcurrency_symbol\fP または \fIint_curr_symbol\fP の前に置く。 +.TP +\fB4\fP +符号を \fIcurrency_symbol\fP または \fIint_curr_symbol\fP の後に置く。 .RE -.TP -.I n_sign_posn +.TP +\fIn_sign_posn\fP .RS -.TP -.\"O .B 0 -.\"O Parentheses enclose the quantity and the -.\"O .I currency_symbol -.\"O or -.\"O .IR int_curr_symbol . -.B 0 -値と -.I currency_symbol -または -.I int_curr_symbol -を括弧で括る。 -.TP -.\"O .B 1 -.\"O The sign string precedes the quantity and the -.\"O .I currency_symbol -.\"O or the -.\"O .IR int_curr_symbol . -.B 1 -符号を値と -.I currency_symbol -または -.I int_curr_symbol -の前に置く。 -.TP -.\"O .B 2 -.\"O The sign string succeeds the quantity and the -.\"O .I currency_symbol -.\"O or the -.\"O .IR int_curr_symbol . -.B 2 -符号を値と -.I currency_symbol -または -.I int_curr_symbol -の後に置く。 -.TP -.\"O .B 3 -.\"O The sign string precedes the -.\"O .I currency_symbol -.\"O or the -.\"O .IR int_curr_symbol . -.B 3 -符号を -.I currency_symbol -または -.I int_curr_symbol -の前に置く。 -.TP -.\"O .B 4 -.\"O The sign string succeeds the -.\"O .I currency_symbol -.\"O or the -.\"O .IR int_curr_symbol . -.B 4 -符号を -.I currency_symbol -または -.I int_curr_symbol -の後に置く。 +.TP +\fB0\fP +値と \fIcurrency_symbol\fP または \fIint_curr_symbol\fP を括弧で括る。 +.TP +\fB1\fP +符号を値と \fIcurrency_symbol\fP または \fIint_curr_symbol\fP の前に置く。 +.TP +\fB2\fP +符号を値と \fIcurrency_symbol\fP または \fIint_curr_symbol\fP の後に置く。 +.TP +\fB3\fP +符号を \fIcurrency_symbol\fP または \fIint_curr_symbol\fP の前に置く。 +.TP +\fB4\fP +符号を \fIcurrency_symbol\fP または \fIint_curr_symbol\fP の後に置く。 .RE .PP -.\"O The -.\"O .B LC_MONETARY -.\"O definition ends with the string -.\"O .IR "END LC_MONETARY" . -.B LC_MONETARY -の定義は -.I "END LC_MONETARY" -という文字列で終了する。 -.\"O .SS LC_NUMERIC -.\"O The definition starts with the string -.\"O .B LC_NUMERIC -.\"O in the first column. +\fBLC_MONETARY\fP の定義は \fIEND LC_MONETARY\fP という文字列で終了する。 .SS LC_NUMERIC -このカテゴリの定義は最初のカラムに -.B LC_NUMERIC -という文字列を置くことで始める。 +このカテゴリの定義は最初のカラムに \fBLC_NUMERIC\fP という文字列を置くことで始める。 -.\"O The following keywords are allowed: -ここでは以下のキーワードを使用できる: -.TP -.\"O .I decimal_point -.\"O followed by the string that will be used as the decimal delimiter -.\"O when formatting numeric quantities. -.I decimal_point +ここでは以下のキーワードが使用できる: +.TP +\fIdecimal_point\fP 数値をフォーマットする際に小数点に使用する文字列を指定する。 -.TP -.\"O .I thousands_sep -.\"O followed by the string that will be used as a group separator -.\"O when formatting numeric quantities. -.I thousands_sep +.TP +\fIthousands_sep\fP 数値をフォーマットする際に桁の区切りに使用する文字列を指定する。 -.TP -.\"O .I grouping -.\"O followed by a string that describes the formatting of numeric -.\"O quantities. -.I grouping -数値をフォーマットする際に何桁ごとに区切るかを文字列で指定する。 +.TP +\fIgrouping\fP +数字をフォーマットする際に何桁ごとに区切るかを指定する。 .PP -.\"O The -.\"O .B LC_NUMERIC -.\"O definition ends with the string -.\"O .IR "END LC_NUMERIC" . -The -.B LC_NUMERIC -の定義は -.I "END LC_NUMERIC" -という文字列で終了する。 -.\"O .SS LC_TIME -.\"O The definition starts with the string -.\"O .B LC_TIME -.\"O in the first column. +The \fBLC_NUMERIC\fP の定義は \fIEND LC_NUMERIC\fP という文字列で終了する。 .SS LC_TIME -このカテゴリの定義は最初のカラムに -.B LC_TIME -という文字列を置くことで始める。 +このカテゴリの定義は最初のカラムに \fBLC_TIME\fP という文字列を置くことで始める。 -.\"O The following keywords are allowed: ここでは以下のキーワードが使用できる: -.TP -.\"O .I abday -.\"O followed by a list of abbreviated weekday names. -.\"O The list starts with the first day of the week -.\"O as specified by -.\"O .I week -.\"O (Sunday by default). -.I abday -曜日の名前の省略形のリストを指定する。 -リストは -.I week -で指定された週の開始曜日 (デフォルトでは日曜日) から始める。 -.TP -.\"O .I day -.\"O followed by a list of weekday names. -.\"O The list starts with the first day of the week -.\"O as specified by -.\"O .I week -.\"O (Sunday by default). -.I day -曜日の名前のリストを指定する。 -リストは -.I week -で指定された週の開始曜日 (デフォルトでは日曜日) から始める。 -.TP -.\"O .I abmon -.\"O followed by a list of abbreviated month names. -.I abmon +.TP +\fIabday\fP +曜日の名前の省略形のリストを指定する。 リストは \fIweek\fP で指定された週の開始曜日 (デフォルトでは日曜日) から始める。 +.TP +\fIday\fP +曜日の名前のリストを指定する。 リストは \fIweek\fP で指定された週の開始曜日 (デフォルトでは日曜日) から始める。 +.TP +\fIabmon\fP 月の名前の省略形のリストを指定する。 -.TP -.\"O .I mon -.\"O followed by a list of month names. -.I mon +.TP +\fImon\fP 月の名前のリストを指定する。 -.TP -.\"O .I am_pm -.\"O The appropriate representation of the -.\"O .B am -.\"O and -.\"O .B pm -.\"O strings. -.I am_pm -それぞれ -.B "午前 (am)" -と -.B "午後 (pm)" -に対応する文字列を指定する。 -.TP -.\"O .I d_t_fmt -.\"O The appropriate date and time format. -.I d_t_fmt +.TP +\fIam_pm\fP +それぞれ \fB午前 (am)\fP と \fB午後 (pm)\fP に対応する文字列を指定する。 +.TP +\fId_t_fmt\fP 適切な日付け (date) と時刻 (time) のフォーマットを指定する。 -.TP -.\"O .I d_fmt -.\"O The appropriate date format. -.I d_fmt +.TP +\fId_fmt\fP 適切な日付け (date) のフォーマットを指定する。 -.TP -.\"O .I t_fmt -.\"O The appropriate time format. -.I t_fmt +.TP +\fIt_fmt\fP 適切な時刻 (time) のフォーマットを指定する。 -.TP -.\"O .I t_fmt_ampm -.\"O The appropriate time format when using 12h clock format. -.I t_fmt_ampm +.TP +\fIt_fmt_ampm\fP 12 時間方式を使用した時刻のフォーマットを指定する。 -.TP -.I week -.\"O followed by a list of three values: -.\"O The number of days in a week (by default 7), -.\"O a date of beginning of the week (by default corresponds to Sunday), -.\"O and the minimal length of the first week in year (by default 4). -3 つの値からなるリストを指定する。 -リストは、一週間の日数 (デフォルトでは 7)、 -週の開始曜日 (デフォルトでは日曜に対応)、 -一年の最初の週の最小の長さ (デフォルトでは 4) から構成される。 -.\"O Regarding the start of the week, -.\"O .B 19971130 -.\"O shall be used for Sunday and -.\"O .B 19971201 -.\"O shall be used for Monday. -.\"O Thus, countries using -.\"O .B 19971130 -.\"O should have local Sunday name as the first day in the -.\"O .I day -.\"O list, -.\"O while countries using -.\"O .B 19971201 -.\"O should have Monday translation as the first item in the -.\"O .I day -.\"O list. -週の開始曜日については、週の開始日が日曜日の場合には -.B 19971130 -を、月曜日の場合には -.B 19971201 -を使用する。したがって、 -.I day -リストの最初の日として、 -.B 19971130 -を使う国ではその地域の日曜日の名前を、 -.B 19971201 -を使う国ではその地域の月曜日の名前を設定すべきである。 -.TP -.\"O .IR first_weekday " (since glibc 2.2)" -.IR first_weekday " (glibc 2.2 以降)" -.\"O Number of the first day from the -.\"O .I day -.\"O list to be shown in calendar applications. -.\"O The default value of -.\"O .B 1 -.\"O corresponds to either Sunday or Monday depending -.\"O on the value of the second -.\"O .I week -.\"O list item. -カレンダーアプリケーションで最初に表示する曜日の -.I day -リストにおける番号。 -デフォルト値の 1 は日曜日か月曜日に対応する。 -どちらに対応するかは -.I week -リストの二番目の項目の値で決まる。 -.TP -.\"O .IR first_workday " (since glibc 2.2)" -.IR first_workday " (glibc 2.2 以降)" -.\"O Number of the first working day from the -.\"O .I day -.\"O list. -最初の就業日を示す -.I day -リストにおける曜日の番号。 +.TP +\fIweek\fP +3 つの値からなるリストを指定する。 リストは、一週間の日数 (デフォルトでは 7)、 週の開始曜日 (デフォルトでは日曜に対応)、 +一年の最初の週の最小の長さ (デフォルトでは 4) から構成される。 週の開始曜日については、週の開始日が日曜日の場合には \fB19971130\fP +を、月曜日の場合には \fB19971201\fP を使用する。したがって、 \fIday\fP リストの最初の日として、 \fB19971130\fP +を使う国ではその地域の日曜日の名前を、 \fB19971201\fP を使う国ではその地域の月曜日の名前を設定すべきである。 +.TP +\fIfirst_weekday\fP (glibc 2.2 以降) +カレンダーアプリケーションで最初に表示する曜日の \fIday\fP リストにおける番号。 デフォルト値の 1 は日曜日か月曜日に対応する。 +どちらに対応するかは \fIweek\fP リストの二番目の項目の値で決まる。 +.TP +\fIfirst_workday\fP (glibc 2.2 以降) +最初の就業日を示す \fIday\fP リストにおける曜日の番号。 .PP -.\"O The -.\"O .B LC_TIME -.\"O definition ends with the string -.\"O .IR "END LC_TIME" . -.B LC_TIME -の定義は -.I "END LC_TIME" -という文字列で終了する。 -.\"O .SS LC_MESSAGES -.\"O The definition starts with the string -.\"O .B LC_MESSAGES -.\"O in the first column. +\fBLC_TIME\fP の定義は \fIEND LC_TIME\fP という文字列で終了する。 .SS LC_MESSAGES -このカテゴリの定義は最初のカラムに -.B LC_MESSAGES -という文字列を置くことで始める。 +このカテゴリの定義は最初のカラムに \fBLC_MESSAGES\fP という文字列を置くことで始める。 -.\"O The following keywords are allowed: ここでは以下のキーワードが使用できる: -.TP -.\"O .I yesexpr -.\"O followed by a regular expression that describes possible -.\"O yes-responses. -.\"O .TP -.\"O .I noexpr -.\"O followed by a regular expression that describes possible -.\"O no-responses. -.I yesexpr +.TP +\fIyesexpr\fP 「はい (yes)」を意味する正規表現を指定する。 -.TP -.I noexpr +.TP +\fInoexpr\fP 「いいえ (no)」を意味する正規表現を指定する。 .PP -.\"O The -.\"O .B LC_MESSAGES -.\"O definition ends with the string -.\"O .IR "END LC_MESSAGES" . -.B LC_MESSAGES -の定義は -.I "END LC_MESSAGES" -という文字列で終了する。 +\fBLC_MESSAGES\fP の定義は \fIEND LC_MESSAGES\fP という文字列で終了する。 -.\"O See the POSIX.2 standard for details. より詳しくは POSIX.2 規格を参照のこと。 -.\"O .SH FILES .SH ファイル -.\"O /usr/lib/locale/ -.\"O \(em database for the current locale setting of that category -.\"O .br -.\"O /usr/lib/nls/charmap/* \(em charmap-files -/usr/lib/locale/ -\(em 現在のロケール設定のデータベース +/usr/lib/locale/ \(em 現在のロケール設定のデータベース .br /usr/lib/nls/charmap/* \(em 文字定義ファイル -.\"O .SH "CONFORMING TO" -.\"O POSIX.2 .SH 準拠 POSIX.2, ISO/IEC 14652. -.\"O .SH BUGS -.\"O This manual page isn't complete. .SH バグ -このマニュアルは完全ではない。 -.\"O .\" .SH AUTHOR -.\"O .\" Jochen Hein (Hein@Student.TU-Clausthal.de) -.\" .SH 著者 +.\" .SH AUTHOR .\" Jochen Hein (Hein@Student.TU-Clausthal.de) -.\"O .SH "SEE ALSO" +このマニュアルは完全ではない。 .SH 関連項目 -.BR locale (1), -.BR localedef (1) -.BR localeconv (3), -.BR setlocale (3), -.BR charmap (5), +\fBlocale\fP(1), \fBlocaledef\fP(1) \fBlocaleconv\fP(3), \fBsetlocale\fP(3), +\fBcharmap\fP(5),