Skip to content

Commit 50c1646

Browse files
committed
translate 02-sveltekit/02-routing/03-params into Japanese
1 parent 739a965 commit 50c1646

File tree

1 file changed

+4
-4
lines changed
  • content/tutorial/02-sveltekit/02-routing/03-params

1 file changed

+4
-4
lines changed

content/tutorial/02-sveltekit/02-routing/03-params/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ title: Route parameters
33
path: /blog
44
---
55

6-
To create routes with dynamic parameters, use square brackets around a valid variable name. For example, a file like `src/routes/blog/[slug]/+page.svelte` will create a route that matches `/blog/one`, `/blog/two`, `/blog/three` and so on.
6+
動的なパラメータ付きのルート(routes)を作成するには、角括弧を使用して有効な変数名を囲みます。例えば、`src/routes/blog/[slug]/+page.svelte` というファイルは、`/blog/one``/blog/two``/blog/three` などにマッチするルート(route)を作成します。
77

8-
Let's create that file:
8+
そのファイルを作成してみましょう。
99

1010
```svelte
1111
/// file: src/routes/blog/[slug]/+page.svelte
1212
<h1>blog post</h1>
1313
```
1414

15-
We can now navigate from the `/blog` page to individual blog posts. In the next chapter, we'll see how to load their content.
15+
これで、`/blog` ページから個々のブログ記事に移動できるようになりました。次の章では、そのコンテンツをロードする方法を見ていきます。
1616

17-
> Multiple route parameters can appear _within_ one URL segment, as long as they are separated by at least one static character: `foo/[bar]x[baz]` is a valid route where `[bar]` and `[baz]` are dynamic parameters.
17+
> 少なくとも1つの静的な文字で区切られていれば、1つの URL セグメント内に複数のルートパラメータを使用することができます。`foo/[bar]x[baz]` は有効なルートで、`[bar]` `[baz]` は動的なパラメータです。

0 commit comments

Comments
 (0)