Valadoc fxd.
This commit is contained in:
parent
28da8546f2
commit
acb9a9ca18
|
@ -1,4 +1,6 @@
|
||||||
extern const string GETTEXT_PACKAGE;
|
namespace Gettext {
|
||||||
|
extern const string PACKAGE;
|
||||||
|
}
|
||||||
|
|
||||||
namespace LAview.Desktop {
|
namespace LAview.Desktop {
|
||||||
|
|
||||||
|
@ -70,11 +72,11 @@ namespace LAview.Desktop {
|
||||||
AppDirs.init (args);
|
AppDirs.init (args);
|
||||||
AppCore.init (args);
|
AppCore.init (args);
|
||||||
Resources.init (args);
|
Resources.init (args);
|
||||||
//Gtk.init_with_args (ref args, _("[FILE]"), CommandlineOptions.get_options (), GETTEXT_PACKAGE);
|
//Gtk.init_with_args (ref args, _("[FILE]"), CommandlineOptions.get_options (), Gettext.PACKAGE);
|
||||||
|
|
||||||
// Internationalization
|
// Internationalization
|
||||||
Intl.bindtextdomain (GETTEXT_PACKAGE, AppDirs.locale_dir);
|
Intl.bindtextdomain (Gettext.PACKAGE, AppDirs.locale_dir);
|
||||||
Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
Intl.bind_textdomain_codeset (Gettext.PACKAGE, "UTF-8");
|
||||||
|
|
||||||
var app = new LAviewDesktopApp ();
|
var app = new LAviewDesktopApp ();
|
||||||
return app.run (args);
|
return app.run (args);
|
||||||
|
|
Loading…
Reference in New Issue