From 44950649ba1187cf9b8aad93d7f29f91ecf84481 Mon Sep 17 00:00:00 2001 From: Nikolay Gagarinov Date: Wed, 22 Jul 2026 22:23:06 +0500 Subject: [PATCH 1/2] fix(31-symbols): sync en/es exercise text with ru ("grip") MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- modules/31-advanced-strings/30-symbols/en/EXERCISE.md | 2 +- modules/31-advanced-strings/30-symbols/es/EXERCISE.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/31-advanced-strings/30-symbols/en/EXERCISE.md b/modules/31-advanced-strings/30-symbols/en/EXERCISE.md index e6f0dd98..4239db0f 100644 --- a/modules/31-advanced-strings/30-symbols/en/EXERCISE.md +++ b/modules/31-advanced-strings/30-symbols/en/EXERCISE.md @@ -1 +1 @@ -Given `name = 'Na\nharis'`, print the last character (`s`). Remember: `\n` is one character. +A secret word is hidden in the `text` string. Extract the needed characters from the `text` variable by their indexes, join them, and print the word `grip`. diff --git a/modules/31-advanced-strings/30-symbols/es/EXERCISE.md b/modules/31-advanced-strings/30-symbols/es/EXERCISE.md index 0520c62f..649b09af 100644 --- a/modules/31-advanced-strings/30-symbols/es/EXERCISE.md +++ b/modules/31-advanced-strings/30-symbols/es/EXERCISE.md @@ -1 +1 @@ -Dada `name = 'Na\nharis'`, imprime el último carácter (`s`). +En la cadena `text` se esconde una palabra secreta. Extrae los caracteres necesarios de la variable `text` por sus índices, únelos e imprime la palabra `grip`. From 3efcb8f4e41bfe34e9c58e3b5629216ce4f5df79 Mon Sep 17 00:00:00 2001 From: Nikolay Gagarinov Date: Wed, 22 Jul 2026 22:26:30 +0500 Subject: [PATCH 2/2] fix(31-symbols): sync legacy description.es.yml instructions with EXERCISE 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) --- modules/31-advanced-strings/30-symbols/description.es.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/31-advanced-strings/30-symbols/description.es.yml b/modules/31-advanced-strings/30-symbols/description.es.yml index 2d201267..4c966c9c 100644 --- a/modules/31-advanced-strings/30-symbols/description.es.yml +++ b/modules/31-advanced-strings/30-symbols/description.es.yml @@ -10,6 +10,6 @@ theory: | ``` instructions: | - Imprime el último carácter de la constante dada. + En la cadena `text` se esconde una palabra secreta. Extrae los caracteres necesarios de la variable `text` por sus índices, únelos e imprime la palabra `grip`. tips: []