Skip to content

Commit 3ac574a

Browse files
committed
docs/reference/layout/angleの翻訳
1 parent 9c7cb23 commit 3ac574a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ use typst_utils::{Numeric, Scalar};
88

99
use crate::foundations::{func, repr, scope, ty, Repr};
1010

11-
/// An angle describing a rotation.
11+
/// 回転を記述する角度。
1212
///
13-
/// Typst supports the following angular units:
13+
/// Typstは以下の角度の単位をサポートしています。
1414
///
15-
/// - Degrees: `{180deg}`
16-
/// - Radians: `{3.14rad}`
15+
/// - : `{180deg}`
16+
/// - ラジアン: `{3.14rad}`
1717
///
18-
/// # Example
18+
/// #
1919
/// ```example
2020
/// #rotate(10deg)[Hello there!]
2121
/// ```
@@ -104,13 +104,13 @@ impl Angle {
104104

105105
#[scope]
106106
impl Angle {
107-
/// Converts this angle to radians.
107+
/// 角度をラジアンに変換します。
108108
#[func(name = "rad", title = "Radians")]
109109
pub fn to_rad(self) -> f64 {
110110
self.to_unit(AngleUnit::Rad)
111111
}
112112

113-
/// Converts this angle to degrees.
113+
/// 角度を度に変換します。
114114
#[func(name = "deg", title = "Degrees")]
115115
pub fn to_deg(self) -> f64 {
116116
self.to_unit(AngleUnit::Deg)

website/translation-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"/docs/reference/layout/": "untranslated",
104104
"/docs/reference/layout/align/": "untranslated",
105105
"/docs/reference/layout/alignment/": "untranslated",
106-
"/docs/reference/layout/angle/": "untranslated",
106+
"/docs/reference/layout/angle/": "translated",
107107
"/docs/reference/layout/block/": "untranslated",
108108
"/docs/reference/layout/box/": "untranslated",
109109
"/docs/reference/layout/colbreak/": "untranslated",

0 commit comments

Comments
 (0)