From 3d2ca6149015f59a80e8bc906a06c778449746e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= Date: Mon, 18 Sep 2017 20:48:16 +0200 Subject: [PATCH] project: Fix missing translations Gettext support in autotools does define ENABLE_NLS macro to 1 in the autoconf generated configuration file. Due to the migration to the meson build system, the procedure that defines This macro is missing. There is no reason to really disable i18n, so this fix removes the condition that binds the text domain. https://bugzilla.gnome.org/show_bug.cgi?id=787815 --- src/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.c b/src/main.c index 7b0397b5..d08d1421 100644 --- a/src/main.c +++ b/src/main.c @@ -29,11 +29,9 @@ main (int argc, { g_autoptr (GcalApplication) app; -#ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); -#endif app = gcal_application_new ();