From bf34827d965d5e37590b5973cef86706adba1e09 Mon Sep 17 00:00:00 2001 From: DivingDuck Date: Tue, 30 Jan 2024 11:00:44 +0100 Subject: [PATCH] More translation, correct a wrong keyboard shortcut --- README.md | 2 +- locale/ar/LC_MESSAGES/pronterface.po | 63 +++++++++++++++++----- locale/de/LC_MESSAGES/pronterface.po | 78 ++++++++++++++++++++++------ locale/fr/LC_MESSAGES/pronterface.po | 74 +++++++++++++++++++++----- locale/hy/LC_MESSAGES/pronterface.po | 77 ++++++++++++++++++++++----- locale/it/LC_MESSAGES/pronterface.po | 66 ++++++++++++++++++----- locale/nl/LC_MESSAGES/pronterface.po | 66 ++++++++++++++++++----- locale/pronterface.pot | 68 ++++++++++++++++++++---- printrun/gcodeplater.py | 2 +- printrun/gcview.py | 13 +++-- printrun/gui/viz.py | 10 ++-- printrun/gviz.py | 10 ++-- printrun/stlplater.py | 6 +-- printrun/stltool.py | 2 +- 14 files changed, 424 insertions(+), 113 deletions(-) diff --git a/README.md b/README.md index 76a3a4a86..2563d83d2 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ available at: https://github.com/kliment/Printrun/releases/latest > **Note for OSX users**: if OSX tells you `"pronterface.app" cannot be opened > because the developer cannot be verified.`, you don't need to re-download > it. Instead, you need to allow OSX to run the unsigned app. To do this, -> right click the application in Finder and select `Open`. Then click `Open` +> right- or ctrl click the application in Finder and select `Open`. Then click `Open` > in the popup window that appears. You only need to do this once. diff --git a/locale/ar/LC_MESSAGES/pronterface.po b/locale/ar/LC_MESSAGES/pronterface.po index aa30a5be0..96290681e 100644 --- a/locale/ar/LC_MESSAGES/pronterface.po +++ b/locale/ar/LC_MESSAGES/pronterface.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: Plater\n" -"POT-Creation-Date: 2024-01-20 18:55+0100\n" -"PO-Revision-Date: 2024-01-20 19:08+0100\n" +"POT-Creation-Date: 2024-01-29 21:04+0100\n" +"PO-Revision-Date: 2024-01-29 21:12+0100\n" "Last-Translator: DivingDuck\n" "Language-Team: < http://linuxac.org ســ <مجتمع لينكس العربي\n" "Language: ar\n" @@ -36,6 +36,10 @@ msgstr "" msgid "GCODE files" msgstr "" +#: printrun\gcodeplater.py:97 +msgid "G-Code Plate Builder" +msgstr "" + #: printrun\gcodeplater.py:207 printrun\gcodeplater.py:248 msgid "Exported merged G-Codes to %s" msgstr "" @@ -49,27 +53,42 @@ msgid "Invalid layer for edition" msgstr "" #: printrun\gcview.py:443 -msgid "Fit to plate" +msgid "Fit to view" msgstr "" #: printrun\gcview.py:444 -msgid "Fit to plate [F]" +msgid "Fit to view [F]" msgstr "" -#: printrun\gcview.py:482 +#: printrun\gcview.py:444 +msgid "Fit view to display entire print" +msgstr "" + +#: printrun\gcview.py:456 printrun\gviz.py:89 +msgid "" +"Click [Mouse-Right] to move the view, click [Mouse-Left]to pan the view, " +"scroll with [Mouse Wheel] to zoom, and scroll with [Shift]+[Mouse Wheel] to " +"change the layer." +msgstr "" + +#: printrun\gcview.py:481 msgid "Layer %d: %s Z = %.03f mm" msgstr "" -#: printrun\gcview.py:484 printrun\gcview.py:516 +#: printrun\gcview.py:483 printrun\gcview.py:515 msgid "Last layer: Object complete" msgstr "" -#: printrun\gcview.py:496 +#: printrun\gcview.py:495 msgid "" "G-Code Viewer: Can't process slider. Please wait until model is loaded " "completely." msgstr "" +#: printrun\gcview.py:527 printrun\gui\viz.py:101 printrun\gviz.py:82 +msgid "G-Code Viewer" +msgstr "" + #: printrun\gl\panel.py:172 msgid "OpenGL failed, disabling it:" msgstr "" @@ -326,6 +345,14 @@ msgstr "" msgid "Turn printer off" msgstr "" +#: printrun\gui\viz.py:81 printrun\gui\viz.py:112 +msgid "3D view mode requested, but we failed to initialize it.\n" +msgstr "" + +#: printrun\gui\viz.py:82 printrun\gui\viz.py:113 +msgid "Falling back to 2D view, and here is the backtrace:\n" +msgstr "" + #: printrun\gui\viz.py:91 msgid "" "Click to examine / edit\n" @@ -418,10 +445,14 @@ msgstr "" msgid "Zoom In [+]" msgstr "" -#: printrun\gviz.py:56 printrun\gviz.py:57 +#: printrun\gviz.py:56 msgid "Reset View" msgstr "" +#: printrun\gviz.py:57 +msgid "Reset View [R]" +msgstr "" + #: printrun\gviz.py:59 msgid "Move Down a Layer [D]" msgstr "" @@ -430,6 +461,10 @@ msgstr "" msgid "Move Up a Layer [U]" msgstr "" +#: printrun\gviz.py:62 +msgid "Inject" +msgstr "" + #: printrun\gviz.py:63 msgid "Inject G-Code" msgstr "" @@ -438,6 +473,10 @@ msgstr "" msgid "Insert code at the beginning of this layer" msgstr "" +#: printrun\gviz.py:64 +msgid "Edit" +msgstr "" + #: printrun\gviz.py:65 msgid "Edit Layer" msgstr "" @@ -454,10 +493,6 @@ msgstr "" msgid "Close Window" msgstr "" -#: printrun\gviz.py:82 -msgid "G-Code Viewer" -msgstr "" - #: printrun\gviz.py:128 printrun\gviz.py:278 printrun\gviz.py:287 msgid "Layer %d: Z = %.03f mm" msgstr "" @@ -3322,6 +3357,10 @@ msgstr "" msgid "simarrange failed" msgstr "" +#: printrun\stltool.py:175 +msgid "Not an ascii stl solid - attempting to parse as binary" +msgstr "" + #: printrun\utils.py:305 msgid "Color must be specified as #RGB" msgstr "" diff --git a/locale/de/LC_MESSAGES/pronterface.po b/locale/de/LC_MESSAGES/pronterface.po index 432a09690..8d76f70bb 100644 --- a/locale/de/LC_MESSAGES/pronterface.po +++ b/locale/de/LC_MESSAGES/pronterface.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: Pronterface\n" -"POT-Creation-Date: 2024-01-20 18:55+0100\n" -"PO-Revision-Date: 2024-01-20 19:00+0100\n" +"POT-Creation-Date: 2024-01-29 21:04+0100\n" +"PO-Revision-Date: 2024-01-29 21:11+0100\n" "Last-Translator: DivingDuck\n" "Language-Team: <>\n" "Language: de\n" @@ -44,6 +44,10 @@ msgstr "" msgid "GCODE files" msgstr "GCODE Dateien" +#: printrun\gcodeplater.py:97 +msgid "G-Code Plate Builder" +msgstr "G-Code Druckplattenbilder" + #: printrun\gcodeplater.py:207 printrun\gcodeplater.py:248 msgid "Exported merged G-Codes to %s" msgstr "Exportiere zusammengeführte G-Codes nach %s" @@ -57,22 +61,37 @@ msgid "Invalid layer for edition" msgstr "Ungültige Schicht zur Bearbeitung" #: printrun\gcview.py:443 -msgid "Fit to plate" -msgstr "Auf Druckplatte platzieren" +msgid "Fit to view" +msgstr "Ansicht anpassen" + +#: printrun\gcview.py:444 +msgid "Fit to view [F]" +msgstr "Ansicht anpassen [F]" #: printrun\gcview.py:444 -msgid "Fit to plate [F]" -msgstr "Auf Druckplatte platzieren [F]" +msgid "Fit view to display entire print" +msgstr "Ansicht anpassen, um den gesamten Druck anzuzeigen" + +#: printrun\gcview.py:456 printrun\gviz.py:89 +msgid "" +"Click [Mouse-Right] to move the view, click [Mouse-Left]to pan the view, " +"scroll with [Mouse Wheel] to zoom, and scroll with [Shift]+[Mouse Wheel] to " +"change the layer." +msgstr "" +"Auf [Maus-Rechts] klicken, um die Ansicht zu verschieben, auf [Maus-Links] " +"klicken, um die Ansicht zu schwenken, scrollen mit dem [Mausrad], um zu " +"zoomen, und scrollen mit [Umschalt]+[Mausrad], um zwischen den Schichten zu " +"wechseln." -#: printrun\gcview.py:482 +#: printrun\gcview.py:481 msgid "Layer %d: %s Z = %.03f mm" msgstr "Schicht %d: %s Z = %.03f mm" -#: printrun\gcview.py:484 printrun\gcview.py:516 +#: printrun\gcview.py:483 printrun\gcview.py:515 msgid "Last layer: Object complete" msgstr "Letzte Ebene: Objekt vollständig" -#: printrun\gcview.py:496 +#: printrun\gcview.py:495 msgid "" "G-Code Viewer: Can't process slider. Please wait until model is loaded " "completely." @@ -80,6 +99,10 @@ msgstr "" "G-Code-Ansicht, Schieber kann nicht verarbeitet werden. Bitte warten Sie, " "bis das Modell vollständig geladen ist." +#: printrun\gcview.py:527 printrun\gui\viz.py:101 printrun\gviz.py:82 +msgid "G-Code Viewer" +msgstr "G-Code Betrachter" + #: printrun\gl\panel.py:172 msgid "OpenGL failed, disabling it:" msgstr "OpenGL ist fehlgeschlagen und wurde deaktiviert:" @@ -343,6 +366,15 @@ msgstr "Pause" msgid "Turn printer off" msgstr "Drucker ausschalten" +#: printrun\gui\viz.py:81 printrun\gui\viz.py:112 +msgid "3D view mode requested, but we failed to initialize it.\n" +msgstr "" +"3D-Ansichtsmodus angefordert, aber wir konnten diese nicht initialisieren.\n" + +#: printrun\gui\viz.py:82 printrun\gui\viz.py:113 +msgid "Falling back to 2D view, and here is the backtrace:\n" +msgstr "Zurückgehen auf 2D-Ansicht, und hier ist die Rückverfolgung:\n" + #: printrun\gui\viz.py:91 msgid "" "Click to examine / edit\n" @@ -439,10 +471,14 @@ msgstr "Herauszoomen [-]" msgid "Zoom In [+]" msgstr "Hineinzoomen [+]" -#: printrun\gviz.py:56 printrun\gviz.py:57 +#: printrun\gviz.py:56 msgid "Reset View" msgstr "Ansicht zurücksetzen" +#: printrun\gviz.py:57 +msgid "Reset View [R]" +msgstr "Ansicht zurücksetzen [R]" + #: printrun\gviz.py:59 msgid "Move Down a Layer [D]" msgstr "Eine Schicht nach unten bewegen [D]" @@ -451,6 +487,10 @@ msgstr "Eine Schicht nach unten bewegen [D]" msgid "Move Up a Layer [U]" msgstr "Eine Schicht nach oben bewegen [U]" +#: printrun\gviz.py:62 +msgid "Inject" +msgstr "Einfügen" + #: printrun\gviz.py:63 msgid "Inject G-Code" msgstr "G-Code Einfügen" @@ -459,6 +499,10 @@ msgstr "G-Code Einfügen" msgid "Insert code at the beginning of this layer" msgstr "Code am Anfang dieser Schicht einfügen" +#: printrun\gviz.py:64 +msgid "Edit" +msgstr "Bearbeiten" + #: printrun\gviz.py:65 msgid "Edit Layer" msgstr "Schicht bearbeiten" @@ -473,11 +517,7 @@ msgstr "Schließen" #: printrun\gviz.py:69 msgid "Close Window" -msgstr " Fenster schließen" - -#: printrun\gviz.py:82 -msgid "G-Code Viewer" -msgstr "G-Code Betrachter" +msgstr "Fenster schließen" #: printrun\gviz.py:128 printrun\gviz.py:278 printrun\gviz.py:287 msgid "Layer %d: Z = %.03f mm" @@ -1043,7 +1083,7 @@ msgstr "Anhalten..." #: printrun\projectlayer.py:1150 msgid "Continue" -msgstr "Fortsetzten" +msgstr "Fortsetzen" #: printrun\projectlayer.py:1158 msgid "" @@ -3556,6 +3596,12 @@ msgstr "Druckplatte voll, bitte einige Objekte entfernen" msgid "simarrange failed" msgstr "Simarrange fehlgeschlagen" +#: printrun\stltool.py:175 +msgid "Not an ascii stl solid - attempting to parse as binary" +msgstr "" +"Kein ASCII kodierter STL-Festkörper – es wird versucht, ihn als Binärdatei " +"zu analysieren" + #: printrun\utils.py:305 msgid "Color must be specified as #RGB" msgstr "Die Farbe muss als #RGB angegeben werden" diff --git a/locale/fr/LC_MESSAGES/pronterface.po b/locale/fr/LC_MESSAGES/pronterface.po index 68c421863..4be8d1540 100644 --- a/locale/fr/LC_MESSAGES/pronterface.po +++ b/locale/fr/LC_MESSAGES/pronterface.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: Pronterface\n" -"POT-Creation-Date: 2024-01-20 18:55+0100\n" -"PO-Revision-Date: 2024-01-20 19:09+0100\n" +"POT-Creation-Date: 2024-01-29 21:04+0100\n" +"PO-Revision-Date: 2024-01-29 21:13+0100\n" "Last-Translator: DivingDuck\n" "Language-Team: FR \n" "Language: fr\n" @@ -48,6 +48,11 @@ msgstr "" msgid "GCODE files" msgstr "" +#: printrun\gcodeplater.py:97 +#, fuzzy +msgid "G-Code Plate Builder" +msgstr "Plater" + #: printrun\gcodeplater.py:207 printrun\gcodeplater.py:248 msgid "Exported merged G-Codes to %s" msgstr "G-Codes fusionnés exportés dans %s" @@ -65,29 +70,49 @@ msgid "Invalid layer for edition" msgstr "La période donnée est invalide" #: printrun\gcview.py:443 -msgid "Fit to plate" +#, fuzzy +#| msgid "Fit to plate" +msgid "Fit to view" msgstr "Adapter au plateau" #: printrun\gcview.py:444 -msgid "Fit to plate [F]" +#, fuzzy +#| msgid "Fit to plate [F]" +msgid "Fit to view [F]" msgstr "Adapter au plateau [F]" -#: printrun\gcview.py:482 +#: printrun\gcview.py:444 +msgid "Fit view to display entire print" +msgstr "" + +#: printrun\gcview.py:456 printrun\gviz.py:89 +msgid "" +"Click [Mouse-Right] to move the view, click [Mouse-Left]to pan the view, " +"scroll with [Mouse Wheel] to zoom, and scroll with [Shift]+[Mouse Wheel] to " +"change the layer." +msgstr "" + +#: printrun\gcview.py:481 #, fuzzy #| msgid "Layer %d - Going Up - Z = %.03f mm" msgid "Layer %d: %s Z = %.03f mm" msgstr "Couche %d - En montée - Z = %.03f mm" -#: printrun\gcview.py:484 printrun\gcview.py:516 +#: printrun\gcview.py:483 printrun\gcview.py:515 msgid "Last layer: Object complete" msgstr "" -#: printrun\gcview.py:496 +#: printrun\gcview.py:495 msgid "" "G-Code Viewer: Can't process slider. Please wait until model is loaded " "completely." msgstr "" +#: printrun\gcview.py:527 printrun\gui\viz.py:101 printrun\gviz.py:82 +#, fuzzy +msgid "G-Code Viewer" +msgstr "Plater" + #: printrun\gl\panel.py:172 msgid "OpenGL failed, disabling it:" msgstr "" @@ -362,6 +387,14 @@ msgstr "Pause" msgid "Turn printer off" msgstr "Éteindre l'imprimante" +#: printrun\gui\viz.py:81 printrun\gui\viz.py:112 +msgid "3D view mode requested, but we failed to initialize it.\n" +msgstr "" + +#: printrun\gui\viz.py:82 printrun\gui\viz.py:113 +msgid "Falling back to 2D view, and here is the backtrace:\n" +msgstr "" + #: printrun\gui\viz.py:91 msgid "" "Click to examine / edit\n" @@ -477,12 +510,18 @@ msgstr "Dézoomer [-]" msgid "Zoom In [+]" msgstr "Zoomer [+]" -#: printrun\gviz.py:56 printrun\gviz.py:57 +#: printrun\gviz.py:56 #, fuzzy #| msgid "Reset view" msgid "Reset View" msgstr "Réinitialiser la vue" +#: printrun\gviz.py:57 +#, fuzzy +#| msgid "Reset view" +msgid "Reset View [R]" +msgstr "Réinitialiser la vue" + #: printrun\gviz.py:59 msgid "Move Down a Layer [D]" msgstr "Voir la couche du dessous [D]" @@ -491,6 +530,10 @@ msgstr "Voir la couche du dessous [D]" msgid "Move Up a Layer [U]" msgstr "Voir la couche du dessus [U]" +#: printrun\gviz.py:62 +msgid "Inject" +msgstr "" + #: printrun\gviz.py:63 msgid "Inject G-Code" msgstr "" @@ -499,6 +542,12 @@ msgstr "" msgid "Insert code at the beginning of this layer" msgstr "" +#: printrun\gviz.py:64 +#, fuzzy +#| msgid "&Edit..." +msgid "Edit" +msgstr "&Éditer..." + #: printrun\gviz.py:65 msgid "Edit Layer" msgstr "" @@ -517,11 +566,6 @@ msgstr "" msgid "Close Window" msgstr " Quitter le programme" -#: printrun\gviz.py:82 -#, fuzzy -msgid "G-Code Viewer" -msgstr "Plater" - #: printrun\gviz.py:128 printrun\gviz.py:278 printrun\gviz.py:287 #, fuzzy #| msgid "Layer %d - Going Up - Z = %.03f mm" @@ -3756,6 +3800,10 @@ msgstr "Plateau plein, veuillez retirer des objets" msgid "simarrange failed" msgstr "Échec de simarrange" +#: printrun\stltool.py:175 +msgid "Not an ascii stl solid - attempting to parse as binary" +msgstr "" + #: printrun\utils.py:305 msgid "Color must be specified as #RGB" msgstr "" diff --git a/locale/hy/LC_MESSAGES/pronterface.po b/locale/hy/LC_MESSAGES/pronterface.po index d47fc9322..561d99524 100644 --- a/locale/hy/LC_MESSAGES/pronterface.po +++ b/locale/hy/LC_MESSAGES/pronterface.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: Pronterface\n" -"POT-Creation-Date: 2024-01-20 18:55+0100\n" -"PO-Revision-Date: 2024-01-20 19:10+0100\n" +"POT-Creation-Date: 2024-01-29 21:04+0100\n" +"PO-Revision-Date: 2024-01-29 21:13+0100\n" "Last-Translator: DivingDuck\n" "Language-Team: HY \n" "Language: hy\n" @@ -45,6 +45,12 @@ msgstr "" msgid "GCODE files" msgstr "" +#: printrun\gcodeplater.py:97 +#, fuzzy +#| msgid "G-Code Plater" +msgid "G-Code Plate Builder" +msgstr "G-Code -ի հարթեցում" + #: printrun\gcodeplater.py:207 printrun\gcodeplater.py:248 msgid "Exported merged G-Codes to %s" msgstr "Արտահանված G-Code-ը վերածել %-ի" @@ -62,29 +68,50 @@ msgid "Invalid layer for edition" msgstr "Տրված միջակայքը անվավեր է:" #: printrun\gcview.py:443 -msgid "Fit to plate" +#, fuzzy +#| msgid "Fit to plate" +msgid "Fit to view" msgstr "Ֆիքսել հարթությանը" #: printrun\gcview.py:444 -msgid "Fit to plate [F]" +#, fuzzy +#| msgid "Fit to plate [F]" +msgid "Fit to view [F]" msgstr "Ֆիքսել հարթությանը [F]" -#: printrun\gcview.py:482 +#: printrun\gcview.py:444 +msgid "Fit view to display entire print" +msgstr "" + +#: printrun\gcview.py:456 printrun\gviz.py:89 +msgid "" +"Click [Mouse-Right] to move the view, click [Mouse-Left]to pan the view, " +"scroll with [Mouse Wheel] to zoom, and scroll with [Shift]+[Mouse Wheel] to " +"change the layer." +msgstr "" + +#: printrun\gcview.py:481 #, fuzzy #| msgid "Layer %d - Going Up - Z = %.03f mm" msgid "Layer %d: %s Z = %.03f mm" msgstr "Շերտ %d - Գնալ վեր - Z = %.03f մմ" -#: printrun\gcview.py:484 printrun\gcview.py:516 +#: printrun\gcview.py:483 printrun\gcview.py:515 msgid "Last layer: Object complete" msgstr "" -#: printrun\gcview.py:496 +#: printrun\gcview.py:495 msgid "" "G-Code Viewer: Can't process slider. Please wait until model is loaded " "completely." msgstr "" +#: printrun\gcview.py:527 printrun\gui\viz.py:101 printrun\gviz.py:82 +#, fuzzy +#| msgid "G-Code Plater" +msgid "G-Code Viewer" +msgstr "G-Code -ի հարթեցում" + #: printrun\gl\panel.py:172 msgid "OpenGL failed, disabling it:" msgstr "" @@ -358,6 +385,14 @@ msgstr "Դադար" msgid "Turn printer off" msgstr "Անջատել տպիչը" +#: printrun\gui\viz.py:81 printrun\gui\viz.py:112 +msgid "3D view mode requested, but we failed to initialize it.\n" +msgstr "" + +#: printrun\gui\viz.py:82 printrun\gui\viz.py:113 +msgid "Falling back to 2D view, and here is the backtrace:\n" +msgstr "" + #: printrun\gui\viz.py:91 msgid "" "Click to examine / edit\n" @@ -472,12 +507,18 @@ msgstr "Մանրացնել [-]" msgid "Zoom In [+]" msgstr "Խոշորացնել [+]" -#: printrun\gviz.py:56 printrun\gviz.py:57 +#: printrun\gviz.py:56 #, fuzzy #| msgid "Reset view" msgid "Reset View" msgstr "Զրոացնել տեսքը" +#: printrun\gviz.py:57 +#, fuzzy +#| msgid "Reset view" +msgid "Reset View [R]" +msgstr "Զրոացնել տեսքը" + #: printrun\gviz.py:59 msgid "Move Down a Layer [D]" msgstr "Տեղափոխվել ներգևի շերտ[D]" @@ -486,6 +527,10 @@ msgstr "Տեղափոխվել ներգևի շերտ[D]" msgid "Move Up a Layer [U]" msgstr "Տեղափոխվել վերևի շերտ [U]" +#: printrun\gviz.py:62 +msgid "Inject" +msgstr "" + #: printrun\gviz.py:63 msgid "Inject G-Code" msgstr "" @@ -494,6 +539,12 @@ msgstr "" msgid "Insert code at the beginning of this layer" msgstr "" +#: printrun\gviz.py:64 +#, fuzzy +#| msgid "&Edit..." +msgid "Edit" +msgstr "Խմբագրել…" + #: printrun\gviz.py:65 msgid "Edit Layer" msgstr "" @@ -512,12 +563,6 @@ msgstr "" msgid "Close Window" msgstr "Փակում է պատուհանը" -#: printrun\gviz.py:82 -#, fuzzy -#| msgid "G-Code Plater" -msgid "G-Code Viewer" -msgstr "G-Code -ի հարթեցում" - #: printrun\gviz.py:128 printrun\gviz.py:278 printrun\gviz.py:287 #, fuzzy #| msgid "Layer %d - Going Up - Z = %.03f mm" @@ -3753,6 +3798,10 @@ msgstr "Տախտակը լիքն է, խնդրում ենք հանել որոշ օ msgid "simarrange failed" msgstr "Պարզեցումը ձախողվեց" +#: printrun\stltool.py:175 +msgid "Not an ascii stl solid - attempting to parse as binary" +msgstr "" + #: printrun\utils.py:305 msgid "Color must be specified as #RGB" msgstr "" diff --git a/locale/it/LC_MESSAGES/pronterface.po b/locale/it/LC_MESSAGES/pronterface.po index cb506b365..4e8542fe0 100644 --- a/locale/it/LC_MESSAGES/pronterface.po +++ b/locale/it/LC_MESSAGES/pronterface.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2024-01-20 18:55+0100\n" -"PO-Revision-Date: 2024-01-20 19:11+0100\n" +"POT-Creation-Date: 2024-01-29 21:04+0100\n" +"PO-Revision-Date: 2024-01-29 21:14+0100\n" "Last-Translator: DivingDuck\n" "Language-Team: Italian RepRap Community \n" "Language: it\n" @@ -39,6 +39,10 @@ msgstr "" msgid "GCODE files" msgstr "" +#: printrun\gcodeplater.py:97 +msgid "G-Code Plate Builder" +msgstr "" + #: printrun\gcodeplater.py:207 printrun\gcodeplater.py:248 msgid "Exported merged G-Codes to %s" msgstr "" @@ -56,27 +60,42 @@ msgid "Invalid layer for edition" msgstr "Periodo non valido." #: printrun\gcview.py:443 -msgid "Fit to plate" +msgid "Fit to view" msgstr "" #: printrun\gcview.py:444 -msgid "Fit to plate [F]" +msgid "Fit to view [F]" +msgstr "" + +#: printrun\gcview.py:444 +msgid "Fit view to display entire print" +msgstr "" + +#: printrun\gcview.py:456 printrun\gviz.py:89 +msgid "" +"Click [Mouse-Right] to move the view, click [Mouse-Left]to pan the view, " +"scroll with [Mouse Wheel] to zoom, and scroll with [Shift]+[Mouse Wheel] to " +"change the layer." msgstr "" -#: printrun\gcview.py:482 +#: printrun\gcview.py:481 msgid "Layer %d: %s Z = %.03f mm" msgstr "" -#: printrun\gcview.py:484 printrun\gcview.py:516 +#: printrun\gcview.py:483 printrun\gcview.py:515 msgid "Last layer: Object complete" msgstr "" -#: printrun\gcview.py:496 +#: printrun\gcview.py:495 msgid "" "G-Code Viewer: Can't process slider. Please wait until model is loaded " "completely." msgstr "" +#: printrun\gcview.py:527 printrun\gui\viz.py:101 printrun\gviz.py:82 +msgid "G-Code Viewer" +msgstr "" + #: printrun\gl\panel.py:172 msgid "OpenGL failed, disabling it:" msgstr "" @@ -347,6 +366,14 @@ msgstr "Pausa" msgid "Turn printer off" msgstr "" +#: printrun\gui\viz.py:81 printrun\gui\viz.py:112 +msgid "3D view mode requested, but we failed to initialize it.\n" +msgstr "" + +#: printrun\gui\viz.py:82 printrun\gui\viz.py:113 +msgid "Falling back to 2D view, and here is the backtrace:\n" +msgstr "" + #: printrun\gui\viz.py:91 msgid "" "Click to examine / edit\n" @@ -455,11 +482,16 @@ msgstr "" msgid "Zoom In [+]" msgstr "" -#: printrun\gviz.py:56 printrun\gviz.py:57 +#: printrun\gviz.py:56 #, fuzzy msgid "Reset View" msgstr "Reset" +#: printrun\gviz.py:57 +#, fuzzy +msgid "Reset View [R]" +msgstr "Reset" + #: printrun\gviz.py:59 msgid "Move Down a Layer [D]" msgstr "" @@ -468,6 +500,10 @@ msgstr "" msgid "Move Up a Layer [U]" msgstr "" +#: printrun\gviz.py:62 +msgid "Inject" +msgstr "" + #: printrun\gviz.py:63 msgid "Inject G-Code" msgstr "" @@ -476,6 +512,12 @@ msgstr "" msgid "Insert code at the beginning of this layer" msgstr "" +#: printrun\gviz.py:64 +#, fuzzy +#| msgid "&Edit..." +msgid "Edit" +msgstr "&Modifica" + #: printrun\gviz.py:65 msgid "Edit Layer" msgstr "" @@ -494,10 +536,6 @@ msgstr "" msgid "Close Window" msgstr " Chiude la finestra" -#: printrun\gviz.py:82 -msgid "G-Code Viewer" -msgstr "" - #: printrun\gviz.py:128 printrun\gviz.py:278 printrun\gviz.py:287 #, fuzzy msgid "Layer %d: Z = %.03f mm" @@ -3553,6 +3591,10 @@ msgstr "" msgid "simarrange failed" msgstr "" +#: printrun\stltool.py:175 +msgid "Not an ascii stl solid - attempting to parse as binary" +msgstr "" + #: printrun\utils.py:305 msgid "Color must be specified as #RGB" msgstr "" diff --git a/locale/nl/LC_MESSAGES/pronterface.po b/locale/nl/LC_MESSAGES/pronterface.po index 0afc38b58..0ce8a79b6 100644 --- a/locale/nl/LC_MESSAGES/pronterface.po +++ b/locale/nl/LC_MESSAGES/pronterface.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: Pronterface rl1\n" -"POT-Creation-Date: 2024-01-20 18:55+0100\n" -"PO-Revision-Date: 2024-01-20 19:11+0100\n" +"POT-Creation-Date: 2024-01-29 21:04+0100\n" +"PO-Revision-Date: 2024-01-29 21:14+0100\n" "Last-Translator: DivingDuck\n" "Language-Team: NL \n" "Language: nl\n" @@ -39,6 +39,10 @@ msgstr "" msgid "GCODE files" msgstr "" +#: printrun\gcodeplater.py:97 +msgid "G-Code Plate Builder" +msgstr "" + #: printrun\gcodeplater.py:207 printrun\gcodeplater.py:248 msgid "Exported merged G-Codes to %s" msgstr "" @@ -56,27 +60,42 @@ msgid "Invalid layer for edition" msgstr "Foute gegevens ingevoerd" #: printrun\gcview.py:443 -msgid "Fit to plate" +msgid "Fit to view" msgstr "" #: printrun\gcview.py:444 -msgid "Fit to plate [F]" +msgid "Fit to view [F]" +msgstr "" + +#: printrun\gcview.py:444 +msgid "Fit view to display entire print" +msgstr "" + +#: printrun\gcview.py:456 printrun\gviz.py:89 +msgid "" +"Click [Mouse-Right] to move the view, click [Mouse-Left]to pan the view, " +"scroll with [Mouse Wheel] to zoom, and scroll with [Shift]+[Mouse Wheel] to " +"change the layer." msgstr "" -#: printrun\gcview.py:482 +#: printrun\gcview.py:481 msgid "Layer %d: %s Z = %.03f mm" msgstr "" -#: printrun\gcview.py:484 printrun\gcview.py:516 +#: printrun\gcview.py:483 printrun\gcview.py:515 msgid "Last layer: Object complete" msgstr "" -#: printrun\gcview.py:496 +#: printrun\gcview.py:495 msgid "" "G-Code Viewer: Can't process slider. Please wait until model is loaded " "completely." msgstr "" +#: printrun\gcview.py:527 printrun\gui\viz.py:101 printrun\gviz.py:82 +msgid "G-Code Viewer" +msgstr "" + #: printrun\gl\panel.py:172 msgid "OpenGL failed, disabling it:" msgstr "" @@ -345,6 +364,14 @@ msgstr "Pauze" msgid "Turn printer off" msgstr "" +#: printrun\gui\viz.py:81 printrun\gui\viz.py:112 +msgid "3D view mode requested, but we failed to initialize it.\n" +msgstr "" + +#: printrun\gui\viz.py:82 printrun\gui\viz.py:113 +msgid "Falling back to 2D view, and here is the backtrace:\n" +msgstr "" + #: printrun\gui\viz.py:91 msgid "" "Click to examine / edit\n" @@ -453,11 +480,16 @@ msgstr "" msgid "Zoom In [+]" msgstr "" -#: printrun\gviz.py:56 printrun\gviz.py:57 +#: printrun\gviz.py:56 #, fuzzy msgid "Reset View" msgstr "Reset" +#: printrun\gviz.py:57 +#, fuzzy +msgid "Reset View [R]" +msgstr "Reset" + #: printrun\gviz.py:59 msgid "Move Down a Layer [D]" msgstr "" @@ -466,6 +498,10 @@ msgstr "" msgid "Move Up a Layer [U]" msgstr "" +#: printrun\gviz.py:62 +msgid "Inject" +msgstr "" + #: printrun\gviz.py:63 msgid "Inject G-Code" msgstr "" @@ -474,6 +510,12 @@ msgstr "" msgid "Insert code at the beginning of this layer" msgstr "" +#: printrun\gviz.py:64 +#, fuzzy +#| msgid "&Edit..." +msgid "Edit" +msgstr "&Wijzig..." + #: printrun\gviz.py:65 msgid "Edit Layer" msgstr "" @@ -492,10 +534,6 @@ msgstr "" msgid "Close Window" msgstr " Sluit het venster" -#: printrun\gviz.py:82 -msgid "G-Code Viewer" -msgstr "" - #: printrun\gviz.py:128 printrun\gviz.py:278 printrun\gviz.py:287 #, fuzzy msgid "Layer %d: Z = %.03f mm" @@ -3494,6 +3532,10 @@ msgstr "" msgid "simarrange failed" msgstr "" +#: printrun\stltool.py:175 +msgid "Not an ascii stl solid - attempting to parse as binary" +msgstr "" + #: printrun\utils.py:305 msgid "Color must be specified as #RGB" msgstr "" diff --git a/locale/pronterface.pot b/locale/pronterface.pot index 3185abc1e..46059ccac 100644 --- a/locale/pronterface.pot +++ b/locale/pronterface.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2024-01-20 18:55+0100\n" +"POT-Creation-Date: 2024-01-29 21:48+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -37,6 +37,10 @@ msgstr "" msgid "GCODE files" msgstr "" +#: printrun\gcodeplater.py:97 +msgid "G-Code Plate Builder" +msgstr "" + #: printrun\gcodeplater.py:207 printrun\gcodeplater.py:248 msgid "Exported merged G-Codes to %s" msgstr "" @@ -50,25 +54,37 @@ msgid "Invalid layer for edition" msgstr "" #: printrun\gcview.py:443 -msgid "Fit to plate" +msgid "Fit to view" +msgstr "" + +#: printrun\gcview.py:444 +msgid "Fit to view [F]" msgstr "" #: printrun\gcview.py:444 -msgid "Fit to plate [F]" +msgid "Fit view to display entire print" +msgstr "" + +#: printrun\gcview.py:456 printrun\gviz.py:89 +msgid "Click [Mouse-Right] to move the view, click [Mouse-Left]to pan the view, scroll with [Mouse Wheel] to zoom, and scroll with [Shift]+[Mouse Wheel] to change the layer." msgstr "" -#: printrun\gcview.py:482 +#: printrun\gcview.py:481 msgid "Layer %d: %s Z = %.03f mm" msgstr "" -#: printrun\gcview.py:484 printrun\gcview.py:516 +#: printrun\gcview.py:483 printrun\gcview.py:515 msgid "Last layer: Object complete" msgstr "" -#: printrun\gcview.py:496 +#: printrun\gcview.py:495 msgid "G-Code Viewer: Can't process slider. Please wait until model is loaded completely." msgstr "" +#: printrun\gcview.py:527 printrun\gui\viz.py:101 printrun\gviz.py:82 +msgid "G-Code Viewer" +msgstr "" + #: printrun\gl\panel.py:172 msgid "OpenGL failed, disabling it:" msgstr "" @@ -323,6 +339,16 @@ msgstr "" msgid "Turn printer off" msgstr "" +#: printrun\gui\viz.py:81 printrun\gui\viz.py:112 +msgid "" +"3D view mode requested, but we failed to initialize it.\n" +msgstr "" + +#: printrun\gui\viz.py:82 printrun\gui\viz.py:113 +msgid "" +"Falling back to 2D view, and here is the backtrace:\n" +msgstr "" + #: printrun\gui\viz.py:91 msgid "" "Click to examine / edit\n" @@ -413,10 +439,14 @@ msgstr "" msgid "Zoom In [+]" msgstr "" -#: printrun\gviz.py:56 printrun\gviz.py:57 +#: printrun\gviz.py:56 msgid "Reset View" msgstr "" +#: printrun\gviz.py:57 +msgid "Reset View [R]" +msgstr "" + #: printrun\gviz.py:59 msgid "Move Down a Layer [D]" msgstr "" @@ -425,6 +455,10 @@ msgstr "" msgid "Move Up a Layer [U]" msgstr "" +#: printrun\gviz.py:62 +msgid "Inject" +msgstr "" + #: printrun\gviz.py:63 msgid "Inject G-Code" msgstr "" @@ -433,6 +467,10 @@ msgstr "" msgid "Insert code at the beginning of this layer" msgstr "" +#: printrun\gviz.py:64 +msgid "Edit" +msgstr "" + #: printrun\gviz.py:65 msgid "Edit Layer" msgstr "" @@ -449,10 +487,6 @@ msgstr "" msgid "Close Window" msgstr "" -#: printrun\gviz.py:82 -msgid "G-Code Viewer" -msgstr "" - #: printrun\gviz.py:128 printrun\gviz.py:278 printrun\gviz.py:287 msgid "Layer %d: Z = %.03f mm" msgstr "" @@ -3141,6 +3175,14 @@ msgstr "" msgid "Cutting %s alongside %s axis" msgstr "" +#: printrun\stlplater.py:319 +msgid "Skipping %s for rebase search" +msgstr "" + +#: printrun\stlplater.py:327 +msgid "Rebasing %s" +msgstr "" + #: printrun\stlplater.py:356 msgid "Loading STL file failed" msgstr "" @@ -3185,6 +3227,10 @@ msgstr "" msgid "simarrange failed" msgstr "" +#: printrun\stltool.py:175 +msgid "Not an ascii stl solid - attempting to parse as binary" +msgstr "" + #: printrun\utils.py:305 msgid "Color must be specified as #RGB" msgstr "" diff --git a/printrun/gcodeplater.py b/printrun/gcodeplater.py index 2596be30c..c511c5e68 100755 --- a/printrun/gcodeplater.py +++ b/printrun/gcodeplater.py @@ -94,7 +94,7 @@ def prepare_ui(self, filenames = [], callback = None, self.platform_object = gcview.GCObject(self.platform) self.Layout() self.SetMinClientSize(self.topsizer.CalcMin()) - self.SetTitle("G-Code Plate Builder") + self.SetTitle(_("G-Code Plate Builder")) def get_objects(self): return [self.platform_object] + list(self.models.values()) diff --git a/printrun/gcview.py b/printrun/gcview.py index 0c763845a..f7bdf8014 100755 --- a/printrun/gcview.py +++ b/printrun/gcview.py @@ -64,13 +64,13 @@ def set_gcview_params(self, path_width, path_height): for obj in self.objects[1:]: if isinstance(obj.model, actors.GcodeModel): obj.model.set_path_size(self.path_halfwidth, self.path_halfheight) - has_changed = True + has_changed = True return has_changed # E selected for Up because is above D LAYER_UP_KEYS = ord('U'), ord('E'), wx.WXK_UP LAYER_DOWN_KEYS = ord('D'), wx.WXK_DOWN -ZOOM_IN_KEYS = wx.WXK_PAGEDOWN, 388, wx.WXK_RIGHT, ord('=') +ZOOM_IN_KEYS = wx.WXK_PAGEDOWN, 388, wx.WXK_RIGHT, ord('+') ZOOM_OUT_KEYS = wx.WXK_PAGEUP, 390, wx.WXK_LEFT, ord('-') FIT_KEYS = [ord('F')] CURRENT_LAYER_KEYS = [ord('C')] @@ -440,8 +440,8 @@ def __init__(self, parent, ID, title, build_dimensions, objects = None, fit_image = wx.Image(imagefile('fit.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap() tool_pos = self.toolbar.GetToolPos(3) + 1 - self.toolbar.InsertTool(tool_pos, 10, " " + _("Fit to plate"), fit_image, - shortHelp = _("Fit to plate [F]"), longHelp = '') + self.toolbar.InsertTool(tool_pos, 10, " " + _("Fit to view"), fit_image, + shortHelp = _("Fit to view [F]"), longHelp = _("Fit view to display entire print")) self.toolbar.Realize() self.glpanel = GcodeViewPanel(panel, build_dimensions = build_dimensions, @@ -453,8 +453,7 @@ def __init__(self, parent, ID, title, build_dimensions, objects = None, h_sizer.Add(self.glpanel, 1, wx.EXPAND) h_sizer.Add(self.layerslider, 0, wx.EXPAND | wx.ALL, get_space('minor')) - self.glpanel.SetToolTip("Left-click to pan, right-click to move the view " - "and shift + scroll to change the layer") + self.glpanel.SetToolTip(_("Click [Mouse-Right] to move the view, click [Mouse-Left]to pan the view, scroll with [Mouse Wheel] to zoom, and scroll with [Shift]+[Mouse Wheel] to change the layer.")) minsize = self.toolbar.GetEffectiveMinSize().width self.SetMinClientSize((minsize, minsize)) @@ -525,7 +524,7 @@ def clear(self): import sys app = wx.App(redirect = False) build_dimensions = [200, 200, 100, 0, 0, 0] - title = 'G-Code Viewer' + title = _("G-Code Viewer") frame = GcodeViewFrame(None, wx.ID_ANY, title, size = (400, 400), build_dimensions = build_dimensions) gcode = gcoder.GCode(open(sys.argv[1]), get_home_pos(build_dimensions)) diff --git a/printrun/gui/viz.py b/printrun/gui/viz.py index bab926b93..66a49ea88 100644 --- a/printrun/gui/viz.py +++ b/printrun/gui/viz.py @@ -78,8 +78,8 @@ def __init__(self, root, parentpanel = None): root.gviz.clickcb = root.show_viz_window except: use2dview = True - logging.error("3D view mode requested, but we failed to initialize it.\n" - + "Falling back to 2D view, and here is the backtrace:\n" + logging.error(_("3D view mode requested, but we failed to initialize it.\n") + + _("Falling back to 2D view, and here is the backtrace:\n") + traceback.format_exc()) if use2dview: from printrun import gviz @@ -98,7 +98,7 @@ def __init__(self, root, parentpanel = None): objects = None if isinstance(root.gviz, printrun.gcview.GcodeViewMainWrapper): objects = root.gviz.objects - root.gwindow = printrun.gcview.GcodeViewFrame(None, wx.ID_ANY, 'G-Code Viewer', + root.gwindow = printrun.gcview.GcodeViewFrame(None, wx.ID_ANY, _('G-Code Viewer'), size = (600, 600), build_dimensions = root.build_dimensions_list, objects = objects, @@ -109,8 +109,8 @@ def __init__(self, root, parentpanel = None): perspective=root.settings.perspective) except: use3dview = False - logging.error("3D view mode requested, but we failed to initialize it.\n" - + "Falling back to 2D view, and here is the backtrace:\n" + logging.error(_("3D view mode requested, but we failed to initialize it.\n") + + _("Falling back to 2D view, and here is the backtrace:\n") + traceback.format_exc()) if not use3dview: from printrun import gviz diff --git a/printrun/gviz.py b/printrun/gviz.py index 793ff7515..f17008b4a 100644 --- a/printrun/gviz.py +++ b/printrun/gviz.py @@ -54,18 +54,18 @@ def build_toolbar(self): self.toolbar.AddTool(1, '', wx.Image(imagefile('zoom_out.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap(), _("Zoom Out [-]")) self.toolbar.AddTool(2, '', wx.Image(imagefile('zoom_in.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap(), _("Zoom In [+]"),) self.toolbar.AddTool(3, _("Reset View"), wx.Image(imagefile('fit.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap(), - shortHelp = _("Reset View")) + shortHelp = _("Reset View [R]")) self.toolbar.AddSeparator() self.toolbar.AddTool(4, '', wx.Image(imagefile('arrow_down.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap(), _("Move Down a Layer [D]")) self.toolbar.AddTool(5, '', wx.Image(imagefile('arrow_up.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap(), _("Move Up a Layer [U]")) self.toolbar.AddSeparator() - self.toolbar.AddTool(6, 'Inject', wx.Image(imagefile('inject.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap(), + self.toolbar.AddTool(6, _("Inject"), wx.Image(imagefile('inject.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap(), wx.NullBitmap, shortHelp = _("Inject G-Code"), longHelp = _("Insert code at the beginning of this layer")) - self.toolbar.AddTool(7, 'Edit', wx.Image(imagefile('edit.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap(), + self.toolbar.AddTool(7, _("Edit"), wx.Image(imagefile('edit.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap(), wx.NullBitmap, shortHelp = _("Edit Layer"), longHelp = _("Edit the G-Code of this layer")) self.toolbar.AddStretchableSpace() self.toolbar.AddSeparator() - self.toolbar.AddTool(9, _('Close'), wx.Image(imagefile('fit.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap(), + self.toolbar.AddTool(9, _("Close"), wx.Image(imagefile('fit.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap(), shortHelp = _("Close Window")) def setlayercb(self, layer): @@ -86,7 +86,7 @@ def __init__(self, f = None, size = (550, 550), build_dimensions = [200, 200, 10 self.p = Gviz(panel, size = size, build_dimensions = build_dimensions, grid = grid, extrusion_width = extrusion_width, bgcolor = bgcolor, realparent = self) h_sizer.Add(self.p, 1, wx.EXPAND) h_sizer.Add(self.layerslider, 0, wx.EXPAND | wx.ALL, get_space('minor')) - self.p.SetToolTip("Left-click to move the view, scroll to zoom and shift + scroll to change the layer.") + self.p.SetToolTip(_("Click [Mouse-Right] to move the view, click [Mouse-Left]to pan the view, scroll with [Mouse Wheel] to zoom, and scroll with [Shift]+[Mouse Wheel] to change the layer.")) self.Layout() size = (size[0] + self.layerslider.GetEffectiveMinSize().width, diff --git a/printrun/stlplater.py b/printrun/stlplater.py index 65952773e..b89c98a84 100755 --- a/printrun/stlplater.py +++ b/printrun/stlplater.py @@ -89,7 +89,7 @@ def prepare_model(self, m, scale): def move_shape(self, delta): """moves shape (selected in l, which is list ListBox of shapes) by an offset specified in tuple delta. - Positive numbers move to (rigt, down)""" + Positive numbers move to (right, down)""" name = self.parent.l.GetSelection() if name == wx.NOT_FOUND: return False @@ -316,7 +316,7 @@ def clickcb_rebase(self, event): transformation = transformation_matrix(model) transformed = model.transform(transformation) if not transformed.intersect_box(ray_near, ray_far): - logging.debug("Skipping %s for rebase search" % key) + logging.debug(_("Skipping %s for rebase search") % key) continue facet, facet_dist = transformed.intersect(ray_near, ray_far) if facet is not None and facet_dist < best_dist: @@ -324,7 +324,7 @@ def clickcb_rebase(self, event): best_facet = facet best_dist = facet_dist if best_match is not None: - logging.info("Rebasing %s" % best_match) + logging.info(_("Rebasing %s") % best_match) model = self.models[best_match] newmodel = model.rebase(best_facet) newmodel.offsets = list(model.offsets) diff --git a/printrun/stltool.py b/printrun/stltool.py index f810c978f..56fe30979 100644 --- a/printrun/stltool.py +++ b/printrun/stltool.py @@ -172,7 +172,7 @@ def __init__(self, filename = None): if not self.parseline(line): return else: - logging.warning("Not an ascii stl solid - attempting to parse as binary") + logging.warning(_("Not an ascii stl solid - attempting to parse as binary")) f = open(filename, "rb") buf = f.read(84) while len(buf) < 84: