From: Kris Date: Sat, 18 Sep 2010 07:40:46 +0000 (+0200) Subject: Units generalisation (Bug #560751) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5abd451355864bdd4bf3295a1f1c74b654c860b1;p=inkscape.git Units generalisation (Bug #560751) --- 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