Skip to content

Commit 67e4c6e

Browse files
ultimatile3w36zj6
andauthored
/docs/reference/math/opの翻訳 (#245)
Co-authored-by: 3w36zj6 <[email protected]>
1 parent 1a1e5c7 commit 67e4c6e

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

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

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,25 @@ use crate::layout::HElem;
55
use crate::math::{upright, Mathy, THIN};
66
use crate::text::TextElem;
77

8-
/// A text operator in an equation.
8+
/// 数式中のテキスト演算子。
99
///
10-
/// # Example
10+
/// #
1111
/// ```example
1212
/// $ tan x = (sin x)/(cos x) $
1313
/// $ op("custom",
1414
/// limits: #true)_(n->oo) n $
1515
/// ```
1616
///
17-
/// # Predefined Operators { #predefined }
18-
/// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`, `cos`,
19-
/// `cosh`, `cot`, `coth`, `csc`, `csch`, `ctg`, `deg`, `det`, `dim`, `exp`,
20-
/// `gcd`, `lcm`, `hom`, `id`, `im`, `inf`, `ker`, `lg`, `lim`, `liminf`,
21-
/// `limsup`, `ln`, `log`, `max`, `min`, `mod`, `Pr`, `sec`, `sech`, `sin`,
22-
/// `sinc`, `sinh`, `sup`, `tan`, `tanh`, `tg` and `tr`.
17+
/// # 定義済み演算子 { #predefined }
18+
/// Typstではあらかじめ以下の演算子が定義されています。
19+
/// `arccos`、`arcsin`、`arctan`、`arg`、`cos`、`cosh`、`cot`、`coth`、`csc`、`csch`、`ctg`、`deg`、`det`、`dim`、`exp`、`gcd`、`lcm`、`hom`、`id`、`im`、`inf`、`ker`、`lg`、`lim`、`liminf`、`limsup`、`ln`、`log`、`max`、`min`、`mod`、`Pr`、`sec`、`sech`、`sin`、`sinc`、`sinh`、`sup`、`tan`、`tanh`、`tg`、`tr`。
2320
#[elem(title = "Text Operator", Mathy)]
2421
pub struct OpElem {
25-
/// The operator's text.
22+
/// 演算子のテキスト。
2623
#[required]
2724
pub text: Content,
2825

29-
/// Whether the operator should show attachments as limits in display mode.
26+
/// ディスプレイモードのときに演算子のアタッチメントをlimitsのように表示するかどうか。
3027
#[default(false)]
3128
pub limits: bool,
3229
}

website/translation-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"/docs/reference/math/sizes/": "translated",
9494
"/docs/reference/math/stretch/": "untranslated",
9595
"/docs/reference/math/styles/": "untranslated",
96-
"/docs/reference/math/op/": "untranslated",
96+
"/docs/reference/math/op/": "translated",
9797
"/docs/reference/math/underover/": "untranslated",
9898
"/docs/reference/math/variants/": "untranslated",
9999
"/docs/reference/math/vec/": "untranslated",

0 commit comments

Comments
 (0)