[gnome-games] swell-foop: Add set_translation_domain
- From: Piotr DrÄg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] swell-foop: Add set_translation_domain
- Date: Sat, 31 Mar 2012 01:13:02 +0000 (UTC)
commit 28727c162d06a24a392a363a74d6ad1460072d0e
Author: Piotr DrÄg <piotrdrag gmail com>
Date: Sat Mar 31 03:10:53 2012 +0200
swell-foop: Add set_translation_domain
Hopefully it can fix internationalization, which is currently broken.
swell-foop/src/swell-foop.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/swell-foop/src/swell-foop.vala b/swell-foop/src/swell-foop.vala
index 6fa6512..b673533 100644
--- a/swell-foop/src/swell-foop.vala
+++ b/swell-foop/src/swell-foop.vala
@@ -422,6 +422,7 @@ public class SwellFoop : Gtk.Application
}
var context = new OptionContext ("");
+ context.set_translation_domain (GETTEXT_PACKAGE);
context.add_group (Gtk.get_option_group (true));
context.add_group (Clutter.get_option_group_without_init ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]