Skip to content

Commit 340f632

Browse files
committed
/docs/reference/layout/vの翻訳
1 parent c646bf6 commit 340f632

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

crates/typst-library/src/layout/spacing.rs

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,12 @@ impl HElem {
6363
}
6464
}
6565

66-
/// Inserts vertical spacing into a flow of blocks.
66+
/// ブロックの流れに垂直方向の間隔を挿入。
6767
///
68-
/// The spacing can be absolute, relative, or fractional. In the last case,
69-
/// the remaining space on the page is distributed among all fractional spacings
70-
/// according to their relative fractions.
68+
/// 間隔の大きさは絶対的な値、相対的な値、または比率で指定できます。
69+
/// 比率指定の場合は、比率指定されたそれぞれの間隔に、ページの残りの間隔がその相対比率に応じて配分されます。
7170
///
72-
/// # Example
71+
/// #
7372
/// ```example
7473
/// #grid(
7574
/// rows: 3cm,
@@ -85,14 +84,13 @@ impl HElem {
8584
/// ```
8685
#[elem(title = "Spacing (V)")]
8786
pub struct VElem {
88-
/// How much spacing to insert.
87+
/// 挿入する間隔の大きさ。
8988
#[required]
9089
pub amount: Spacing,
9190

92-
/// If `{true}`, the spacing collapses at the start or end of a flow.
93-
/// Moreover, from multiple adjacent weak spacings all but the largest one
94-
/// collapse. Weak spacings will always collapse adjacent paragraph spacing,
95-
/// even if the paragraph spacing is larger.
91+
/// `{true}`の場合、流れの始まりと終わりの空白は削除されます。
92+
/// さらに、弱い間隔が隣接していると最大のもの以外は削除されます。
93+
/// たとえ段落間隔の方が大きかったとしても、弱い間隔に隣接する段落間隔は常に削除されます。
9694
///
9795
/// ```example
9896
/// The following theorem is

website/translation-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@
126126
"/docs/reference/layout/rotate/": "untranslated",
127127
"/docs/reference/layout/scale/": "untranslated",
128128
"/docs/reference/layout/skew/": "untranslated",
129-
"/docs/reference/layout/v/": "untranslated",
130129
"/docs/reference/layout/h/": "translated",
130+
"/docs/reference/layout/v/": "translated",
131131
"/docs/reference/layout/stack/": "translated",
132132
"/docs/reference/visualize/": "untranslated",
133133
"/docs/reference/visualize/circle/": "untranslated",

0 commit comments

Comments
 (0)