@@ -102,41 +102,38 @@ impl Show for Packed<AlignElem> {
102102    } 
103103} 
104104
105- /// Where to  [align] something along an axis.  
105+ /// 軸に沿って何かを [align]する位置。  
106106/// 
107- /// Possible values are: 
108- /// - `start`: Aligns at the [start]($direction.start) of the [text 
109- ///   direction]($text.dir). 
110- /// - `end`: Aligns at the [end]($direction.end) of the [text 
111- ///   direction]($text.dir). 
112- /// - `left`: Align at the left. 
113- /// - `center`: Aligns in the middle, horizontally. 
114- /// - `right`: Aligns at the right. 
115- /// - `top`: Aligns at the top. 
116- /// - `horizon`: Aligns in the middle, vertically. 
117- /// - `bottom`: Align at the bottom. 
107+ /// 取りうる値は以下の通りです。 
108+ /// - `start`: [テキストの向き]($text.dir)の[始点]($direction.start)に配置。 
109+ /// - `end`: [テキストの向き]($text.dir)の[終点]($direction.end)に配置。 
110+ /// - `left`: 左側に配置。 
111+ /// - `center`: 水平方向の中央に配置。 
112+ /// - `right`: 右側に配置。 
113+ /// - `top`: 上側に配置。 
114+ /// - `horizon`: 垂直方向の中央に配置。 
115+ /// - `bottom`: 下側に配置。 
118116/// 
119- /// These values are available globally and also in the alignment type's scope,  
120- /// so you can write either of the following two:  
117+ /// これらの値はグローバルスコープでも、alignment型のスコープでも用いることができます。  
118+ /// したがって、以下の2つのどちらでも書くことができます。  
121119/// 
122120/// ```example 
123121/// #align(center)[Hi] 
124122/// #align(alignment.center)[Hi] 
125123/// ``` 
126124/// 
127- /// # 2D alignments 
128- /// To align along both axes at the same time, add the two alignments using the 
129- /// `+` operator. For example, `top + right` aligns the content to the top right 
130- /// corner. 
125+ /// # 2次元配置 
126+ /// 両方の軸に沿った配置を同時に行うには、`+`演算子を用いて2種類の配置を足し合わせます。 
127+ /// 例えば、`top + right`はコンテンツを右上隅に配置します。 
131128/// 
132129/// ```example 
133130/// #set page(height: 3cm) 
134131/// #align(center + bottom)[Hi] 
135132/// ``` 
136133/// 
137- /// # Fields  
138- /// The  `x` and  `y` fields hold the  alignment's horizontal and vertical  
139- /// components, respectively (as yet another `alignment`). They may be ` {none}`.  
134+ /// # フィールド  
135+ /// `x`、 `y`フィールドには、それぞれ配置の水平成分と垂直成分が(別の` alignment`として)保持されます。  
136+ /// これらは` {none}`になる可能性があります。  
140137/// 
141138/// ```example 
142139/// #(top + right).x \ 
@@ -188,10 +185,10 @@ impl Alignment {
188185    pub  const  HORIZON :  Self  = Alignment :: V ( VAlignment :: Horizon ) ; 
189186    pub  const  BOTTOM :  Self  = Alignment :: V ( VAlignment :: Bottom ) ; 
190187
191-     /// The axis this alignment belongs to.  
192-      /// - `{"horizontal"}` for  `start`,  `left`,  `center`,  `right`, and  `end` 
193-      /// - `{"vertical"}` for ` top`,  `horizon`, and  `bottom` 
194-      /// - `{none}` for 2-dimensional alignments  
188+     /// このalignmentが属する軸。  
189+      /// -   `start`、 `left`、 `center`、 `right`および `end`の場合は`{"horizontal"} ` 
190+      /// - `top`、 `horizon`および `bottom`の場合は`{"vertical"} ` 
191+      /// - 2次元配置の場合は `{none}` 
195192     /// 
196193     /// ```example 
197194     /// #left.axis() \ 
@@ -206,7 +203,7 @@ impl Alignment {
206203        } 
207204    } 
208205
209-     /// The inverse alignment.  
206+     /// 逆の配置。  
210207     /// 
211208     /// ```example 
212209     /// #top.inv() \ 
0 commit comments