From 519d6ad57715e21fe7300a1864394f674736e7e8 Mon Sep 17 00:00:00 2001 From: CastaChick Date: Thu, 26 Nov 2020 21:59:34 +0900 Subject: [PATCH 1/3] fix failures by adding empty pages of French --- _fr/tour/abstract-type-members.md | 12 ++++++++++++ _fr/tour/annotations.md | 12 ++++++++++++ _fr/tour/automatic-closures.md | 7 +++++++ _fr/tour/basics.md | 11 +++++++++++ _fr/tour/by-name-parameters.md | 12 ++++++++++++ _fr/tour/case-classes.md | 12 ++++++++++++ _fr/tour/classes.md | 12 ++++++++++++ _fr/tour/compound-types.md | 12 ++++++++++++ _fr/tour/default-parameter-values.md | 12 ++++++++++++ _fr/tour/extractor-objects.md | 12 ++++++++++++ _fr/tour/for-comprehensions.md | 12 ++++++++++++ _fr/tour/generic-classes.md | 12 ++++++++++++ _fr/tour/higher-order-functions.md | 12 ++++++++++++ _fr/tour/implicit-conversions.md | 12 ++++++++++++ _fr/tour/implicit-parameters.md | 12 ++++++++++++ _fr/tour/inner-classes.md | 12 ++++++++++++ _fr/tour/lower-type-bounds.md | 12 ++++++++++++ _fr/tour/mixin-class-composition.md | 12 ++++++++++++ _fr/tour/multiple-parameter-lists.md | 12 ++++++++++++ _fr/tour/named-arguments.md | 12 ++++++++++++ _fr/tour/nested-functions.md | 12 ++++++++++++ _fr/tour/operators.md | 12 ++++++++++++ _fr/tour/package-objects.md | 9 +++++++++ _fr/tour/packages-and-imports.md | 12 ++++++++++++ _fr/tour/pattern-matching.md | 12 ++++++++++++ _fr/tour/polymorphic-methods.md | 12 ++++++++++++ _fr/tour/regular-expression-patterns.md | 12 ++++++++++++ _fr/tour/self-types.md | 12 ++++++++++++ _fr/tour/singleton-objects.md | 12 ++++++++++++ _fr/tour/traits.md | 12 ++++++++++++ _fr/tour/tuples.md | 12 ++++++++++++ _fr/tour/type-inference.md | 12 ++++++++++++ _fr/tour/unified-types.md | 12 ++++++++++++ _fr/tour/upper-type-bounds.md | 12 ++++++++++++ _fr/tour/variances.md | 12 ++++++++++++ 35 files changed, 411 insertions(+) create mode 100644 _fr/tour/abstract-type-members.md create mode 100644 _fr/tour/annotations.md create mode 100644 _fr/tour/automatic-closures.md create mode 100644 _fr/tour/basics.md create mode 100644 _fr/tour/by-name-parameters.md create mode 100644 _fr/tour/case-classes.md create mode 100644 _fr/tour/classes.md create mode 100644 _fr/tour/compound-types.md create mode 100644 _fr/tour/default-parameter-values.md create mode 100644 _fr/tour/extractor-objects.md create mode 100644 _fr/tour/for-comprehensions.md create mode 100644 _fr/tour/generic-classes.md create mode 100644 _fr/tour/higher-order-functions.md create mode 100644 _fr/tour/implicit-conversions.md create mode 100644 _fr/tour/implicit-parameters.md create mode 100644 _fr/tour/inner-classes.md create mode 100644 _fr/tour/lower-type-bounds.md create mode 100644 _fr/tour/mixin-class-composition.md create mode 100644 _fr/tour/multiple-parameter-lists.md create mode 100644 _fr/tour/named-arguments.md create mode 100644 _fr/tour/nested-functions.md create mode 100644 _fr/tour/operators.md create mode 100644 _fr/tour/package-objects.md create mode 100644 _fr/tour/packages-and-imports.md create mode 100644 _fr/tour/pattern-matching.md create mode 100644 _fr/tour/polymorphic-methods.md create mode 100644 _fr/tour/regular-expression-patterns.md create mode 100644 _fr/tour/self-types.md create mode 100644 _fr/tour/singleton-objects.md create mode 100644 _fr/tour/traits.md create mode 100644 _fr/tour/tuples.md create mode 100644 _fr/tour/type-inference.md create mode 100644 _fr/tour/unified-types.md create mode 100644 _fr/tour/upper-type-bounds.md create mode 100644 _fr/tour/variances.md diff --git a/_fr/tour/abstract-type-members.md b/_fr/tour/abstract-type-members.md new file mode 100644 index 0000000000..1239bebfd6 --- /dev/null +++ b/_fr/tour/abstract-type-members.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Abstract Type Members +partof: scala-tour + +num: 21 + +language: fr + +next-page: compound-types +previous-page: inner-classes +--- diff --git a/_fr/tour/annotations.md b/_fr/tour/annotations.md new file mode 100644 index 0000000000..5f2b4cbf55 --- /dev/null +++ b/_fr/tour/annotations.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Annotations +partof: scala-tour + +num: 30 + +language: fr + +next-page: packages-and-imports +previous-page: by-name-parameters +--- diff --git a/_fr/tour/automatic-closures.md b/_fr/tour/automatic-closures.md new file mode 100644 index 0000000000..f5a06a5f5f --- /dev/null +++ b/_fr/tour/automatic-closures.md @@ -0,0 +1,7 @@ +--- +layout: tour +title: Automatic Closures +partof: scala-tour + +language: fr +--- diff --git a/_fr/tour/basics.md b/_fr/tour/basics.md new file mode 100644 index 0000000000..d30be44941 --- /dev/null +++ b/_fr/tour/basics.md @@ -0,0 +1,11 @@ +--- +layout: tour +title: Basics +partof: scala-tour + +num: 2 +language: fr + +next-page: unified-types +previous-page: tour-of-scala +--- \ No newline at end of file diff --git a/_fr/tour/by-name-parameters.md b/_fr/tour/by-name-parameters.md new file mode 100644 index 0000000000..917e78aede --- /dev/null +++ b/_fr/tour/by-name-parameters.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: By-name Parameters +partof: scala-tour + +num: 29 + +language: fr + +next-page: annotations +previous-page: operators +--- diff --git a/_fr/tour/case-classes.md b/_fr/tour/case-classes.md new file mode 100644 index 0000000000..d5395721ea --- /dev/null +++ b/_fr/tour/case-classes.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Case Classes +partof: scala-tour + +num: 10 + +language: fr + +next-page: pattern-matching +previous-page: multiple-parameter-lists +--- diff --git a/_fr/tour/classes.md b/_fr/tour/classes.md new file mode 100644 index 0000000000..63480c2848 --- /dev/null +++ b/_fr/tour/classes.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Classes +partof: scala-tour + +num: 4 + +language: fr + +next-page: traits +previous-page: unified-types +--- \ No newline at end of file diff --git a/_fr/tour/compound-types.md b/_fr/tour/compound-types.md new file mode 100644 index 0000000000..db813518b1 --- /dev/null +++ b/_fr/tour/compound-types.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Compound Types +partof: scala-tour + +num: 22 + +language: fr + +next-page: self-types +previous-page: abstract-type-members +--- diff --git a/_fr/tour/default-parameter-values.md b/_fr/tour/default-parameter-values.md new file mode 100644 index 0000000000..0f73ab1653 --- /dev/null +++ b/_fr/tour/default-parameter-values.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Default Parameter Values +partof: scala-tour + +num: 31 + +language: fr + +next-page: named-arguments +previous-page: annotations +--- diff --git a/_fr/tour/extractor-objects.md b/_fr/tour/extractor-objects.md new file mode 100644 index 0000000000..ac5c1dc013 --- /dev/null +++ b/_fr/tour/extractor-objects.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Extractor Objects +partof: scala-tour + +num: 14 + +language: fr + +next-page: generic-classes +previous-page: regular-expression-patterns +--- diff --git a/_fr/tour/for-comprehensions.md b/_fr/tour/for-comprehensions.md new file mode 100644 index 0000000000..ea4649ad39 --- /dev/null +++ b/_fr/tour/for-comprehensions.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: For Comprehensions +partof: scala-tour + +num: 15 + +language: fr + +next-page: generic-classes +previous-page: extractor-objects +--- diff --git a/_fr/tour/generic-classes.md b/_fr/tour/generic-classes.md new file mode 100644 index 0000000000..6eeb2e8fea --- /dev/null +++ b/_fr/tour/generic-classes.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Generic Classes +partof: scala-tour + +num: 16 + +language: fr + +next-page: variances +previous-page: extractor-objects +--- diff --git a/_fr/tour/higher-order-functions.md b/_fr/tour/higher-order-functions.md new file mode 100644 index 0000000000..a26e90f16f --- /dev/null +++ b/_fr/tour/higher-order-functions.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Higher-order Functions +partof: scala-tour + +num: 7 + +language: fr + +next-page: nested-functions +previous-page: mixin-class-composition +--- diff --git a/_fr/tour/implicit-conversions.md b/_fr/tour/implicit-conversions.md new file mode 100644 index 0000000000..1030827e4b --- /dev/null +++ b/_fr/tour/implicit-conversions.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Implicit Conversions +partof: scala-tour + +num: 25 + +language: fr + +next-page: polymorphic-methods +previous-page: implicit-parameters +--- diff --git a/_fr/tour/implicit-parameters.md b/_fr/tour/implicit-parameters.md new file mode 100644 index 0000000000..236dd136f5 --- /dev/null +++ b/_fr/tour/implicit-parameters.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Implicit Parameters +partof: scala-tour + +num: 24 + +language: fr + +next-page: implicit-conversions +previous-page: self-types +--- diff --git a/_fr/tour/inner-classes.md b/_fr/tour/inner-classes.md new file mode 100644 index 0000000000..a5df305ce5 --- /dev/null +++ b/_fr/tour/inner-classes.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Inner Classes +partof: scala-tour + +num: 20 + +language: fr + +next-page: abstract-type-members +previous-page: lower-type-bounds +--- diff --git a/_fr/tour/lower-type-bounds.md b/_fr/tour/lower-type-bounds.md new file mode 100644 index 0000000000..eb6ffb785c --- /dev/null +++ b/_fr/tour/lower-type-bounds.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Lower Type Bounds +partof: scala-tour + +num: 19 + +language: fr + +next-page: inner-classes +previous-page: upper-type-bounds +--- diff --git a/_fr/tour/mixin-class-composition.md b/_fr/tour/mixin-class-composition.md new file mode 100644 index 0000000000..8d1b823c11 --- /dev/null +++ b/_fr/tour/mixin-class-composition.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Class Composition with Mixins +partof: scala-tour + +num: 6 + +language: fr + +next-page: higher-order-functions +previous-page: tuples +--- diff --git a/_fr/tour/multiple-parameter-lists.md b/_fr/tour/multiple-parameter-lists.md new file mode 100644 index 0000000000..476e918cc1 --- /dev/null +++ b/_fr/tour/multiple-parameter-lists.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Multiple Parameter Lists (Currying) +partof: scala-tour + +num: 9 + +language: fr + +next-page: case-classes +previous-page: nested-functions +--- diff --git a/_fr/tour/named-arguments.md b/_fr/tour/named-arguments.md new file mode 100644 index 0000000000..d9aba0c1c6 --- /dev/null +++ b/_fr/tour/named-arguments.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Named Arguments +partof: scala-tour + +num: 32 + +language: fr + +next-page: packages-and-imports +previous-page: default-parameter-values +--- diff --git a/_fr/tour/nested-functions.md b/_fr/tour/nested-functions.md new file mode 100644 index 0000000000..f92045364f --- /dev/null +++ b/_fr/tour/nested-functions.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Nested Methods +partof: scala-tour + +num: 8 + +language: fr + +next-page: multiple-parameter-lists +previous-page: higher-order-functions +--- diff --git a/_fr/tour/operators.md b/_fr/tour/operators.md new file mode 100644 index 0000000000..59c697727e --- /dev/null +++ b/_fr/tour/operators.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Operators +partof: scala-tour + +num: 28 + +language: fr + +next-page: by-name-parameters +previous-page: type-inference +--- diff --git a/_fr/tour/package-objects.md b/_fr/tour/package-objects.md new file mode 100644 index 0000000000..9c1b78716d --- /dev/null +++ b/_fr/tour/package-objects.md @@ -0,0 +1,9 @@ +--- +layout: tour +title: Package Objects +language: fr +partof: scala-tour + +num: 36 +previous-page: packages-and-imports +--- \ No newline at end of file diff --git a/_fr/tour/packages-and-imports.md b/_fr/tour/packages-and-imports.md new file mode 100644 index 0000000000..8edac3b01c --- /dev/null +++ b/_fr/tour/packages-and-imports.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Packages and Imports +partof: scala-tour + +num: 33 + +language: fr + +previous-page: named-arguments +next-page: package-objects +--- diff --git a/_fr/tour/pattern-matching.md b/_fr/tour/pattern-matching.md new file mode 100644 index 0000000000..1cd3731b9a --- /dev/null +++ b/_fr/tour/pattern-matching.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Pattern Matching +partof: scala-tour + +num: 11 + +language: fr + +next-page: singleton-objects +previous-page: case-classes +--- diff --git a/_fr/tour/polymorphic-methods.md b/_fr/tour/polymorphic-methods.md new file mode 100644 index 0000000000..6375d54957 --- /dev/null +++ b/_fr/tour/polymorphic-methods.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Polymorphic Methods +partof: scala-tour + +num: 26 + +language: fr + +next-page: type-inference +previous-page: implicit-conversions +--- diff --git a/_fr/tour/regular-expression-patterns.md b/_fr/tour/regular-expression-patterns.md new file mode 100644 index 0000000000..c8f05a2c4b --- /dev/null +++ b/_fr/tour/regular-expression-patterns.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Regular Expression Patterns +partof: scala-tour + +num: 13 + +language: fr + +next-page: extractor-objects +previous-page: singleton-objects +--- diff --git a/_fr/tour/self-types.md b/_fr/tour/self-types.md new file mode 100644 index 0000000000..9d82783417 --- /dev/null +++ b/_fr/tour/self-types.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Self-types +partof: scala-tour + +num: 23 + +language: fr + +next-page: implicit-parameters +previous-page: compound-types +--- diff --git a/_fr/tour/singleton-objects.md b/_fr/tour/singleton-objects.md new file mode 100644 index 0000000000..93788c0f34 --- /dev/null +++ b/_fr/tour/singleton-objects.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Singleton Objects +partof: scala-tour + +num: 12 + +language: fr + +next-page: regular-expression-patterns +previous-page: pattern-matching +--- diff --git a/_fr/tour/traits.md b/_fr/tour/traits.md new file mode 100644 index 0000000000..fb57d520aa --- /dev/null +++ b/_fr/tour/traits.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Traits +partof: scala-tour + +num: 5 + +language: fr + +next-page: tuples +previous-page: classes +--- \ No newline at end of file diff --git a/_fr/tour/tuples.md b/_fr/tour/tuples.md new file mode 100644 index 0000000000..74cd02ff85 --- /dev/null +++ b/_fr/tour/tuples.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Tuples +partof: scala-tour + +num: + +language: fr + +next-page: mixin-class-composition +previous-page: traits +--- \ No newline at end of file diff --git a/_fr/tour/type-inference.md b/_fr/tour/type-inference.md new file mode 100644 index 0000000000..019ed21ef5 --- /dev/null +++ b/_fr/tour/type-inference.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Type Inference +partof: scala-tour + +num: 27 + +language: fr + +next-page: operators +previous-page: polymorphic-methods +--- diff --git a/_fr/tour/unified-types.md b/_fr/tour/unified-types.md new file mode 100644 index 0000000000..d914ee3fd0 --- /dev/null +++ b/_fr/tour/unified-types.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Unified Types +partof: scala-tour + +num: 3 + +language: fr + +next-page: classes +previous-page: basics +--- \ No newline at end of file diff --git a/_fr/tour/upper-type-bounds.md b/_fr/tour/upper-type-bounds.md new file mode 100644 index 0000000000..f47c6a4e30 --- /dev/null +++ b/_fr/tour/upper-type-bounds.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Upper Type Bounds +partof: scala-tour + +num: 18 + +language: fr + +next-page: lower-type-bounds +previous-page: variances +--- diff --git a/_fr/tour/variances.md b/_fr/tour/variances.md new file mode 100644 index 0000000000..5f535d303b --- /dev/null +++ b/_fr/tour/variances.md @@ -0,0 +1,12 @@ +--- +layout: tour +title: Variance +partof: scala-tour + +num: 17 + +language: fr + +next-page: upper-type-bounds +previous-page: generic-classes +--- From 12ea31a2198af0d4c812df56ffb51a92f1a1596a Mon Sep 17 00:00:00 2001 From: CastaChick Date: Fri, 27 Nov 2020 17:49:06 +0900 Subject: [PATCH 2/3] fix a wrong link to a unexisting chapter --- _fr/tour/tour-of-scala.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_fr/tour/tour-of-scala.md b/_fr/tour/tour-of-scala.md index f752f64ed5..cb9fb2fcc6 100644 --- a/_fr/tour/tour-of-scala.md +++ b/_fr/tour/tour-of-scala.md @@ -29,7 +29,7 @@ Les classes peuvent être étendues à travers des sous-classes et grâce à un ## Scala est fonctionnel ## Scala est également un langage fonctionnel dans le sen où [toute fonction est une valeur](unified-types.html). -Scala propose une [syntaxe légère](basics.html#functions) pour définir des fonctions anonymes, supporte des +Scala propose une [syntaxe légère](basics.html) pour définir des fonctions anonymes, supporte des [fonctions de haut niveau](higher-order-functions.html), autorise les fonctions [imbriquées](nested-functions.html) et supporte le [currying](multiple-parameter-lists.html). Les [case class](case-classes.html) de Scala et leur système intégré de [reconnaissance de motifs](pattern-matching.html) From de55128bf348571fc213e89d2f49a3a02c9c1a3f Mon Sep 17 00:00:00 2001 From: CastaChick Date: Fri, 27 Nov 2020 18:21:18 +0900 Subject: [PATCH 3/3] fix typo --- _zh-cn/overviews/reflection/.jekyll-metadata | Bin 0 -> 477 bytes _zh-cn/overviews/reflection/typetags-manifests.md | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 _zh-cn/overviews/reflection/.jekyll-metadata diff --git a/_zh-cn/overviews/reflection/.jekyll-metadata b/_zh-cn/overviews/reflection/.jekyll-metadata new file mode 100644 index 0000000000000000000000000000000000000000..72fc01387fb91dd79fb7d021b03a165a6f3cb9b2 GIT binary patch literal 477 zcmbu*y-veG3BM@Rm7?0W&za# z;fZ(!`3zEv=6BdHGdFS1hHFo`FYC&9R>qw~|_m+AZKHcTR|w3+C-MCWAx zyUReMn?zJUl$chAdCN`GGkH#6(b+sF!OCcm%)huEH(Q621sTk#4Y=<}cDwTtwx~d5 zF{vEvvc04US$hLt*24Xw-)$SZ@X(1I;iD@8=3R|M*y2QQ5DpGn$Nlb(:>`和`typeArguments`)。** 取而代之的是,可以使用Java(用于类)和Scala(用于类型)提供的反射API。 -在Scala 2.10中,不建议使用`scala.reflect.ClassManifest`,而推荐使用`TypeTag`和`ClassTag`,并且计划在即将发布的版本中弃用`scala.reflect.Manifest`。因此,建议迁移任何基于`Manifest`的API以使用`Tag`。 \ No newline at end of file +在Scala 2.10中,不建议使用`scala.reflect.ClassManifest`,而推荐使用`TypeTag`和`ClassTag`,并且计划在即将发布的版本中弃用`scala.reflect.Manifest`。因此,建议迁移任何基于`Manifest`的API以使用`Tag`。