From: prokoudine Date: Wed, 13 Feb 2008 10:34:43 +0000 (+0000) Subject: i18n patch from Marcin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=204aaf386e67333b2df86c27c47f9b5c9dbca4a9;p=inkscape.git i18n patch from Marcin --- diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index 10dbc575f..6f7bf2511 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -679,7 +679,7 @@ sp_export_update_checkbuttons (GtkObject *base) GtkWidget *he = (GtkWidget *)gtk_object_get_data(base, "hide_checkbox"); if (num >= 2) { gtk_widget_set_sensitive (be, true); - gtk_button_set_label (GTK_BUTTON(be), g_strdup_printf (_("Batch export %d selected objects"), num)); + gtk_button_set_label (GTK_BUTTON(be), g_strdup_printf (ngettext("Batch export %d selected object","Batch export %d selected objects",num), num)); } else { gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(be), FALSE); gtk_widget_set_sensitive (be, FALSE); diff --git a/src/filter-enums.cpp b/src/filter-enums.cpp index c7eadc18f..df494c50c 100644 --- a/src/filter-enums.cpp +++ b/src/filter-enums.cpp @@ -48,7 +48,8 @@ const EnumDataConverter FPInputConverter(FPInputData, FPIN // feBlend const EnumData BlendModeData[NR::BLEND_ENDMODE] = { - {NR::BLEND_NORMAL, _("Normal"), "normal"}, + //TRANSLATORS: This is a context string, only put the word "Normal" in your translation + {NR::BLEND_NORMAL, Q_("filterBlendMode|Normal"), "normal"}, {NR::BLEND_MULTIPLY, _("Multiply"), "multiply"}, {NR::BLEND_SCREEN, _("Screen"), "screen"}, {NR::BLEND_DARKEN, _("Darken"), "darken"}, diff --git a/src/flood-context.cpp b/src/flood-context.cpp index 7dc832843..9f0b041f3 100644 --- a/src/flood-context.cpp +++ b/src/flood-context.cpp @@ -458,11 +458,11 @@ static void do_trace(GdkPixbuf *px, SPDesktop *desktop, NR::Matrix transform, bo pathRepr->setPosition(-1); if (union_with_selection) { - desktop->messageStack()->flashF(Inkscape::WARNING_MESSAGE, _("Area filled, path with %d nodes created and unioned with selection."), sp_nodes_in_path(SP_PATH(reprobj))); + desktop->messageStack()->flashF(Inkscape::WARNING_MESSAGE, ngettext("Area filled, path with %d node created and unioned with selection.","Area filled, path with %d nodes created and unioned with selection.",sp_nodes_in_path(SP_PATH(reprobj))), sp_nodes_in_path(SP_PATH(reprobj))); selection->add(reprobj); sp_selected_path_union_skip_undo(); } else { - desktop->messageStack()->flashF(Inkscape::WARNING_MESSAGE, _("Area filled, path with %d nodes created."), sp_nodes_in_path(SP_PATH(reprobj))); + desktop->messageStack()->flashF(Inkscape::WARNING_MESSAGE, ngettext("Area filled, path with %d node created.","Area filled, path with %d nodes created.",sp_nodes_in_path(SP_PATH(reprobj))), sp_nodes_in_path(SP_PATH(reprobj))); selection->set(reprobj); } diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index eaf940f58..95b1f371a 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -2153,7 +2153,8 @@ void FilterEffectsDialog::init_settings_widgets() _settings->type(NR_FILTER_IMAGE); _settings->add_fileorelement(SP_ATTR_XLINK_HREF, _("Source of Image")); _settings->add_multispinbutton(SP_ATTR_X, SP_ATTR_Y, _("Coordinates"), -10000, 10000, 1, 1, 0); - _settings->add_multispinbutton(SP_ATTR_WIDTH, SP_ATTR_HEIGHT, _("Dimensions"), 0, 10000, 1, 1, 0); + //TRANSLATORS: This is a context string, only put the word "Dimensions" in your translation + _settings->add_multispinbutton(SP_ATTR_WIDTH, SP_ATTR_HEIGHT, Q_("imageFilter|Dimensions"), 0, 10000, 1, 1, 0); _settings->type(NR_FILTER_OFFSET); _settings->add_spinslider(SP_ATTR_DX, _("Delta X"), -100, 100, 1, 0.01, 1);