summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexandre Prokoudine <alexandre.prokoudine@gmail.com>2008-02-13 10:34:43 +0000
committerprokoudine <prokoudine@users.sourceforge.net>2008-02-13 10:34:43 +0000
commite0d7ee24101a15f91610252a42788afb13dd4286 (patch)
treec6ef8a2881ef973c54e4d3c9ce0dfe5e9d69b76f /src
parentupdate (diff)
downloadinkscape-e0d7ee24101a15f91610252a42788afb13dd4286.tar.gz
inkscape-e0d7ee24101a15f91610252a42788afb13dd4286.zip
i18n patch from Marcin
(bzr r4719)
Diffstat (limited to 'src')
-rw-r--r--src/dialogs/export.cpp2
-rw-r--r--src/filter-enums.cpp3
-rw-r--r--src/flood-context.cpp4
-rw-r--r--src/ui/dialog/filter-effects-dialog.cpp3
4 files changed, 7 insertions, 5 deletions
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<FilterPrimitiveInput> FPInputConverter(FPInputData, FPIN
// 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 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 <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);
}
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);