Skip to content

Commit a5b4a2d

Browse files
committed
Add: translation of figure
Signed-off-by: Shunsuke Kimura <[email protected]>
1 parent 9815bf7 commit a5b4a2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,10 @@ impl PlaceElem {
177177
/// Relative to which containing scope something shall be placed.
178178
#[derive(Debug, Default, Copy, Clone, Eq, PartialEq, Hash, Cast)]
179179
pub enum PlacementScope {
180-
/// Place into the current column.
180+
/// 現在の列に配置する。
181181
#[default]
182182
Column,
183-
/// Place relative to the parent, letting the content span over all columns.
183+
/// 親要素に対して相対的な位置に配置され、コンテンツがすべての列にまたがって表示されます。
184184
Parent,
185185
}
186186

crates/typst-library/src/model/figure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ use crate::visualize::ImageElem;
9898
/// ```
9999
#[elem(scope, Locatable, Synthesize, Count, Show, ShowSet, Refable, Outlinable)]
100100
pub struct FigureElem {
101-
/// The content of the figure. Often, an [image].
101+
/// 図表の内容。多くの場合、 [image] が使われます。
102102
#[required]
103103
pub body: Content,
104104

0 commit comments

Comments
 (0)