diff options
author | Tommi Vainikainen <thv@iki.fi> | 2005-02-23 11:07:12 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-02-23 11:07:12 (GMT) |
commit | 4d14505d056a46c2dfea5c310cad927f4a5604fd (patch) | |
tree | 95a1f5d862dce9d503ca3ee18e9ef2b95ac7798a /shell | |
parent | 6887c2c43edcf389641f03f027e32baf7a373d1d (diff) |
Give translators more flexibility with ngettext plural handling.
2005-02-23 Tommi Vainikainen <thv@iki.fi>
* shell/ev-view.c (update_find_status_message): Give translators
more flexibility with ngettext plural handling.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-view.c | 7 |
1 files changed, 6 insertions, 1 deletions
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; |