Skip to content

Commit

Permalink
fix russian translation "does not" to "does" (elixirschool#1056)
Browse files Browse the repository at this point in the history
  • Loading branch information
morontt authored and nscyclone committed Apr 21, 2017
1 parent c07c876 commit 05bf072
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 9 deletions.
1 change: 1 addition & 0 deletions bg/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Забележка__: Методът `each` връща атома `:ok`.
Expand Down
1 change: 1 addition & 0 deletions bn/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Note__: `each` মেথড একটি এটম রিটার্ন করে `:ok`.
Expand Down
1 change: 1 addition & 0 deletions cn/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__注意__`each` 函数会返回原子 `:ok`
Expand Down
1 change: 1 addition & 0 deletions de/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Hinweis__: Die Methode `each` gibt das Atom `:ok` zurück.
Expand Down
1 change: 1 addition & 0 deletions es/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Nota__: La función `each` retorna el átomo `:ok`.
Expand Down
1 change: 1 addition & 0 deletions fr/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Note__: La fonction `each` retourne l'atom `:ok`.
Expand Down
1 change: 1 addition & 0 deletions gr/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Σημείωση__: Η συνάρτηση `each` επιστρέφει το άτομο `:ok`.
Expand Down
1 change: 1 addition & 0 deletions id/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Catatan__: Fungsi `each` mengembalikan atom `:ok`.
Expand Down
1 change: 1 addition & 0 deletions it/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Nota__: La funzione `each` non restituisce l'atom `:ok`.
Expand Down
1 change: 1 addition & 0 deletions jp/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__注記__: `each`メソッドは`:ok`というアトムを返します。
Expand Down
1 change: 1 addition & 0 deletions ko/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__참고__: `each` 메서드는 `:ok`라는 애텀을 반환합니다.
Expand Down
1 change: 1 addition & 0 deletions lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Note__: The `each` method does return the atom `:ok`.
Expand Down
1 change: 1 addition & 0 deletions my/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Nota__: Fungsi `each` akan memulangkan atom `:ok`.
Expand Down
1 change: 1 addition & 0 deletions no/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Merk__: Funksjonen `each` returnerer atomet `:ok`.
Expand Down
11 changes: 6 additions & 5 deletions pl/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ iex> Enum.chunk_by(["one", "two", "three", "four", "five", "six"], fn(x) -> Stri
### map_every

Czasami grupowanie elementów kolekcji nie jest dokładnie tym, o co nam chodzi. W takim przypadku funkcja `map_every/3` pozwoli nam na pracę z konkretnymi elementami kolekcji. Jeżeli nasza kolekcja jest w jakiś sposób uporządkowana, to funkcja ta może być bardzo przydatna:

```elixir
iex> Enum.map_every([1, 2, 3, 4], 2, fn x -> x * 2 end)
[2, 2, 6, 4]
Expand All @@ -75,6 +75,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Uwaga__: Funkcja `each` zwraca atom `:ok`.
Expand All @@ -98,11 +99,11 @@ iex> Enum.min([5, 3, 0, -1])
```

Funkcja `min/2` robi dokładnie to samo, ale jako drugi argument przyjmuje funkcję anonimową zwracającą wartość domyślną dla `Enum`:

```exliir
iex> Enum.min([], fn -> :foo end)
:foo
```

### max
Expand All @@ -114,12 +115,12 @@ iex> Enum.max([5, 3, 0, -1])
5
```

Funkcja `max/2` działa na tej samej zasadzie co `min/2`, czyli jako drugi argument przyjmuje funkcję anonimową, która zwróci wartość domyślną:
Funkcja `max/2` działa na tej samej zasadzie co `min/2`, czyli jako drugi argument przyjmuje funkcję anonimową, która zwróci wartość domyślną:

```exliir
iex> Enum.max([], fn -> :bar end)
:bar
```


Expand Down
3 changes: 2 additions & 1 deletion pt/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Nota__: A função `each` retorna um átomo `:ok`.
Expand All @@ -97,7 +98,7 @@ iex> Enum.min([5, 3, 0, -1])
-1
```

`min/2` faz o mesmo, porém permite especificar um valor padrão para `Enum` através de uma função anônima:
`min/2` faz o mesmo, porém permite especificar um valor padrão para `Enum` através de uma função anônima:

```elixir
iex> Enum.min([], fn -> :foo end)
Expand Down
7 changes: 4 additions & 3 deletions ru/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ iex> Enum.chunk_by(["one", "two", "three", "four", "five", "six"], fn(x) -> Stri
```elixir
iex> Enum.map_every([1, 2, 3, 4], 2, fn x -> x * 2 end)
[2, 2, 6, 4]
```
```

### each

Expand All @@ -77,9 +77,10 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Замечание__: Метод `each` не возвращает атом `:ok`.
__Замечание__: Метод `each` возвращает атом `:ok`.

### map

Expand Down Expand Up @@ -163,7 +164,7 @@ iex> Enum.sort([%{:count => 4}, %{:count => 1}])
### uniq_by

Мы можем использовать `uniq_by/2` для удаления дубликатов из коллекций:

```elixir
iex> Enum.uniq_by([1, 2, 3, 2, 1, 1, 1, 1, 1], fn x -> x end)
[1, 2, 3]
Expand Down
1 change: 1 addition & 0 deletions sk/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Poznámka__: Funkcia `each` vracia atom `:ok`.
Expand Down
1 change: 1 addition & 0 deletions vi/lessons/basics/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ iex> Enum.each(["one", "two", "three"], fn(s) -> IO.puts(s) end)
one
two
three
:ok
```

__Lưu ý__: Hàm `each` thực ra luôn trả về atom `:ok`.
Expand Down

0 comments on commit 05bf072

Please sign in to comment.