Skip to content

Commit 78ff2bc

Browse files
committed
Change the translation of "interpolate" in Variable Bindings
1 parent b089fb4 commit 78ff2bc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

1.9/ja/book/variable-bindings.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,17 +225,17 @@ Rustでは未初期化の値を使うことは許されていません。
225225
<!-- want `x` to be the value we’re interpolating. The comma is used to separate -->
226226
<!-- arguments we pass to functions and macros, if you’re passing more than one. -->
227227
表示する文字列に2つの波括弧(`{}`、口髭という人もいます…(訳注: 海外の顔文字は横になっているので首を傾けて `{` を眺めてみてください。また、日本語だと「中括弧」と呼ぶ人もいますね))を入れました。
228-
Rustはこれを何かの値を入れて(interpolate、インターポーレート)くれという要求だと解釈します
229-
*文字列インターポーレーション* (String interpolation)はコンピュータサイエンスの用語で、「文字列の中に差し込む」という意味です。
230-
その後に続けてカンマ、そして `x` を置いて `x` がインターポーレートしようとしている値だと指示しています
228+
Rustはこれを、何かの値で補完(interpolate)してほしいのだと解釈します
229+
*文字列補完* (string interpolation)はコンピュータサイエンスの用語で、「文字列の間に差し込む」という意味です。
230+
その後に続けてカンマ、そして `x` を置いて `x` が補完に使う値だと指示しています
231231
カンマは2つ以上の引数を関数やマクロに渡す時に使われます。
232232

233233
<!-- When you use the curly braces, Rust will attempt to display the value in a -->
234234
<!-- meaningful way by checking out its type. If you want to specify the format in a -->
235235
<!-- more detailed manner, there are a [wide number of options available][format]. -->
236236
<!-- For now, we'll stick to the default: integers aren't very complicated to -->
237237
<!-- print. -->
238-
波括弧を使うと、Rustはインターポーレートされる値の型を調べて意味のある方法で表示しようとします
238+
波括弧を使うと、Rustは補完に使う値の型を調べて意味のある方法で表示しようとします
239239
フォーマットをさらに詳しく指定したいなら[数多くのオプションが利用できます][format]
240240
とりあえずのところ、デフォルトに従いましょう。整数の表示はそれほど複雑ではありません。
241241

TranslationTable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@
101101
| interior | 内側の
102102
| install | インストール
103103
| installer | インストーラ
104-
| interpolate | インターポーレートする
105-
| interpolation | インターポーレーション
104+
| interpolate | 補完する
105+
| (string) interpolation | (文字列)補完
106106
| Intrinsics | Intrinsic
107107
| key | キー
108108
| keyword | キーワード

0 commit comments

Comments
 (0)