[gnumeric] use ngettext
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] use ngettext
- Date: Tue, 8 Feb 2011 18:32:55 +0000 (UTC)
commit 4f3497e909e537b988a451a7aa2f6cfc13a47357
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Tue Feb 8 11:32:32 2011 -0700
use ngettext
2011-02-08 Andreas J. Guelzow <aguelzow pyrshep ca>
* excelplugins.c (scan_for_XLLs_and_register_functions): use ngettext
plugins/excelplugins/ChangeLog | 4 ++++
plugins/excelplugins/excelplugins.c | 6 +++++-
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/plugins/excelplugins/ChangeLog b/plugins/excelplugins/ChangeLog
index d4a6150..954ab83 100644
--- a/plugins/excelplugins/ChangeLog
+++ b/plugins/excelplugins/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-08 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * excelplugins.c (scan_for_XLLs_and_register_functions): use ngettext
+
2011-02-02 Morten Welinder <terra gnome org>
* Release 1.10.13
diff --git a/plugins/excelplugins/excelplugins.c b/plugins/excelplugins/excelplugins.c
index 249d29c..52e5f01 100644
--- a/plugins/excelplugins/excelplugins.c
+++ b/plugins/excelplugins/excelplugins.c
@@ -992,7 +992,11 @@ scan_for_XLLs_and_register_functions (const gchar *dir_name)
g_warning (_("No loadable worksheet functions found in XLL/DLL/SO file %s ."),full_entry_name);
} else {
GO_SLIST_PREPEND (XLLs,xll);
- g_message (_("Loaded %lu functions from XLL/DLL/SO %s ."),xll->number_of_functions,full_entry_name);
+ /* xgettext : %lu gives the number of functions. This is input to ngettext. */
+ g_message (ngettext("Loaded %lu function from XLL/DLL/SO %s.",
+ "Loaded %lu functions from XLL/DLL/SO %s.",
+ xll->number_of_functions),
+ xll->number_of_functions, full_entry_name);
}
}
if (0 == xll->number_of_functions) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]