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
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
b9310a84a3
commit
3d2ca61490
@@ -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 ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user