fix locale shit

This commit is contained in:
psykose 2024-10-17 21:27:29 +02:00
parent 925367b180
commit 9dc3559c26

View file

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