Explorar el Código

- fixed an error in importing SVG that has a single line
- updated the POT file and the PO/MO files for Turkish language

Marius Stanciu hace 5 años
padre
commit
c3bbbc40e0
Se han modificado 5 ficheros con 427 adiciones y 361 borrados
  1. 5 0
      CHANGELOG.md
  2. 6 3
      camlib.py
  3. BIN
      locale/tr/LC_MESSAGES/strings.mo
  4. 202 174
      locale/tr/LC_MESSAGES/strings.po
  5. 214 184
      locale_template/strings.pot

+ 5 - 0
CHANGELOG.md

@@ -7,6 +7,11 @@ CHANGELOG for FlatCAM beta
 
 =================================================
 
+22.09.2020
+
+- fixed an error in importing SVG that has a single line
+- updated the POT file and the PO/MO files for Turkish language
+
 20.09.2020
 
 - in CNCJob UI Autolevelling: on manual add of probe points, only voronoi diagram is calculated

+ 6 - 3
camlib.py

@@ -1132,9 +1132,12 @@ class Geometry(object):
 
         merged_lines = linemerge(geos_lines)
         geos = geos_polys
-        for l in merged_lines:
-            geos.append(l)
-
+        try:
+            for l in merged_lines:
+                geos.append(l)
+        except TypeError:
+            geos.append(merged_lines)
+            
         # Add to object
         if self.solid_geometry is None:
             self.solid_geometry = []

BIN
locale/tr/LC_MESSAGES/strings.mo


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 202 - 174
locale/tr/LC_MESSAGES/strings.po


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 214 - 184
locale_template/strings.pot


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio