g_set_error (error, G_KEY_FILE_ERROR,
G_KEY_FILE_ERROR_PARSE,
_("Key file contains line '%s' which is not "
- "a key-value pair, group, or comment"),
- line_utf8);
+ "a key-value pair, group, or comment"),
+ line_utf8);
g_free (line_utf8);
return;
g_set_error (error, G_KEY_FILE_ERROR,
G_KEY_FILE_ERROR_INVALID_VALUE,
_("Key file contains key '%s' "
- "which has value that cannot be interpreted."),
+ "which has a value that cannot be interpreted."),
key);
g_error_free (key_file_error);
}
g_set_error (error, G_KEY_FILE_ERROR,
G_KEY_FILE_ERROR_INVALID_VALUE,
_("Key file contains key '%s' "
- "which has value that cannot be interpreted."),
+ "which has a value that cannot be interpreted."),
key);
g_error_free (key_file_error);
}
g_set_error (error, G_KEY_FILE_ERROR,
G_KEY_FILE_ERROR_INVALID_VALUE,
_("Key file contains key '%s' in group '%s' "
- "which has value that cannot be interpreted."), key,
- group_name);
+ "which has a value that cannot be interpreted."),
+ key, group_name);
g_error_free (key_file_error);
}
else
if (*s == '\0' || *end != '\0')
{
g_set_error (error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_INVALID_VALUE,
- "Key '%s' in group '%s' has value '%s' where int64 was expected",
- key, group_name, s);
+ _("Key '%s' in group '%s' has value '%s' "
+ "where %s was expected"),
+ key, group_name, s, "int64");
return 0;
}
if (*s == '\0' || *end != '\0')
{
g_set_error (error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_INVALID_VALUE,
- "Key '%s' in group '%s' has value '%s' where uint64 was expected",
- key, group_name, s);
+ _("Key '%s' in group '%s' has value '%s' "
+ "where %s was expected"),
+ key, group_name, s, "uint64");
return 0;
}
g_set_error (error, G_KEY_FILE_ERROR,
G_KEY_FILE_ERROR_INVALID_VALUE,
_("Key file contains key '%s' in group '%s' "
- "which has value that cannot be interpreted."), key,
- group_name);
+ "which has a value that cannot be interpreted."),
+ key, group_name);
g_error_free (key_file_error);
}
else