-
Notifications
You must be signed in to change notification settings - Fork 25
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
プリント文の翻訳 part 1 #335
プリント文の翻訳 part 1 #335
Conversation
@@ -52,10 +52,10 @@ var reference3: Person? | |||
|
|||
```swift | |||
reference1 = Person(name: "John Appleseed") | |||
// John Appleseed is being initialized | |||
// John Appleseed さんの初期化が進行中です |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
John Appleseed
人名も翻訳したほうがいいですかね?
例えば「ジョン・アップルシード」に変えたほうがいいでしょうか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
固有名詞はそのままで良いと思います。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
このままにします。
``` | ||
|
||
`if` については、[Control FLow\(制御フロー\)](control-flow.md)を参照ください。同じ型、同じ数の値を持ったタプル同士の比較もできます。タプルは左から右へと順番に値を比較します。それぞれの値の比較結果が全体の結果に反映されます。全て等しい場合、タプル同士は等しいと見なされます。例えば: | ||
|
||
```swift | ||
(1, "zebra") < (2, "apple") // 1 は 2 より小さいので true。"zebra" と "apple" は比較しない | ||
(3, "apple") < (3, "bird") // 3 と 3 は同じで、"apple" は "bird" はより小さいので true | ||
(4, "dog") == (4, "dog") // 3 と 3、"dog" と "dog" は等しいので true | ||
(4, "dog") == (4, "dog") // 4 と 4、"dog" と "dog" は等しいので true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
コードとコメントが合っていなかったので 4
に変更しました。
@@ -186,19 +186,19 @@ Swift は、次の比較演算子をサポートしています。 | |||
```swift | |||
let name = "world" | |||
if name == "world" { | |||
print("hello, world") | |||
print("こんにちは, world") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
さん付けが自然ですかね?
print("こんにちは, world さん")
@@ -259,7 +259,7 @@ class Customer { | |||
init(name: String) { | |||
self.name = name | |||
} | |||
deinit { print("\(name) is being deinitialized") } | |||
deinit { print("\(name) さまのインスタンス割り当てが解除されました") } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Customer
クラスのname
プロパティなので、呼称を「さま」にしました。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます!「さん」や「さま」が必要かどうかはちょっと悩みどころですね。。。いらないのかなという気もしていますが、他の方のご意見もお伺いしたいです。
@@ -52,10 +52,10 @@ var reference3: Person? | |||
|
|||
```swift | |||
reference1 = Person(name: "John Appleseed") | |||
// John Appleseed is being initialized | |||
// John Appleseed さんの初期化が進行中です |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
固有名詞はそのままで良いと思います。
「さん」や「さま」の敬称、気を効かせた意訳だったんですが、考えてみれば文脈に依存しすぎていて整合性取るのが難しいので一律なしにしたほうが良いかなと思ってきました。 この変更でも
敬称なしで更新します |
更新しました。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTMです👍ありがとうございます!
@SatoTakeshiX san すいません。他の方のご意見もあるかなと思って少し待っていました。明言せずに申し訳ございませんmm なさそうなのでmergeします! 今のところは、こちらで最終確認してmergeしようかと思ってます(やりにくければ再検討)。 |
Closes #143 <紐付けたいIssueの番号>
プリント文の翻訳をしました。
とりあえず一日の作業量なので4ファイル分です。
全部で33ファイルあります。
これで終わりではなくいくつかのパートに分けてpull requestを送りたいと思っています。