summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2009-02-26 23:01:29 +0000
committertweenk <tweenk@users.sourceforge.net>2009-02-26 23:01:29 +0000
commitc90cc68c554e253c253fcae8d94d51bb43c7045f (patch)
tree9d2b35445625037d3782a1d348babcf790f7c016 /src/live_effects
parentAllow path exclusion to work on an arbitrary number of paths. Fixes bug (diff)
downloadinkscape-c90cc68c554e253c253fcae8d94d51bb43c7045f.tar.gz
inkscape-c90cc68c554e253c253fcae8d94d51bb43c7045f.zip
Fix a translatable string incorrectly being considered a printf format
specification in live_effects/lpe-patternalongpath.cpp (bzr r7382)
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpe-patternalongpath.cpp22
1 files changed, 16 insertions, 6 deletions
diff --git a/src/live_effects/lpe-patternalongpath.cpp b/src/live_effects/lpe-patternalongpath.cpp
index 6ba680c15..28f0d1dfc 100644
--- a/src/live_effects/lpe-patternalongpath.cpp
+++ b/src/live_effects/lpe-patternalongpath.cpp
@@ -59,15 +59,25 @@ static const Util::EnumDataConverter<PAPCopyType> PAPCopyTypeConverter(PAPCopyTy
LPEPatternAlongPath::LPEPatternAlongPath(LivePathEffectObject *lpeobject) :
Effect(lpeobject),
pattern(_("Pattern source"), _("Path to put along the skeleton path"), "pattern", &wr, this, "M0,0 L1,0"),
- copytype(_("Pattern copies"), _("How many pattern copies to place along the skeleton path"), "copytype", PAPCopyTypeConverter, &wr, this, PAPCT_SINGLE_STRETCHED),
+ copytype(_("Pattern copies"), _("How many pattern copies to place along the skeleton path"),
+ "copytype", PAPCopyTypeConverter, &wr, this, PAPCT_SINGLE_STRETCHED),
prop_scale(_("Width"), _("Width of the pattern"), "prop_scale", &wr, this, 1),
- scale_y_rel(_("Width in units of length"), _("Scale the width of the pattern in units of its length"), "scale_y_rel", &wr, this, false),
- spacing(_("Spacing"), _("Space between copies of the pattern. Negative values allowed, but are limited to -90% of pattern width."), "spacing", &wr, this, 0),
+ scale_y_rel(_("Width in units of length"),
+ _("Scale the width of the pattern in units of its length"),
+ "scale_y_rel", &wr, this, false),
+ spacing(_("Spacing"),
+ // xgettext:no-c-format
+ _("Space between copies of the pattern. Negative values allowed, but are limited to -90% of pattern width."),
+ "spacing", &wr, this, 0),
normal_offset(_("Normal offset"), "", "normal_offset", &wr, this, 0),
tang_offset(_("Tangential offset"), "", "tang_offset", &wr, this, 0),
- prop_units(_("Offsets in unit of pattern size"), _("Spacing, tangential and normal offset are expressed as a ratio of width/height"), "prop_units", &wr, this, false),
- vertical_pattern(_("Pattern is vertical"), _("Rotate pattern 90 deg before applying"), "vertical_pattern", &wr, this, false),
- fuse_tolerance(_("Fuse nearby ends"), _("Fuse ends closer than this number. 0 means don't fuse."), "fuse_tolerance", &wr, this, 0)
+ prop_units(_("Offsets in unit of pattern size"),
+ _("Spacing, tangential and normal offset are expressed as a ratio of width/height"),
+ "prop_units", &wr, this, false),
+ vertical_pattern(_("Pattern is vertical"), _("Rotate pattern 90 deg before applying"),
+ "vertical_pattern", &wr, this, false),
+ fuse_tolerance(_("Fuse nearby ends"), _("Fuse ends closer than this number. 0 means don't fuse."),
+ "fuse_tolerance", &wr, this, 0)
{
registerParameter( dynamic_cast<Parameter *>(&pattern) );
registerParameter( dynamic_cast<Parameter *>(&copytype) );