GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update `ru` translation to the `Collections` 1.4.0 page by general-CbIC · Pull Request #3090 · elixirschool/elixirschool

Conversation

@general-CbIC

@general-CbIC general-CbIC commented Mar 21, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

doomspork reacted with rocket emoji
All reactions
  • 🚀 1 reaction
@general-CbIC
Update ru translation to the Collections 1.4.0 page
8892aff
@general-CbIC
general-CbIC requested a review from a team as a code owner March 21, 2026 15:12
Markushik
Markushik reviewed Mar 22, 2026
View reviewed changes
Comment thread lessons/ru/basics/collections.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@general-CbIC
Provide context
1bcf0e1
@general-CbIC
general-CbIC requested a review from Markushik March 24, 2026 14:59
@doomspork

doomspork commented Apr 14, 2026

Copy link
Copy Markdown
Member

@Markushik is this good to merge now?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Markushik

Markushik commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

@doomspork Hello, give me one more time

doomspork reacted with rocket emoji
All reactions
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@general-CbIC
Merge branch 'main' into update-collections-ru-translation
8e7df36
@doomspork

doomspork commented Apr 17, 2026

Copy link
Copy Markdown
Member

You got it @Markushik! Just wanted to check in 😁 Thank you both for your help

general-CbIC reacted with laugh emoji Markushik reacted with heart emoji
All reactions
  • 😄 1 reaction
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Markushik
Markushik requested changes May 3, 2026
View reviewed changes

@Markushik Markushik left a comment

Copy link
Copy Markdown
Contributor

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.

Приветствую, @general-CbIC
Прошу прощения, что не проводил ревью, разгребал свои завалы.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

general-CbIC reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread lessons/ru/basics/collections.md
**Примечание**: такой синтаксис работает только для обновления существующих ключей в ассоциативных массивах! Если указанного ключа нет, возникнет исключение `KeyError`.

Для создания нового ключа используйте [`Map.put/3`](https://hexdocs.pm/elixir/Map.html#put/3)
Для добавления нового ключа вместо конструкции `|` используйте [`Map.put/3`](https://hexdocs.pm/elixir/Map.html#put/3), так добавится новый ключ, если он ещё не был добавлен и обновится значение, если такой ключ уже существует. Мы можем увидеть такое поведение, продемонстрированное в нашем примере:

@Markushik Markushik May 3, 2026

Copy link
Copy Markdown
Contributor

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.

имхо много придаточных, мне тяжеловато читать.
как Вам вариант: "Функция Map.put/3 универсальнее оператора |, так как умеет и обновлять, и создавать ключи:"

как Вы думаете, может не стоит нагромаждать текстом текущее описание? я считаю, что в примерах ниже вы уже подчеркнули все важные свойства функции.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread lessons/ru/basics/collections.md
В Elixir ассоциативный массив — это хранилище типа ключ-значение с возможностью быстрого получения информации по ключу.
В отличие от ключевых списков, они поддерживают любой тип ключей и не сохраняют порядок следования.
Ассоциативный массив объявляется с помощью синтаксиса `%{}`:
Ассоциативный массив объявляется с помощью синтаксиса `%{}` и определённых значений или переменных в качестве ключей:

@Markushik Markushik May 3, 2026

Copy link
Copy Markdown
Contributor

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.

мне нравится, но именно часть с союзами меня прям грузит

мой вариант: "Ассоциативные массивы создаются через синтаксис %{}. В роли ключей могут выступать любые значения или переменные:"

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@general-CbIC
Merge branch 'main' into update-collections-ru-translation
8413520

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Markushik Markushik Markushik requested changes

Requested changes must be addressed to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@general-CbIC @doomspork @Markushik
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.