Skip to content

Commit

Permalink
2.5.1 !
Browse files Browse the repository at this point in the history
  • Loading branch information
megat69 authored Jun 9, 2020
1 parent 0cff716 commit e051d59
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
line = line.replace("\"", "\\\"") # Replacement of "
line = line.replace("print(", "print(f\"") # Replacement of print
line = line.replace(")\n", "\")\n") # Add of the quote
line = line.replace(") \n", "\")\n") # Add of the quote
elif line.startswith("var"):
line = line.replace("var ", "", 1)
while "{" in line and "}" in line:
Expand Down Expand Up @@ -151,7 +152,7 @@
if "{" in line and "}" in line:
variable = line[line.find("{") + 1:line.find("}")]
line = line.replace("{"+variable+"}", variable)
line += ")"
line = line.replace("\n", ")\n")
elif line.startswith("$use: "):
line = line.replace("$use:", "")
line = line.replace(" ", "")
Expand All @@ -177,3 +178,5 @@
line = ("\t" * indentation_level) + line
compiled_file.write(line)
compiled_file.close()

print(bcolors.OKBLUE+texts.console["compiling-successfull"]+bcolors.ENDC)
1 change: 1 addition & 0 deletions trad_az.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"last-stable-release": "Son sabit buraxılış",
"current-dev-build": "Hazırki development quruluşu",
"compile-code-file":"{} Tərtib edilir...",
"compiling-successfull": "Compiling successfull !",
"modify-ini": {
"debug-state-modified": "Seçim ayılama vəziyyəti {} ilə startup.acpl-ini uğurla dəyişdirildi.",
"lang-modified": "Seçim dilinin vəziyyəti {} ilə startup.acpl-ini uğurla dəyişdirildi.",
Expand Down
1 change: 1 addition & 0 deletions trad_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"last-stable-release": "Last stable release",
"current-dev-build": "Current dev build",
"compile-code-file": "Compiling {}...",
"compiling-successfull": "Compiling successfull !",
"modify-ini": {
"debug-state-modified": "Option debug-state modified correctly in startup.acpl-ini with value {}.",
"lang-modified": "Option lang modified correctly in startup.acpl-ini with value {}.",
Expand Down
1 change: 1 addition & 0 deletions trad_fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"last-stable-release": "Dernière version stable",
"current-dev-build": "Build de développement actuel",
"compile-code-file": "Compilation de {}...",
"compiling-successfull": "Compiling terminée avec succès !",
"modify-ini": {
"debug-state-modified": "Option debug-state correctement modifiée dans le fichier startup.acpl-ini avec la valeur {}.",
"lang-modified": "Option lang modifiée correctement dans le fichier startup.acpl-ini avec la valeur {}.",
Expand Down
1 change: 1 addition & 0 deletions trad_it.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"last-stable-release": "ultima versione stabile",
"current-dev-build": "Costruzione attuale del sviluppo",
"compile-code-file": "Compilazione {}...",
"compiling-successfull": "Compiling successfull !",
"modify-ini": {
"debug-state-modified": "Opzione stato di debug correttamente modificata nel file startup.acpl-ini con la valore {}.",
"lang-modified": "Opzione lang modificata correttamente nel file startup.acpl-ini con la valore {}.",
Expand Down
1 change: 1 addition & 0 deletions trad_nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"last-stable-release": "Laatste stabiele versie",
"current-dev-build": "Actuele dev build",
"compile-code-file": "{} Compileren...",
"compiling-successfull": "Compileren successvol !",
"modify-ini": {
"debug-state-modified": "Optie debug-state correct gemodificeerd in startup.acpl-ini met waarde {}.",
"lang-modified": "Optie lang correct gemodificeerd in startup.acpl-ini met waarde {}.",
Expand Down
1 change: 1 addition & 0 deletions trad_tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"last-stable-release": "Son kararlı sürüm",
"current-dev-build": "Mevcut geliştirme",
"compile-code-file": "{} Derleniyor...",
"compiling-successfull": "Compiling successfull !",
"modify-ini": {
"debug-state-modified": "Seçenek hata-ayıklama-durumu startup.acpl-ini içinde değerle doğru şekilde değiştirildi {}.",
"lang-modified": "Option lang modified correctly in startup.acpl-ini with value {}.",
Expand Down

0 comments on commit e051d59

Please sign in to comment.