mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
Initial commit for utf8 everywhere.
This commit is contained in:
@@ -1019,8 +1019,8 @@ key_load_kbs (char *filename)
|
||||
free (ibuf);
|
||||
ibuf = malloc (1024);
|
||||
snprintf (ibuf, 1024,
|
||||
_("Unknown keyname %s in key bindings config file\nLoad aborted, please fix %s/keybindings.conf\n"),
|
||||
buf, get_xdir_utf8 ());
|
||||
_("Unknown keyname %s in key bindings config file\nLoad aborted, please fix %s" G_DIR_SEPARATOR_S "keybindings.conf\n"),
|
||||
buf, get_xdir ());
|
||||
fe_message (ibuf, FE_MSG_ERROR);
|
||||
free (ibuf);
|
||||
return 2;
|
||||
@@ -1057,8 +1057,8 @@ key_load_kbs (char *filename)
|
||||
free (ibuf);
|
||||
ibuf = malloc (1024);
|
||||
snprintf (ibuf, 1024,
|
||||
_("Unknown action %s in key bindings config file\nLoad aborted, Please fix %s/keybindings\n"),
|
||||
buf, get_xdir_utf8 ());
|
||||
_("Unknown action %s in key bindings config file\nLoad aborted, Please fix %s" G_DIR_SEPARATOR_S "keybindings\n"),
|
||||
buf, get_xdir ());
|
||||
fe_message (ibuf, FE_MSG_ERROR);
|
||||
free (ibuf);
|
||||
return 3;
|
||||
@@ -1078,8 +1078,8 @@ key_load_kbs (char *filename)
|
||||
free (ibuf);
|
||||
ibuf = malloc (1024);
|
||||
snprintf (ibuf, 1024,
|
||||
_("Expecting Data line (beginning Dx{:|!}) but got:\n%s\n\nLoad aborted, Please fix %s/keybindings\n"),
|
||||
buf, get_xdir_utf8 ());
|
||||
_("Expecting Data line (beginning Dx{:|!}) but got:\n%s\n\nLoad aborted, Please fix %s" G_DIR_SEPARATOR_S "keybindings\n"),
|
||||
buf, get_xdir ());
|
||||
fe_message (ibuf, FE_MSG_ERROR);
|
||||
free (ibuf);
|
||||
return 4;
|
||||
@@ -1148,8 +1148,8 @@ key_load_kbs (char *filename)
|
||||
abort ();*/
|
||||
snprintf (ibuf, 1024,
|
||||
_("Key bindings config file is corrupt, load aborted\n"
|
||||
"Please fix %s/keybindings.conf\n"),
|
||||
get_xdir_utf8 ());
|
||||
"Please fix %s" G_DIR_SEPARATOR_S "keybindings.conf\n"),
|
||||
get_xdir ());
|
||||
fe_message (ibuf, FE_MSG_ERROR);
|
||||
free (ibuf);
|
||||
return 5;
|
||||
|
||||
Reference in New Issue
Block a user