summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/find.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-05-07 12:48:42 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-05-07 12:48:42 +0000
commit98acc0bc3605085f180fff936af48001e877e556 (patch)
treed6dc99510e2152b5f329f866ef2684862c8718d7 /src/ui/dialog/find.cpp
parentA couple of simple Gtk3 fixes (diff)
downloadinkscape-98acc0bc3605085f180fff936af48001e877e556.tar.gz
inkscape-98acc0bc3605085f180fff936af48001e877e556.zip
Find dialog: taking plurals into account for UI translation
(bzr r11343)
Diffstat (limited to 'src/ui/dialog/find.cpp')
-rw-r--r--src/ui/dialog/find.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/find.cpp b/src/ui/dialog/find.cpp
index 03a440d5c..ce2dbeea1 100644
--- a/src/ui/dialog/find.cpp
+++ b/src/ui/dialog/find.cpp
@@ -827,11 +827,11 @@ Find::onAction()
count, all, exact? _("exact") : _("partial"));
if (_action_replace){
// TRANSLATORS: "%1" is replaced with the number of matches
- status.set_text(Glib::ustring::compose(_("%1 objects replaced"), count));
+ status.set_text(Glib::ustring::compose(ngettext("%1 object replaced","%1 objects replaced",count), count));
}
else {
// TRANSLATORS: "%1" is replaced with the number of matches
- status.set_text(Glib::ustring::compose(_("%1 objects found"), count));
+ status.set_text(Glib::ustring::compose(ngettext("%1 object found","%1 objects found",count), count));
}
Inkscape::Selection *selection = sp_desktop_selection (desktop);