Skip to content
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

イベントの演習のヒントを改訂 #726

Merged
merged 4 commits into from
May 14, 2024

Conversation

naka-12
Copy link
Contributor

@naka-12 naka-12 commented Apr 30, 2024

No description provided.

Copy link

cloudflare-workers-and-pages bot commented Apr 30, 2024

Deploying utcode-learn with  Cloudflare Pages  Cloudflare Pages

Latest commit: 805caf0
Status: ✅  Deploy successful!
Preview URL: https://013ea2d9.utcode-learn.pages.dev
Branch Preview URL: https://update-events-exercise-hints.utcode-learn.pages.dev

View logs

@naka-12 naka-12 requested review from chvmvd and aster-void April 30, 2024 20:47
@@ -83,30 +83,26 @@ greetButton.onclick = clicked();

<video src={projectMovieForDom} muted controls />

<Details summary={<summary>ヒント1:文字列の表示</summary>}>
:::tip[文字列の表示]
Copy link
Contributor

Choose a reason for hiding this comment

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

tipというよりは、ヒントなので、:::info[ヒント]で良いんじゃないでしょうか。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image
うーん。tip のデフォルト値は「ヒント」で、info のデフォルト値は「備考」なんですけどね……

まあここでは一旦 :::info にしておいて、別PRで全体を置換するなりしたいなという感じです。

「文字列の表示」とした理由は、ヒントのブロックが2つ連続しているためです。まあ、:::info[ヒント: 文字列の表示] とかにしておきます。

Copy link
Contributor

Choose a reason for hiding this comment

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

これは、Docusaurusの日本語訳の問題で、我々は英語の方に合わせるという方針で決定しました。
英語の意味的には、tipは豆知識という意味が強く、infoをヒントにする方が自然だという結論に達しました。詳細は、Notionを見てください。

docs/1-trial-session/14-events/index.mdx Outdated Show resolved Hide resolved
docs/1-trial-session/14-events/index.mdx Outdated Show resolved Hide resolved
docs/1-trial-session/14-events/index.mdx Outdated Show resolved Hide resolved
docs/1-trial-session/14-events/index.mdx Outdated Show resolved Hide resolved
@naka-12 naka-12 force-pushed the update-events-exercise-hints branch from 5948a0a to 805caf0 Compare May 13, 2024 06:28
@naka-12 naka-12 requested a review from chvmvd May 13, 2024 06:29
Copy link
Contributor

@chvmvd chvmvd left a comment

Choose a reason for hiding this comment

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

いいですね!

@naka-12 naka-12 merged commit c7c8bb3 into master May 14, 2024
3 checks passed
@naka-12 naka-12 deleted the update-events-exercise-hints branch May 14, 2024 04:17
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.

2 participants