Skip to content

Commit 95d2b37

Browse files
authored
Let match print messages to output comments
1 parent 2b2b218 commit 95d2b37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_ja/tour/basics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,15 +222,15 @@ val yetAnotherPoint = Point(2, 2)
222222

223223
```tut
224224
if (point == anotherPoint) {
225-
println(point + " and " + anotherPoint + " are the same.")
225+
println(point + " " + anotherPoint + " は同じです。")
226226
} else {
227-
println(point + " and " + anotherPoint + " are different.")
227+
println(point + " " + anotherPoint + " は異なります。")
228228
} // Point(1,2) と Point(1,2) は同じです。
229229
230230
if (point == yetAnotherPoint) {
231-
println(point + " and " + yetAnotherPoint + " are the same.")
231+
println(point + " " + yetAnotherPoint + " は同じです。")
232232
} else {
233-
println(point + " and " + yetAnotherPoint + " are different.")
233+
println(point + " " + yetAnotherPoint + " は異なります。")
234234
} // Point(1,2) と Point(2,2) は異なります。
235235
```
236236

0 commit comments

Comments
 (0)