From 4d14505d056a46c2dfea5c310cad927f4a5604fd Mon Sep 17 00:00:00 2001 From: Tommi Vainikainen Date: Wed, 23 Feb 2005 11:07:12 +0000 Subject: Give translators more flexibility with ngettext plural handling. 2005-02-23 Tommi Vainikainen * shell/ev-view.c (update_find_status_message): Give translators more flexibility with ngettext plural handling. --- diff --git a/ChangeLog b/ChangeLog index 748c61b..0d9551d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-02-23 Tommi Vainikainen + + * 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 * 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; -- cgit v0.9.1