From 7270be50f94794472ad4b85dda18b6effd1212ea Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Sat, 5 Jan 2019 00:29:42 -0300 Subject: [PATCH] remove translate function --- src/sernatur.vala | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/sernatur.vala b/src/sernatur.vala index d5f1b84..45bba85 100644 --- a/src/sernatur.vala +++ b/src/sernatur.vala @@ -29,10 +29,6 @@ namespace Sernatur { { null } }; - public unowned string MyTranslateFunc (string str) { - return dgettext (null, str); - } - /** * The application class */ @@ -87,7 +83,6 @@ namespace Sernatur { try { var opt_context = new OptionContext (""); opt_context.set_translation_domain (GETTEXT_PACKAGE); - opt_context.set_translate_func (MyTranslateFunc, null); opt_context.set_help_enabled (true); opt_context.add_main_entries (options, null); opt_context.parse (ref args);