remove translate function
This commit is contained in:
parent
ed580cfe2a
commit
7270be50f9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user