]> www.fi.muni.cz Git - evince.git/commitdiff
Give translators more flexibility with ngettext plural handling.
authorTommi Vainikainen <thv@iki.fi>
Wed, 23 Feb 2005 11:07:12 +0000 (11:07 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Wed, 23 Feb 2005 11:07:12 +0000 (11:07 +0000)
2005-02-23  Tommi Vainikainen  <thv@iki.fi>

        * shell/ev-view.c (update_find_status_message): Give translators
        more flexibility with ngettext plural handling.

ChangeLog
shell/ev-view.c

index 748c61b4c02f6158d9178b68f1daaf502900b562..0d9551da1fd2c3c7af0f3bc62c96c9016ed9137f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-23  Tommi Vainikainen  <thv@iki.fi>
+
+       * shell/ev-view.c (update_find_status_message): Give translators
+       more flexibility with ngettext plural handling.
+
 Mon Feb 21 17:52:08 2005  Jonathan Blandford  <jrb@redhat.com>
 
        * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
index b03f145f365e566deebdc3ce6522656253ee623e..f837ad7d1519dbf3705a1eef9251e9ca0003e588 100644 (file)
@@ -1044,7 +1044,12 @@ update_find_status_message (EvView *view)
                results = ev_document_find_get_n_results
                                (EV_DOCUMENT_FIND (view->document));
 
-               message = g_strdup_printf (_("%d found on this page"),
+               /* TRANS: Sometimes this could be better translated as
+                  "%d hit(s) on this page".  Therefore this string
+                  contains plural cases. */
+               message = g_strdup_printf (ngettext ("%d found on this page",
+                                                    "%d found on this page",
+                                                    results),
                                           results);
        } else {
                double percent;