소스 검색

- 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 5 년 전
부모
커밋
c3bbbc40e0
5개의 변경된 파일427개의 추가작업 그리고 361개의 파일을 삭제
  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


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 202 - 174
locale/tr/LC_MESSAGES/strings.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 214 - 184
locale_template/strings.pot


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.