* @length: number of string values in @list
*
* Associates a list of string values for @key under @group_name.
- * If @key cannot be found then it is created.
+ * If @key cannot be found then it is created.
* If @group_name cannot be found then it is created.
*
* Since: 2.6
gsize i;
g_return_if_fail (key_file != NULL);
- g_return_if_fail (list != NULL);
+ g_return_if_fail (list != NULL || length == 0);
value_list = g_string_sized_new (length * 128);
for (i = 0; i < length && list[i] != NULL; i++)
* @locale: a locale identifier
* @string: a string
*
- * Associates a string value for @key and @locale under @group_name.
+ * Associates a string value for @key and @locale under @group_name.
* If the translation for @key cannot be found then it is created.
*
* Since: 2.6