From 5b257d230f650f1d201ee58232a9f4b8cae9a5e2 Mon Sep 17 00:00:00 2001 From: hltj Date: Mon, 16 Oct 2023 20:51:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AF=91=E3=80=8A=E6=AC=A2=E8=BF=8E?= =?UTF-8?q?=E5=8F=82=E5=8A=A0=20Kotlin=20=E4=B9=8B=E6=97=85=EF=BC=81?= =?UTF-8?q?=E3=80=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/images/tour/start-kotlin-tour.svg | 148 +++++++++++++----------- docs/topics/getting-started.md | 6 +- docs/topics/tour/kotlin-tour-welcome.md | 40 +++---- 3 files changed, 103 insertions(+), 91 deletions(-) diff --git a/docs/images/tour/start-kotlin-tour.svg b/docs/images/tour/start-kotlin-tour.svg index 60dda339eb7..eba0bb494db 100644 --- a/docs/images/tour/start-kotlin-tour.svg +++ b/docs/images/tour/start-kotlin-tour.svg @@ -1,70 +1,78 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + diff --git a/docs/topics/getting-started.md b/docs/topics/getting-started.md index ad297150045..f4c15707f7e 100644 --- a/docs/topics/getting-started.md +++ b/docs/topics/getting-started.md @@ -3,7 +3,7 @@ Kotlin 是一门现代但已成熟的编程语言,旨在让开发人员更幸福快乐。 它简洁、安全、可与 Java 及其他语言互操作,并提供了多种方式在多个平台间复用代码,以实现高效编程。 -To start, why not take our tour of Kotlin? This tour covers the fundamentals of the Kotlin programming language. +首先,何不参加 Kotlin 之旅[^1]呢? 该教程涵盖了 Kotlin 编程语言的基础知识。 Start the Kotlin tour @@ -168,3 +168,7 @@ Kotlin 已包含在每个 [IntelliJ IDEA](https://www.jetbrains.com/idea/downloa ## 还缺少什么? 如果本页有任何遗漏或令人困惑之处,请[提交反馈](https://surveys.hotjar.com/d82e82b0-00d9-44a7-b793-0611bf6189df)。 + +--- + +[^1]: 译注:此处双关,“tour of Kotlin”字面意为“科特林岛之旅”,此处意为“Kotlin(入门)教程”。 diff --git a/docs/topics/tour/kotlin-tour-welcome.md b/docs/topics/tour/kotlin-tour-welcome.md index 11652bedd12..b26b6125f75 100644 --- a/docs/topics/tour/kotlin-tour-welcome.md +++ b/docs/topics/tour/kotlin-tour-welcome.md @@ -1,26 +1,26 @@ -[//]: # (title: 欢迎来到我们的 Kotlin 之旅!) +[//]: # (title: 欢迎参加 Kotlin 之旅!) -> This tour covers the fundamentals of the Kotlin programming language and can be completed entirely within your -> browser. There is no installation required. -{ type = "note" } +> 本教程涵盖了 Kotlin 编程语言的基础知识,并且可以完全在浏览器中完成。 不需要安装。 +{type="note"} -Each chapter in this tour contains: -* **Theory** to introduce key concepts of the language with examples. -* **Practice** with exercises to test your understanding of what you have learned. -* **Solutions** for your reference. +本教程的每一章都包含: +* **理论**:通过示例介绍语言的关键概念。 +* **实践**:通过练习来检验对所学内容的理解。 +* **答案**:参考答案。 -In this tour you will learn about: -* [Variables](kotlin-tour-hello-world.md) -* [Basic types](kotlin-tour-basic-types.md) -* [Collections](kotlin-tour-collections.md) -* [Control flow](kotlin-tour-control-flow.md) -* [Functions](kotlin-tour-functions.md) -* [Classes](kotlin-tour-classes.md) -* [Null safety](kotlin-tour-null-safety.md) +在本教程中可学到: +* [变量](kotlin-tour-hello-world.md) +* [基本类型](kotlin-tour-basic-types.md) +* [集合](kotlin-tour-collections.md) +* [控制流程](kotlin-tour-control-flow.md) +* [函数](kotlin-tour-functions.md) +* [类](kotlin-tour-classes.md) +* [空安全](kotlin-tour-null-safety.md) -To have the best experience, we recommend that you read through these chapters in order. But if you want, you can choose -which chapters you want to read. +为了获得最佳体验,建议按顺序通读这些章节。 当然仍然可以选择想读的章节来阅读。 -Ready to go? +准备出发? -Start the Kotlin tour \ No newline at end of file +开始 Kotlin 之旅 \ No newline at end of file