Skip to content

Changing a reference to SIP-13 in the string interpolation doc to SIP-11 #504

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

Merged
merged 1 commit into from
Mar 22, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion es/overviews/core/string-interpolation.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Este nuevo mecanismo permite a los usuarios incluir referencias a variables de m
val name = "James"
println(s"Hello, $name") // Hello, James

En el ejemplo anterior, el literal `s"Hello, $name"` es una cadena "procesada". Esto significa que el compilador debe realizar un trabajo adicional durante el tratamiento de dicha cadena. Una cadena "procesada" se denota mediante un conjunto de caracteres que preceden al símbolo `"`. La interpolación de cadenas ha sido introducida por (http://docs.scala-lang.org/sips/pending/string-interpolation.html), el cual contiene todos los detalles de implementación.
En el ejemplo anterior, el literal `s"Hello, $name"` es una cadena "procesada". Esto significa que el compilador debe realizar un trabajo adicional durante el tratamiento de dicha cadena. Una cadena "procesada" se denota mediante un conjunto de caracteres que preceden al símbolo `"`. La interpolación de cadenas ha sido introducida por [SIP-11](http://docs.scala-lang.org/sips/pending/string-interpolation.html), el cual contiene todos los detalles de implementación.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure why the SIP-.. link text was dropped here - perhaps because of the incorrect reference? In any case, adding it back for consistency with the original, and other translations.


## Uso

Expand Down
2 changes: 1 addition & 1 deletion ja/overviews/core/string-interpolation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Scala 2.10.0 より、Scala は文字列の補間 (string interpolation) とい
val name = "James"
println(s"Hello, $name") // Hello, James

上の例において、リテラル `s"Hello, $name"` は加工文字列リテラルだ。これはコンパイラがこのリテラルに対して何らかの追加処理を実行するということだ。加工文字リテラルは `"` の前にいくつかの文字を書くことで表記される。文字列の補間は [SIP-13](http://docs.scala-lang.org/sips/pending/string-interpolation.html) によって導入され、実装の詳細もそこに書かれている。
上の例において、リテラル `s"Hello, $name"` は加工文字列リテラルだ。これはコンパイラがこのリテラルに対して何らかの追加処理を実行するということだ。加工文字リテラルは `"` の前にいくつかの文字を書くことで表記される。文字列の補間は [SIP-11](http://docs.scala-lang.org/sips/pending/string-interpolation.html) によって導入され、実装の詳細もそこに書かれている。

## 用例

Expand Down
2 changes: 1 addition & 1 deletion overviews/core/_posts/2012-09-21-string-interpolation.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ String Interpolation allows users to embed variable references directly in *proc

In the above, the literal `s"Hello, $name"` is a *processed* string literal. This means that the compiler does some additional
work to this literal. A processed string literal is denoted by a set of characters precedding the `"`. String interpolation
was introduced by [SIP-13](http://docs.scala-lang.org/sips/pending/string-interpolation.html), which contains all details of the implementation.
was introduced by [SIP-11](http://docs.scala-lang.org/sips/pending/string-interpolation.html), which contains all details of the implementation.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion zh-cn/overviews/core/string-interpolation.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ title: 字符串插值
val name="James"
println(s"Hello,$name")//Hello,James

在上例中, s"Hello,$name" 是待处理字符串字面,编译器会对它做额外的工作。待处理字符串字面通过“号前的字符来标示(例如:上例中是s)。字符串插值的实现细节在 [SIP-13](http://docs.scala-lang.org/sips/pending/string-interpolation.html) 中有全面介绍。
在上例中, s"Hello,$name" 是待处理字符串字面,编译器会对它做额外的工作。待处理字符串字面通过“号前的字符来标示(例如:上例中是s)。字符串插值的实现细节在 [SIP-11](http://docs.scala-lang.org/sips/pending/string-interpolation.html) 中有全面介绍。

## 用法

Expand Down