mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-19 04:00:19 +00:00
Now the default configuration tries to set the language from the system
locale, and defaults to english if no language match. This closes #473.
This commit is contained in:
@@ -24,7 +24,10 @@
|
||||
|
||||
#include "hexchat.h"
|
||||
|
||||
#define LANGUAGES_LENGTH 52
|
||||
|
||||
extern char *xdir;
|
||||
extern const char const *languages[LANGUAGES_LENGTH];
|
||||
|
||||
char *cfg_get_str (char *cfg, const char *var, char *dest, int dest_len);
|
||||
int cfg_get_bool (char *var);
|
||||
@@ -47,6 +50,7 @@ void list_addentry (GSList ** list, char *cmd, char *name);
|
||||
int cmd_set (session *sess, char *tbuf, char *word[], char *word_eol[]);
|
||||
int hexchat_open_file (char *file, int flags, int mode, int xof_flags);
|
||||
FILE *hexchat_fopen_file (const char *file, const char *mode, int xof_flags);
|
||||
|
||||
#define XOF_DOMODE 1
|
||||
#define XOF_FULLPATH 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user