[gedit-collaboration] Set translation domain for ui files.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-collaboration] Set translation domain for ui files.
- Date: Sat, 8 Oct 2011 14:46:56 +0000 (UTC)
commit b8b9e15833bf8eb50e03a1bf7a12b51af45f1d33
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Oct 8 16:46:22 2011 +0200
Set translation domain for ui files.
src/gedit-collaboration.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/gedit-collaboration.c b/src/gedit-collaboration.c
index a3fd799..e3407b5 100644
--- a/src/gedit-collaboration.c
+++ b/src/gedit-collaboration.c
@@ -1,5 +1,9 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "gedit-collaboration.h"
#include <math.h>
@@ -75,6 +79,7 @@ try_create_builder (const gchar *data_dir,
gchar *path;
builder = gtk_builder_new ();
+ gtk_builder_set_translation_domain (builder, GETTEXT_PACKAGE);
path = g_build_filename (data_dir, filename, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]