Skip to content

Commit 182f124

Browse files
committed
Merge branch 'master' of https://github.com/TuringApp/Turing
2 parents 91c2c44 + 10264e3 commit 182f124

File tree

4 files changed

+2882
-2881
lines changed

4 files changed

+2882
-2881
lines changed

src/lang/fr_FR.ts

+17-17
Original file line numberDiff line numberDiff line change
@@ -80,87 +80,87 @@ p, li { white-space: pre-wrap; }
8080
<translation>SINON ne peut être utilisé qu&apos;immédiatement après un bloc SI</translation>
8181
</message>
8282
<message>
83-
<location filename="../main.py" line="946"/>
83+
<location filename="../main.py" line="960"/>
8484
<source>[k]CONTINUE[/k]</source>
8585
<translation>[k]CONTINUER[/k]</translation>
8686
</message>
8787
<message>
88-
<location filename="../main.py" line="949"/>
88+
<location filename="../main.py" line="963"/>
8989
<source>[b]ELSE[/b]</source>
9090
<translation>[b]SINON[/b]</translation>
9191
</message>
9292
<message>
93-
<location filename="../main.py" line="940"/>
93+
<location filename="../main.py" line="954"/>
9494
<source>[k]DISPLAY[/k] [c]{val}[/c]</source>
9595
<translation>[k]AFFICHER[/k] [c]{val}[/c]</translation>
9696
</message>
9797
<message>
98-
<location filename="../main.py" line="952"/>
98+
<location filename="../main.py" line="966"/>
9999
<source>[b]WHILE[/b] [c]{cond}[/c]</source>
100100
<translation>[b]TANT QUE[/b] [c]{cond}[/c]</translation>
101101
</message>
102102
<message>
103-
<location filename="../main.py" line="955"/>
103+
<location filename="../main.py" line="969"/>
104104
<source>[b]IF[/b] [c]{cond}[/c]</source>
105105
<translation>[b]SI[/b] [c]{cond}[/c]</translation>
106106
</message>
107107
<message>
108-
<location filename="../main.py" line="958"/>
108+
<location filename="../main.py" line="972"/>
109109
<source>[k]INPUT[/k] [c]{prompt}[/c] [k]TO[/k] [c]{var}[/c]</source>
110110
<translation>[k]LIRE[/k] [c]{prompt}[/c] [k]DANS[/k] [c]{var}[/c]</translation>
111111
</message>
112112
<message>
113-
<location filename="../main.py" line="983"/>
113+
<location filename="../main.py" line="997"/>
114114
<source>[k]RETURN[/k] [c]{val}[/c]</source>
115115
<translation>[k]RENVOYER[/k] [c]{val}[/c]</translation>
116116
</message>
117117
<message>
118-
<location filename="../main.py" line="963"/>
118+
<location filename="../main.py" line="977"/>
119119
<source>[k]DECLARE[/k] [c]{var}[/c]</source>
120120
<translation>[k]DÉCLARER[/k] [c]{var}[/c]</translation>
121121
</message>
122122
<message>
123-
<location filename="../main.py" line="965"/>
123+
<location filename="../main.py" line="979"/>
124124
<source>[k]ASSIGN[/k] [c]{var}[/c] = [c]{value}[/c]</source>
125125
<translation>[k]ASSIGNER[/k] [c]{var}[/c] = [c]{value}[/c]</translation>
126126
</message>
127127
<message>
128-
<location filename="../main.py" line="969"/>
128+
<location filename="../main.py" line="983"/>
129129
<source>[k]CALL[/k] [c]{code}[/c]</source>
130130
<translation>[k]APPELER[/k] [c]{code}[/c]</translation>
131131
</message>
132132
<message>
133-
<location filename="../main.py" line="979"/>
133+
<location filename="../main.py" line="993"/>
134134
<source>[b]FUNCTION[/b] [c]{func}({args})[/c]</source>
135135
<translation>[b]FONCTION[/b] [c]{func}({args})[/c]</translation>
136136
</message>
137137
<message>
138-
<location filename="../main.py" line="993"/>
138+
<location filename="../main.py" line="1007"/>
139139
<source>[b]PROGRAM[/b]</source>
140140
<translation>[b]ALGORITHME[/b]</translation>
141141
</message>
142142
<message>
143-
<location filename="../main.py" line="943"/>
143+
<location filename="../main.py" line="957"/>
144144
<source>[k]BREAK[/k]</source>
145145
<translation>[k]SORTIR[/k]</translation>
146146
</message>
147147
<message>
148-
<location filename="../main.py" line="972"/>
148+
<location filename="../main.py" line="986"/>
149149
<source>[b]FOR[/b] [c]{var}[/c] [b]FROM[/b] [c]{begin}[/c] [b]TO[/b] [c]{end}[/c] {step}</source>
150150
<translation>[b]POUR[/b] [c]{var}[/c] [b]DE[/b] [c]{begin}[/c] [b]À[/b] [c]{end}[/c] {step}</translation>
151151
</message>
152152
<message>
153-
<location filename="../main.py" line="973"/>
153+
<location filename="../main.py" line="987"/>
154154
<source>([b]STEP[/b] [c]{step}[/c])</source>
155155
<translation>([b]PAS[/b] [c]{step}[/c])</translation>
156156
</message>
157157
<message>
158-
<location filename="../main.py" line="996"/>
158+
<location filename="../main.py" line="1010"/>
159159
<source>[i]empty[/i]</source>
160160
<translation>[i]vide[/i]</translation>
161161
</message>
162162
<message>
163-
<location filename="../main.py" line="987"/>
163+
<location filename="../main.py" line="1001"/>
164164
<source>[k]STOP[/k]</source>
165165
<translation>[k]STOP[/k]</translation>
166166
</message>

src/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def handler_Save():
481481

482482
def handler_Open():
483483
global algo, mode_python, current_file
484-
sel_file, _ = QFileDialog.getOpenFileName(window, translate("MainWindow", "Open"), "../saves/","*.py;*.tr")
484+
sel_file, _ = QFileDialog.getOpenFileName(window, translate("MainWindow", "Open"), "../saves/","PY,TR(*.py;*.tr)")
485485
if not sel_file :
486486
return
487487
current_file = sel_file

src/project.pro

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ SOURCES += \
3131
forms\alg_if.py \
3232
forms\alg_input.py \
3333
forms\alg_return.py \
34+
forms\alg_while.py \
3435
forms\calculator.py \
3536
forms\help.py \
3637
forms\inline_code_dialog.py \

0 commit comments

Comments
 (0)