-
Notifications
You must be signed in to change notification settings - Fork 13
/docs/reference/introspection/query
の翻訳
#322
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?
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
This PR translates the documentation for the query
introspection function from English to Japanese, updating the translation status to mark it as completed.
- Complete Japanese translation of function documentation and examples
- Translation status update from "untranslated" to "translated"
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
website/translation-status.json | Updates status for /docs/reference/introspection/query/ to "translated" |
crates/typst-library/src/introspection/query.rs | Translates all documentation comments from English to Japanese |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
/// - `heading`や`figure`のような要素関数 | ||
/// - `{<label>}` | ||
/// - `{heading.where(level: 1)}`のような、より複雑なセレクター | ||
/// - `{selector(heading).before(here())}` | ||
/// | ||
/// が可能です。 |
Copilot
AI
Sep 22, 2025
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] The parameter description format is inconsistent. The sentence structure '○○が可能です' (○○ is possible) doesn't clearly connect to the bullet points above. Consider rephrasing to '以下が指定できます:' (The following can be specified:) or restructuring to make the connection clearer.
/// - `heading`や`figure`のような要素関数 | |
/// - `{<label>}` | |
/// - `{heading.where(level: 1)}`のような、より複雑なセレクター | |
/// - `{selector(heading).before(here())}` | |
/// | |
/// が可能です。 | |
/// 以下が指定できます: | |
/// - `heading`や`figure`のような要素関数 | |
/// - `{<label>}` | |
/// - `{heading.where(level: 1)}`のような、より複雑なセレクター | |
/// - `{selector(heading).before(here())}` | |
/// |
Copilot uses AI. Check for mistakes.
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.
ご対応いただきありがとうございます。コメントを残しました。
/// In general, you should try not to write queries that affect themselves. The | ||
/// same words of caution also apply to other introspection features like | ||
/// [counters]($counter) and [state]. | ||
/// ページ番号を取得するために、まず[`location`]($content.location)メソッドを用いて`query`が返す要素の位置を取得します。 |
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)メソッドを用いて`query`が返す要素の位置を取得します。 | |
/// ページ番号を取得するために、まず[`location`]($content.location)メソッドを用いて`query`が返す要素のロケーションを取得します。 |
introspection/queryの翻訳です。