From 81a03978d9785e204abe1210152f5550d859aeea Mon Sep 17 00:00:00 2001 From: Kirwiisp <59315476+Kirwiisp@users.noreply.github.com> Date: Sat, 22 Mar 2025 20:15:18 +0100 Subject: [PATCH 1/3] translation: correct error and add shortcut --- translations/fr/try_ruby_280.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translations/fr/try_ruby_280.md b/translations/fr/try_ruby_280.md index b04e33ec..863d7076 100644 --- a/translations/fr/try_ruby_280.md +++ b/translations/fr/try_ruby_280.md @@ -19,8 +19,8 @@ Desormais, nous allons compter tes critiques. Reste avec moi. Écris : puts notations -La trait droite dans le code est le caractère pipe (|), probablement situé juste au-dessus de la touche 'T' OU 'Y' d'un clavier Windows Français. +Le trait droit dans le code correspond au caractère "pipe" (|), probablement situé juste au-dessus de la touche 'T' OU 'Y' d'un clavier Windows Français, ou "Option+Maj+L" sur MacOS. Le _+= 1_ signifie : augmenter la valeur de 1. -Ne t'inquiète pas si tu ne comprends pas tout ce qui se passe ici. Tout sera expliqué plus tard. \ No newline at end of file +Ne t'inquiète pas si tu ne comprends pas tout ce qui se passe ici. Tout sera expliqué plus tard. From 37912169cad7d0161d945ef9828db2c2825c7b95 Mon Sep 17 00:00:00 2001 From: Kirwiisp <59315476+Kirwiisp@users.noreply.github.com> Date: Sat, 22 Mar 2025 20:57:01 +0100 Subject: [PATCH 2/3] fix: Duplicate text English and French --- translations/fr/try_ruby_390.md | 48 +-------------------------------- 1 file changed, 1 insertion(+), 47 deletions(-) diff --git a/translations/fr/try_ruby_390.md b/translations/fr/try_ruby_390.md index 74779d54..2af9db0c 100644 --- a/translations/fr/try_ruby_390.md +++ b/translations/fr/try_ruby_390.md @@ -7,52 +7,6 @@ error: load: prev --- -Okay we now have a list of plays from the internet. The list was in the json format. -Fortunately for us Ruby kindly provides a method to convert json data to a Ruby hash. -The _get\_shakey_ method already did that for us. - -But since the structure of the json data is retained in the hash, it is still a bit difficult to read. -Let us write a method to display the plays nicely. - -If you inspect the list of plays carefully you will see that it has a kind of nested -structure. (This is actually quite common in data you get from the internet.) -Looks like this: - -