Skip to content

Commit fbef551

Browse files
committed
/docs/reference/layout/moveの翻訳
1 parent 896869a commit fbef551

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

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

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ use crate::layout::{
77
Abs, Alignment, Angle, BlockElem, HAlignment, Length, Ratio, Rel, VAlignment,
88
};
99

10-
/// Moves content without affecting layout.
10+
/// レイアウトに影響を与えないコンテンツの移動。
1111
///
12-
/// The `move` function allows you to move content while the layout still 'sees'
13-
/// it at the original positions. Containers will still be sized as if the
14-
/// content was not moved.
12+
/// `move`関数を用いると、コンテンツの元々の位置をレイアウトに「認識」させながら、そのコンテンツを移動させることができます。
13+
/// コンテナの大きさは、コンテンツが移動されていないかのように決定されます。
1514
///
16-
/// # Example
15+
/// #
1716
/// ```example
1817
/// #rect(inset: 0pt, move(
1918
/// dx: 6pt, dy: 6pt,
@@ -27,13 +26,13 @@ use crate::layout::{
2726
/// ```
2827
#[elem(Show)]
2928
pub struct MoveElem {
30-
/// The horizontal displacement of the content.
29+
/// コンテンツの水平方向の変位。
3130
pub dx: Rel<Length>,
3231

33-
/// The vertical displacement of the content.
32+
/// コンテンツの垂直方向の変位。
3433
pub dy: Rel<Length>,
3534

36-
/// The content to move.
35+
/// 移動させたいコンテンツ。
3736
#[required]
3837
pub body: Content,
3938
}

website/translation-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"/docs/reference/layout/layout/": "translated",
116116
"/docs/reference/layout/length/": "translated",
117117
"/docs/reference/layout/measure/": "untranslated",
118-
"/docs/reference/layout/move/": "untranslated",
118+
"/docs/reference/layout/move/": "translated",
119119
"/docs/reference/layout/pad/": "translated",
120120
"/docs/reference/layout/page/": "untranslated",
121121
"/docs/reference/layout/pagebreak/": "untranslated",

0 commit comments

Comments
 (0)