the-swift-programming-language-in-chinese
the-swift-programming-language-in-chinese copied to clipboard
swift教程/字符串与字符
原文:The escaped special characters \0 (null character), \ (backslash), \t (horizontal tab), \n (line feed), \r (carriage return), " (double quotation mark) and ' (single quotation mark) 译文:转义字符 \0(空字符)、\(反斜线)、(水平制表符)、(换行符)、(回车符)、"(双引号)、'(单引号)。
使用google翻译有概率复现相同的错误
原文:For example, printing the string literal #"Line 1\nLine 2"# prints the line feed escape sequence (\n) rather than printing the string across two lines. 译文:例如,打印字符串文字 #"Line 1 \nLine 2"# 会打印换行符转义序列()而不是给文字换行。
一样的问题,转义字符被翻译漏了
@Wizard23333 欢迎提交 PR