Skip to content

Commit 1a6dfb1

Browse files
committed
/docs/reference/math/stretchの翻訳
1 parent c8ba304 commit 1a6dfb1

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

crates/typst-library/src/math/attach.rs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,12 @@ pub struct LimitsElem {
129129
pub inline: bool,
130130
}
131131

132-
/// Stretches a glyph.
132+
/// 字形を伸縮します。
133133
///
134-
/// This function can also be used to automatically stretch the base of an
135-
/// attachment, so that it fits the top and bottom attachments.
134+
/// この関数は、上部及び下部アタッチメントがフィットするように、自動的にアタッチメントのベースを伸縮させることにも使えます。
136135
///
137-
/// Note that only some glyphs can be stretched, and which ones can depend on
138-
/// the math font being used. However, most math fonts are the same in this
139-
/// regard.
136+
/// 伸縮可能な字形は限られており、どの字形が伸縮可能かは使用する数式フォントに依存することに注意してください。
137+
/// しかしながら、この点に関してほとんどの数式フォントに違いはありません。
140138
///
141139
/// ```example
142140
/// $ H stretch(=)^"define" U + p V $
@@ -146,12 +144,11 @@ pub struct LimitsElem {
146144
/// ```
147145
#[elem(Mathy)]
148146
pub struct StretchElem {
149-
/// The glyph to stretch.
147+
/// 伸縮させる字形。
150148
#[required]
151149
pub body: Content,
152150

153-
/// The size to stretch to, relative to the maximum size of the glyph and
154-
/// its attachments.
151+
/// 字形およびそのアタッチメントを基準とした伸縮の大きさ。
155152
#[resolve]
156153
#[default(Rel::one())]
157154
pub size: Rel<Length>,

website/translation-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"/docs/reference/math/primes/": "untranslated",
9292
"/docs/reference/math/roots/": "translated",
9393
"/docs/reference/math/sizes/": "untranslated",
94-
"/docs/reference/math/stretch/": "untranslated",
94+
"/docs/reference/math/stretch/": "translated",
9595
"/docs/reference/math/styles/": "untranslated",
9696
"/docs/reference/math/op/": "untranslated",
9797
"/docs/reference/math/underover/": "untranslated",

0 commit comments

Comments
 (0)