summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9391a04)
raw | patch | inline | side by side (parent: 9391a04)
author | prokoudine <prokoudine@users.sourceforge.net> | |
Wed, 13 Feb 2008 10:34:43 +0000 (10:34 +0000) | ||
committer | prokoudine <prokoudine@users.sourceforge.net> | |
Wed, 13 Feb 2008 10:34:43 +0000 (10:34 +0000) |
src/dialogs/export.cpp | patch | blob | history | |
src/filter-enums.cpp | patch | blob | history | |
src/flood-context.cpp | patch | blob | history | |
src/ui/dialog/filter-effects-dialog.cpp | patch | blob | history |
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp
index 10dbc575f10b5f850b19eed6014c9bd14b086f39..6f7bf251124ea4be3cbe3d312fd09d24652d086e 100644 (file)
--- a/src/dialogs/export.cpp
+++ b/src/dialogs/export.cpp
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 c7eadc18f3340c9afd5fdd68d32fc24027d13593..df494c50c1c80004bcdff5957b915abf40e383de 100644 (file)
--- a/src/filter-enums.cpp
+++ b/src/filter-enums.cpp
// feBlend
const EnumData<NR::FilterBlendMode> 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 7dc832843cf02a16f5a8cacb0274fbcb76ea64ec..9f0b041f3a09cacf53294d3bdc726c9eb81b38ea 100644 (file)
--- 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 <b>%d</b> nodes created and unioned with selection."), sp_nodes_in_path(SP_PATH(reprobj)));
+ desktop->messageStack()->flashF(Inkscape::WARNING_MESSAGE, ngettext("Area filled, path with <b>%d</b> node created and unioned with selection.","Area filled, path with <b>%d</b> 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 <b>%d</b> nodes created."), sp_nodes_in_path(SP_PATH(reprobj)));
+ desktop->messageStack()->flashF(Inkscape::WARNING_MESSAGE, ngettext("Area filled, path with <b>%d</b> node created.","Area filled, path with <b>%d</b> nodes created.",sp_nodes_in_path(SP_PATH(reprobj))), sp_nodes_in_path(SP_PATH(reprobj)));
selection->set(reprobj);
}
index eaf940f5881b3ac96d9883bfdc3fdfceb91861dd..95b1f371a46843620e985d10f19e682b8ae85938 100644 (file)
_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);