mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-20 19:57:15 +00:00
rebuild macos build
This commit is contained in:
+10
-1
@@ -43,6 +43,9 @@
|
||||
#include "../common/util.h"
|
||||
#include "../common/fe.h"
|
||||
#include "fe-text.h"
|
||||
#ifdef __APPLE__
|
||||
#include "../common/macos.h"
|
||||
#endif
|
||||
|
||||
|
||||
static int done = FALSE;
|
||||
@@ -513,7 +516,13 @@ fe_args (int argc, char *argv[])
|
||||
g_free (locale_path);
|
||||
g_free (base_path);
|
||||
#else
|
||||
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
||||
bindtextdomain (GETTEXT_PACKAGE,
|
||||
#ifdef __APPLE__
|
||||
zoitechat_macos_locale_dir ()
|
||||
#else
|
||||
LOCALEDIR
|
||||
#endif
|
||||
);
|
||||
#endif
|
||||
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||
textdomain (GETTEXT_PACKAGE);
|
||||
|
||||
Reference in New Issue
Block a user