fix locale shit
This commit is contained in:
parent
925367b180
commit
9dc3559c26
1 changed files with 4 additions and 0 deletions
|
@ -1,7 +1,11 @@
|
|||
int main (string[] args) {
|
||||
// do it ourselves or it's broken
|
||||
Gtk.disable_setlocale ();
|
||||
Intl.bindtextdomain (Audrey.Config.GETTEXT_PACKAGE, Audrey.Config.LOCALEDIR);
|
||||
Intl.bind_textdomain_codeset (Audrey.Config.GETTEXT_PACKAGE, "UTF-8");
|
||||
Intl.textdomain (Audrey.Config.GETTEXT_PACKAGE);
|
||||
Intl.setlocale (LocaleCategory.ALL, "");
|
||||
Intl.setlocale (LocaleCategory.NUMERIC, "C.UTF-8");
|
||||
|
||||
var app = new Audrey.Application ();
|
||||
return app.run (args);
|
||||
|
|
Loading…
Reference in a new issue