Skip to content

Commit 7574288

Browse files
ultimatileCopilot
andauthored
/docs/reference/text/linebreakの翻訳 (#258)
Co-authored-by: Copilot <[email protected]>
1 parent ca09b5a commit 7574288

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

crates/typst-library/src/text/linebreak.rs

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,27 @@ use typst_utils::singleton;
22

33
use crate::foundations::{elem, Content, NativeElement};
44

5-
/// Inserts a line break.
5+
/// 改行の挿入。
66
///
7-
/// Advances the paragraph to the next line. A single trailing line break at the
8-
/// end of a paragraph is ignored, but more than one creates additional empty
9-
/// lines.
7+
/// 段落を次の行へ進めます。
8+
/// 段落の終わりにある単一の改行は無視されますが、それより多くある場合は空行が作成されます。
109
///
11-
/// # Example
10+
/// #
1211
/// ```example
1312
/// *Date:* 26.12.2022 \
1413
/// *Topic:* Infrastructure Test \
1514
/// *Severity:* High \
1615
/// ```
1716
///
18-
/// # Syntax
19-
/// This function also has dedicated syntax: To insert a line break, simply write
20-
/// a backslash followed by whitespace. This always creates an unjustified
21-
/// break.
17+
/// # 構文
18+
/// この関数は専用の構文も持っています。
19+
/// 改行を挿入するには、単にバックスラッシュと空白を書いてください。
20+
/// これは常に両端揃えではない改行を作成します。
2221
#[elem(title = "Line Break")]
2322
pub struct LinebreakElem {
24-
/// Whether to justify the line before the break.
23+
/// 改行の前の行を両端揃えするかどうか。
2524
///
26-
/// This is useful if you found a better line break opportunity in your
27-
/// justified text than Typst did.
25+
/// これは、Typstが両端揃えを行ったテキストよりも良い改行位置が見つかった場合に便利です。
2826
///
2927
/// ```example
3028
/// #set par(justify: true)

website/translation-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"/docs/reference/model/terms/": "untranslated",
6565
"/docs/reference/text/": "untranslated",
6666
"/docs/reference/text/highlight/": "untranslated",
67-
"/docs/reference/text/linebreak/": "untranslated",
67+
"/docs/reference/text/linebreak/": "translated",
6868
"/docs/reference/text/lorem/": "untranslated",
6969
"/docs/reference/text/lower/": "untranslated",
7070
"/docs/reference/text/overline/": "untranslated",

0 commit comments

Comments
 (0)