https://bugs.kde.org/show_bug.cgi?id=447406

            Bug ID: 447406
           Summary: The "step" keyword in wrongly translated into "pas à
                    pas" in French in Kturtle.
           Product: kturtle
           Version: 21.04.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: c...@kde.nl
          Reporter: lilian.pfis...@free.fr
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to