Initial commit for utf8 everywhere.

This commit is contained in:
Arnavion
2012-11-03 10:24:25 -07:00
parent e0b1724158
commit 5d9264aff6
21 changed files with 374 additions and 723 deletions

View File

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