Skip to content

/docs/reference/layout/direction/の再翻訳#392

Open
ultimatile wants to merge 1 commit into
typst-jp:mainfrom
ultimatile:retranslate-reference-layout-direction
Open

/docs/reference/layout/direction/の再翻訳#392
ultimatile wants to merge 1 commit into
typst-jp:mainfrom
ultimatile:retranslate-reference-layout-direction

Conversation

@ultimatile

Copy link
Copy Markdown
Contributor

Closes #351

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

/docs/reference/layout/direction/(v0.14.0で追加された direction.from / direction.to / direction.sign を含む)の再翻訳に合わせて、公開ドキュメント側の翻訳状態と、Typst ライブラリ側の該当rustdocコメントを更新するPRです。

Changes:

  • direction.from / direction.to / direction.sign のrustdocコメントを日本語化
  • website/translation-status.json/docs/reference/layout/direction/translated に更新

Reviewed changes

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

File Description
website/translation-status.json /docs/reference/layout/direction/ の翻訳ステータスを translated に更新
crates/typst-library/src/layout/dir.rs direction 型の公開メソッド(from/to/sign)のドキュメント文言を更新

Comment thread crates/typst-library/src/layout/dir.rs Outdated
Comment thread crates/typst-library/src/layout/dir.rs Outdated
@ultimatile ultimatile force-pushed the retranslate-reference-layout-direction branch from 59440bb to ef7387a Compare May 26, 2026 09:10
@ultimatile ultimatile force-pushed the retranslate-reference-layout-direction branch from ef7387a to 740ec9b Compare June 2, 2026 19:36

@kimushun1101 kimushun1101 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

コメント以外の部分にも影響するところですが、directionを「向き」、alignmentを「配置」と日本語訳で統一するか悩みどころです。

pub const BTT: Self = Self::BTT;

/// Returns a direction from a starting point.
/// 指定した引数を始点とするdirectionを返します。

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
/// 指定した引数を始点とするdirectionを返します
/// 指定した引数を始点とする向きを返します

}

/// Returns a direction from an end point.
/// 指定した引数を終点とするdirectionを返します。

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
/// 指定した引数を終点とするdirectionを返します
/// 指定した引数を終点とする向きを返します

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

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

@ultimatile

Copy link
Copy Markdown
Contributor Author

direction vs 向き
alignment vs 配置
に関しては他の方の意見も伺いたいです。
一旦結論を保留して違和感強い箇所が出たらまた議論する、でも良いかもしれません。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v0.14.0への更新に伴う/docs/reference/layout/directionの再翻訳

3 participants