Skip to content

Commit 817b6fa

Browse files
committed
translate site into Japanese
1 parent a135717 commit 817b6fa

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

src/routes/+layout.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<Nav {page} logo="/svelte-logo.svg">
2222
<svelte:fragment slot="nav-center">
23-
<strong class="large">Work in progress. Here be dragons!</strong>
23+
<strong class="large">開発中です。バグがある可能性があります!</strong>
2424
<!-- <NavItem href="/tutorial">Tutorial</NavItem>
2525
<NavItem href="/docs">Docs</NavItem>
2626
<NavItem href="/examples">Examples</NavItem>
@@ -30,7 +30,7 @@
3030
</svelte:fragment>
3131

3232
<svelte:fragment slot="nav-right">
33-
<NavItem external="https://kit.svelte.dev">SvelteKit</NavItem>
33+
<NavItem external="https://kit.svelte.jp">SvelteKit</NavItem>
3434

3535
<NavItem external="https://svelte.dev/chat" title="Discord Chat">
3636
<span class="small">Discord</span>

src/routes/tutorial/[slug]/+page.svelte

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -312,14 +312,14 @@
312312
<meta name="twitter:card" content="summary" />
313313
<meta name="twitter:site" content="@sveltejs" />
314314
<meta name="twitter:creator" content="@sveltejs" />
315-
<meta name="twitter:image" content="https://svelte.dev/images/twitter-thumbnail.jpg" />
316-
<meta property="twitter:domain" content="learn.svelte.dev" />
317-
<meta property="twitter:url" content="https://learn.svelte.dev" />
315+
<meta name="twitter:image" content="https://svelte.jp/images/twitter-thumbnail.jpg" />
316+
<meta property="twitter:domain" content="learn.svelte.jp" />
317+
<meta property="twitter:url" content="https://learn.svelte.jp" />
318318
319319
<meta property="og:title" content="{data.exercise.title} • Svelte Tutorial" />
320-
<meta property="og:url" content="https://learn.svelte.dev" />
320+
<meta property="og:url" content="https://learn.svelte.jp" />
321321
<meta property="og:type" content="website" />
322-
<meta property="og:image" content="https://svelte.dev/images/twitter-thumbnail.jpg" />
322+
<meta property="og:image" content="https://svelte.jp/images/twitter-thumbnail.jpg" />
323323
</svelte:head>
324324
325325
<ContextMenu />
@@ -379,9 +379,9 @@
379379
}}
380380
>
381381
{#if completed && Object.keys(data.exercise.b).length > 0}
382-
reset
382+
リセット
383383
{:else}
384-
solve <Icon name="arrow-right" />
384+
正解を見る <Icon name="arrow-right" />
385385
{/if}
386386
</button>
387387
</section>

src/routes/tutorial/[slug]/Sidebar.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
const dispatch = createEventDispatcher();
1414
15-
const namespace = 'learn.svelte.dev';
15+
const namespace = 'learn.svelte.jp';
1616
const copy_enabled = `${namespace}:copy_enabled`;
1717
1818
/** @type {HTMLElement} */
@@ -77,7 +77,7 @@
7777
target="_blank"
7878
rel="noreferrer"
7979
class="edit"
80-
href="https://github.com/sveltejs/learn.svelte.dev/tree/main/{exercise.dir}"
80+
href="https://github.com/svelte-jp/learn.svelte.dev/tree/main/{exercise.dir}"
8181
>
8282
Edit this page
8383
</a>
@@ -86,11 +86,11 @@
8686
{#if show_modal}
8787
<Modal on:close={() => (show_modal = false)}>
8888
<div class="modal-contents">
89-
<h2>Copy and paste is currently disabled!</h2>
89+
<h2>コピー&ペーストは現在無効です!</h2>
9090

9191
<p>
92-
We recommend typing the code into the editor to complete the exercise, as this results in
93-
better retention and understanding.
92+
練習問題を完了する上で、コードをエディタに手入力することをおすすめします。
93+
これによって理解が深まり記憶に定着します。
9494
</p>
9595
<label>
9696
<input
@@ -99,7 +99,7 @@
9999
sessionStorage[copy_enabled] = e.currentTarget.checked ? 'true' : '';
100100
}}
101101
/>
102-
enable copy-and-paste for the duration of this session
102+
このセッションの間、コピー&ペーストを有効にする
103103
</label>
104104

105105
<button on:click={() => (show_modal = false)}>OK</button>

0 commit comments

Comments
 (0)