diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2016-12-24 06:59:17 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2016-12-24 06:59:17 +0000 |
| commit | 7d524286a0b613a5a5126884f3fb4f674446096e (patch) | |
| tree | f13f103420f7e3683abc11fa45f1e5a47b5dd62a /src | |
| parent | [Bug #1407331] Ukrainian translation update for 0.92. (diff) | |
| download | inkscape-7d524286a0b613a5a5126884f3fb4f674446096e.tar.gz inkscape-7d524286a0b613a5a5126884f3fb4f674446096e.zip | |
i18n. Flood autogap list not correctly translated at runtime.
(bzr r15351)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/tools/flood-tool.cpp | 8 | ||||
| -rw-r--r-- | src/widgets/paintbucket-toolbar.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/tools/flood-tool.cpp b/src/ui/tools/flood-tool.cpp index b01b8ad52..1801a0ea0 100644 --- a/src/ui/tools/flood-tool.cpp +++ b/src/ui/tools/flood-tool.cpp @@ -89,10 +89,10 @@ Glib::ustring ch_init[8] = { const std::vector<Glib::ustring> FloodTool::channel_list( ch_init, ch_init+8 ); Glib::ustring gap_init[4] = { - C_("Flood autogap", "None"), - C_("Flood autogap", "Small"), - C_("Flood autogap", "Medium"), - C_("Flood autogap", "Large") + NC_("Flood autogap", "None"), + NC_("Flood autogap", "Small"), + NC_("Flood autogap", "Medium"), + NC_("Flood autogap", "Large") }; const std::vector<Glib::ustring> FloodTool::gap_list( gap_init, gap_init+4 ); diff --git a/src/widgets/paintbucket-toolbar.cpp b/src/widgets/paintbucket-toolbar.cpp index 3d1565924..e2212b64f 100644 --- a/src/widgets/paintbucket-toolbar.cpp +++ b/src/widgets/paintbucket-toolbar.cpp @@ -192,7 +192,7 @@ void sp_paintbucket_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions iterator != gap_list.end(); ++iterator ) { GtkTreeIter iter; gtk_list_store_append( model, &iter ); - gtk_list_store_set( model, &iter, 0, _((*iterator).c_str()), 1, count, -1 ); + gtk_list_store_set( model, &iter, 0, g_dpgettext2(NULL, "Flood autogap", (*iterator).c_str()), 1, count, -1 ); count++; } EgeSelectOneAction* act2 = ege_select_one_action_new( "AutoGapAction", _("Close gaps"), (""), NULL, GTK_TREE_MODEL(model) ); |
