diff options
| -rw-r--r-- | src/gradient-context.cpp | 6 | ||||
| -rw-r--r-- | src/sp-flowtext.cpp | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/gradient-context.cpp b/src/gradient-context.cpp index 1168181fc..98a109737 100644 --- a/src/gradient-context.cpp +++ b/src/gradient-context.cpp @@ -449,7 +449,11 @@ static void sp_gradient_drag(SPGradientContext &rc, NR::Point const pt, guint st // status text; we do not track coords because this branch is run once, not all the time // during drag - rc._message_context->setF(Inkscape::NORMAL_MESSAGE, _("<b>Gradient</b> for %d objects; with <b>Ctrl</b> to snap angle"), g_slist_length((GSList *) selection->itemList())); + int n_objects = g_slist_length((GSList *) selection->itemList()); + rc._message_context->setF(Inkscape::NORMAL_MESSAGE, + ngettext("<b>Gradient</b> for %d object; with <b>Ctrl</b> to snap angle", + "<b>Gradient</b> for %d objects; with <b>Ctrl</b> to snap angle", n_objects), + n_objects); } else { SP_DT_MSGSTACK(desktop)->flash(Inkscape::WARNING_MESSAGE, _("Select <b>objects</b> on which to create gradient.")); } diff --git a/src/sp-flowtext.cpp b/src/sp-flowtext.cpp index 4c46a699c..3f70f53ce 100644 --- a/src/sp-flowtext.cpp +++ b/src/sp-flowtext.cpp @@ -338,9 +338,9 @@ static gchar *sp_flowtext_description(SPItem *item) Inkscape::Text::Layout const &layout = SP_FLOWTEXT(item)->layout; int const nChars = layout.iteratorToCharIndex(layout.end()); if (SP_FLOWTEXT(item)->has_internal_frame()) - return g_strdup_printf(_("<b>Flowed text</b> (%d characters)"), nChars); + return g_strdup_printf(ngettext("<b>Flowed text</b> (%d character)", "<b>Flowed text</b> (%d characters)", nChars), nChars); else - return g_strdup_printf(_("<b>Linked flowed text</b> (%d characters)"), nChars); + return g_strdup_printf(ngettext("<b>Linked flowed text</b> (%d character)", "<b>Linked flowed text</b> (%d characters)", nChars), nChars); } static NRArenaItem * |
