Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--shell/ev-view.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 748c61b..0d9551d 100644
--- 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
diff --git a/shell/ev-view.c b/shell/ev-view.c
index b03f145..f837ad7 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -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;