From 5abd451355864bdd4bf3295a1f1c74b654c860b1 Mon Sep 17 00:00:00 2001 From: Kris Date: Sat, 18 Sep 2010 09:40:46 +0200 Subject: [PATCH] Units generalisation (Bug #560751) --- share/extensions/draw_from_triangle.py | 16 ++++++++-------- 1 file 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 -- 2.30.2