[sushi] Strings didn't appeared translated in the directory sushi panel, because the wrong gi18n header was
- From: Gabor Keleman <kelemeng src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] Strings didn't appeared translated in the directory sushi panel, because the wrong gi18n header was
- Date: Sun, 21 Jul 2013 16:21:03 +0000 (UTC)
commit a72d5a35f075ad14aa348558feaac8d22da7918d
Author: Gabor Kelemen <kelemeng gnome hu>
Date: Sun Jul 21 18:19:46 2013 +0200
Strings didn't appeared translated in the directory sushi panel,
because the wrong gi18n header was used.
src/libsushi/sushi-file-loader.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/libsushi/sushi-file-loader.c b/src/libsushi/sushi-file-loader.c
index c933e3c..06e0a71 100644
--- a/src/libsushi/sushi-file-loader.c
+++ b/src/libsushi/sushi-file-loader.c
@@ -25,11 +25,13 @@
*
*/
+#include <config.h>
+
#include "sushi-file-loader.h"
#include <gtk/gtk.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
#define LOADER_ATTRS \
G_FILE_ATTRIBUTE_STANDARD_ICON "," \
@@ -635,7 +637,7 @@ sushi_file_loader_get_size_string (SushiFileLoader *self)
/* FIXME: we prolly could also use directory_items and unreadable_items
* somehow.
*/
- items_str = g_dngettext (NULL,
+ items_str = g_dngettext (GETTEXT_PACKAGE,
"%d item",
"%d items",
self->priv->file_items + self->priv->directory_items);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]