summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2010-09-18 07:40:46 +0000
committerKris <Kris.De.Gussem@hotmail.com>2010-09-18 07:40:46 +0000
commit9571c19b84af228d7c88ae8ce89c73ce6257a403 (patch)
treef3048ccdb08259569e130935dc3139934b07ac5a
parentDutch translation update (diff)
downloadinkscape-9571c19b84af228d7c88ae8ce89c73ce6257a403.tar.gz
inkscape-9571c19b84af228d7c88ae8ce89c73ce6257a403.zip
Units generalisation (Bug #560751)
(bzr r9768)
-rw-r--r--share/extensions/draw_from_triangle.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/share/extensions/draw_from_triangle.py b/share/extensions/draw_from_triangle.py
index 38843210c..124824528 100644
--- a/share/extensions/draw_from_triangle.py
+++ b/share/extensions/draw_from_triangle.py
@@ -172,14 +172,14 @@ def cot(x):#cotangent(x)
return 1/tan(x)
def report_properties( params ):#report to the Inkscape console using errormsg
- inkex.errormsg(_("Side Length 'a'/px: " + str( params[0][0] ) ))
- inkex.errormsg(_("Side Length 'b'/px: " + str( params[0][1] ) ))
- inkex.errormsg(_("Side Length 'c'/px: " + str( params[0][2] ) ))
- inkex.errormsg(_("Angle 'A'/radians: " + str( params[1][0] ) ))
- inkex.errormsg(_("Angle 'B'/radians: " + str( params[1][1] ) ))
- inkex.errormsg(_("Angle 'C'/radians: " + str( params[1][2] ) ))
- inkex.errormsg(_("Semiperimeter/px: " + str( params[4][1] ) ))
- inkex.errormsg(_("Area /px^2: " + str( params[4][0] ) ))
+ inkex.errormsg(_("Side Length 'a' (px): " + str( params[0][0] ) ))
+ inkex.errormsg(_("Side Length 'b' (px): " + str( params[0][1] ) ))
+ inkex.errormsg(_("Side Length 'c' (px): " + str( params[0][2] ) ))
+ inkex.errormsg(_("Angle 'A' (radians): " + str( params[1][0] ) ))
+ inkex.errormsg(_("Angle 'B' (radians): " + str( params[1][1] ) ))
+ inkex.errormsg(_("Angle 'C' (radians): " + str( params[1][2] ) ))
+ inkex.errormsg(_("Semiperimeter (px): " + str( params[4][1] ) ))
+ inkex.errormsg(_("Area (px^2): " + str( params[4][0] ) ))
return