[glib] Add plural forms for some translations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Add plural forms for some translations
- Date: Sat, 10 Nov 2012 03:09:58 +0000 (UTC)
commit 7fd15ee4aee6ec21eb85f8836a5fd66f598a86f4
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Nov 9 22:10:10 2012 -0500
Add plural forms for some translations
https://bugzilla.gnome.org/show_bug.cgi?id=687698
glib/gfileutils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gfileutils.c b/glib/gfileutils.c
index c10360d..47de1b5 100644
--- a/glib/gfileutils.c
+++ b/glib/gfileutils.c
@@ -668,7 +668,7 @@ get_contents_stdio (const gchar *display_filename,
g_set_error (error,
G_FILE_ERROR,
G_FILE_ERROR_NOMEM,
- _("Could not allocate %lu bytes to read file \"%s\""),
+ g_dngettext (GETTEXT_PACKAGE, "Could not allocate %ld byte to read file \"%s\"", "Could not allocate %lu bytes to read file \"%s\"", (gulong)total_allocated),
(gulong) total_allocated,
display_filename);
@@ -756,7 +756,7 @@ get_contents_regfile (const gchar *display_filename,
g_set_error (error,
G_FILE_ERROR,
G_FILE_ERROR_NOMEM,
- _("Could not allocate %lu bytes to read file \"%s\""),
+ g_dngettext (GETTEXT_PACKAGE, "Could not allocate %ld byte to read file \"%s\"", "Could not allocate %lu bytes to read file \"%s\"", (gulong)alloc_size),
(gulong) alloc_size,
display_filename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]