Bug 447406

Summary: The "step" keyword in wrongly translated into "pas à pas" in French in Kturtle.
Product: [Translations] i18n Reporter: lilian.pfister
Component: frAssignee: Noé Lopez <noelopez>
Status: RESOLVED FIXED    
Severity: normal CC: jazeix, nicolas.fella, noelopez
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description lilian.pfister 2021-12-23 04:55:44 UTC
SUMMARY
The "step" keyword used in "for" loop has been translated into "pas à pas" in French.
That means the code line "for $i= 100 to 400 step 10" is translated into "pour $i= 100 à 400 pas à pas 10" which is not recognised by the kturtle interpreter.
Previously, the above code line was translated into "pour $i= 100 à 400 pas_a_pas 10" which was recognised by the interpreter.
To be more precise: translating "step" by "pas à pas" or "pas_a_pas" is wrong. "Pas à pas" means "step by step". "Step" should be translated by "pas" only. Also, in the kturtle French documentation the keyword to be used in the "for" loop is supposed to be "pas" and not "pas_a_pas" or "pas à pas".

STEPS TO REPRODUCE
1. Launch Kturtle
2. In the editor (left pane), enter "for $i= 1 to 10 step 2 { bw 12 print $i}" and hit F5 key.
3. Save the file as "test.turtle"
4. Select "Settings>Script language>français"
5. Open "test.turtle" and hit F5 key.

OBSERVED RESULT
In step 2, the interpreter would work and the turtle will move and print some figures on the screen.
In step 5, the "for $i= 1 to 10 step 2 { bw 12 print $i}" is translated to "pour $i= 1 à 10 pas à pas 2 { re 12 écris $i}" and, after F5 key stroke, an error message says "You cannot pout 'à' here."

EXPECTED RESULT
In step 5, the translated line code should be "pour $i= 1 à 10 pas_a_pas 2 { re 12 écris $i}" and after hitting F5, the turtle behaviour should be the same as in Step 2.
An even better translation should be "pour $i= 1 à 10 pas 2 { re 12 écris $i}" as it would cmoply with "real" French translation and the Kturtle French documentation.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 35

ADDITIONAL INFORMATION
Comment 1 Noé Lopez 2022-03-19 20:16:15 UTC
Bonjour! Merci pour le report, je vais m'occuper de remettre les traductions au niveau de la documentation, les changements seront visibles dans une prochaine mise à jour de KTurtle.
Comment 2 Jazeix Johnny 2023-10-10 19:03:48 UTC
This has been fixed in March 2022 (https://websvn.kde.org/trunk/l10n-support/fr/summit/messages/kturtle/kturtle.po?r1=1620746&r2=1621155).

Can you double check it works fine now so I can close the bug or fix what should be fixed if it is not the case?

Cheers,
Johnny
Comment 3 Jazeix Johnny 2023-10-10 19:04:27 UTC
waiting for info
Comment 4 lilian.pfister 2023-10-10 20:21:09 UTC
I can confirm it was fixed long ago.
Thank you for following up..