summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict/gdict-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/libgdict/gdict-utils.c')
-rw-r--r--mate-dictionary/libgdict/gdict-utils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mate-dictionary/libgdict/gdict-utils.c b/mate-dictionary/libgdict/gdict-utils.c
index 1e6447ed..00d051ef 100644
--- a/mate-dictionary/libgdict/gdict-utils.c
+++ b/mate-dictionary/libgdict/gdict-utils.c
@@ -1,4 +1,5 @@
/* Copyright (C) 2005 Emmanuele Bassi <[email protected]>
+ * Copyright (C) 2012-2021 MATE Developers
*
* This file is part of MATE Utils.
*
@@ -97,7 +98,7 @@ static GOptionEntry gdict_args[] = {
{ "gdict-no-debug", 0, 0, G_OPTION_ARG_CALLBACK, gdict_arg_no_debug_cb,
N_("GDict debugging flags to unset"), N_("FLAGS") },
#endif /* GDICT_ENABLE_DEBUG */
- { NULL, },
+ { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL },
};
static gboolean
@@ -156,7 +157,9 @@ gdict_get_option_group (void)
g_option_group_set_parse_hooks (group, pre_parse_hook, post_parse_hook);
g_option_group_add_entries (group, gdict_args);
+#ifdef ENABLE_NLS
g_option_group_set_translation_domain (group, GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
return group;
}