--- a/demo/talkatudemo.c Tue Aug 06 01:48:24 2019 +0000
+++ b/demo/talkatudemo.c Mon Aug 05 21:55:51 2019 -0500
@@ -15,6 +15,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
@@ -53,7 +55,12 @@
GOptionContext *ctx = NULL;
GOptionGroup *group = NULL;
- ctx = g_option_context_new("");
+ bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); + bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); + textdomain(GETTEXT_PACKAGE); + ctx = g_option_context_new(NULL); g_option_context_set_summary(ctx, _("Talkatu Demo"));
g_option_context_set_translation_domain(ctx, GETTEXT_PACKAGE);
g_option_context_add_main_entries(ctx, entries, NULL);