diff options
| author | luz.paz <luzpaz@users.noreply.github.com> | 2018-05-11 17:30:39 +0000 |
|---|---|---|
| committer | luz paz <luzpaz@users.noreply.github.com> | 2018-05-14 19:38:17 +0000 |
| commit | 53578d5ced44808d695e0495d244603a63e6292a (patch) | |
| tree | 00d286808dda075e8ee5134ddf325fe5bdb6f2c2 /src | |
| parent | Misc. typos (diff) | |
| download | inkscape-53578d5ced44808d695e0495d244603a63e6292a.tar.gz inkscape-53578d5ced44808d695e0495d244603a63e6292a.zip | |
Source typos
Diffstat (limited to 'src')
| -rw-r--r-- | src/extension/effect.cpp | 20 | ||||
| -rw-r--r-- | src/extension/effect.h | 2 | ||||
| -rw-r--r-- | src/extension/implementation/script.cpp | 22 | ||||
| -rw-r--r-- | src/live_effects/lpe-dash-stroke.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/lpe-measure-segments.cpp | 18 | ||||
| -rw-r--r-- | src/object/sp-offset.cpp | 6 | ||||
| -rw-r--r-- | src/widgets/eraser-toolbar.cpp | 4 |
7 files changed, 37 insertions, 37 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index e475b58a0..076698616 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -120,24 +120,24 @@ Effect::Effect (Inkscape::XML::Node * in_repr, Implementation::Implementation * void Effect::merge_menu (Inkscape::XML::Node * base, Inkscape::XML::Node * start, - Inkscape::XML::Node * patern, - Inkscape::XML::Node * mergee) { + Inkscape::XML::Node * pattern, + Inkscape::XML::Node * merge) { Glib::ustring mergename; Inkscape::XML::Node * tomerge = NULL; Inkscape::XML::Node * submenu = NULL; /* printf("Merge menu with '%s' '%s' '%s'\n", base != NULL ? base->name() : "NULL", - patern != NULL ? patern->name() : "NULL", - mergee != NULL ? mergee->name() : "NULL"); */ + pattern != NULL ? pattern->name() : "NULL", + merge != NULL ? merge->name() : "NULL"); */ - if (patern == NULL) { + if (pattern == NULL) { // Merge the verb name - tomerge = mergee; + tomerge = merge; mergename = _(this->get_name()); } else { - gchar const * menuname = patern->attribute("name"); - if (menuname == NULL) menuname = patern->attribute("_name"); + gchar const * menuname = pattern->attribute("name"); + if (menuname == NULL) menuname = pattern->attribute("_name"); if (menuname == NULL) return; Inkscape::XML::Document *xml_doc; @@ -198,10 +198,10 @@ Effect::merge_menu (Inkscape::XML::Node * base, tomerge->setPosition(position); } - if (patern != NULL) { + if (pattern != NULL) { if (submenu == NULL) submenu = tomerge; - merge_menu(submenu, submenu->firstChild(), patern->firstChild(), mergee); + merge_menu(submenu, submenu->firstChild(), pattern->firstChild(), merge); } return; diff --git a/src/extension/effect.h b/src/extension/effect.h index 5b65bd598..0e28b06ea 100644 --- a/src/extension/effect.h +++ b/src/extension/effect.h @@ -42,7 +42,7 @@ class Effect : public Extension { static Inkscape::XML::Node * _effects_list; static Inkscape::XML::Node * _filters_list; Inkscape::XML::Node *find_menu (Inkscape::XML::Node * menustruct, const gchar *name); - void merge_menu (Inkscape::XML::Node * base, Inkscape::XML::Node * start, Inkscape::XML::Node * patern, Inkscape::XML::Node * mergee); + void merge_menu (Inkscape::XML::Node * base, Inkscape::XML::Node * start, Inkscape::XML::Node * pattern, Inkscape::XML::Node * merge); /** \brief This is the verb type that is used for all effect's verbs. It provides convenience functions and maintains a pointer diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index 1e8556de7..d77695bf1 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -475,12 +475,12 @@ Gtk::Widget *Script::prefs_output(Inkscape::Extension::Output *module) \param filename File to open. First things first, this function needs a temporary file name. To - create on of those the function Glib::file_open_tmp is used with + create one of those the function Glib::file_open_tmp is used with the header of ink_ext_. The extension is then executed using the 'execute' function - with the filname coming in, and the temporary filename. After - That executing, the SVG should be in the temporary file. + with the filename assigned and then the temporary filename. + After execution the SVG should be in the temporary file. Finally, the temporary file is opened using the SVG input module and a document is returned. That document has its filename set to @@ -549,7 +549,7 @@ SPDocument *Script::open(Inkscape::Extension::Input *module, Well, at some point people need to save - it is really what makes the entire application useful. And, it is possible that someone would want to use an extension for this, so we need a function to - do that eh? + do that, eh? First things first, the document is saved to a temporary file that is an SVG file. To get the temporary filename Glib::file_open_tmp is used with @@ -621,7 +621,7 @@ void Script::save(Inkscape::Extension::Output *module, \param doc Document to run through the effect. This function is a little bit trickier than the previous two. It - needs two temporary files to get it's work done. Both of these + needs two temporary files to get its work done. Both of these files have random names created for them using the Glib::file_open_temp function with the ink_ext_ prefix in the temporary directory. Like the other functions, the temporary files are deleted at the end. @@ -786,9 +786,9 @@ void Script::effect(Inkscape::Extension::Effect *module, by copying all the root attributes from the new document to the old document. It then deletes all the elements in the old document by - making two pass, the first to create a list of the old elements and + making two passes, the first to create a list of the old elements and the second to actually delete them. This two pass approach removes issues - with the list being change while parsing through it... lots of nasty bugs. + with the list being changed while parsing through it... lots of nasty bugs. Then, it copies all the element in the new document into the old document. @@ -921,16 +921,16 @@ bool Script::cancelProcessing (void) { the filename for input (filein). This file is put on the command line. - The next thing is that this function does is open a pipe to the + The next thing that this function does is open a pipe to the command and get the file handle in the ppipe variable. It then opens the output file with the output file handle. Both of these operations are checked extensively for errors. After both are opened, then the data is copied from the output - of the pipe into the file out using fread and fwrite. These two - functions are used because of their primitive nature they make + of the pipe into the file out using \a fread and \a fwrite. These two + functions are used because of their primitive nature - they make no assumptions about the data. A buffer is used in the transfer, - but the output of fread is stored so the exact number of bytes + but the output of \a fread is stored so the exact number of bytes is handled gracefully. At the very end (after the data has been copied) both of the files diff --git a/src/live_effects/lpe-dash-stroke.cpp b/src/live_effects/lpe-dash-stroke.cpp index 7b1e1b578..371459127 100644 --- a/src/live_effects/lpe-dash-stroke.cpp +++ b/src/live_effects/lpe-dash-stroke.cpp @@ -18,7 +18,7 @@ LPEDashStroke::LPEDashStroke(LivePathEffectObject *lpeobject) holefactor(_("Hole factor"), _("Hole factor"), "holefactor", &wr, this, 0.0), splitsegments(_("Use segments"), _("Use segments"), "splitsegments", &wr, this, true), halfextreme(_("Half start/end"), _("Start and end of each segment has half size"), "halfextreme", &wr, this, true), - unifysegment(_("Unify dashes"), _("Aprox unify the dashes lenght using the min with segment"), "unifysegment", &wr, this, true), + unifysegment(_("Unify dashes"), _("Aproximately unify the dashes length using the min with segment"), "unifysegment", &wr, this, true), message(_("Info Box"), _("Important messages"), "message", &wr, this, _("Add <b>\"Fill Between Many LPE\"</b> to add fill.")) { registerParameter(&numberdashes); diff --git a/src/live_effects/lpe-measure-segments.cpp b/src/live_effects/lpe-measure-segments.cpp index 5f62f0281..d96a0bce0 100644 --- a/src/live_effects/lpe-measure-segments.cpp +++ b/src/live_effects/lpe-measure-segments.cpp @@ -79,7 +79,7 @@ LPEMeasureSegments::LPEMeasureSegments(LivePathEffectObject *lpeobject) : format(_("Format"), _("Format the number ex:{measure} {unit}, return to save"), "format", &wr, this,"{measure}{unit}"), blacklist(_("Blacklist"), _("Optional segment index that exclude measure, comma limited, you can add more LPE like this to fill the holes"), "blacklist", &wr, this,""), whitelist(_("Inverse blacklist"), _("Blacklist as whitelist"), "whitelist", &wr, this, false), - showindex(_("Show meassure number"), _("Show meassure number in text label for blacklisting"), "showindex", &wr, this, false), + showindex(_("Show measure number"), _("Show measure number in text label for blacklisting"), "showindex", &wr, this, false), arrows_outside(_("Arrows outside"), _("Arrows outside"), "arrows_outside", &wr, this, false), flip_side(_("Flip side"), _("Flip side"), "flip_side", &wr, this, false), scale_sensitive(_("Scale sensitive"), _("Costrained scale sensitive to transformed containers"), "scale_sensitive", &wr, this, true), @@ -88,11 +88,11 @@ LPEMeasureSegments::LPEMeasureSegments(LivePathEffectObject *lpeobject) : hide_back(_("Hide if label over"), _("Hide DIN line if label over"), "hide_back", &wr, this, true), hide_arrows(_("Hide arrows"), _("Hide arrows"), "hide_arrows", &wr, this, false), smallx100(_("Multiply lower 1"), _("Multiply by 100 less than 1"), "smallx100", &wr, this, false), - linked_items(_("Linked items:"), _("Items that generate a measured projection with his nodes"), "linked_items", &wr, this), - distance_projection(_("Distance"), _("Distance away nearest point"), "distance_projection", &wr, this, 20.0), + linked_items(_("Linked items:"), _("Items that generate a measured projection with its nodes"), "linked_items", &wr, this), + distance_projection(_("Distance"), _("Distance away from nearest point"), "distance_projection", &wr, this, 20.0), angle_projection(_("Angle of projection"), _("Angle of projection"), "angle_projection", &wr, this, 0.0), active_projection(_("Activate projection"), _("Active projection mode"), "active_projection", &wr, this, false), - avoid_overlapping(_("Avoid overlap measures"), _("Turn not fit measures"), "avoid_overlapping", &wr, this, true), + avoid_overlapping(_("Avoid overlap measures"), _("Turn doesn't fit measures"), "avoid_overlapping", &wr, this, true), onbbox(_("Measure bounding box"), _("Measure geometric bounding box"), "onbbox", &wr, this, false), bboxonly(_("Only bounding box"), _("Measure only bbox and hide nodes"), "bboxonly", &wr, this, false), centers(_("Project center"), _("Use centers as measure"), "centers", &wr, this, false), @@ -185,13 +185,13 @@ LPEMeasureSegments::LPEMeasureSegments(LivePathEffectObject *lpeobject) : locale_base = strdup(setlocale(LC_NUMERIC, NULL)); previous_size = 0; pagenumber = 0; - general.param_update_default(_("Base of the lpe, focus on measure display and positioning")); + general.param_update_default(_("Base of the LPE, focus on measure display and positioning")); projection.param_update_default(_("This section is optional. To activate pulse the icon down \"Active\" " " to set the elements on clipboard, the element is converted to a line with measures based on the selected items")); - options.param_update_default(_("Here we show measure settings that usualy dont change too much")); - tips.param_update_default(_("<b>Style Dialog</b> Use to more styling using XML editor to find apropiate classes" - " or ID's\n<b>Default Parameters</b> In all LPE, at the bottom, can change them for future uses\n" - "<b>Blacklists...</b> This allow hide some segments or projection steps to measure")); + options.param_update_default(_("Here we show measure settings that usually don't change much")); + tips.param_update_default(_("<b>Style Dialog</b> styling using XML editor to find appropriate classes or ID's\n" + "<b>Default Parameters</b> In all LPE, at the bottom, possible to change these for future uses\n" + "<b>Blacklists...</b> This allow to hide some segments or projection steps to measure")); } LPEMeasureSegments::~LPEMeasureSegments() { diff --git a/src/object/sp-offset.cpp b/src/object/sp-offset.cpp index 072304667..dbb5d15e4 100644 --- a/src/object/sp-offset.cpp +++ b/src/object/sp-offset.cpp @@ -503,9 +503,9 @@ void SPOffset::set_shape() { // raffiner si besoin double bL,bT,bR,bB; parts[i]->PolylineBoundingBox(bL,bT,bR,bB); - double mesure=((bR-bL)+(bB-bT))*0.5; - if ( mesure < 10.0 ) { - parts[i]->Convert(0.02*mesure); + double measure=((bR-bL)+(bB-bT))*0.5; + if ( measure < 10.0 ) { + parts[i]->Convert(0.02*measure); } } diff --git a/src/widgets/eraser-toolbar.cpp b/src/widgets/eraser-toolbar.cpp index ddda02c59..3f6dd6b12 100644 --- a/src/widgets/eraser-toolbar.cpp +++ b/src/widgets/eraser-toolbar.cpp @@ -127,7 +127,7 @@ static void sp_erasertb_mode_changed( GObject *tbl, int mode ) } } -static void sp_toogle_break_apart( GtkToggleAction* act, gpointer data ) +static void sp_toggle_break_apart( GtkToggleAction* act, gpointer data ) { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); gboolean active = gtk_toggle_action_get_active(act); @@ -301,7 +301,7 @@ void sp_eraser_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GOb secondarySize ); gtk_toggle_action_set_active( GTK_TOGGLE_ACTION(act), prefs->getBool("/tools/eraser/break_apart", false) ); g_object_set_data( holder, "split", act ); - g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(sp_toogle_break_apart), holder) ; + g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(sp_toggle_break_apart), holder) ; gtk_action_group_add_action( mainActions, GTK_ACTION(act) ); } |
