-
Notifications
You must be signed in to change notification settings - Fork 13
/docs/reference/introspection/location
の翻訳
#320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
/docs/reference/introspection/location
の翻訳
#320
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Typst reference "introspection/location" is translated to Japanese and marked as translated in the website status.
- Mark translation status for /docs/reference/introspection/location/ as translated
- Replace English doc comments in Location API with Japanese translations and localized terminology
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 11 comments.
File | Description |
---|---|
website/translation-status.json | Marks the location reference page as translated |
crates/typst-library/src/introspection/location.rs | Japanese translations for Rust doc comments on Location and related methods |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
/// | ||
/// Can be used with [`here`] to retrieve the physical page position | ||
/// of the current context: | ||
/// [`here`]と組み合わせることで現在のコンテキストが配置される実際のページ番号が取得できます。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Use consistent terminology and more natural phrasing. Suggested wording:
/// [`here`]と組み合わせることで現在のコンテキストが配置される実際のページ番号が取得できます。 | |
/// [`here`]と組み合わせることで現在位置のページ番号を取得できます。 |
Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Shunsuke Kimura <[email protected]>
ここで対応すると良いかと思い、用語集を足してみましたがいかがでしょうか? すみません。とりあえず手を動かしてみたものの管理上分けたほうが良かったかもしれません。 |
/// location with the [`here`] function and the location of a queried or shown | ||
/// element with the [`location()`]($content.location) method on content. | ||
/// locationは文書中の要素を一意に識別し、ページ中での絶対位置へのアクセスを提供します。 | ||
/// [`here`]関数を用いて現在位置を取得可能です。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// [`here`]関数を用いて現在位置を取得可能です。 | |
/// [`here`]関数を用いて現在のロケーションを取得可能です。 |
/// element with the [`location()`]($content.location) method on content. | ||
/// locationは文書中の要素を一意に識別し、ページ中での絶対位置へのアクセスを提供します。 | ||
/// [`here`]関数を用いて現在位置を取得可能です。 | ||
/// また、検索した位置や表示された要素の位置は、コンテンツの[`location()`]($content.location)メソッドを使って取得できます。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// また、検索した位置や表示された要素の位置は、コンテンツの[`location()`]($content.location)メソッドを使って取得できます。 | |
/// また、検索したロケーションや表示された要素のロケーションは、コンテンツの[`location()`]($content.location)メソッドを使って取得できます。 |
/// | ||
/// If the page numbering is set to `{none}` at that location, this function | ||
/// returns `{none}`. | ||
/// その位置でのページの番号付けが`{none}`に設定されていた場合、`{none}`を返します。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// その位置でのページの番号付けが`{none}`に設定されていた場合、`{none}`を返します。 | |
/// そのロケーションのページの番号付けが`{none}`に設定されていた場合、`{none}`を返します。 |
/// [`strong`] elements, but you will find only those that have an explicit | ||
/// label attached to them. This limitation will be resolved in the future. | ||
/// # ロケータブル要素 { #locatable } | ||
/// 現在、要素関数の一部のみがロケータブルです。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここは訳としては間違ってはいないのですが、説明になっていないので
/// 現在、要素関数の一部のみがロケータブルです。 | |
/// 現在、要素関数の一部のみがロケーションを取得可能です。 |
で良いですかね?
introspection/locationの翻訳です。
locationの翻訳は暫定的に「位置」にしてあります。
また、locatableの訳出にも悩んでいます。とりあえずそのまま「ロケータブル」にしてありますが、「位置(情報)特定可能」とかの方が良いかもしれません。