[evolution] Fixed plural forms handling



commit 4c9085ed9aafd8caa1ce3e6d3f2a0f38a884a731
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 2b43690..874902e 100644
--- a/e-util/e-html-editor-replace-dialog.c
+++ b/e-util/e-html-editor-replace-dialog.c
@@ -145,7 +145,10 @@ html_editor_replace_dialog_replace_all_cb (EHTMLEditorReplaceDialog *dialog)
                        selection, TRUE, E_HTML_EDITOR_SELECTION_GRANULARITY_WORD);
        }
 
-       result = g_strdup_printf (_("%d occurences replaced"), i);
+       result = g_strdup_printf (ngettext("%d occurence replaced", 
+                                          "%d occurences replaced", 
+                                          i), 
+                                 i);
        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]