[nautilus-share] Set translation domain for GtkBuilder
- From: Chow Loong Jin <ljchow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-share] Set translation domain for GtkBuilder
- Date: Wed, 23 Feb 2011 15:14:24 +0000 (UTC)
commit 1207d356337a4c567e5c9dc81675322f68cca316
Author: Chow Loong Jin <hyperair gmail com>
Date: Tue Sep 8 03:17:15 2009 +0800
Set translation domain for GtkBuilder
Messages don't get translated (presumably) due to GtkBuilder looking for
messages in the nautilus translation domain instead of nautilus-share.
This commit specifies it manually to make sure GtkBuilder looks for
strings in the correct place.
src/nautilus-share.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-share.c b/src/nautilus-share.c
index bad476f..361b751 100644
--- a/src/nautilus-share.c
+++ b/src/nautilus-share.c
@@ -691,6 +691,7 @@ create_property_page (NautilusFileInfo *fileinfo)
page->xml = gtk_builder_new ();
+ gtk_builder_set_translation_domain (page->xml, "nautilus-share");
g_assert (gtk_builder_add_from_file (page->xml,
INTERFACES_DIR"/share-dialog.ui", &error));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]