Skip to content

Commit 85ecd2c

Browse files
authored
/docs/reference/model/strongの翻訳 (#219)
Signed-off-by: Shunsuke Kimura <[email protected]>
1 parent d0c82f1 commit 85ecd2c

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

crates/typst-library/src/model/emph.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ use crate::text::{ItalicToggle, TextElem};
2727
///
2828
/// # 構文
2929
/// この関数には専用の構文もあります。
30-
/// コンテンツを強調するには、単にアンダースコア(`_`)で囲みます。ただし、これは単語の区切りにおいてのみ機能します。
31-
/// 単語の一部を強調する場合は、この関数を使用する必要があります。
30+
/// 強調したいコンテンツをアンダースコア(`_`)で囲むだけです。
31+
/// ただし、これは単語の区切りにおいてのみ機能します。
32+
/// 単語の一部を強調したい場合は、関数を使用してください。
3233
#[elem(title = "Emphasis", keywords = ["italic"], Show)]
3334
pub struct EmphElem {
3435
/// 強調するコンテンツ。

crates/typst-library/src/model/strong.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ use crate::foundations::{
66
use crate::html::{tag, HtmlElem};
77
use crate::text::{TextElem, WeightDelta};
88

9-
/// Strongly emphasizes content by increasing the font weight.
9+
/// 太字によるコンテンツの強調。
1010
///
11-
/// Increases the current font weight by a given `delta`.
11+
/// 現在のフォントの太さに指定した差分 `delta` を加えます。
1212
///
13-
/// # Example
13+
/// #
1414
/// ```example
1515
/// This is *strong.* \
1616
/// This is #strong[too.] \
@@ -19,14 +19,14 @@ use crate::text::{TextElem, WeightDelta};
1919
/// And this is *evermore.*
2020
/// ```
2121
///
22-
/// # Syntax
23-
/// This function also has dedicated syntax: To strongly emphasize content,
24-
/// simply enclose it in stars/asterisks (`*`). Note that this only works at
25-
/// word boundaries. To strongly emphasize part of a word, you have to use the
26-
/// function.
22+
/// # 構文
23+
/// この関数には専用の構文もあります。
24+
/// 強調したいコンテンツをアスタリスク(`*`)で囲むだけです。
25+
/// ただし、これは単語の区切りにおいてのみ機能します。
26+
/// 単語の一部を強調したい場合は、関数を使用してください。
2727
#[elem(title = "Strong Emphasis", keywords = ["bold", "weight"], Show)]
2828
pub struct StrongElem {
29-
/// The delta to apply on the font weight.
29+
/// フォントの太さに適用する変化量。
3030
///
3131
/// ```example
3232
/// #set strong(delta: 0)
@@ -35,7 +35,7 @@ pub struct StrongElem {
3535
#[default(300)]
3636
pub delta: i64,
3737

38-
/// The content to strongly emphasize.
38+
/// 強調するコンテンツ。
3939
#[required]
4040
pub body: Content,
4141
}

website/translation-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"/docs/reference/model/parbreak/": "translated",
6060
"/docs/reference/model/quote/": "translated",
6161
"/docs/reference/model/ref/": "translated",
62-
"/docs/reference/model/strong/": "untranslated",
62+
"/docs/reference/model/strong/": "translated",
6363
"/docs/reference/model/table/": "untranslated",
6464
"/docs/reference/model/terms/": "untranslated",
6565
"/docs/reference/text/": "untranslated",

0 commit comments

Comments
 (0)