summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorYuri Chornoivan <>2015-03-08 16:10:20 +0000
committerJazzyNico <nicoduf@yahoo.fr>2015-03-08 16:10:20 +0000
commite7aeaa6686b087d1226f08936971371cd640e089 (patch)
treebae80b636d31f53943a4e4ae73ba5abfdfbe944b /share
parentextensions. convert2dashes. support offset parameter. (Bug 1426889) (diff)
downloadinkscape-e7aeaa6686b087d1226f08936971371cd640e089.tar.gz
inkscape-e7aeaa6686b087d1226f08936971371cd640e089.zip
i10n. Fix for Bug #1429579 (Various typos in the trunk code).
Fixed bugs: - https://launchpad.net/bugs/1429579 (bzr r13976)
Diffstat (limited to 'share')
-rwxr-xr-xshare/extensions/funcplot.py2
-rwxr-xr-xshare/extensions/pathalongpath.py4
-rwxr-xr-xshare/extensions/pathscatter.py6
3 files changed, 6 insertions, 6 deletions
diff --git a/share/extensions/funcplot.py b/share/extensions/funcplot.py
index 606fb0c28..f37bf335e 100755
--- a/share/extensions/funcplot.py
+++ b/share/extensions/funcplot.py
@@ -45,7 +45,7 @@ def drawfunction(xstart, xend, ybottom, ytop, samples, width, height, left, bott
# coords and scales based on the source rect
if xstart == xend:
- inkex.errormsg(_("x-interval cannot be zero. Please modify 'Start X value' or 'End X alue'"))
+ inkex.errormsg(_("x-interval cannot be zero. Please modify 'Start X value' or 'End X value'"))
return []
scalex = width / (xend - xstart)
xoff = left
diff --git a/share/extensions/pathalongpath.py b/share/extensions/pathalongpath.py
index 7da7f1797..234430acd 100755
--- a/share/extensions/pathalongpath.py
+++ b/share/extensions/pathalongpath.py
@@ -66,7 +66,7 @@ def stretch(pathcomp,xscale,yscale,org):
def linearize(p,tolerance=0.001):
'''
- This function recieves a component of a 'cubicsuperpath' and returns two things:
+ This function receives a component of a 'cubicsuperpath' and returns two things:
The path subdivided in many straight segments, and an array containing the length of each segment.
We could work with bezier path as well, but bezier arc lengths are (re)computed for each point
@@ -153,7 +153,7 @@ class PathAlongPath(pathmodifier.Diffeo):
def lengthtotime(self,l):
'''
Recieves an arc length l, and returns the index of the segment in self.skelcomp
- containing the coresponding point, to gether with the position of the point on this segment.
+ containing the corresponding point, to gether with the position of the point on this segment.
If the deformer is closed, do computations modulo the toal length.
'''
diff --git a/share/extensions/pathscatter.py b/share/extensions/pathscatter.py
index 268e31069..5c2857979 100755
--- a/share/extensions/pathscatter.py
+++ b/share/extensions/pathscatter.py
@@ -80,7 +80,7 @@ def stretch(pathcomp,xscale,yscale,org):
def linearize(p,tolerance=0.001):
'''
- This function recieves a component of a 'cubicsuperpath' and returns two things:
+ This function receives a component of a 'cubicsuperpath' and returns two things:
The path subdivided in many straight segments, and an array containing the length of each segment.
We could work with bezier path as well, but bezier arc lengths are (re)computed for each point
@@ -186,7 +186,7 @@ class PathScatter(pathmodifier.Diffeo):
def lengthtotime(self,l):
'''
Recieves an arc length l, and returns the index of the segment in self.skelcomp
- containing the coresponding point, to gether with the position of the point on this segment.
+ containing the corresponding point, to gether with the position of the point on this segment.
If the deformer is closed, do computations modulo the toal length.
'''
@@ -203,7 +203,7 @@ class PathScatter(pathmodifier.Diffeo):
def localTransformAt(self,s,follow=True):
'''
- recieves a length, and returns the coresponding point and tangent of self.skelcomp
+ receives a length, and returns the coresponding point and tangent of self.skelcomp
if follow is set to false, returns only the translation
'''
i,t=self.lengthtotime(s)