Skip to content

Conversation

@ultimatile
Copy link
Contributor

https://github.com/typst-jp/typst-jp.github.io/pull/182#discussion_r2133365347 を受けて、既存の翻訳でcontent(s)の訳語として「内容」となっている箇所で、「コンテンツ」に修正した方が良さそうな箇所を修正しました。
footnoteに関しては微妙かもしれないです。

This comment was marked as outdated.

@ultimatile ultimatile added the translation Translation additions or improvements label Jun 8, 2025
Copy link
Member

@kimushun1101 kimushun1101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ご丁寧にありがとうございます。
footnoteのページも含めて確認しましたが、これもfootnoteの最終引数のcontentを指していると思われるため、コンテンツとしてしまって問題ないと思います。
https://typst.app/docs/reference/model/footnote/

Copy link
Member

@3w36zj6 3w36zj6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/docs/にあるMarkdownの文章内の「内容」も、必要なものはこのPRで置換した方が良いと思います。

@ultimatile
Copy link
Contributor Author

ultimatile commented Jun 11, 2025

content argumentに関する表記揺れがあったので現在「コンテンツ引数」として c4a3bba で修正しましたが、その性質上content引数でも問題ないと思います。どちらが良いかご意見をお伺いしたいです。

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Japanese translation by changing all instances of 「内容」 to 「コンテンツ」 for consistency when referring to “content”.

  • Standardize translation of “content” across tutorials, reference docs, and code comments.
  • Adjust docstrings in library crates to use コンテンツ instead of 内容.

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docs/tutorial/3-advanced.md Replace “内容引数” with “コンテンツ引数”
docs/tutorial/2-formatting.md Replace “表示したい内容” with “表示したいコンテンツ”
docs/reference/language/styling.md Replace “任意の内容を返す” with “任意のコンテンツを返す”
docs/reference/language/scripting.md Replace “モジュールの内容や定義” with “モジュールのコンテンツや定義”
crates/typst-library/src/model/par.rs Change “段落の内容” to “段落のコンテンツ”
crates/typst-library/src/model/link.rs Change “リンクとして表示する内容” to “リンクとして表示するコンテンツ”
crates/typst-library/src/model/heading.rs Change “以下に続く内容の論理的な役割” to “以下に続くコンテンツの論理的な役割”
crates/typst-library/src/model/footnote.rs Change “脚注の内容” to “脚注のコンテンツ”
crates/typst-library/src/model/figure.rs Change several “内容” mentions to “コンテンツ” in doc comments
crates/typst-library/src/math/equation.rs Change “数式の内容” to “数式のコンテンツ”
crates/typst-library/src/layout/container.rs Change “ボックスの内容” and “ブロックの内容” to “コンテンツ”

Copy link
Member

@kimushun1101 kimushun1101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

content引数→コンテンツ引数とする方に1票入れておきます。
他のところがどうなっているか「引数」で全体検索をかけてみましたが、コードとしてこのように囲われている場合が多く、こういう場合には英単語のまま残すべきだと思います。

https://github.com/typst-jp/typst-jp.github.io/blob/6efc8e41359638ed2a59419534d4edc631d2813a/docs/tutorial/3-advanced.md?plain=1#L67-L71

https://github.com/typst-jp/typst-jp.github.io/blob/6efc8e41359638ed2a59419534d4edc631d2813a/docs/tutorial/3-advanced.md?plain=1#L121

https://github.com/typst-jp/typst-jp.github.io/blob/6efc8e41359638ed2a59419534d4edc631d2813a/docs/tutorial/3-advanced.md?plain=1#L127

とはいえ、それも絶対のルールではなく、コードブロックでなくてもあえて英単語のまま残すことで、わかりやすくしている部分もあります。

https://github.com/typst-jp/typst-jp.github.io/blob/6efc8e41359638ed2a59419534d4edc631d2813a/docs/tutorial/3-advanced.md?plain=1#L323

そのため、他の方の意見がcontentの方が多ければ、それでも問題ないとは思っています。

Copy link
Contributor

@gomazarashi gomazarashi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

私としてはコンテンツ引数のままで良さそうに思えますが、英語表記にしてしまっても問題ないように思います。

@kimushun1101 kimushun1101 merged commit 38c9037 into typst-jp:main Jun 14, 2025
5 checks passed
@ultimatile ultimatile deleted the fix-translation-contents branch July 12, 2025 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

translation Translation additions or improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants