Skip to content

Commit e962ce0

Browse files
author
tsubasa.kat
committed
Translated a paragraph which is a part of the section.
Issue elixir-lang-jp#40
1 parent 7ce9930 commit e962ce0

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

_po/ja.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: PACKAGE VERSION\n"
4-
"PO-Revision-Date: 2019-05-28 06:00+0900\n"
4+
"PO-Revision-Date: 2019-05-29 08:00+0900\n"
55
"Language: ja\n"
66
"MIME-Version: 1.0\n"
77
"Content-Type: text/plain; charset=UTF-8\n"
@@ -10671,7 +10671,7 @@ msgid ""
1067110671
"In some cases, you don't care about a particular value in a pattern. It is a c"
1067210672
"ommon practice to bind those values to the underscore, `_`. For example, if on"
1067310673
"ly the head of the list matters to us, we can assign the tail to underscore:"
10674-
msgstr ""
10674+
msgstr "時にはパターンにおける値を気にしたくない場合があります。そういった場合は、`_` という変数へ値を代入するという慣習的な方法を使います。"
1067510675

1067610676
msgid ""
1067710677
"In some cases, you may need to inject such *values* into *quoted expressions*."

_po/ja/getting-started/pattern-matching.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: PACKAGE VERSION\n"
4-
"PO-Revision-Date: 2019-05-28 06:00+0900\n"
4+
"PO-Revision-Date: 2019-05-29 08:00+0900\n"
55
"Language: ja\n"
66
"MIME-Version: 1.0\n"
77
"Content-Type: text/plain; charset=UTF-8\n"
@@ -279,7 +279,7 @@ msgid ""
279279
"In some cases, you don't care about a particular value in a pattern. It is a c"
280280
"ommon practice to bind those values to the underscore, `_`. For example, if on"
281281
"ly the head of the list matters to us, we can assign the tail to underscore:"
282-
msgstr ""
282+
msgstr "時にはパターンにおける値を気にしたくない場合があります。そういった場合は、`_` という変数へ値を代入するという慣習的な方法を使います。"
283283

284284
msgid ""
285285
"```iex\n"

docs/getting-started/pattern-matching.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ <h2 id="ピン演算子">ピン演算子</h2>
362362
** (MatchError) no match of right hand side value: {1, 2}
363363
</code></pre>
364364

365-
<p>In some cases, you don’t care about a particular value in a pattern. It is a common practice to bind those values to the underscore, <code class="highlighter-rouge">_</code>. For example, if only the head of the list matters to us, we can assign the tail to underscore:</p>
365+
<p>時にはパターンにおける値を気にしたくない場合があります。そういった場合は、<code class="highlighter-rouge">_</code> という変数へ値を代入するという慣習的な方法を使います。</p>
366366

367367
<pre><code class="language-iex">iex&gt; [h | _] = [1, 2, 3]
368368
[1, 2, 3]

ja/getting-started/pattern-matching.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ iex> {x, x} = {1, 2}
159159
** (MatchError) no match of right hand side value: {1, 2}
160160
```
161161

162-
In some cases, you don't care about a particular value in a pattern. It is a common practice to bind those values to the underscore, `_`. For example, if only the head of the list matters to us, we can assign the tail to underscore:
162+
時にはパターンにおける値を気にしたくない場合があります。そういった場合は、`_` という変数へ値を代入するという慣習的な方法を使います。
163163

164164
```iex
165165
iex> [h | _] = [1, 2, 3]

0 commit comments

Comments
 (0)