Skip to content

fix(31-symbols): sync en/es exercise text with ru ("grip")#855

Merged
fey merged 2 commits into
mainfrom
fix/symbols-en-es-exercise-sync
Jul 22, 2026
Merged

fix(31-symbols): sync en/es exercise text with ru ("grip")#855
fey merged 2 commits into
mainfrom
fix/symbols-en-es-exercise-sync

Conversation

@fey

@fey fey commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Что и зачем

В уроке 31-advanced-strings/30-symbols тексты задания для локалей en/es остались от старой версии урока (name = 'Na\nharis' → вывести s) и рассинхронены с:

  • ru/EXERCISE.md — задание «извлечь символы по индексам и вывести слово grip»;
  • index.jsconsole.log(\${text[10]}${text[8]}${text[15]}${text[7]}`)дляtext = 'Python programming'→ печатаетgrip`;
  • test.jsexpect(firstArg).toBe('grip').

Именно этот рассинхрон породил путаницу в #854: англоязычный студент читал старое задание про s, а тест ждёт grip. В #854 предложено поменять тест на 's', но это ломает эталонное решение (index.js печатает grip). Правильное исправление — обновить устаревшие тексты заданий, что и делает этот PR.

Изменения

  • en/EXERCISE.md и es/EXERCISE.md приведены в соответствие с ru (задача про grip).
  • description.es.yml (легаси-дубль es-локали на уровне урока) — поле instructions синхронизировано с es/EXERCISE.md, чтобы оба es-источника совпадали.
  • Код решения и тест не менялись — они уже корректны.

Замена для

Закрывает потребность #854 корректным способом.

🤖 Generated with Claude Code

fey and others added 2 commits July 22, 2026 22:23
The en/es EXERCISE.md for 30-symbols still described the old lesson
(`Na\nharis` -> print `s`), out of sync with the ru version, index.js
and test.js, which are the "grip" exercise (extract chars by index).

This mismatch is what PR #854 tried to fix by changing the test to
expect 's' — but that breaks the reference solution (index.js prints
`grip`). The correct fix is to update the stale en/es task texts.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…RCISE

The consolidated per-lesson description.es.yml (legacy es duplicate) still
had the old "print the last character" task. Align its `instructions` with
es/EXERCISE.md ("grip" exercise) so both es sources stay in sync.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@fey
fey merged commit de9be88 into main Jul 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant