Skip to content

Commit e902d5f

Browse files
authored
/docs/reference/math/stretchの翻訳 (#243)
1 parent b6f8202 commit e902d5f

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
@@ -124,14 +124,12 @@ pub struct LimitsElem {
124124
pub inline: bool,
125125
}
126126

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

148-
/// The size to stretch to, relative to the maximum size of the glyph and
149-
/// its attachments.
146+
/// 字形およびそのアタッチメントを基準とした伸縮の大きさ。
150147
#[resolve]
151148
#[default(Rel::one())]
152149
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/": "translated",
9292
"/docs/reference/math/roots/": "translated",
9393
"/docs/reference/math/sizes/": "translated",
94-
"/docs/reference/math/stretch/": "untranslated",
94+
"/docs/reference/math/stretch/": "translated",
9595
"/docs/reference/math/styles/": "untranslated",
9696
"/docs/reference/math/op/": "translated",
9797
"/docs/reference/math/underover/": "untranslated",

0 commit comments

Comments
 (0)