remove translate function

This commit is contained in:
Chris Cromer 2019-01-05 00:29:42 -03:00
parent ed580cfe2a
commit 7270be50f9
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A

View File

@ -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);