[evolution/wip/webkit2] Fixed plural forms handling



commit 7637535cba9890a826d02c59c9de88caa7422c16
Author: Marek Černocký <marek manet cz>
Date:   Thu Feb 5 15:08:07 2015 +0100

    Fixed plural forms handling

 e-util/e-html-editor-replace-dialog.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-replace-dialog.c b/e-util/e-html-editor-replace-dialog.c
index edc0489..5f0113f 100644
--- a/e-util/e-html-editor-replace-dialog.c
+++ b/e-util/e-html-editor-replace-dialog.c
@@ -111,7 +111,10 @@ webkit_find_controller_counted_matches_cb (WebKitFindController *find_controller
                        selection, TRUE, E_HTML_EDITOR_SELECTION_GRANULARITY_WORD);*/
        }
 
-       result = g_strdup_printf (_("%d occurences replaced"), match_count);
+       result = g_strdup_printf (ngettext("%d occurence replaced",
+                                          "%d occurences replaced",
+                                          match_count),
+                                match_count);
        gtk_label_set_label (GTK_LABEL (dialog->priv->result_label), result);
        gtk_widget_show (dialog->priv->result_label);
        g_free (result);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]