From 78023b76d7395f1b2dc1c64e1e7ad538be13c62c Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sun, 19 Nov 2006 18:07:51 +0000 Subject: [PATCH] string fixes from bug 1516157 --- src/dialogs/export.cpp | 2 +- src/extension/dependency.cpp | 2 +- src/sp-image.cpp | 2 +- src/ui/dialog/document-properties.cpp | 4 ++-- src/verbs.cpp | 1 - 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index 9f1edc7e8..3dc25ddf9 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -894,7 +894,7 @@ sp_export_area_toggled (GtkToggleButton *tb, GtkObject *base) sp_export_value_set(base, "xdpi", xdpi); } - /* These can't be seperate, and setting x sets y, so for + /* These can't be separate, and setting x sets y, so for now setting this is disabled. Hopefully it won't be in the future */ if (FALSE && ydpi != 0.0) { diff --git a/src/extension/dependency.cpp b/src/extension/dependency.cpp index 5ce799e5f..4396017fa 100644 --- a/src/extension/dependency.cpp +++ b/src/extension/dependency.cpp @@ -246,7 +246,7 @@ Dependency::check (void) const std::ostream & operator<< (std::ostream &out_file, const Dependency & in_dep) { - out_file << _("Dependency::") << '\n'; + out_file << _("Dependency:") << '\n'; out_file << _(" type: ") << _(in_dep._type_str[in_dep._type]) << '\n'; out_file << _(" location: ") << _(in_dep._location_str[in_dep._location]) << '\n'; out_file << _(" string: ") << in_dep._string << '\n'; diff --git a/src/sp-image.cpp b/src/sp-image.cpp index 301c6f8d5..973bb9f87 100644 --- a/src/sp-image.cpp +++ b/src/sp-image.cpp @@ -969,7 +969,7 @@ sp_image_description(SPItem *item) : xml_quote_strdup(image->href); } else { g_warning("Attempting to call strncmp() with a null pointer."); - href_desc = g_strdup(_("(null_pointer)")); // we call g_free() on href_desc + href_desc = g_strdup("(null_pointer)"); // we call g_free() on href_desc } char *ret = ( image->pixbuf == NULL diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index d8c3bda2d..c6b1b30a6 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -249,9 +249,9 @@ DocumentProperties::build_grid() "gridoriginx", _rumg, _wr); _rsu_oy.init (_("O_rigin Y:"), _("Y coordinate of grid origin"), "gridoriginy", _rumg, _wr); - _rsu_sx.init (_("Spacing _X:"), _("Distance of vertical grid lines"), + _rsu_sx.init (_("Spacing _X:"), _("Distance between vertical grid lines"), "gridspacingx", _rumg, _wr); - _rsu_sy.init (_("Spacing _Y:"), _("Distance of horizontal grid lines"), + _rsu_sy.init (_("Spacing _Y:"), _("Distance between horizontal grid lines"), "gridspacingy", _rumg, _wr); _rsu_ax.init (_("Angle X:"), _("Angle of x-axis of axonometric grid"), "gridanglex", _rumg, _wr); diff --git a/src/verbs.cpp b/src/verbs.cpp index 4721de9d5..62f85d076 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -2326,7 +2326,6 @@ Verb *Verb::_base_verbs[] = { N_("Run scripts"), "scripts"), new DialogVerb(SP_VERB_DIALOG_TOGGLE, "DialogsToggle", N_("Show/Hide D_ialogs"), N_("Show or hide all open dialogs"), "dialog_toggle"), - // TRANSLATORS: "Tile Clones" means: "Create tiled clones" new DialogVerb(SP_VERB_DIALOG_CLONETILER, "DialogClonetiler", N_("Create Tiled Clones..."), N_("Create multiple clones of selected object, arranging them into a pattern or scattering"), "edit_create_tiled_clones"), new DialogVerb(SP_VERB_DIALOG_ITEM, "DialogObjectProperties", N_("_Object Properties..."), -- 2.30.2