diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2012-10-07 17:41:26 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2012-10-07 17:41:26 +0000 |
| commit | c37bac565d73ab069263873307286eb19641b99c (patch) | |
| tree | 675dcc77a510aeeb6650328dff0fe80252010180 /share/extensions/funcplot.py | |
| parent | powerstroke: arc extrapolate fix (diff) | |
| download | inkscape-c37bac565d73ab069263873307286eb19641b99c.tar.gz inkscape-c37bac565d73ab069263873307286eb19641b99c.zip | |
Translations. Fix for Bug #425202 (Script messages not translated).
(bzr r11749)
Diffstat (limited to 'share/extensions/funcplot.py')
| -rwxr-xr-x | share/extensions/funcplot.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/share/extensions/funcplot.py b/share/extensions/funcplot.py index a868e92a4..a3a810028 100755 --- a/share/extensions/funcplot.py +++ b/share/extensions/funcplot.py @@ -25,11 +25,15 @@ Changes: * 21-Jun-2007: Tavmjong: Added polar coordinates ''' -import inkex, simplepath, simplestyle +# standard library from math import * from random import * -import gettext -_ = gettext.gettext +# local library +import inkex +import simplepath +import simplestyle + +inkex.localize() def drawfunction(xstart, xend, ybottom, ytop, samples, width, height, left, bottom, fx = "sin(x)", fpx = "cos(x)", fponum = True, times2pi = False, polar = False, isoscale = True, drawaxis = True, endpts = False): |
