[dia] Bug 598969 - Fix typo in shape name "Geometric - Isosceles Triangle"



commit 3658304da491da6bfbf11e2dee4306b73f25a856
Author: Hans Breuer <hans breuer org>
Date:   Mon Jun 13 23:41:14 2011 +0200

    Bug 598969 - Fix typo in shape name "Geometric - Isosceles Triangle"
    
    Including renaming of files and also defining the alias.

 shapes/Assorted/Makefile.am                        |    4 +-
 ...riangle-isoceles.png => triangle-isosceles.png} |  Bin 533 -> 533 bytes
 ...gle-isoceles.shape => triangle-isosceles.shape} |   44 ++++++++++----------
 sheets/Assorted.sheet.in                           |    6 ++-
 4 files changed, 29 insertions(+), 25 deletions(-)
---
diff --git a/shapes/Assorted/Makefile.am b/shapes/Assorted/Makefile.am
index de12e1f..ce6d95a 100644
--- a/shapes/Assorted/Makefile.am
+++ b/shapes/Assorted/Makefile.am
@@ -82,8 +82,8 @@ SHAPES = \
 	sun.shape \
 	trapezoid.png \
 	trapezoid.shape \
-	triangle-isoceles.png \
-	triangle-isoceles.shape \
+	triangle-isosceles.png \
+	triangle-isosceles.shape \
 	triangle-rightangle.png \
 	triangle-rightangle.shape 
 
diff --git a/shapes/Assorted/triangle-isoceles.png b/shapes/Assorted/triangle-isosceles.png
similarity index 100%
rename from shapes/Assorted/triangle-isoceles.png
rename to shapes/Assorted/triangle-isosceles.png
diff --git a/shapes/Assorted/triangle-isoceles.shape b/shapes/Assorted/triangle-isosceles.shape
similarity index 85%
rename from shapes/Assorted/triangle-isoceles.shape
rename to shapes/Assorted/triangle-isosceles.shape
index ef3ec0d..5a2b625 100644
--- a/shapes/Assorted/triangle-isoceles.shape
+++ b/shapes/Assorted/triangle-isosceles.shape
@@ -1,23 +1,23 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"; xmlns:svg="http://www.w3.org/2000/svg";>
-<!-- Author: Alan Horkan, 2002, mailto:horkana tcd ie -->
-  <name>Geometric - Isoceles Triangle</name><!-- Triangle with two sides of equal length -->
-  <icon>triangle-isoceles.png</icon>
-  <connections>
-    <point x="5.5" y="4"/>
-    <point x="6.5" y="6"/>
-    <point x="4.5" y="6"/>
-    <point x="6" y="5"/>
-    <point x="5.5" y="6"/>
-    <point x="5.5" y="4"/>
-    <point x="6.5" y="6"/>
-    <point x="4.5" y="6"/>
-    <point x="6" y="5"/>
-    <point x="5.5" y="6"/>
+<?xml version="1.0" encoding="UTF-8"?>
+<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"; xmlns:svg="http://www.w3.org/2000/svg";>
+<!-- Author: Alan Horkan, 2002, mailto:horkana tcd ie -->
+  <name>Geometric - Isosceles Triangle</name><!-- Triangle with two sides of equal length -->
+  <icon>triangle-isoceles.png</icon>
+  <connections>
+    <point x="5.5" y="4"/>
+    <point x="6.5" y="6"/>
+    <point x="4.5" y="6"/>
+    <point x="6" y="5"/>
+    <point x="5.5" y="6"/>
+    <point x="5.5" y="4"/>
+    <point x="6.5" y="6"/>
+    <point x="4.5" y="6"/>
+    <point x="6" y="5"/>
+    <point x="5.5" y="6"/>
     <point x="5.6" y="5.4" main="yes"/>
-  </connections>
-  <aspectratio type="free"/>
-  <svg:svg>
-    <svg:polygon style="fill: default" points="5.5,4 6.5,6 4.5,6 "/>
-  </svg:svg>
-</shape>
+  </connections>
+  <aspectratio type="free"/>
+  <svg:svg>
+    <svg:polygon style="fill: default" points="5.5,4 6.5,6 4.5,6 "/>
+  </svg:svg>
+</shape>
diff --git a/sheets/Assorted.sheet.in b/sheets/Assorted.sheet.in
index 1cb817a..1b591f9 100644
--- a/sheets/Assorted.sheet.in
+++ b/sheets/Assorted.sheet.in
@@ -23,7 +23,11 @@ have been included to save users the effort of flipping them
 
 <!-- Triangles -->
 <object name="Geometric - Right Angle Triangle"><_description>Right angle triangle</_description></object> 
-<object name="Geometric - Isoceles Triangle"><_description>Isoceles triangle</_description></object>
+<object name="Geometric - Isosceles Triangle">
+  <!-- mainatain original typo for compatibility -->
+  <alias name="Geometric - Isoceles Triangle"/>
+  <_description>Isosceles triangle</_description>
+</object>
 <!-- I am not sure if a Perfect Equilateral Triangle is doable -->
 
 <object name="Geometric - Perfect Square"><_description>Perfect square, height equals width</_description></object> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]