diff --git a/crates/typst-library/src/layout/place.rs b/crates/typst-library/src/layout/place.rs index bedeb5076d..f67edede9f 100644 --- a/crates/typst-library/src/layout/place.rs +++ b/crates/typst-library/src/layout/place.rs @@ -177,10 +177,10 @@ impl PlaceElem { /// Relative to which containing scope something shall be placed. #[derive(Debug, Default, Copy, Clone, Eq, PartialEq, Hash, Cast)] pub enum PlacementScope { - /// Place into the current column. + /// 現在の列に配置する。 #[default] Column, - /// Place relative to the parent, letting the content span over all columns. + /// 親要素に対して相対的な位置に配置され、コンテンツがすべての列にまたがって表示されます。 Parent, } diff --git a/crates/typst-library/src/model/figure.rs b/crates/typst-library/src/model/figure.rs index 2a3b21cb7a..9421481aa6 100644 --- a/crates/typst-library/src/model/figure.rs +++ b/crates/typst-library/src/model/figure.rs @@ -98,7 +98,7 @@ use crate::visualize::ImageElem; /// ``` #[elem(scope, Locatable, Synthesize, Count, Show, ShowSet, Refable, Outlinable)] pub struct FigureElem { - /// The content of the figure. Often, an [image]. + /// 図表の内容。多くの場合、 [image] が使われます。 #[required] pub body: Content,