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

Translate 03-svelte-files.md from en to jp #13

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

yuki0418
Copy link

@yuki0418 yuki0418 commented Dec 5, 2024

close #11

A note on documentation PRs

If this is a documentation PR (i.e. changing content within apps/svelte.dev/content/docs), then this is the wrong repository to make those changes. The content in this folder is synced from other repositories. Therefore, these changes should be made in their respective repositories (at https://github.com/sveltejs/svelte or https://github.com/sveltejs/kit, or example).

こちらはテンプレートです。一旦そのままにしております。

Before submitting the PR, please make sure you do the following

  • It's really useful if your PR references an issue where it is discussed ahead of time.
  • Prefix your PR title with feat:, fix:, chore:, or docs:.
  • This message body should clearly illustrate what problems it solves.

@@ -1,41 +1,41 @@
---
title: .svelte files
title: .svelte ファイル
Copy link
Author

Choose a reason for hiding this comment

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

.svelte files か .svelte ファイル かで迷いましたが後者にしました。
.svelte files の方が良さそうであれば教えてください

---

Components are the building blocks of Svelte applications. They are written into `.svelte` files, using a superset of HTML.
コンポーネントは Svelte アプリケーションの構成要素です。これらは `.svelte` ファイルに書かれ、HTML のスーパーセットを使って記述されます。
Copy link
Author

Choose a reason for hiding this comment

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

適切なスーパーセットの訳が思いつかなかったのでカタカナにしてます。

</script>

<!-- markup (zero or more items) goes here -->
<!-- マークアップ (0行以上) はここに書きます -->
Copy link
Author

Choose a reason for hiding this comment

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

zero or more items が行を示してるのかと思い日本語では行と訳してます


<style>
/* styles go here */
/* スタイルはここに書きます */
</style>
```

## `<script>`
Copy link
Author

Choose a reason for hiding this comment

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

英字のままの場合は ## 始める前に <!--Before-we-begin--> のような見出しアンカーにする必要はないと認識してますが、間違ってたら教えてください。

@yuki0418
Copy link
Author

yuki0418 commented Dec 5, 2024

@tomoam
1ファイル翻訳しました。
関係のないところで Lint error が発生しており CI が失敗しております。
一旦このまま PR 提出いたします。

レビューお願いします。

Copy link
Member

@tomoam tomoam left a comment

Choose a reason for hiding this comment

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

本当に長らくおまたせしました。
翻訳ありがとうございます。
2点のみ、対応していただけますでしょうか。

Comment on lines 55 to 56
> [!NOTE] If you are using TypeScript and import such exports from a `module` block into a `.ts` file, make sure to have your editor setup so that TypeScript knows about them. This is the case for our VS Code extension and the IntelliJ plugin, but in other cases you might need to setup our [TypeScript editor plugin](https://www.npmjs.com/package/typescript-svelte-plugin).

Copy link
Member

Choose a reason for hiding this comment

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

ここも削除のし忘れかもしれません。

Copy link
Author

Choose a reason for hiding this comment

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

ありがとうございます。
見落としておりました。
削除済みです。

@yuki0418 yuki0418 requested a review from tomoam January 14, 2025 11:53
@yuki0418
Copy link
Author

@tomoam
レビューありがとうございます!
指摘箇所修正完了しました。

再レビューお願いいたします。

Copy link
Member

@tomoam tomoam left a comment

Choose a reason for hiding this comment

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

ご対応ありがとうございました!
マージさせていただきます!

@tomoam tomoam merged commit 4a9c346 into svelte-jp:main Jan 14, 2025
1 check failed
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.

[Docs]03-svelte-files - ドキュメントの翻訳
2 participants